From 262e56bfefbb35f35dfdbadf0bba19adf3578f9c Mon Sep 17 00:00:00 2001
From: Dan Jackson
Date: Fri, 12 Jan 2018 12:11:52 -0800
Subject: [PATCH] Regenerate docs with `ci_scripts/build_documentation.sh`,
using jazzy 0.9.1
---
docs/docs/Categories.html | 39 +-
docs/docs/Categories/NSError(Stripe).html | 39 +-
.../UINavigationBar(Stripe_Theme).html | 45 +-
docs/docs/Classes.html | 433 ++++++---
docs/docs/Classes/STPAPIClient.html | 210 +++--
.../Classes/STPAddCardViewController.html | 69 +-
docs/docs/Classes/STPAddress.html | 370 ++++----
docs/docs/Classes/STPBankAccount.html | 103 ++-
docs/docs/Classes/STPBankAccountParams.html | 75 +-
docs/docs/Classes/STPCard.html | 175 ++--
docs/docs/Classes/STPCardParams.html | 117 ++-
docs/docs/Classes/STPCardValidator.html | 105 ++-
.../docs/Classes/STPConnectAccountParams.html | 690 ++++++++++++++
docs/docs/Classes/STPCoreViewController.html | 57 +-
docs/docs/Classes/STPCustomer.html | 63 +-
docs/docs/Classes/STPCustomerContext.html | 86 +-
.../docs/Classes/STPCustomerDeserializer.html | 57 +-
docs/docs/Classes/STPFile.html | 69 +-
docs/docs/Classes/STPImageLibrary.html | 105 ++-
docs/docs/Classes/STPLegalEntityParams.html | 843 ++++++++++++++++++
.../STPPaymentActivityIndicatorView.html | 51 +-
.../docs/Classes/STPPaymentCardTextField.html | 255 +++---
.../docs/Classes/STPPaymentConfiguration.html | 141 ++-
docs/docs/Classes/STPPaymentContext.html | 253 ++++--
.../STPPaymentMethodsViewController.html | 81 +-
docs/docs/Classes/STPPaymentResult.html | 45 +-
docs/docs/Classes/STPPersonParams.html | 666 ++++++++++++++
docs/docs/Classes/STPRedirectContext.html | 99 +-
.../STPShippingAddressViewController.html | 63 +-
docs/docs/Classes/STPSource.html | 139 +--
docs/docs/Classes/STPSourceCardDetails.html | 85 +-
docs/docs/Classes/STPSourceOwner.html | 85 +-
docs/docs/Classes/STPSourceParams.html | 159 ++--
docs/docs/Classes/STPSourceReceiver.html | 61 +-
docs/docs/Classes/STPSourceRedirect.html | 55 +-
.../Classes/STPSourceSEPADebitDetails.html | 73 +-
docs/docs/Classes/STPSourceVerification.html | 49 +-
docs/docs/Classes/STPTheme.html | 129 +--
docs/docs/Classes/STPToken.html | 67 +-
docs/docs/Classes/STPUserInformation.html | 45 +-
docs/docs/Classes/STPVerificationParams.html | 485 ++++++++++
docs/docs/Classes/Stripe.html | 75 +-
docs/docs/Constants.html | 271 ++++--
docs/docs/Enums.html | 143 +--
docs/docs/Enums/STPBankAccountHolderType.html | 45 +-
docs/docs/Enums/STPBankAccountStatus.html | 63 +-
docs/docs/Enums/STPBillingAddressFields.html | 51 +-
docs/docs/Enums/STPCardBrand.html | 75 +-
docs/docs/Enums/STPCardFundingType.html | 57 +-
docs/docs/Enums/STPCardValidationState.html | 51 +-
docs/docs/Enums/STPErrorCode.html | 69 +-
docs/docs/Enums/STPFilePurpose.html | 51 +-
docs/docs/Enums/STPPaymentMethodType.html | 49 +-
docs/docs/Enums/STPPaymentStatus.html | 51 +-
docs/docs/Enums/STPRedirectContextState.html | 57 +-
docs/docs/Enums/STPShippingStatus.html | 45 +-
docs/docs/Enums/STPShippingType.html | 45 +-
.../Enums/STPSourceCard3DSecureStatus.html | 57 +-
docs/docs/Enums/STPSourceFlow.html | 53 +-
docs/docs/Enums/STPSourceRedirectStatus.html | 57 +-
docs/docs/Enums/STPSourceStatus.html | 57 +-
docs/docs/Enums/STPSourceType.html | 77 +-
docs/docs/Enums/STPSourceUsage.html | 45 +-
.../Enums/STPSourceVerificationStatus.html | 57 +-
docs/docs/Functions.html | 49 +-
docs/docs/Protocols.html | 97 +-
.../Protocols/STPAPIResponseDecodable.html | 81 +-
.../STPAddCardViewControllerDelegate.html | 45 +-
docs/docs/Protocols/STPBackendAPIAdapter.html | 63 +-
.../Protocols/STPEphemeralKeyProvider.html | 39 +-
docs/docs/Protocols/STPFormEncodable.html | 51 +-
.../STPPaymentCardTextFieldDelegate.html | 99 +-
.../Protocols/STPPaymentContextDelegate.html | 72 +-
docs/docs/Protocols/STPPaymentMethod.html | 51 +-
...PPaymentMethodsViewControllerDelegate.html | 57 +-
...ShippingAddressViewControllerDelegate.html | 58 +-
docs/docs/Protocols/STPSourceProtocol.html | 39 +-
docs/docs/Type Definitions.html | 134 ++-
.../Resources/Documents/Categories.html | 39 +-
.../Documents/Categories/NSError(Stripe).html | 39 +-
.../UINavigationBar(Stripe_Theme).html | 45 +-
.../Contents/Resources/Documents/Classes.html | 433 ++++++---
.../Documents/Classes/STPAPIClient.html | 210 +++--
.../Classes/STPAddCardViewController.html | 69 +-
.../Documents/Classes/STPAddress.html | 370 ++++----
.../Documents/Classes/STPBankAccount.html | 103 ++-
.../Classes/STPBankAccountParams.html | 75 +-
.../Resources/Documents/Classes/STPCard.html | 175 ++--
.../Documents/Classes/STPCardParams.html | 117 ++-
.../Documents/Classes/STPCardValidator.html | 105 ++-
.../Classes/STPConnectAccountParams.html | 690 ++++++++++++++
.../Classes/STPCoreViewController.html | 57 +-
.../Documents/Classes/STPCustomer.html | 63 +-
.../Documents/Classes/STPCustomerContext.html | 86 +-
.../Classes/STPCustomerDeserializer.html | 57 +-
.../Resources/Documents/Classes/STPFile.html | 69 +-
.../Documents/Classes/STPImageLibrary.html | 105 ++-
.../Classes/STPLegalEntityParams.html | 843 ++++++++++++++++++
.../STPPaymentActivityIndicatorView.html | 51 +-
.../Classes/STPPaymentCardTextField.html | 255 +++---
.../Classes/STPPaymentConfiguration.html | 141 ++-
.../Documents/Classes/STPPaymentContext.html | 253 ++++--
.../STPPaymentMethodsViewController.html | 81 +-
.../Documents/Classes/STPPaymentResult.html | 45 +-
.../Documents/Classes/STPPersonParams.html | 666 ++++++++++++++
.../Documents/Classes/STPRedirectContext.html | 99 +-
.../STPShippingAddressViewController.html | 63 +-
.../Documents/Classes/STPSource.html | 139 +--
.../Classes/STPSourceCardDetails.html | 85 +-
.../Documents/Classes/STPSourceOwner.html | 85 +-
.../Documents/Classes/STPSourceParams.html | 159 ++--
.../Documents/Classes/STPSourceReceiver.html | 61 +-
.../Documents/Classes/STPSourceRedirect.html | 55 +-
.../Classes/STPSourceSEPADebitDetails.html | 73 +-
.../Classes/STPSourceVerification.html | 49 +-
.../Resources/Documents/Classes/STPTheme.html | 129 +--
.../Resources/Documents/Classes/STPToken.html | 67 +-
.../Documents/Classes/STPUserInformation.html | 45 +-
.../Classes/STPVerificationParams.html | 485 ++++++++++
.../Resources/Documents/Classes/Stripe.html | 75 +-
.../Resources/Documents/Constants.html | 271 ++++--
.../Contents/Resources/Documents/Enums.html | 143 +--
.../Enums/STPBankAccountHolderType.html | 45 +-
.../Documents/Enums/STPBankAccountStatus.html | 63 +-
.../Enums/STPBillingAddressFields.html | 51 +-
.../Documents/Enums/STPCardBrand.html | 75 +-
.../Documents/Enums/STPCardFundingType.html | 57 +-
.../Enums/STPCardValidationState.html | 51 +-
.../Documents/Enums/STPErrorCode.html | 69 +-
.../Documents/Enums/STPFilePurpose.html | 51 +-
.../Documents/Enums/STPPaymentMethodType.html | 49 +-
.../Documents/Enums/STPPaymentStatus.html | 51 +-
.../Enums/STPRedirectContextState.html | 57 +-
.../Documents/Enums/STPShippingStatus.html | 45 +-
.../Documents/Enums/STPShippingType.html | 45 +-
.../Enums/STPSourceCard3DSecureStatus.html | 57 +-
.../Documents/Enums/STPSourceFlow.html | 53 +-
.../Enums/STPSourceRedirectStatus.html | 57 +-
.../Documents/Enums/STPSourceStatus.html | 57 +-
.../Documents/Enums/STPSourceType.html | 77 +-
.../Documents/Enums/STPSourceUsage.html | 45 +-
.../Enums/STPSourceVerificationStatus.html | 57 +-
.../Resources/Documents/Functions.html | 49 +-
.../Resources/Documents/Protocols.html | 97 +-
.../Protocols/STPAPIResponseDecodable.html | 81 +-
.../STPAddCardViewControllerDelegate.html | 45 +-
.../Protocols/STPBackendAPIAdapter.html | 63 +-
.../Protocols/STPEphemeralKeyProvider.html | 39 +-
.../Documents/Protocols/STPFormEncodable.html | 51 +-
.../STPPaymentCardTextFieldDelegate.html | 99 +-
.../Protocols/STPPaymentContextDelegate.html | 72 +-
.../Documents/Protocols/STPPaymentMethod.html | 51 +-
...PPaymentMethodsViewControllerDelegate.html | 57 +-
...ShippingAddressViewControllerDelegate.html | 58 +-
.../Protocols/STPSourceProtocol.html | 39 +-
.../Resources/Documents/Type Definitions.html | 134 ++-
.../Contents/Resources/Documents/index.html | 40 +-
.../Contents/Resources/Documents/search.json | 2 +-
.../Contents/Resources/docSet.dsidx | Bin 151552 -> 167936 bytes
docs/docs/docsets/Stripe.tgz | Bin 313264 -> 346298 bytes
docs/docs/index.html | 40 +-
docs/docs/search.json | 2 +-
162 files changed, 14668 insertions(+), 4160 deletions(-)
create mode 100644 docs/docs/Classes/STPConnectAccountParams.html
create mode 100644 docs/docs/Classes/STPLegalEntityParams.html
create mode 100644 docs/docs/Classes/STPPersonParams.html
create mode 100644 docs/docs/Classes/STPVerificationParams.html
create mode 100644 docs/docs/docsets/Stripe.docset/Contents/Resources/Documents/Classes/STPConnectAccountParams.html
create mode 100644 docs/docs/docsets/Stripe.docset/Contents/Resources/Documents/Classes/STPLegalEntityParams.html
create mode 100644 docs/docs/docsets/Stripe.docset/Contents/Resources/Documents/Classes/STPPersonParams.html
create mode 100644 docs/docs/docsets/Stripe.docset/Contents/Resources/Documents/Classes/STPVerificationParams.html
diff --git a/docs/docs/Categories.html b/docs/docs/Categories.html
index 6d3fb8a29ec..b030e7fcd76 100644
--- a/docs/docs/Categories.html
+++ b/docs/docs/Categories.html
@@ -90,6 +90,9 @@
STPCardValidator
+
+ STPConnectAccountParams
+
STPCoreScrollViewController
@@ -114,6 +117,9 @@
STPImageLibrary
+
+ STPLegalEntityParams
+
STPPaymentActivityIndicatorView
@@ -132,6 +138,9 @@
STPPaymentResult
+
+ STPPersonParams
+
STPRedirectContext
@@ -171,6 +180,9 @@
STPUserInformation
+
+ STPVerificationParams
+
Stripe
@@ -185,6 +197,18 @@
STPCardErrorCodeKey
+
+ STPContactFieldEmailAddress
+
+
+ STPContactFieldName
+
+
+ STPContactFieldPhoneNumber
+
+
+ STPContactFieldPostalAddress
+
STPErrorMessageKey
@@ -338,6 +362,9 @@
STPCardErrorCode
+
+ STPContactField
+
STPCustomerCompletionBlock
@@ -428,12 +455,12 @@ STPCardErrorCodeKeys
Declaration
Objective-C
-
@interface NSError ( Stripe )
+
@interface NSError ( Stripe )
@@ -465,12 +492,12 @@ Declaration
Declaration
Objective-C
-
@interface UINavigationBar ( Stripe_Theme )
+
@interface UINavigationBar ( Stripe_Theme )
@@ -483,8 +510,8 @@ Declaration
+
+
+
+
+
+
+
+
+ Stripe Reference
+
+ STPConnectAccountParams Class Reference
+
+
+
+
+
+
+
+
+
+
+
STPConnectAccountParams
+
+
Parameters for creating a Connect Account token.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Optional boolean indicating that the Terms Of Service were shown to the user &
+the user accepted them.
+
+
+
+
Declaration
+
+
Objective-C
+
@property ( readonly , nonatomic , nullable ) NSNumber * tosShownAndAccepted ;
+
+
+
+
Swift
+
var tosShownAndAccepted : NSNumber ? { get }
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Required property with information about the legal entity for this account.
+
+
At least one field in the legalEntity must have a value, otherwise the create token
+call will fail.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
STPConnectAccountParams
cannot be directly instantiated, use initWithTosShownAndAccepted:legalEntity:
+or initWithLegalEntity:
+
+
+
+
Declaration
+
+
Objective-C
+
- ( nonnull instancetype ) init ;
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Initialize STPConnectAccountParams
with tosShownAndAccepted = YES
+
+
This method cannot be called with wasAccepted == NO
, guarded by a NSParameterAssert()
.
+
+
Use this init method if you want to set the tosShownAndAccepted
parameter. If you
+don’t, use the initWithLegalEntity:
version instead.
+
+
+
+
Declaration
+
+
Objective-C
+
- ( nonnull instancetype )
+initWithTosShownAndAccepted :( BOOL ) wasAccepted
+ legalEntity :( nonnull STPLegalEntityParams * ) legalEntity ;
+
+
+
+
+
+
Parameters
+
+
+
+
+
+ wasAccepted
+
+
+
+
+
Must be YES, but only if the user was shown & accepted the ToS
+
+
+
+
+
+
+ legalEntity
+
+
+
+
+
data about the legal entity
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Initialize STPConnectAccountParams
with the STPLegalEntityParams
provided.
+
+
This init method cannot change the tosShownAndAccepted
parameter. Use
+initWithTosShownAndAccepted:legalEntity:
instead if you need to do that.
+
+
These two init methods exist to avoid the (slightly awkward) NSNumber box that would
+be needed around tosShownAndAccepted
if it was optional/nullable, and to enforce
+that it is either nil or YES.
+
+
+
+
Declaration
+
+
Objective-C
+
- ( nonnull instancetype ) initWithLegalEntity :
+ ( nonnull STPLegalEntityParams * ) legalEntity ;
+
+
+
+
+
+
Parameters
+
+
+
+
+
+ legalEntity
+
+
+
+
+
data to send to Stripe about the legal entity
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/docs/docs/Categories/NSError(Stripe).html b/docs/docs/Categories/NSError(Stripe).html
index e1802285782..3b96766f6c0 100644
--- a/docs/docs/Categories/NSError(Stripe).html
+++ b/docs/docs/Categories/NSError(Stripe).html
@@ -91,6 +91,9 @@
STPCardValidator
+
+ STPConnectAccountParams
+
STPCoreScrollViewController
@@ -115,6 +118,9 @@
STPImageLibrary
+
+ STPLegalEntityParams
+
STPPaymentActivityIndicatorView
@@ -133,6 +139,9 @@
STPPaymentResult
+
+ STPPersonParams
+
STPRedirectContext
@@ -172,6 +181,9 @@
STPUserInformation
+
+ STPVerificationParams
+
Stripe
@@ -186,6 +198,18 @@
STPCardErrorCodeKey
+
+ STPContactFieldEmailAddress
+
+
+ STPContactFieldName
+
+
+ STPContactFieldPhoneNumber
+
+
+ STPContactFieldPostalAddress
+
STPErrorMessageKey
@@ -339,6 +363,9 @@
STPCardErrorCode
+
+ STPContactField
+
STPCustomerCompletionBlock
@@ -394,7 +421,7 @@
NSError(Stripe)
-
@interface NSError ( Stripe )
+
@interface NSError ( Stripe )
@@ -427,13 +454,13 @@
NSError(Stripe)
Declaration
Objective-C
-
+ ( nullable NSError * ) stp_errorFromStripeResponse :
+ + ( nullable NSError * ) stp_errorFromStripeResponse :
( nullable NSDictionary * ) jsonDictionary ;
Swift
-
class func stp_error ( fromStripeResponse jsonDictionary : [ AnyHashable : Any ]?) -> Error ?
+
class func stp_error ( fromStripeResponse jsonDictionary : [ AnyHashable : Any ]?) -> Error ?
@@ -462,7 +489,7 @@
Return Value
or nil if there was no error information included in the JSON dictionary.
@@ -475,8 +502,8 @@
Return Value
diff --git a/docs/docs/Categories/UINavigationBar(Stripe_Theme).html b/docs/docs/Categories/UINavigationBar(Stripe_Theme).html
index 648bc39b54f..461994b302f 100644
--- a/docs/docs/Categories/UINavigationBar(Stripe_Theme).html
+++ b/docs/docs/Categories/UINavigationBar(Stripe_Theme).html
@@ -91,6 +91,9 @@
STPCardValidator
+
+ STPConnectAccountParams
+
STPCoreScrollViewController
@@ -115,6 +118,9 @@
STPImageLibrary
+
+ STPLegalEntityParams
+
STPPaymentActivityIndicatorView
@@ -133,6 +139,9 @@
STPPaymentResult
+
+ STPPersonParams
+
STPRedirectContext
@@ -172,6 +181,9 @@
STPUserInformation
+
+ STPVerificationParams
+
Stripe
@@ -186,6 +198,18 @@
STPCardErrorCodeKey
+
+ STPContactFieldEmailAddress
+
+
+ STPContactFieldName
+
+
+ STPContactFieldPhoneNumber
+
+
+ STPContactFieldPostalAddress
+
STPErrorMessageKey
@@ -339,6 +363,9 @@
STPCardErrorCode
+
+ STPContactField
+
STPCustomerCompletionBlock
@@ -394,7 +421,7 @@
UINavigationBar(Stripe_Theme)
-
@interface UINavigationBar ( Stripe_Theme )
+
@interface UINavigationBar ( Stripe_Theme )
@@ -431,12 +458,12 @@
UINavigationBar(Stripe_Theme)
Declaration
Objective-C
-
- ( void ) stp_setTheme :( nonnull STPTheme * ) theme ;
+
- ( void ) stp_setTheme :( nonnull STPTheme * ) theme ;
Swift
-
func stp_setTheme ( _ theme : STPTheme )
+
func stp_setTheme ( _ theme : STPTheme )
@@ -461,7 +488,7 @@
Parameters
@@ -492,17 +519,17 @@
Parameters
Declaration
Objective-C
-
@property ( readwrite , strong , nonatomic , nullable ) STPTheme * stp_theme ;
+
@property ( readwrite , strong , nonatomic , nullable ) STPTheme * stp_theme ;
Swift
-
var stp_theme : STPTheme ? { get set }
+
var stp_theme : STPTheme ? { get set }
@@ -515,8 +542,8 @@
Declaration
diff --git a/docs/docs/Classes.html b/docs/docs/Classes.html
index 2997357fcd4..31234615bc1 100644
--- a/docs/docs/Classes.html
+++ b/docs/docs/Classes.html
@@ -90,6 +90,9 @@
STPCardValidator
+
+ STPConnectAccountParams
+
STPCoreScrollViewController
@@ -114,6 +117,9 @@
STPImageLibrary
+
+ STPLegalEntityParams
+
STPPaymentActivityIndicatorView
@@ -132,6 +138,9 @@
STPPaymentResult
+
+ STPPersonParams
+
STPRedirectContext
@@ -171,6 +180,9 @@
STPUserInformation
+
+ STPVerificationParams
+
Stripe
@@ -185,6 +197,18 @@
STPCardErrorCodeKey
+
+ STPContactFieldEmailAddress
+
+
+ STPContactFieldName
+
+
+ STPContactFieldPhoneNumber
+
+
+ STPContactFieldPostalAddress
+
STPErrorMessageKey
@@ -338,6 +362,9 @@
STPCardErrorCode
+
+ STPContactField
+
STPCustomerCompletionBlock
@@ -421,17 +448,17 @@
Classes
Declaration
Objective-C
-
@interface STPAPIClient : NSObject
+
@interface STPAPIClient : NSObject
Swift
-
class STPAPIClient : NSObject
+
class STPAPIClient : NSObject
@@ -457,17 +484,17 @@
Declaration
Declaration
Objective-C
-
@interface Stripe : NSObject
+
@interface Stripe : NSObject
Swift
-
class Stripe : NSObject
+
class Stripe : NSObject
@@ -497,17 +524,17 @@
Declaration
Declaration
@@ -537,17 +564,17 @@
Declaration
Declaration
@@ -571,9 +598,9 @@
Declaration
An empty class representing that the user wishes to pay via Apple Pay. This can
be checked on an STPPaymentContext
, e.g:
-
if ([paymentContext.selectedPaymentMethod isKindOfClass:[STPApplePayPaymentMethod class]]) {
- // Don't ask the user for their card number; they want to pay with apple pay.
-}
+if ([ paymentContext . selectedPaymentMethod isKindOfClass :[ STPApplePayPaymentMethod class ]]) {
+ // Don't ask the user for their card number; they want to pay with apple pay.
+ }
@@ -581,17 +608,17 @@
Declaration
Declaration
@@ -627,18 +654,18 @@
Declaration
Declaration
@@ -675,17 +702,17 @@
Declaration
Declaration
@@ -721,18 +748,18 @@
Declaration
Declaration
@@ -769,17 +796,17 @@
Declaration
Declaration
@@ -811,17 +838,57 @@
Declaration
Declaration
Objective-C
-
@interface STPCardValidator : NSObject
+
@interface STPCardValidator : NSObject
Swift
-
class STPCardValidator : NSObject
+
class STPCardValidator : NSObject
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Parameters for creating a Connect Account token.
+
+
See more
+
+
+
Declaration
+
+
Objective-C
+
@interface STPConnectAccountParams : NSObject < STPFormEncodable >
+
+
+
+
+
@@ -851,17 +918,17 @@ Declaration
Declaration
@@ -894,17 +961,17 @@
Declaration
Declaration
@@ -938,17 +1005,17 @@
Declaration
Declaration
Objective-C
-
@interface STPCoreViewController : UIViewController
+
@interface STPCoreViewController : UIViewController
Swift
-
class STPCoreViewController : UIViewController
+
class STPCoreViewController : UIViewController
@@ -980,17 +1047,17 @@
Declaration
Declaration
@@ -1016,17 +1083,17 @@
Declaration
Declaration
Objective-C
-
@interface STPCustomerDeserializer : NSObject
+
@interface STPCustomerDeserializer : NSObject
Swift
-
class STPCustomerDeserializer : NSObject
+
class STPCustomerDeserializer : NSObject
@@ -1061,17 +1128,17 @@
Declaration
Declaration
@@ -1106,17 +1173,17 @@
Declaration
Declaration
@@ -1146,17 +1213,134 @@
Declaration
Declaration
Objective-C
-
@interface STPImageLibrary : NSObject
+
@interface STPImageLibrary : NSObject
+
+
+
+
Swift
+
class STPImageLibrary : NSObject
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Stripe API parameters to define a Person. Things like their name, address, etc.
+
+
All of the fields are optional.
+
+
See more
+
+
+
Declaration
+
Swift
-
class STPImageLibrary : NSObject
+
class STPPersonParams : NSObject , STPFormEncodable
+
+
+
+
+
+
+
+
+
+
+
Stripe API parameters to define a Legal Entity. This extends STPPersonParams
+and adds some more fields.
+
+
Legal entities can be either an individual or a company.
+
+
See more
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Parameters for supported types of verification.
+
+
See more
+
+
+
Declaration
+
+
Objective-C
+
@interface STPVerificationParams : NSObject < STPFormEncodable >
+
+
+
+
+
@@ -1186,17 +1370,17 @@ Declaration
Declaration
Objective-C
-
@interface STPPaymentActivityIndicatorView : UIView
+
@interface STPPaymentActivityIndicatorView : UIView
Swift
-
class STPPaymentActivityIndicatorView : UIView
+
class STPPaymentActivityIndicatorView : UIView
@@ -1230,17 +1414,17 @@
Declaration
Declaration
Objective-C
-
@interface STPPaymentCardTextField : UIControl < UIKeyInput >
+
@interface STPPaymentCardTextField : UIControl < UIKeyInput >
Swift
-
class STPPaymentCardTextField : UIControl , UIKeyInput
+
class STPPaymentCardTextField : UIControl , UIKeyInput
@@ -1276,17 +1460,17 @@
Declaration
Declaration
Objective-C
-
@interface STPPaymentConfiguration : NSObject < NSCopying >
+
@interface STPPaymentConfiguration : NSObject < NSCopying >
Swift
-
class STPPaymentConfiguration : NSObject , NSCopying
+
class STPPaymentConfiguration : NSObject , NSCopying
@@ -1320,17 +1504,17 @@
Declaration
Declaration
Objective-C
-
@interface STPPaymentContext : NSObject
+
@interface STPPaymentContext : NSObject
Swift
-
class STPPaymentContext : NSObject
+
class STPPaymentContext : NSObject
@@ -1369,17 +1553,17 @@
Declaration
Declaration
@@ -1409,17 +1593,17 @@
Declaration
Declaration
Objective-C
-
@interface STPPaymentResult : NSObject
+
@interface STPPaymentResult : NSObject
Swift
-
class STPPaymentResult : NSObject
+
class STPPaymentResult : NSObject
@@ -1443,7 +1627,7 @@
Declaration
This is a helper class for handling redirect sources.
-
Init an instance with the redirect flow source you want to handle,
+
Init and retain an instance with the redirect flow source you want to handle,
then choose a redirect method. The context will fire the completion handler
when the redirect completes.
@@ -1455,17 +1639,12 @@
Declaration
However, it is possible the when the redirect is
completed , the user may
have not actually completed the necessary actions to authorize the charge.
-
You can use STPAPIClient
to listen for state changes on the source
-object as a way to identify whether the user action succeeded or not.
-
-
See
-
[STPAPIClient startPollingSourceWithId:clientSecret:timeout:completion:]
-
-
-
You should not use either this class, nor STPAPIClient
, as a way
-to determine when you should charge the source. Use Stripe webhooks on your
-backend server to listen for source state changes and to make the charge.
+to determine when you should charge the source or to determine if the redirect
+was successful. Use Stripe webhooks on your backend server to listen for source
+state changes and to make the charge.
+
+
See https://stripe.com/docs/sources/best-practices
See more
@@ -1473,18 +1652,18 @@
Declaration
Declaration
Objective-C
-
+
@interface STPRedirectContext : NSObject
Swift
-
class STPRedirectContext : NSObject
+
class STPRedirectContext : NSObject
@@ -1514,17 +1693,17 @@
Declaration
Declaration
@@ -1554,17 +1733,17 @@
Declaration
Declaration
@@ -1595,17 +1774,17 @@
Declaration
Declaration
@@ -1635,17 +1814,17 @@
Declaration
Declaration
@@ -1680,17 +1859,17 @@
Declaration
Declaration
@@ -1720,17 +1899,17 @@
Declaration
Declaration
@@ -1760,17 +1939,17 @@
Declaration
Declaration
@@ -1801,17 +1980,17 @@
Declaration
Declaration
@@ -1841,17 +2020,17 @@
Declaration
Declaration
@@ -1881,17 +2060,17 @@
Declaration
Declaration
Objective-C
-
@interface STPTheme : NSObject < NSCopying >
+
@interface STPTheme : NSObject < NSCopying >
Swift
-
class STPTheme : NSObject , NSCopying
+
class STPTheme : NSObject , NSCopying
@@ -1921,17 +2100,17 @@
Declaration
Declaration
@@ -1964,17 +2143,17 @@
Declaration
Declaration
Objective-C
-
@interface STPUserInformation : NSObject < NSCopying >
+
@interface STPUserInformation : NSObject < NSCopying >
Swift
-
class STPUserInformation : NSObject , NSCopying
+
class STPUserInformation : NSObject , NSCopying
@@ -1987,8 +2166,8 @@
Declaration
diff --git a/docs/docs/Classes/STPAPIClient.html b/docs/docs/Classes/STPAPIClient.html
index 821b40643ce..1153c996aca 100644
--- a/docs/docs/Classes/STPAPIClient.html
+++ b/docs/docs/Classes/STPAPIClient.html
@@ -91,6 +91,9 @@
STPCardValidator
+
+ STPConnectAccountParams
+
STPCoreScrollViewController
@@ -115,6 +118,9 @@
STPImageLibrary
+
+ STPLegalEntityParams
+
STPPaymentActivityIndicatorView
@@ -133,6 +139,9 @@
STPPaymentResult
+
+ STPPersonParams
+
STPRedirectContext
@@ -172,6 +181,9 @@
STPUserInformation
+
+ STPVerificationParams
+
Stripe
@@ -186,6 +198,18 @@
STPCardErrorCodeKey
+
+ STPContactFieldEmailAddress
+
+
+ STPContactFieldName
+
+
+ STPContactFieldPhoneNumber
+
+
+ STPContactFieldPostalAddress
+
STPErrorMessageKey
@@ -339,6 +363,9 @@
STPCardErrorCode
+
+ STPContactField
+
STPCustomerCompletionBlock
@@ -394,7 +421,7 @@
STPAPIClient
-
@interface STPAPIClient : NSObject
+
@interface STPAPIClient : NSObject
@@ -427,17 +454,17 @@
STPAPIClient
Declaration
Objective-C
-
+ ( nonnull instancetype ) sharedClient ;
+
+ ( nonnull instancetype ) sharedClient ;
Swift
-
class func shared () -> Self
+
class func shared () -> Self
@@ -463,13 +490,13 @@
Declaration
Declaration
Objective-C
-
- ( nonnull instancetype ) initWithConfiguration :
+ - ( nonnull instancetype ) initWithConfiguration :
( nonnull STPPaymentConfiguration * ) configuration ;
@@ -497,7 +524,7 @@
Return Value
An instance of STPAPIClient.
@@ -522,13 +549,13 @@
Return Value
Declaration
Objective-C
-
- ( nonnull instancetype ) initWithPublishableKey :
+ - ( nonnull instancetype ) initWithPublishableKey :
( nonnull NSString * ) publishableKey ;
Swift
-
convenience init ( publishableKey : String )
+
convenience init ( publishableKey : String )
@@ -556,7 +583,7 @@
Return Value
An instance of STPAPIClient.
@@ -581,17 +608,17 @@
Return Value
Declaration
Objective-C
-
@property ( readwrite , copy , nonatomic , nullable ) NSString * publishableKey ;
+
@property ( readwrite , copy , nonatomic , nullable ) NSString * publishableKey ;
Swift
-
var publishableKey : String ? { get set }
+
var publishableKey : String ? { get set }
@@ -616,18 +643,18 @@
Declaration
Declaration
Objective-C
-
@property ( readwrite , copy , nonatomic )
+ @property ( readwrite , copy , nonatomic )
STPPaymentConfiguration * _Nonnull configuration ;
@@ -659,17 +686,17 @@
Declaration
Declaration
Objective-C
-
@property ( readwrite , copy , nonatomic , nullable ) NSString * stripeAccount ;
+
@property ( readwrite , copy , nonatomic , nullable ) NSString * stripeAccount ;
Swift
-
var stripeAccount : String ? { get set }
+
var stripeAccount : String ? { get set }
@@ -705,13 +732,13 @@
ApplePay
Declaration
Objective-C
-
- ( void ) createTokenWithPayment :( nonnull PKPayment * ) payment
+ - ( void ) createTokenWithPayment :( nonnull PKPayment * ) payment
completion :( nonnull STPTokenCompletionBlock ) completion ;
@@ -747,7 +774,7 @@
Parameters
@@ -772,13 +799,13 @@
Parameters
Declaration
Objective-C
-
- ( void ) createSourceWithPayment :( nonnull PKPayment * ) payment
+ - ( void ) createSourceWithPayment :( nonnull PKPayment * ) payment
completion :( nonnull STPSourceCompletionBlock ) completion ;
@@ -814,7 +841,7 @@
Parameters
@@ -850,14 +877,14 @@
BankAccounts
Declaration
@@ -893,7 +920,7 @@
Parameters
@@ -929,14 +956,14 @@
PII
Declaration
Objective-C
-
- ( void ) createTokenWithPersonalIDNumber :( nonnull NSString * ) pii
+ - ( void ) createTokenWithPersonalIDNumber :( nonnull NSString * ) pii
completion :
( STPTokenCompletionBlock _Nullable ) completion ;
@@ -972,7 +999,88 @@
Parameters
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Converts an STPConnectAccountParams
object into a Stripe token using the Stripe API.
+
+
This allows the connected account to accept the Terms of Service, and/or send Legal Entity information.
+
+
+
+
+
Parameters
+
+
+
+
+
+ account
+
+
+
+
+
The Connect Account parameters. Cannot be nil.
+
+
+
+
+
+
+ completion
+
+
+
+
+
The callback to run with the returned Stripe token (and any errors that may have occurred).
+
+
+
+
+
+
+
@@ -1014,14 +1122,14 @@ Upload
Declaration
Objective-C
-
- ( void ) uploadImage :( nonnull UIImage * ) image
+ - ( void ) uploadImage :( nonnull UIImage * ) image
purpose :( STPFilePurpose ) purpose
completion :( nullable STPFileCompletionBlock ) completion ;
@@ -1074,7 +1182,7 @@
Parameters
@@ -1110,13 +1218,13 @@
CreditCards
Declaration
@@ -1152,7 +1260,7 @@
Parameters
@@ -1195,13 +1303,13 @@
Sources
Declaration
@@ -1237,7 +1345,7 @@
Parameters
@@ -1262,14 +1370,14 @@
Parameters
Declaration
Objective-C
-
- ( void ) retrieveSourceWithId :( nonnull NSString * ) identifier
+ - ( void ) retrieveSourceWithId :( nonnull NSString * ) identifier
clientSecret :( nonnull NSString * ) secret
completion :( nonnull STPSourceCompletionBlock ) completion ;
Swift
-
func retrieveSource ( withId identifier : String , clientSecret secret : String , completion : @escaping STPSourceCompletionBlock )
+
func retrieveSource ( withId identifier : String , clientSecret secret : String , completion : @escaping STPSourceCompletionBlock )
@@ -1317,7 +1425,7 @@
Parameters
@@ -1351,7 +1459,7 @@
Parameters
Declaration
Objective-C
-
- ( void ) startPollingSourceWithId :( nonnull NSString * ) identifier
+ - ( void ) startPollingSourceWithId :( nonnull NSString * ) identifier
clientSecret :( nonnull NSString * ) secret
timeout :( NSTimeInterval ) timeout
completion :( nonnull STPSourceCompletionBlock ) completion ;
@@ -1359,7 +1467,7 @@ Declaration
Swift
-
func startPollingSource ( withId identifier : String , clientSecret secret : String , timeout : TimeInterval , completion : @escaping STPSourceCompletionBlock )
+
func startPollingSource ( withId identifier : String , clientSecret secret : String , timeout : TimeInterval , completion : @escaping STPSourceCompletionBlock )
@@ -1419,7 +1527,7 @@
Parameters
@@ -1445,12 +1553,12 @@
Parameters
Declaration
Objective-C
-
- ( void ) stopPollingSourceWithId :( nonnull NSString * ) identifier ;
+
- ( void ) stopPollingSourceWithId :( nonnull NSString * ) identifier ;
Swift
-
func stopPollingSource ( withId identifier : String )
+
func stopPollingSource ( withId identifier : String )
@@ -1474,7 +1582,7 @@
Parameters
@@ -1487,8 +1595,8 @@
Parameters
diff --git a/docs/docs/Classes/STPAddCardViewController.html b/docs/docs/Classes/STPAddCardViewController.html
index 410a1211aa4..0bc16cc413c 100644
--- a/docs/docs/Classes/STPAddCardViewController.html
+++ b/docs/docs/Classes/STPAddCardViewController.html
@@ -91,6 +91,9 @@
STPCardValidator
+
+ STPConnectAccountParams
+
STPCoreScrollViewController
@@ -115,6 +118,9 @@
STPImageLibrary
+
+ STPLegalEntityParams
+
STPPaymentActivityIndicatorView
@@ -133,6 +139,9 @@
STPPaymentResult
+
+ STPPersonParams
+
STPRedirectContext
@@ -172,6 +181,9 @@
STPUserInformation
+
+ STPVerificationParams
+
Stripe
@@ -186,6 +198,18 @@
STPCardErrorCodeKey
+
+ STPContactFieldEmailAddress
+
+
+ STPContactFieldName
+
+
+ STPContactFieldPhoneNumber
+
+
+ STPContactFieldPostalAddress
+
STPErrorMessageKey
@@ -339,6 +363,9 @@
STPCardErrorCode
+
+ STPContactField
+
STPCustomerCompletionBlock
@@ -394,7 +421,7 @@
STPAddCardViewController
@@ -427,17 +454,17 @@
STPAddCardViewController
Declaration
Objective-C
-
- ( nonnull instancetype ) init ;
+
- ( nonnull instancetype ) init ;
@@ -462,14 +489,14 @@
Declaration
Declaration
Objective-C
-
- ( nonnull instancetype ) initWithConfiguration :
+ - ( nonnull instancetype ) initWithConfiguration :
( nonnull STPPaymentConfiguration * ) configuration
theme :( nonnull STPTheme * ) theme ;
@@ -505,7 +532,7 @@
Parameters
@@ -530,18 +557,18 @@
Parameters
Declaration
@@ -566,18 +593,18 @@
Declaration
Declaration
Objective-C
-
@property ( readwrite , strong , nonatomic , nullable )
+ @property ( readwrite , strong , nonatomic , nullable )
STPUserInformation * prefilledInformation ;
@@ -602,18 +629,18 @@
Declaration
Declaration
Objective-C
-
@property ( readwrite , copy , nonatomic , nullable )
+ @property ( readwrite , copy , nonatomic , nullable )
NSString * managedAccountCurrency ;
Swift
-
var managedAccountCurrency : String ? { get set }
+
var managedAccountCurrency : String ? { get set }
@@ -642,17 +669,17 @@
Declaration
Declaration
Objective-C
-
@property ( readwrite , strong , nonatomic , nullable ) UIView * customFooterView ;
+
@property ( readwrite , strong , nonatomic , nullable ) UIView * customFooterView ;
Swift
-
var customFooterView : UIView ? { get set }
+
var customFooterView : UIView ? { get set }
@@ -665,8 +692,8 @@
Declaration
diff --git a/docs/docs/Classes/STPAddress.html b/docs/docs/Classes/STPAddress.html
index c62cd58f3b4..7e87404dfb3 100644
--- a/docs/docs/Classes/STPAddress.html
+++ b/docs/docs/Classes/STPAddress.html
@@ -91,6 +91,9 @@
STPCardValidator
+
+ STPConnectAccountParams
+
STPCoreScrollViewController
@@ -115,6 +118,9 @@
STPImageLibrary
+
+ STPLegalEntityParams
+
STPPaymentActivityIndicatorView
@@ -133,6 +139,9 @@
STPPaymentResult
+
+ STPPersonParams
+
STPRedirectContext
@@ -172,6 +181,9 @@
STPUserInformation
+
+ STPVerificationParams
+
Stripe
@@ -186,6 +198,18 @@
STPCardErrorCodeKey
+
+ STPContactFieldEmailAddress
+
+
+ STPContactFieldName
+
+
+ STPContactFieldPhoneNumber
+
+
+ STPContactFieldPostalAddress
+
STPErrorMessageKey
@@ -339,6 +363,9 @@
STPCardErrorCode
+
+ STPContactField
+
STPCustomerCompletionBlock
@@ -394,7 +421,7 @@
STPAddress
@@ -427,17 +454,17 @@
STPAddress
Declaration
Objective-C
-
@property ( readwrite , copy , nonatomic , nullable ) NSString * name ;
+
@property ( readwrite , copy , nonatomic , nullable ) NSString * name ;
Swift
-
var name : String ? { get set }
+
var name : String ? { get set }
@@ -462,17 +489,17 @@
Declaration
Declaration
Objective-C
-
@property ( readwrite , copy , nonatomic , nullable ) NSString * line1 ;
+
@property ( readwrite , copy , nonatomic , nullable ) NSString * line1 ;
Swift
-
var line1 : String ? { get set }
+
var line1 : String ? { get set }
@@ -497,17 +524,17 @@
Declaration
Declaration
Objective-C
-
@property ( readwrite , copy , nonatomic , nullable ) NSString * line2 ;
+
@property ( readwrite , copy , nonatomic , nullable ) NSString * line2 ;
Swift
-
var line2 : String ? { get set }
+
var line2 : String ? { get set }
@@ -532,17 +559,17 @@
Declaration
Declaration
Objective-C
-
@property ( readwrite , copy , nonatomic , nullable ) NSString * city ;
+
@property ( readwrite , copy , nonatomic , nullable ) NSString * city ;
Swift
-
var city : String ? { get set }
+
var city : String ? { get set }
@@ -567,17 +594,17 @@
Declaration
Declaration
Objective-C
-
@property ( readwrite , copy , nonatomic , nullable ) NSString * state ;
+
@property ( readwrite , copy , nonatomic , nullable ) NSString * state ;
Swift
-
var state : String ? { get set }
+
var state : String ? { get set }
@@ -602,17 +629,17 @@
Declaration
Declaration
Objective-C
-
@property ( readwrite , copy , nonatomic , nullable ) NSString * postalCode ;
+
@property ( readwrite , copy , nonatomic , nullable ) NSString * postalCode ;
Swift
-
var postalCode : String ? { get set }
+
var postalCode : String ? { get set }
@@ -637,17 +664,17 @@
Declaration
Declaration
Objective-C
-
@property ( readwrite , copy , nonatomic , nullable ) NSString * country ;
+
@property ( readwrite , copy , nonatomic , nullable ) NSString * country ;
Swift
-
var country : String ? { get set }
+
var country : String ? { get set }
@@ -672,17 +699,17 @@
Declaration
Declaration
Objective-C
-
@property ( readwrite , copy , nonatomic , nullable ) NSString * phone ;
+
@property ( readwrite , copy , nonatomic , nullable ) NSString * phone ;
Swift
-
var phone : String ? { get set }
+
var phone : String ? { get set }
@@ -707,17 +734,17 @@
Declaration
Declaration
Objective-C
-
@property ( readwrite , copy , nonatomic , nullable ) NSString * email ;
+
@property ( readwrite , copy , nonatomic , nullable ) NSString * email ;
Swift
-
var email : String ? { get set }
+
var email : String ? { get set }
@@ -751,14 +778,14 @@
Declaration
Declaration
Objective-C
-
+ ( nullable NSDictionary * )
+ + ( nullable NSDictionary * )
shippingInfoForChargeWithAddress :( nullable STPAddress * ) address
shippingMethod :( nullable PKShippingMethod * ) method ;
Swift
-
class func shippingInfoForCharge ( with address : STPAddress ?, shippingMethod method : PKShippingMethod ?) -> [ AnyHashable : Any ]?
+
class func shippingInfoForCharge ( with address : STPAddress ?, shippingMethod method : PKShippingMethod ?) -> [ AnyHashable : Any ]?
@@ -794,105 +821,7 @@
Parameters
-
-
-
-
-
-
-
-
-
-
-
Initializes a new STPAddress with data from an Address Book record.
-
-
-
-
Declaration
-
-
Objective-C
-
- ( nonnull instancetype ) initWithABRecord :( nonnull ABRecordRef ) record ;
-
-
-
-
Swift
-
init ( abRecord record : ABRecord )
-
-
-
-
-
Parameters
-
-
-
-
-
- record
-
-
-
-
-
The Address Book record you want to populate the STPAddress from.
-
-
-
-
-
-
-
-
Return Value
-
A new STPAddress instance with data copied from the passed in record.
-
-
-
-
-
-
-
-
-
-
-
-
-
Generates an Address Book record representation of this STPAddress.
-
-
-
-
Declaration
-
-
Objective-C
-
- ( nonnull ABRecordRef ) ABRecordValue ;
-
-
-
-
Swift
-
func abRecordValue () -> Unmanaged
-
-
-
-
-
Return Value
-
A new autoreleased Address Book record with data copied from this
-STPAddress instance.
-
-
@@ -917,12 +846,12 @@ Return Value
Declaration
Objective-C
-
- ( nonnull instancetype ) initWithPKContact :( nonnull PKContact * ) contact ;
+
- ( nonnull instancetype ) initWithPKContact :( nonnull PKContact * ) contact ;
Swift
-
init ( pkContact contact : PKContact )
+
init ( pkContact contact : PKContact )
@@ -950,7 +879,7 @@ Return Value
A new STPAddress instance with data copied from the passed in contact.
@@ -975,12 +904,12 @@ Return Value
Declaration
Objective-C
-
- ( nonnull PKContact * ) PKContactValue ;
+
- ( nonnull PKContact * ) PKContactValue ;
Swift
-
func pkContactValue () -> PKContact
+
func pkContactValue () -> PKContact
@@ -989,7 +918,7 @@ Return Value
A new PassKit contact with data copied from this STPAddress instance.
@@ -1014,12 +943,12 @@ Return Value
Declaration
Objective-C
-
- ( nonnull instancetype ) initWithCNContact :( nonnull CNContact * ) contact ;
+
- ( nonnull instancetype ) initWithCNContact :( nonnull CNContact * ) contact ;
Swift
-
init ( cnContact contact : CNContact )
+
init ( cnContact contact : CNContact )
@@ -1047,7 +976,7 @@ Return Value
A new STPAddress instance with data copied from the passed in contact.
@@ -1073,12 +1002,12 @@ Return Value
Declaration
@@ -1108,7 +1037,7 @@ Return Value
NO otherwise.
@@ -1145,13 +1074,13 @@ Return Value
Declaration
Objective-C
-
- ( BOOL ) containsContentForBillingAddressFields :
+ - ( BOOL ) containsContentForBillingAddressFields :
( STPBillingAddressFields ) desiredFields ;
@@ -1160,7 +1089,7 @@ Return Value
YES if there is any data in this STPAddress that’s relevant for those fields.
@@ -1181,17 +1110,21 @@ Return Value
Checks if this STPAddress has the level of valid address information
required by the passed in setting.
+Note: When requiredFields == nil
, this method always returns
+YES.
+
Declaration
Objective-C
-
- ( BOOL ) containsRequiredShippingAddressFields :( PKAddressField ) requiredFields ;
+
- ( BOOL ) containsRequiredShippingAddressFields :
+ ( nullable NSSet < STPContactField > * ) requiredFields ;
Swift
-
func containsRequiredShippingAddressFields ( _ requiredFields : PKAddressField ) -> Bool
+
func containsRequiredShippingAddressFields ( _ requiredFields : Set < STPContactField > ?) -> Bool
@@ -1220,7 +1153,7 @@ Return Value
NO otherwise.
@@ -1245,7 +1178,7 @@ Return Value
contains valid data in all of the required fields, this method checks for the
existence of any data.
-Note: When desiredFields == PKAddressFieldNone
, this method always returns
+
Note: When desiredFields == nil
, this method always returns
NO.
@parameter desiredFields The shipping address information the caller is interested in.
@@ -1255,12 +1188,13 @@ Return Value
Declaration
Objective-C
-
- ( BOOL ) containsContentForShippingAddressFields :( PKAddressField ) desiredFields ;
+
- ( BOOL ) containsContentForShippingAddressFields :
+ ( nullable NSSet < STPContactField > * ) desiredFields ;
Swift
-
func containsContent ( forShippingAddressFields desiredFields : PKAddressField ) -> Bool
+
func containsContent ( forShippingAddressFields desiredFields : Set < STPContactField > ?) -> Bool
@@ -1269,7 +1203,7 @@ Return Value
YES if there is any data in this STPAddress that’s relevant for those fields.
@@ -1295,13 +1229,13 @@ Return Value
Declaration
Objective-C
-
+ ( PKAddressField ) applePayAddressFieldsFromBillingAddressFields :
+ + ( PKAddressField ) applePayAddressFieldsFromBillingAddressFields :
( STPBillingAddressFields ) billingAddressFields ;
@@ -1326,11 +1260,133 @@ Parameters
Return Value
-
The closest represenation of the billing address requirement as
+
The closest representation of the billing address requirement as
a PKAddressField value.
+
+
+
+
+
+
+
+
+
+
+
Converts a set of STPContactField values into the closest equivalent
+representation of PKAddressField options
+
+
+
+
Declaration
+
+
Objective-C
+
+ ( PKAddressField ) pkAddressFieldsFromStripeContactFields :
+ ( nullable NSSet < STPContactField > * ) contactFields ;
+
+
+
+
Swift
+
class func pkAddressFields ( fromStripeContactFields contactFields : Set < STPContactField > ?) -> PKAddressField
+
+
+
+
+
Parameters
+
+
+
+
+
+ contactFields
+
+
+
+
+
Stripe contact fields values to convert.
+
+
+
+
+
+
+
+
Return Value
+
The closest representation of the contact fields as
+a PKAddressField value.
+
+
+
+
+
+
+
+
+
+
+
+
+
Converts a set of STPContactField values into the closest equivalent
+representation of PKContactField options
+
+
+
+
Declaration
+
+
Objective-C
+
+ ( nullable NSSet < PKContactField > * ) pkContactFieldsFromStripeContactFields :
+ ( nullable NSSet < STPContactField > * ) contactFields ;
+
+
+
+
Swift
+
class func pkContactFields ( fromStripeContactFields contactFields : Set < STPContactField > ?) -> Set < PKContactField > ?
+
+
+
+
+
Parameters
+
+
+
+
+
+ contactFields
+
+
+
+
+
Stripe contact fields values to convert.
+
+
+
+
+
+
+
+
Return Value
+
The closest representation of the contact fields as
+a PKContactField value.
+
+
@@ -1343,8 +1399,8 @@ Return Value
diff --git a/docs/docs/Classes/STPBankAccount.html b/docs/docs/Classes/STPBankAccount.html
index bd103ef9de7..dbd0f4a7e71 100644
--- a/docs/docs/Classes/STPBankAccount.html
+++ b/docs/docs/Classes/STPBankAccount.html
@@ -91,6 +91,9 @@
STPCardValidator
+
+ STPConnectAccountParams
+
STPCoreScrollViewController
@@ -115,6 +118,9 @@
STPImageLibrary
+
+ STPLegalEntityParams
+
STPPaymentActivityIndicatorView
@@ -133,6 +139,9 @@
STPPaymentResult
+
+ STPPersonParams
+
STPRedirectContext
@@ -172,6 +181,9 @@
STPUserInformation
+
+ STPVerificationParams
+
Stripe
@@ -186,6 +198,18 @@
STPCardErrorCodeKey
+
+ STPContactFieldEmailAddress
+
+
+ STPContactFieldName
+
+
+ STPContactFieldPhoneNumber
+
+
+ STPContactFieldPostalAddress
+
STPErrorMessageKey
@@ -339,6 +363,9 @@
STPCardErrorCode
+
+ STPContactField
+
STPCustomerCompletionBlock
@@ -394,7 +421,7 @@
STPBankAccount
@@ -435,12 +462,12 @@
STPBankAccount
Declaration
Objective-C
-
- ( nonnull instancetype ) init ;
+
- ( nonnull instancetype ) init ;
@@ -466,17 +493,17 @@
Declaration
Declaration
Objective-C
-
@property ( readonly , nonatomic , nullable ) NSString * routingNumber ;
+
@property ( readonly , nonatomic , nullable ) NSString * routingNumber ;
Swift
-
var routingNumber : String ? { get }
+
var routingNumber : String ? { get }
@@ -501,17 +528,17 @@
Declaration
Declaration
Objective-C
-
@property ( readonly , nonatomic ) NSString * _Nonnull country ;
+
@property ( readonly , nonatomic ) NSString * _Nonnull country ;
Swift
-
var country : String { get }
+
var country : String { get }
@@ -536,17 +563,17 @@
Declaration
Declaration
Objective-C
-
@property ( readonly , nonatomic ) NSString * _Nonnull currency ;
+
@property ( readonly , nonatomic ) NSString * _Nonnull currency ;
Swift
-
var currency : String { get }
+
var currency : String { get }
@@ -571,17 +598,17 @@
Declaration
Declaration
Objective-C
-
@property ( readonly , nonatomic ) NSString * _Nonnull last4 ;
+
@property ( readonly , nonatomic ) NSString * _Nonnull last4 ;
Swift
-
var last4 : String { get }
+
var last4 : String { get }
@@ -606,17 +633,17 @@
Declaration
Declaration
Objective-C
-
@property ( readonly , nonatomic ) NSString * _Nonnull bankName ;
+
@property ( readonly , nonatomic ) NSString * _Nonnull bankName ;
Swift
-
var bankName : String { get }
+
var bankName : String { get }
@@ -641,17 +668,17 @@
Declaration
Declaration
Objective-C
-
@property ( readonly , nonatomic , nullable ) NSString * accountHolderName ;
+
@property ( readonly , nonatomic , nullable ) NSString * accountHolderName ;
Swift
-
var accountHolderName : String ? { get }
+
var accountHolderName : String ? { get }
@@ -676,17 +703,17 @@
Declaration
Declaration
@@ -712,17 +739,17 @@
Declaration
Declaration
Objective-C
-
@property ( readonly , nonatomic , nullable ) NSString * fingerprint ;
+
@property ( readonly , nonatomic , nullable ) NSString * fingerprint ;
Swift
-
var fingerprint : String ? { get }
+
var fingerprint : String ? { get }
@@ -752,18 +779,18 @@
Declaration
Declaration
Objective-C
-
@property ( readonly , copy , nonatomic , nullable )
+ @property ( readonly , copy , nonatomic , nullable )
NSDictionary < NSString * , NSString *> * metadata ;
Swift
-
var metadata : [ String : String ]? { get }
+
var metadata : [ String : String ]? { get }
@@ -788,17 +815,17 @@
Declaration
Declaration
@@ -834,17 +861,17 @@
Deprecated methods
Declaration
Objective-C
-
@property ( readonly , nonatomic ) NSString * _Nonnull bankAccountId ;
+
@property ( readonly , nonatomic ) NSString * _Nonnull bankAccountId ;
Swift
-
var bankAccountId : String { get }
+
var bankAccountId : String { get }
@@ -857,8 +884,8 @@
Declaration
diff --git a/docs/docs/Classes/STPBankAccountParams.html b/docs/docs/Classes/STPBankAccountParams.html
index a1673887665..81024eb822b 100644
--- a/docs/docs/Classes/STPBankAccountParams.html
+++ b/docs/docs/Classes/STPBankAccountParams.html
@@ -91,6 +91,9 @@
STPCardValidator
+
+ STPConnectAccountParams
+
STPCoreScrollViewController
@@ -115,6 +118,9 @@
STPImageLibrary
+
+ STPLegalEntityParams
+
STPPaymentActivityIndicatorView
@@ -133,6 +139,9 @@
STPPaymentResult
+
+ STPPersonParams
+
STPRedirectContext
@@ -172,6 +181,9 @@
STPUserInformation
+
+ STPVerificationParams
+
Stripe
@@ -186,6 +198,18 @@
STPCardErrorCodeKey
+
+ STPContactFieldEmailAddress
+
+
+ STPContactFieldName
+
+
+ STPContactFieldPhoneNumber
+
+
+ STPContactFieldPostalAddress
+
STPErrorMessageKey
@@ -339,6 +363,9 @@
STPCardErrorCode
+
+ STPContactField
+
STPCustomerCompletionBlock
@@ -394,7 +421,7 @@
STPBankAccountParams
@@ -434,17 +461,17 @@
STPBankAccountParams
Declaration
Objective-C
-
@property ( readwrite , copy , nonatomic , nullable ) NSString * accountNumber ;
+
@property ( readwrite , copy , nonatomic , nullable ) NSString * accountNumber ;
Swift
-
var accountNumber : String ? { get set }
+
var accountNumber : String ? { get set }
@@ -470,17 +497,17 @@
Declaration
Declaration
Objective-C
-
@property ( readonly , nonatomic , nullable ) NSString * last4 ;
+
@property ( readonly , nonatomic , nullable ) NSString * last4 ;
Swift
-
var last4 : String ? { get }
+
var last4 : String ? { get }
@@ -506,17 +533,17 @@
Declaration
Declaration
Objective-C
-
@property ( readwrite , copy , nonatomic , nullable ) NSString * routingNumber ;
+
@property ( readwrite , copy , nonatomic , nullable ) NSString * routingNumber ;
Swift
-
var routingNumber : String ? { get set }
+
var routingNumber : String ? { get set }
@@ -541,17 +568,17 @@
Declaration
Declaration
Objective-C
-
@property ( readwrite , copy , nonatomic , nullable ) NSString * country ;
+
@property ( readwrite , copy , nonatomic , nullable ) NSString * country ;
Swift
-
var country : String ? { get set }
+
var country : String ? { get set }
@@ -576,17 +603,17 @@
Declaration
Declaration
Objective-C
-
@property ( readwrite , copy , nonatomic , nullable ) NSString * currency ;
+
@property ( readwrite , copy , nonatomic , nullable ) NSString * currency ;
Swift
-
var currency : String ? { get set }
+
var currency : String ? { get set }
@@ -611,17 +638,17 @@
Declaration
Declaration
Objective-C
-
@property ( readwrite , copy , nonatomic , nullable ) NSString * accountHolderName ;
+
@property ( readwrite , copy , nonatomic , nullable ) NSString * accountHolderName ;
Swift
-
var accountHolderName : String ? { get set }
+
var accountHolderName : String ? { get set }
@@ -648,18 +675,18 @@
Declaration
Declaration
Objective-C
-
@property ( assign , readwrite , nonatomic )
+ @property ( assign , readwrite , nonatomic )
STPBankAccountHolderType accountHolderType ;
@@ -672,8 +699,8 @@
Declaration
diff --git a/docs/docs/Classes/STPCard.html b/docs/docs/Classes/STPCard.html
index 5c030d090ea..e21bf221997 100644
--- a/docs/docs/Classes/STPCard.html
+++ b/docs/docs/Classes/STPCard.html
@@ -91,6 +91,9 @@
STPCardValidator
+
+ STPConnectAccountParams
+
STPCoreScrollViewController
@@ -115,6 +118,9 @@
STPImageLibrary
+
+ STPLegalEntityParams
+
STPPaymentActivityIndicatorView
@@ -133,6 +139,9 @@
STPPaymentResult
+
+ STPPersonParams
+
STPRedirectContext
@@ -172,6 +181,9 @@
STPUserInformation
+
+ STPVerificationParams
+
Stripe
@@ -186,6 +198,18 @@
STPCardErrorCodeKey
+
+ STPContactFieldEmailAddress
+
+
+ STPContactFieldName
+
+
+ STPContactFieldPhoneNumber
+
+
+ STPContactFieldPostalAddress
+
STPErrorMessageKey
@@ -339,6 +363,9 @@
STPCardErrorCode
+
+ STPContactField
+
STPCustomerCompletionBlock
@@ -394,7 +421,7 @@
STPCard
@@ -435,12 +462,12 @@
STPCard
Declaration
Objective-C
-
- ( nonnull instancetype ) init ;
+
- ( nonnull instancetype ) init ;
@@ -465,17 +492,17 @@
Declaration
Declaration
Objective-C
-
@property ( readonly , nonatomic ) NSString * _Nonnull last4 ;
+
@property ( readonly , nonatomic ) NSString * _Nonnull last4 ;
Swift
-
var last4 : String { get }
+
var last4 : String { get }
@@ -502,17 +529,17 @@
Declaration
Declaration
Objective-C
-
@property ( readonly , nonatomic , nullable ) NSString * dynamicLast4 ;
+
@property ( readonly , nonatomic , nullable ) NSString * dynamicLast4 ;
Swift
-
var dynamicLast4 : String ? { get }
+
var dynamicLast4 : String ? { get }
@@ -537,17 +564,17 @@
Declaration
Declaration
Objective-C
-
@property ( readonly , nonatomic ) BOOL isApplePayCard ;
+
@property ( readonly , nonatomic ) BOOL isApplePayCard ;
Swift
-
var isApplePayCard : Bool { get }
+
var isApplePayCard : Bool { get }
@@ -572,17 +599,17 @@
Declaration
Declaration
Objective-C
-
@property ( readonly , nonatomic ) NSUInteger expMonth ;
+
@property ( readonly , nonatomic ) NSUInteger expMonth ;
Swift
-
var expMonth : UInt { get }
+
var expMonth : UInt { get }
@@ -607,17 +634,17 @@
Declaration
Declaration
Objective-C
-
@property ( readonly , nonatomic ) NSUInteger expYear ;
+
@property ( readonly , nonatomic ) NSUInteger expYear ;
Swift
-
var expYear : UInt { get }
+
var expYear : UInt { get }
@@ -642,17 +669,17 @@
Declaration
Declaration
Objective-C
-
@property ( readonly , nonatomic , nullable ) NSString * name ;
+
@property ( readonly , nonatomic , nullable ) NSString * name ;
Swift
-
var name : String ? { get }
+
var name : String ? { get }
@@ -677,17 +704,17 @@
Declaration
Declaration
Objective-C
-
@property ( readonly , nonatomic ) STPAddress * _Nonnull address ;
+
@property ( readonly , nonatomic ) STPAddress * _Nonnull address ;
@@ -712,17 +739,17 @@
Declaration
Declaration
@@ -747,17 +774,17 @@
Declaration
Declaration
@@ -782,17 +809,17 @@
Declaration
Declaration
Objective-C
-
@property ( readonly , nonatomic , nullable ) NSString * country ;
+
@property ( readonly , nonatomic , nullable ) NSString * country ;
Swift
-
var country : String ? { get }
+
var country : String ? { get }
@@ -819,17 +846,17 @@
Declaration
Declaration
Objective-C
-
@property ( readonly , nonatomic , nullable ) NSString * currency ;
+
@property ( readonly , nonatomic , nullable ) NSString * currency ;
Swift
-
var currency : String ? { get }
+
var currency : String ? { get }
@@ -859,18 +886,18 @@
Declaration
Declaration
Objective-C
-
@property ( readonly , copy , nonatomic , nullable )
+ @property ( readonly , copy , nonatomic , nullable )
NSDictionary < NSString * , NSString *> * metadata ;
Swift
-
var metadata : [ String : String ]? { get }
+
var metadata : [ String : String ]? { get }
@@ -896,12 +923,12 @@
Declaration
Declaration
Objective-C
-
+ ( nonnull NSString * ) stringFromBrand :( STPCardBrand ) brand ;
+
+ ( nonnull NSString * ) stringFromBrand :( STPCardBrand ) brand ;
@@ -929,7 +956,7 @@
Return Value
A string representing the brand, suitable for displaying to a user.
@@ -964,12 +991,12 @@
Return Value
Declaration
Objective-C
-
+ ( STPCardBrand ) brandFromString :( nonnull NSString * ) string ;
+
+ ( STPCardBrand ) brandFromString :( nonnull NSString * ) string ;
@@ -999,7 +1026,7 @@
Return Value
returns STPCardBrandUnknown.
@@ -1035,17 +1062,17 @@
Deprecated methods
Declaration
Objective-C
-
@property ( readonly , nonatomic ) NSString * _Nonnull cardId ;
+
@property ( readonly , nonatomic ) NSString * _Nonnull cardId ;
Swift
-
var cardId : String { get }
+
var cardId : String { get }
@@ -1070,17 +1097,17 @@
Declaration
Declaration
Objective-C
-
@property ( readonly , nonatomic , nullable ) NSString * addressLine1 ;
+
@property ( readonly , nonatomic , nullable ) NSString * addressLine1 ;
Swift
-
var addressLine1 : String ? { get }
+
var addressLine1 : String ? { get }
@@ -1105,17 +1132,17 @@
Declaration
Declaration
Objective-C
-
@property ( readonly , nonatomic , nullable ) NSString * addressLine2 ;
+
@property ( readonly , nonatomic , nullable ) NSString * addressLine2 ;
Swift
-
var addressLine2 : String ? { get }
+
var addressLine2 : String ? { get }
@@ -1140,17 +1167,17 @@
Declaration
Declaration
Objective-C
-
@property ( readonly , nonatomic , nullable ) NSString * addressCity ;
+
@property ( readonly , nonatomic , nullable ) NSString * addressCity ;
Swift
-
var addressCity : String ? { get }
+
var addressCity : String ? { get }
@@ -1175,17 +1202,17 @@
Declaration
Declaration
Objective-C
-
@property ( readonly , nonatomic , nullable ) NSString * addressState ;
+
@property ( readonly , nonatomic , nullable ) NSString * addressState ;
Swift
-
var addressState : String ? { get }
+
var addressState : String ? { get }
@@ -1210,17 +1237,17 @@
Declaration
Declaration
Objective-C
-
@property ( readonly , nonatomic , nullable ) NSString * addressZip ;
+
@property ( readonly , nonatomic , nullable ) NSString * addressZip ;
Swift
-
var addressZip : String ? { get }
+
var addressZip : String ? { get }
@@ -1245,17 +1272,17 @@
Declaration
Declaration
Objective-C
-
@property ( readonly , nonatomic , nullable ) NSString * addressCountry ;
+
@property ( readonly , nonatomic , nullable ) NSString * addressCountry ;
Swift
-
var addressCountry : String ? { get }
+
var addressCountry : String ? { get }
@@ -1280,7 +1307,7 @@
Declaration
Declaration
Objective-C
-
- ( nonnull instancetype ) initWithID :( nonnull NSString * ) cardID
+ - ( nonnull instancetype ) initWithID :( nonnull NSString * ) cardID
brand :( STPCardBrand ) brand
last4 :( nonnull NSString * ) last4
expMonth :( NSUInteger ) expMonth
@@ -1290,7 +1317,7 @@ Declaration
Swift
-
init ( id cardID : String , brand : STPCardBrand , last4 : String , expMonth : UInt , expYear : UInt , funding : STPCardFundingType )
+
init ( id cardID : String , brand : STPCardBrand , last4 : String , expMonth : UInt , expYear : UInt , funding : STPCardFundingType )
@@ -1380,7 +1407,7 @@
Return Value
an STPCard instance populated with the provided values.
@@ -1407,12 +1434,12 @@
Return Value
Declaration
@@ -1442,7 +1469,7 @@
Return Value
returns STPCardFundingTypeOther
.
@@ -1455,8 +1482,8 @@
Return Value
diff --git a/docs/docs/Classes/STPCardParams.html b/docs/docs/Classes/STPCardParams.html
index c50facdab0c..daa8b5a87c5 100644
--- a/docs/docs/Classes/STPCardParams.html
+++ b/docs/docs/Classes/STPCardParams.html
@@ -91,6 +91,9 @@
STPCardValidator
+
+ STPConnectAccountParams
+
STPCoreScrollViewController
@@ -115,6 +118,9 @@
STPImageLibrary
+
+ STPLegalEntityParams
+
STPPaymentActivityIndicatorView
@@ -133,6 +139,9 @@
STPPaymentResult
+
+ STPPersonParams
+
STPRedirectContext
@@ -172,6 +181,9 @@
STPUserInformation
+
+ STPVerificationParams
+
Stripe
@@ -186,6 +198,18 @@
STPCardErrorCodeKey
+
+ STPContactFieldEmailAddress
+
+
+ STPContactFieldName
+
+
+ STPContactFieldPhoneNumber
+
+
+ STPContactFieldPostalAddress
+
STPErrorMessageKey
@@ -339,6 +363,9 @@
STPCardErrorCode
+
+ STPContactField
+
STPCustomerCompletionBlock
@@ -394,7 +421,7 @@
STPCardParams
@@ -434,17 +461,17 @@
STPCardParams
Declaration
Objective-C
-
@property ( readwrite , copy , nonatomic , nullable ) NSString * number ;
+
@property ( readwrite , copy , nonatomic , nullable ) NSString * number ;
Swift
-
var number : String ? { get set }
+
var number : String ? { get set }
@@ -469,17 +496,17 @@
Declaration
Declaration
Objective-C
-
- ( nullable NSString * ) last4 ;
+
- ( nullable NSString * ) last4 ;
Swift
-
func last4 () -> String ?
+
func last4 () -> String ?
@@ -504,17 +531,17 @@
Declaration
Declaration
Objective-C
-
@property ( assign , readwrite , nonatomic ) NSUInteger expMonth ;
+
@property ( assign , readwrite , nonatomic ) NSUInteger expMonth ;
Swift
-
var expMonth : UInt { get set }
+
var expMonth : UInt { get set }
@@ -539,17 +566,17 @@
Declaration
Declaration
Objective-C
-
@property ( assign , readwrite , nonatomic ) NSUInteger expYear ;
+
@property ( assign , readwrite , nonatomic ) NSUInteger expYear ;
Swift
-
var expYear : UInt { get set }
+
var expYear : UInt { get set }
@@ -574,17 +601,17 @@
Declaration
Declaration
Objective-C
-
@property ( readwrite , copy , nonatomic , nullable ) NSString * cvc ;
+
@property ( readwrite , copy , nonatomic , nullable ) NSString * cvc ;
Swift
-
var cvc : String ? { get set }
+
var cvc : String ? { get set }
@@ -615,17 +642,17 @@
Declaration
Declaration
Objective-C
-
@property ( readwrite , copy , nonatomic , nullable ) NSString * name ;
+
@property ( readwrite , copy , nonatomic , nullable ) NSString * name ;
Swift
-
var name : String ? { get set }
+
var name : String ? { get set }
@@ -656,17 +683,17 @@
Declaration
Declaration
Objective-C
-
@property ( readwrite , strong , nonatomic , nonnull ) STPAddress * address ;
+
@property ( readwrite , strong , nonatomic , nonnull ) STPAddress * address ;
@@ -694,17 +721,17 @@
Declaration
Declaration
Objective-C
-
@property ( readwrite , copy , nonatomic , nullable ) NSString * currency ;
+
@property ( readwrite , copy , nonatomic , nullable ) NSString * currency ;
Swift
-
var currency : String ? { get set }
+
var currency : String ? { get set }
@@ -740,17 +767,17 @@
Deprecated methods
Declaration
Objective-C
-
@property ( readwrite , copy , nonatomic , nullable ) NSString * addressLine1 ;
+
@property ( readwrite , copy , nonatomic , nullable ) NSString * addressLine1 ;
Swift
-
var addressLine1 : String ? { get set }
+
var addressLine1 : String ? { get set }
@@ -775,17 +802,17 @@
Declaration
Declaration
Objective-C
-
@property ( readwrite , copy , nonatomic , nullable ) NSString * addressLine2 ;
+
@property ( readwrite , copy , nonatomic , nullable ) NSString * addressLine2 ;
Swift
-
var addressLine2 : String ? { get set }
+
var addressLine2 : String ? { get set }
@@ -810,17 +837,17 @@
Declaration
Declaration
Objective-C
-
@property ( readwrite , copy , nonatomic , nullable ) NSString * addressCity ;
+
@property ( readwrite , copy , nonatomic , nullable ) NSString * addressCity ;
Swift
-
var addressCity : String ? { get set }
+
var addressCity : String ? { get set }
@@ -845,17 +872,17 @@
Declaration
Declaration
Objective-C
-
@property ( readwrite , copy , nonatomic , nullable ) NSString * addressState ;
+
@property ( readwrite , copy , nonatomic , nullable ) NSString * addressState ;
Swift
-
var addressState : String ? { get set }
+
var addressState : String ? { get set }
@@ -880,17 +907,17 @@
Declaration
Declaration
Objective-C
-
@property ( readwrite , copy , nonatomic , nullable ) NSString * addressZip ;
+
@property ( readwrite , copy , nonatomic , nullable ) NSString * addressZip ;
Swift
-
var addressZip : String ? { get set }
+
var addressZip : String ? { get set }
@@ -915,17 +942,17 @@
Declaration
Declaration
Objective-C
-
@property ( readwrite , copy , nonatomic , nullable ) NSString * addressCountry ;
+
@property ( readwrite , copy , nonatomic , nullable ) NSString * addressCountry ;
Swift
-
var addressCountry : String ? { get set }
+
var addressCountry : String ? { get set }
@@ -938,8 +965,8 @@
Declaration
diff --git a/docs/docs/Classes/STPCardValidator.html b/docs/docs/Classes/STPCardValidator.html
index d30c35fc0b9..55e9749f6b3 100644
--- a/docs/docs/Classes/STPCardValidator.html
+++ b/docs/docs/Classes/STPCardValidator.html
@@ -91,6 +91,9 @@
STPCardValidator
+
+ STPConnectAccountParams
+
STPCoreScrollViewController
@@ -115,6 +118,9 @@
STPImageLibrary
+
+ STPLegalEntityParams
+
STPPaymentActivityIndicatorView
@@ -133,6 +139,9 @@
STPPaymentResult
+
+ STPPersonParams
+
STPRedirectContext
@@ -172,6 +181,9 @@
STPUserInformation
+
+ STPVerificationParams
+
Stripe
@@ -186,6 +198,18 @@
STPCardErrorCodeKey
+
+ STPContactFieldEmailAddress
+
+
+ STPContactFieldName
+
+
+ STPContactFieldPhoneNumber
+
+
+ STPContactFieldPostalAddress
+
STPErrorMessageKey
@@ -339,6 +363,9 @@
STPCardErrorCode
+
+ STPContactField
+
STPCustomerCompletionBlock
@@ -394,7 +421,7 @@
STPCardValidator
-
@interface STPCardValidator : NSObject
+
@interface STPCardValidator : NSObject
@@ -429,18 +456,18 @@
STPCardValidator
Declaration
Objective-C
-
+ ( nonnull NSString * ) sanitizedNumericStringForString :
+ + ( nonnull NSString * ) sanitizedNumericStringForString :
( nonnull NSString * ) string ;
Swift
-
class func sanitizedNumericString ( for string : String ) -> String
+
class func sanitizedNumericString ( for string : String ) -> String
@@ -465,17 +492,17 @@
Declaration
Declaration
Objective-C
-
+ ( BOOL ) stringIsNumeric :( nonnull NSString * ) string ;
+
+ ( BOOL ) stringIsNumeric :( nonnull NSString * ) string ;
Swift
-
class func stringIsNumeric ( _ string : String ) -> Bool
+
class func stringIsNumeric ( _ string : String ) -> Bool
@@ -503,14 +530,14 @@
Declaration
Declaration
Swift
-
class func validationState ( forNumber cardNumber : String ?, validatingCardBrand : Bool ) -> STPCardValidationState
+
class func validationState ( forNumber cardNumber : String ?, validatingCardBrand : Bool ) -> STPCardValidationState
@@ -560,7 +587,7 @@
Return Value
card (e.g. @4242 ).
@@ -585,12 +612,12 @@
Return Value
Declaration
Objective-C
-
+ ( STPCardBrand ) brandForNumber :( nonnull NSString * ) cardNumber ;
+
+ ( STPCardBrand ) brandForNumber :( nonnull NSString * ) cardNumber ;
Swift
-
class func brand ( forNumber cardNumber : String ) -> STPCardBrand
+
class func brand ( forNumber cardNumber : String ) -> STPCardBrand
@@ -621,7 +648,7 @@
Return Value
STPCardBrandUnknown, respectively.
@@ -648,12 +675,12 @@
Return Value
Declaration
Objective-C
-
+ ( nonnull NSSet < NSNumber *> * ) lengthsForCardBrand :( STPCardBrand ) brand ;
+
+ ( nonnull NSSet < NSNumber *> * ) lengthsForCardBrand :( STPCardBrand ) brand ;
Swift
-
class func lengths ( for brand : STPCardBrand ) -> Set
+
class func lengths ( for brand : STPCardBrand ) -> Set < NSNumber >
@@ -681,7 +708,7 @@
Return Value
The set of possible lengths cards associated with that brand can be.
@@ -710,12 +737,12 @@
Return Value
Declaration
Objective-C
-
+ ( NSInteger ) maxLengthForCardBrand :( STPCardBrand ) brand ;
+
+ ( NSInteger ) maxLengthForCardBrand :( STPCardBrand ) brand ;
@@ -743,7 +770,7 @@
Return Value
The maximum length card numbers associated with that brand could be.
@@ -772,12 +799,12 @@
Return Value
Declaration
Objective-C
-
+ ( NSInteger ) fragmentLengthForCardBrand :( STPCardBrand ) brand ;
+
+ ( NSInteger ) fragmentLengthForCardBrand :( STPCardBrand ) brand ;
Swift
-
class func fragmentLength ( for brand : STPCardBrand ) -> Int
+
class func fragmentLength ( for brand : STPCardBrand ) -> Int
@@ -805,7 +832,7 @@
Return Value
The final fragment length card numbers associated with that brand use.
@@ -833,13 +860,13 @@
Return Value
Declaration
@@ -871,7 +898,7 @@
Return Value
month (e.g. @0 or @1 ).
@@ -906,14 +933,14 @@
Return Value
Declaration
Swift
-
class func validationState ( forExpirationYear expirationYear : String , inMonth expirationMonth : String ) -> STPCardValidationState
+
class func validationState ( forExpirationYear expirationYear : String , inMonth expirationMonth : String ) -> STPCardValidationState
@@ -960,7 +987,7 @@
Return Value
year (e.g. @1 or @2 ).
@@ -986,12 +1013,12 @@
Return Value
Declaration
Objective-C
-
+ ( NSUInteger ) maxCVCLengthForCardBrand :( STPCardBrand ) brand ;
+
+ ( NSUInteger ) maxCVCLengthForCardBrand :( STPCardBrand ) brand ;
Swift
-
class func maxCVCLength ( for brand : STPCardBrand ) -> UInt
+
class func maxCVCLength ( for brand : STPCardBrand ) -> UInt
@@ -1019,7 +1046,7 @@
Return Value
The maximum length of CVC numbers for cards associated with that brand.
@@ -1044,13 +1071,13 @@
Return Value
Declaration
@@ -1095,7 +1122,7 @@
Return Value
STPCardBrandVisa, and STPCardValidationStateInvalid for @12345 and any brand.
@@ -1120,12 +1147,12 @@
Return Value
Declaration
@@ -1155,7 +1182,7 @@
Return Value
STPCardValidationStateIncomplete if all fields are either incomplete or valid.
@@ -1168,8 +1195,8 @@
Return Value
diff --git a/docs/docs/Classes/STPConnectAccountParams.html b/docs/docs/Classes/STPConnectAccountParams.html
new file mode 100644
index 00000000000..1312b894316
--- /dev/null
+++ b/docs/docs/Classes/STPConnectAccountParams.html
@@ -0,0 +1,690 @@
+
+
+
+
STPConnectAccountParams Class Reference
+
+
+
+
+
+
+
+
+
+
+
+
+