diff --git a/docs/docs/Categories.html b/docs/docs/Categories.html index cc597593646..be84d27a9f7 100644 --- a/docs/docs/Categories.html +++ b/docs/docs/Categories.html @@ -105,6 +105,9 @@ + @@ -148,6 +151,12 @@ + + + @@ -191,6 +203,9 @@ + @@ -254,7 +269,7 @@

Declaration

diff --git a/docs/docs/Categories/UINavigationBar(Stripe_Theme).html b/docs/docs/Categories/UINavigationBar(Stripe_Theme).html index b068da2e5a0..4e42cdfa3c0 100644 --- a/docs/docs/Categories/UINavigationBar(Stripe_Theme).html +++ b/docs/docs/Categories/UINavigationBar(Stripe_Theme).html @@ -106,6 +106,9 @@ + @@ -149,6 +152,12 @@ + + + @@ -192,6 +204,9 @@ + @@ -280,7 +295,7 @@

Parameters

diff --git a/docs/docs/Classes.html b/docs/docs/Classes.html index c9b17f62d08..652ce41827a 100644 --- a/docs/docs/Classes.html +++ b/docs/docs/Classes.html @@ -105,6 +105,9 @@ + @@ -148,6 +151,12 @@ + + + @@ -191,6 +203,9 @@ + @@ -363,7 +378,7 @@

Declaration

- Show on GitHub + Show on GitHub
@@ -851,7 +866,7 @@

Declaration

- Show on GitHub + Show on GitHub
@@ -895,7 +910,7 @@

Declaration

- Show on GitHub + Show on GitHub
@@ -935,7 +950,7 @@

Declaration

- Show on GitHub + Show on GitHub
@@ -982,6 +997,46 @@

Declaration

+
+ +
diff --git a/docs/docs/Classes/STPAPIClient.html b/docs/docs/Classes/STPAPIClient.html index b7b23320513..9eed4589b36 100644 --- a/docs/docs/Classes/STPAPIClient.html +++ b/docs/docs/Classes/STPAPIClient.html @@ -106,6 +106,9 @@ + @@ -149,6 +152,12 @@ + + + @@ -192,6 +204,9 @@ + @@ -580,7 +595,7 @@

Parameters

diff --git a/docs/docs/Classes/STPAddCardViewController.html b/docs/docs/Classes/STPAddCardViewController.html index e5f1c820955..a7e3576b528 100644 --- a/docs/docs/Classes/STPAddCardViewController.html +++ b/docs/docs/Classes/STPAddCardViewController.html @@ -106,6 +106,9 @@ + @@ -149,6 +152,12 @@ + + + @@ -192,6 +204,9 @@ + @@ -443,7 +458,7 @@

Declaration

diff --git a/docs/docs/Classes/STPAddress.html b/docs/docs/Classes/STPAddress.html index 8aab3b60db3..54d75120cf6 100644 --- a/docs/docs/Classes/STPAddress.html +++ b/docs/docs/Classes/STPAddress.html @@ -106,6 +106,9 @@ + @@ -149,6 +152,12 @@ + + + @@ -192,6 +204,9 @@ + @@ -242,17 +257,17 @@

STPAddress

Declaration

Objective-C

-
@property (readwrite, copy, nonatomic) NSString *name;
+
@property (readwrite, copy, nonatomic, nullable) NSString *name;

Swift

-
var name: String! { get set }
+
var name: String? { get set }
- Show on GitHub + Show on GitHub
@@ -277,17 +292,17 @@

Declaration

Declaration

Objective-C

-
@property (readwrite, copy, nonatomic) NSString *line1;
+
@property (readwrite, copy, nonatomic, nullable) NSString *line1;

Swift

-
var line1: String! { get set }
+
var line1: String? { get set }
- Show on GitHub + Show on GitHub
@@ -312,17 +327,17 @@

Declaration

Declaration

Objective-C

-
@property (readwrite, copy, nonatomic) NSString *line2;
+
@property (readwrite, copy, nonatomic, nullable) NSString *line2;

Swift

-
var line2: String! { get set }
+
var line2: String? { get set }
- Show on GitHub + Show on GitHub
@@ -347,17 +362,17 @@

Declaration

Declaration

Objective-C

-
@property (readwrite, copy, nonatomic) NSString *city;
+
@property (readwrite, copy, nonatomic, nullable) NSString *city;

Swift

-
var city: String! { get set }
+
var city: String? { get set }
- Show on GitHub + Show on GitHub
@@ -382,17 +397,17 @@

Declaration

Declaration

Objective-C

-
@property (readwrite, copy, nonatomic) NSString *state;
+
@property (readwrite, copy, nonatomic, nullable) NSString *state;

Swift

-
var state: String! { get set }
+
var state: String? { get set }
- Show on GitHub + Show on GitHub
@@ -417,17 +432,17 @@

Declaration

Declaration

Objective-C

-
@property (readwrite, copy, nonatomic) NSString *postalCode;
+
@property (readwrite, copy, nonatomic, nullable) NSString *postalCode;

Swift

-
var postalCode: String! { get set }
+
var postalCode: String? { get set }
- Show on GitHub + Show on GitHub
@@ -452,17 +467,17 @@

Declaration

Declaration

Objective-C

-
@property (readwrite, copy, nonatomic) NSString *country;
+
@property (readwrite, copy, nonatomic, nullable) NSString *country;

Swift

-
var country: String! { get set }
+
var country: String? { get set }
- Show on GitHub + Show on GitHub
@@ -487,17 +502,17 @@

Declaration

Declaration

Objective-C

-
@property (readwrite, copy, nonatomic) NSString *phone;
+
@property (readwrite, copy, nonatomic, nullable) NSString *phone;

Swift

-
var phone: String! { get set }
+
var phone: String? { get set }
- Show on GitHub + Show on GitHub
@@ -522,17 +537,17 @@

Declaration

Declaration

Objective-C

-
@property (readwrite, copy, nonatomic) NSString *email;
+
@property (readwrite, copy, nonatomic, nullable) NSString *email;

Swift

-
var email: String! { get set }
+
var email: String? { get set }
- Show on GitHub + Show on GitHub
@@ -545,7 +560,7 @@

Declaration

diff --git a/docs/docs/Classes/STPBankAccount.html b/docs/docs/Classes/STPBankAccount.html index 3caaeb745b9..bbed01f694a 100644 --- a/docs/docs/Classes/STPBankAccount.html +++ b/docs/docs/Classes/STPBankAccount.html @@ -106,6 +106,9 @@ + @@ -149,6 +152,12 @@ + + + @@ -192,6 +204,9 @@ + @@ -648,7 +663,7 @@

Declaration

diff --git a/docs/docs/Classes/STPBankAccountParams.html b/docs/docs/Classes/STPBankAccountParams.html index aa7c48af166..a9a6d8b9229 100644 --- a/docs/docs/Classes/STPBankAccountParams.html +++ b/docs/docs/Classes/STPBankAccountParams.html @@ -106,6 +106,9 @@ + @@ -149,6 +152,12 @@ + + + @@ -192,6 +204,9 @@ + @@ -477,7 +492,7 @@

Declaration

diff --git a/docs/docs/Classes/STPCard.html b/docs/docs/Classes/STPCard.html index 49c94ec70c8..01a58390398 100644 --- a/docs/docs/Classes/STPCard.html +++ b/docs/docs/Classes/STPCard.html @@ -106,6 +106,9 @@ + @@ -149,6 +152,12 @@ + + + @@ -192,6 +204,9 @@ + @@ -969,7 +984,7 @@

Declaration

diff --git a/docs/docs/Classes/STPCardParams.html b/docs/docs/Classes/STPCardParams.html index fceefefe5a6..b9a8e12df4c 100644 --- a/docs/docs/Classes/STPCardParams.html +++ b/docs/docs/Classes/STPCardParams.html @@ -106,6 +106,9 @@ + @@ -149,6 +152,12 @@ + + + @@ -192,6 +204,9 @@ + @@ -591,7 +606,7 @@

Return Value

diff --git a/docs/docs/Classes/STPCardValidator.html b/docs/docs/Classes/STPCardValidator.html index f543d191c9b..8aa0fa51176 100644 --- a/docs/docs/Classes/STPCardValidator.html +++ b/docs/docs/Classes/STPCardValidator.html @@ -106,6 +106,9 @@ + @@ -149,6 +152,12 @@ + + + @@ -192,6 +204,9 @@ + @@ -837,7 +852,7 @@

Return Value

diff --git a/docs/docs/Classes/STPCustomer.html b/docs/docs/Classes/STPCustomer.html index 8afa206d321..2385be83363 100644 --- a/docs/docs/Classes/STPCustomer.html +++ b/docs/docs/Classes/STPCustomer.html @@ -106,6 +106,9 @@ + @@ -149,6 +152,12 @@ + + + @@ -192,6 +204,9 @@ + @@ -424,7 +439,7 @@

Declaration

diff --git a/docs/docs/Classes/STPCustomerDeserializer.html b/docs/docs/Classes/STPCustomerDeserializer.html index 24b607b80a7..5c0e7ea8163 100644 --- a/docs/docs/Classes/STPCustomerDeserializer.html +++ b/docs/docs/Classes/STPCustomerDeserializer.html @@ -106,6 +106,9 @@ + @@ -149,6 +152,12 @@ + + + @@ -192,6 +204,9 @@ + @@ -438,7 +453,7 @@

Declaration

diff --git a/docs/docs/Classes/STPImageLibrary.html b/docs/docs/Classes/STPImageLibrary.html index 8b676a586bd..983fdf63118 100644 --- a/docs/docs/Classes/STPImageLibrary.html +++ b/docs/docs/Classes/STPImageLibrary.html @@ -106,6 +106,9 @@ + @@ -149,6 +152,12 @@ + + + @@ -192,6 +204,9 @@ + @@ -616,7 +631,7 @@

Declaration

diff --git a/docs/docs/Classes/STPPaymentActivityIndicatorView.html b/docs/docs/Classes/STPPaymentActivityIndicatorView.html index 2dcdbe1bc2d..f647aa69451 100644 --- a/docs/docs/Classes/STPPaymentActivityIndicatorView.html +++ b/docs/docs/Classes/STPPaymentActivityIndicatorView.html @@ -106,6 +106,9 @@ + @@ -149,6 +152,12 @@ + + + @@ -192,6 +204,9 @@ + @@ -335,7 +350,7 @@

Declaration

diff --git a/docs/docs/Classes/STPPaymentCardTextField.html b/docs/docs/Classes/STPPaymentCardTextField.html index 6f46475946c..44ef77b0711 100644 --- a/docs/docs/Classes/STPPaymentCardTextField.html +++ b/docs/docs/Classes/STPPaymentCardTextField.html @@ -106,6 +106,9 @@ + @@ -149,6 +152,12 @@ + + + @@ -192,6 +204,9 @@ + @@ -1608,7 +1623,7 @@

Declaration

diff --git a/docs/docs/Classes/STPPaymentConfiguration.html b/docs/docs/Classes/STPPaymentConfiguration.html index 957e9ff5786..18877b131c8 100644 --- a/docs/docs/Classes/STPPaymentConfiguration.html +++ b/docs/docs/Classes/STPPaymentConfiguration.html @@ -106,6 +106,9 @@ + @@ -149,6 +152,12 @@ + + + @@ -192,6 +204,9 @@ + @@ -259,7 +274,7 @@

Declaration

- Show on GitHub + Show on GitHub
@@ -294,7 +309,7 @@

Declaration

- Show on GitHub + Show on GitHub
@@ -330,7 +345,7 @@

Declaration

- Show on GitHub + Show on GitHub
@@ -366,7 +381,78 @@

Declaration

- Show on GitHub + Show on GitHub +
+ + + +
  • +
    + + + + requiredShippingAddressFields + +
    +
    +
    +
    +
    +
    +

    The billing address fields the user must fill out when prompted for their shipping info.

    + +
    +
    +

    Declaration

    +
    +

    Objective-C

    +
    @property (assign, readwrite, nonatomic)
    +    PKAddressField requiredShippingAddressFields;
    + +
    +
    +

    Swift

    +
    var requiredShippingAddressFields: Int32 { get set }
    + +
    +
    + +
    +
    +
  • +
  • +
    + + + + shippingType + +
    +
    +
    +
    +
    +
    +

    The type of shipping for this purchase. This property sets the labels displayed when the user is prompted for shipping info, and whether they should also be asked to select a shipping method. The default value is STPShippingTypeShipping.

    + +
    +
    +

    Declaration

    +
    +

    Objective-C

    +
    @property (assign, readwrite, nonatomic) STPShippingType shippingType;
    + +
    +
    +

    Swift

    +
    var shippingType: STPShippingType { get set }
    + +
    +
    +
    @@ -401,7 +487,7 @@

    Declaration

    - Show on GitHub + Show on GitHub
    @@ -437,7 +523,7 @@

    Declaration

    - Show on GitHub + Show on GitHub
    @@ -472,7 +558,7 @@

    Declaration

    - Show on GitHub + Show on GitHub
    @@ -485,7 +571,7 @@

    Declaration

    diff --git a/docs/docs/Classes/STPPaymentContext.html b/docs/docs/Classes/STPPaymentContext.html index 854f98cc485..ee0b1a7cfaa 100644 --- a/docs/docs/Classes/STPPaymentContext.html +++ b/docs/docs/Classes/STPPaymentContext.html @@ -106,6 +106,9 @@
  • + @@ -149,6 +152,12 @@ + + + @@ -192,6 +204,9 @@ + @@ -257,7 +272,7 @@

    Declaration

    - Show on GitHub + Show on GitHub
    @@ -346,7 +361,7 @@

    Return Value

    - Show on GitHub + Show on GitHub
    @@ -381,7 +396,7 @@

    Declaration

    - Show on GitHub + Show on GitHub
    @@ -416,7 +431,7 @@

    Declaration

    - Show on GitHub + Show on GitHub
    @@ -451,7 +466,7 @@

    Declaration

    - Show on GitHub + Show on GitHub
    @@ -487,7 +502,7 @@

    Declaration

    - Show on GitHub + Show on GitHub
    @@ -517,7 +532,7 @@

    Declaration

    - Show on GitHub + Show on GitHub
    @@ -553,7 +568,7 @@

    Declaration

    - Show on GitHub + Show on GitHub
    @@ -588,7 +603,7 @@

    Declaration

    - Show on GitHub + Show on GitHub
    @@ -624,7 +639,7 @@

    Declaration

    - Show on GitHub + Show on GitHub
    @@ -660,7 +675,114 @@

    Declaration

    - Show on GitHub + Show on GitHub +
    + + + +
  • +
    + + + + selectedShippingMethod + +
    +
    +
    +
    +
    +
    +

    The user’s currently selected shipping method. May be nil.

    + +
    +
    +

    Declaration

    +
    +

    Objective-C

    +
    @property (readonly, nonatomic, nullable)
    +    PKShippingMethod *selectedShippingMethod;
    + +
    +
    +

    Swift

    +
    var selectedShippingMethod: UnsafeMutablePointer
    + +
    +
    + +
    +
    +
  • +
  • +
    + + + + shippingMethods + +
    +
    +
    +
    +
    +
    +

    An array of STPShippingMethod objects that describe the supported shipping methods. May be nil.

    + +
    +
    +

    Declaration

    +
    +

    Objective-C

    +
    @property (readonly, nonatomic, nullable)
    +    NSArray<PKShippingMethod *> *shippingMethods;
    + +
    +
    +

    Swift

    +
    var shippingMethods: [Any]? { get }
    + +
    +
    + +
    +
    +
  • +
  • +
    + + + + shippingAddress + +
    +
    +
    +
    +
    +
    +

    The user’s shipping address. May be nil.

    + +
    +
    +

    Declaration

    +
    +

    Objective-C

    +
    @property (readonly, nonatomic, nullable) STPAddress *shippingAddress;
    + +
    +
    +

    Swift

    +
    var shippingAddress: STPAddress? { get }
    + +
    +
    +
    @@ -701,7 +823,7 @@

    Declaration

    - Show on GitHub + Show on GitHub
    @@ -742,7 +864,7 @@

    Declaration

    - Show on GitHub + Show on GitHub
    @@ -787,7 +909,7 @@

    Declaration

    - Show on GitHub + Show on GitHub
    @@ -826,7 +948,7 @@

    Declaration

    - Show on GitHub + Show on GitHub
    @@ -861,7 +983,7 @@

    Declaration

    - Show on GitHub + Show on GitHub
    @@ -896,7 +1018,7 @@

    Declaration

    - Show on GitHub + Show on GitHub
    @@ -931,7 +1053,77 @@

    Declaration

    - Show on GitHub + Show on GitHub +
    + + +
  • +
  • +
    + + + + -presentShippingViewController + +
    +
    +
    +
    +
    +
    +

    This creates, configures, and appropriately presents a view controller for collecting shipping address and shipping method on top of the payment context’s hostViewController. It’ll be dismissed automatically when the user is done entering their shipping info.

    + +
    +
    +

    Declaration

    +
    +

    Objective-C

    +
    - (void)presentShippingViewController;
    + +
    +
    +

    Swift

    +
    func presentShippingViewController()
    + +
    +
    + +
    +
    +
  • +
  • +
    + + + + -pushShippingViewController + +
    +
    +
    +
    +
    +
    +

    This creates, configures, and appropriately pushes a view controller for collecting shipping address and shipping method onto the navigation stack of the context’s hostViewController. It’ll be popped automatically when the user is done entering their shipping info.

    + +
    +
    +

    Declaration

    +
    +

    Objective-C

    +
    - (void)pushShippingViewController;
    + +
    +
    +

    Swift

    +
    func pushShippingViewController()
    + +
    +
    +
    @@ -966,7 +1158,7 @@

    Declaration

    - Show on GitHub + Show on GitHub
    @@ -979,7 +1171,7 @@

    Declaration

    diff --git a/docs/docs/Classes/STPPaymentMethodsViewController.html b/docs/docs/Classes/STPPaymentMethodsViewController.html index 619c49e5609..2d5974b3e58 100644 --- a/docs/docs/Classes/STPPaymentMethodsViewController.html +++ b/docs/docs/Classes/STPPaymentMethodsViewController.html @@ -106,6 +106,9 @@
  • + @@ -149,6 +152,12 @@ + + + @@ -192,6 +204,9 @@ + @@ -418,6 +433,61 @@

    Declaration

    +
  • +
    + + + + -dismissWithCompletion: + +
    +
    +
    +
    +
    +
    +

    If you’re pushing STPPaymentMethodsViewController onto an existing UINavigationController’s stack, you should use this method to dismiss it, since it may have pushed an additional add card view controller onto the navigation controller’s stack.

    + +
    +
    +

    Declaration

    +
    +

    Objective-C

    +
    - (void)dismissWithCompletion:(nullable STPVoidBlock)completion;
    + +
    +
    +

    Swift

    +
    func dismiss(completion: STPVoidBlock? = nil)
    + +
    +
    +
    +

    Parameters

    + + + + + + + +
    + + completion + + +
    +

    The callback to run after the view controller is dismissed. You may specify nil for this parameter.

    + +
    +
    +
    + +
    +
    +
  • @@ -426,7 +496,7 @@

    Declaration

    diff --git a/docs/docs/Classes/STPPaymentResult.html b/docs/docs/Classes/STPPaymentResult.html index 7af29e9c772..7dbc6eddc13 100644 --- a/docs/docs/Classes/STPPaymentResult.html +++ b/docs/docs/Classes/STPPaymentResult.html @@ -106,6 +106,9 @@ + @@ -149,6 +152,12 @@ + + + @@ -192,6 +204,9 @@ + @@ -300,7 +315,7 @@

    Declaration

    diff --git a/docs/docs/Classes/STPShippingAddressViewController.html b/docs/docs/Classes/STPShippingAddressViewController.html new file mode 100644 index 00000000000..02de3ee54bb --- /dev/null +++ b/docs/docs/Classes/STPShippingAddressViewController.html @@ -0,0 +1,561 @@ + + + + STPShippingAddressViewController Class Reference + + + + + + + + + + + + + +
    +

    + + Stripe Docs + + +

    + +

    + + + View on GitHub + +

    + +
    + + + +
    + +
    + +
    +
    +

    STPShippingAddressViewController

    +
    +
    +
    @interface STPShippingAddressViewController : UIViewController
    + +
    +
    +

    This view controller contains a shipping address collection form. It renders a right bar button item that submits the form, so it must be shown inside a UINavigationController. Depending on your configuration’s shippingType, the view controller may present a shipping method selection form after the user enters an address.

    + +
    +
    + +
    +
    +
    +
      +
    • +
      + + + + -init + +
      +
      +
      +
      +
      +
      +

      A convenience initializer; equivalent to calling initWithConfiguration:[STPPaymentConfiguration sharedConfiguration] theme:[STPTheme defaultTheme] currency:nil shippingAddress:nil selectedShippingMethod:nil prefilledInformation:nil.

      + +
      +
      +

      Declaration

      +
      +

      Objective-C

      +
      - (nonnull instancetype)init;
      + +
      +
      +

      Swift

      +
      init()
      + +
      +
      + +
      +
      +
    • +
    • + +
      +
      +
      +
      +
      +

      Initializes a new STPShippingAddressViewController with the given payment context and sets the payment context as its delegate.

      + +
      +
      +

      Declaration

      +
      +

      Objective-C

      +
      - (nonnull instancetype)initWithPaymentContext:
      +    (nonnull STPPaymentContext *)paymentContext;
      + +
      +
      +

      Swift

      +
      init(paymentContext: STPPaymentContext)
      + +
      +
      +
      +

      Parameters

      + + + + + + + +
      + + paymentContext + + +
      +

      The payment context to use.

      + +
      +
      +
      + +
      +
      +
    • +
    • + +
      +
      +
      +
      +
      +

      Initializes a new STPShippingAddressCardViewController with the provided parameters.

      + +
      +
      +

      Declaration

      +
      +

      Objective-C

      +
      - (nonnull instancetype)
      + initWithConfiguration:(nonnull STPPaymentConfiguration *)configuration
      +                 theme:(nonnull STPTheme *)theme
      +              currency:(nullable NSString *)currency
      +       shippingAddress:(nullable STPAddress *)shippingAddress
      +selectedShippingMethod:(nullable PKShippingMethod *)selectedShippingMethod
      +  prefilledInformation:(nullable STPUserInformation *)prefilledInformation;
      + +
      +
      +

      Swift

      +
      init(configuration: STPPaymentConfiguration, theme: STPTheme, currency: String?, shippingAddress: STPAddress?, selectedShippingMethod: Any!, prefilledInformation: STPUserInformation?)
      + +
      +
      +
      +

      Parameters

      + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      + + configuration + + +
      +

      The configuration to use (this determines the required shipping address fields and shipping type).

      + +
      +
      + + theme + + +
      +

      The theme to use to inform the view controller’s visual appearance.

      + +
      +
      + + currency + + +
      +

      The currency to use when displaying amounts for shipping methods. The default is USD.

      + +
      +
      + + shippingAddress + + +
      +

      If set, the shipping address view controller will be pre-filled with this address.

      + +
      +
      + + selectedShippingMethod + + +
      +

      If set, the shipping methods view controller will use this method as the selected shipping method. If selectedShippingMethod is nil, the first shipping method in the array of methods returned by your delegate will be selected.

      + +
      +
      + + prefilledInformation + + +
      +

      If set, the shipping address view controller will be pre-filled with this information.

      + +
      +
      +
      + +
      +
      +
    • +
    • +
      + + + + delegate + +
      +
      +
      +
      +
      +
      +

      The view controller’s delegate. This must be set before showing the view controller in order for it to work properly. - see: STPShippingAddressViewControllerDelegate

      + +
      +
      +

      Declaration

      +
      +

      Objective-C

      +
      @property (readwrite, nonatomic)
      +    id<STPShippingAddressViewControllerDelegate> _Nullable delegate;
      + +
      +
      +

      Swift

      +
      weak var delegate: STPShippingAddressViewControllerDelegate? { get set }
      + +
      +
      + +
      +
      +
    • +
    • + +
      +
      +
      +
      +
      +

      If you’re pushing STPShippingAddressViewController onto an existing UINavigationController’s stack, you should use this method to dismiss it, since it may have pushed an additional shipping method view controller onto the navigation controller’s stack.

      + +
      +
      +

      Declaration

      +
      +

      Objective-C

      +
      - (void)dismissWithCompletion:(nullable STPVoidBlock)completion;
      + +
      +
      +

      Swift

      +
      func dismiss(completion: STPVoidBlock? = nil)
      + +
      +
      +
      +

      Parameters

      + + + + + + + +
      + + completion + + +
      +

      The callback to run after the view controller is dismissed. You may specify nil for this parameter.

      + +
      +
      +
      + +
      +
      +
    • +
    +
    +
    +
    + +
    +
    + + + + diff --git a/docs/docs/Classes/STPTheme.html b/docs/docs/Classes/STPTheme.html index 76dae74cc7c..99af3eefdcf 100644 --- a/docs/docs/Classes/STPTheme.html +++ b/docs/docs/Classes/STPTheme.html @@ -106,6 +106,9 @@ + @@ -149,6 +152,12 @@ + + + @@ -192,6 +204,9 @@ + @@ -757,7 +772,7 @@

    Declaration

    diff --git a/docs/docs/Classes/STPToken.html b/docs/docs/Classes/STPToken.html index 289ebb91464..f5d0bf0d9aa 100644 --- a/docs/docs/Classes/STPToken.html +++ b/docs/docs/Classes/STPToken.html @@ -106,6 +106,9 @@ + @@ -149,6 +152,12 @@ + + + @@ -192,6 +204,9 @@ + @@ -437,7 +452,7 @@

    Declaration

    diff --git a/docs/docs/Classes/STPUserInformation.html b/docs/docs/Classes/STPUserInformation.html index 4883fc995d5..89106041f43 100644 --- a/docs/docs/Classes/STPUserInformation.html +++ b/docs/docs/Classes/STPUserInformation.html @@ -106,6 +106,9 @@ + @@ -149,6 +152,12 @@ + + + @@ -192,6 +204,9 @@ + @@ -300,7 +315,7 @@

    Declaration

    diff --git a/docs/docs/Classes/Stripe.html b/docs/docs/Classes/Stripe.html index b6a8dd0415d..d7cccc9ab11 100644 --- a/docs/docs/Classes/Stripe.html +++ b/docs/docs/Classes/Stripe.html @@ -106,6 +106,9 @@ + @@ -149,6 +152,12 @@ + + + @@ -192,6 +204,9 @@ + @@ -494,7 +509,7 @@

    Return Value

    diff --git a/docs/docs/Constants.html b/docs/docs/Constants.html index 36ecccd0a14..dd1f713d454 100644 --- a/docs/docs/Constants.html +++ b/docs/docs/Constants.html @@ -105,6 +105,9 @@ + @@ -148,6 +151,12 @@ + + + @@ -191,6 +203,9 @@ + @@ -258,7 +273,7 @@

    Declaration

    diff --git a/docs/docs/Enums.html b/docs/docs/Enums.html index 02123ed3f10..a3e0fc5155e 100644 --- a/docs/docs/Enums.html +++ b/docs/docs/Enums.html @@ -105,6 +105,9 @@ + @@ -148,6 +151,12 @@ + + + @@ -191,6 +203,9 @@ + @@ -253,7 +268,7 @@

    Declaration

    - Show on GitHub + Show on GitHub
    @@ -262,6 +277,78 @@

    Declaration

    - Show on GitHub + Show on GitHub
    @@ -458,7 +545,7 @@

    Declaration

    diff --git a/docs/docs/Enums/STPBillingAddressFields.html b/docs/docs/Enums/STPBillingAddressFields.html index 7413a0049fc..dd33066089b 100644 --- a/docs/docs/Enums/STPBillingAddressFields.html +++ b/docs/docs/Enums/STPBillingAddressFields.html @@ -106,6 +106,9 @@ + @@ -149,6 +152,12 @@ + + + @@ -192,6 +204,9 @@ + @@ -259,7 +274,7 @@

    Declaration

    - Show on GitHub + Show on GitHub
    @@ -294,7 +309,7 @@

    Declaration

    - Show on GitHub + Show on GitHub
    @@ -329,7 +344,7 @@

    Declaration

    - Show on GitHub + Show on GitHub
    @@ -342,7 +357,7 @@

    Declaration

    diff --git a/docs/docs/Enums/STPPaymentMethodType.html b/docs/docs/Enums/STPPaymentMethodType.html index a8507fe9106..42c35c35d15 100644 --- a/docs/docs/Enums/STPPaymentMethodType.html +++ b/docs/docs/Enums/STPPaymentMethodType.html @@ -106,6 +106,9 @@ + @@ -149,6 +152,12 @@ + + + @@ -192,6 +204,9 @@ + @@ -320,7 +335,7 @@

    Declaration

    diff --git a/docs/docs/Enums/STPPaymentStatus.html b/docs/docs/Enums/STPPaymentStatus.html index a36c05543d8..3c36fdb9804 100644 --- a/docs/docs/Enums/STPPaymentStatus.html +++ b/docs/docs/Enums/STPPaymentStatus.html @@ -106,6 +106,9 @@ + @@ -149,6 +152,12 @@ + + + @@ -192,6 +204,9 @@ + @@ -252,7 +267,7 @@

    Declaration

    - Show on GitHub + Show on GitHub
    @@ -287,7 +302,7 @@

    Declaration

    - Show on GitHub + Show on GitHub
    @@ -322,7 +337,7 @@

    Declaration

    - Show on GitHub + Show on GitHub
    @@ -335,7 +350,7 @@

    Declaration

    diff --git a/docs/docs/Enums/STPShippingStatus.html b/docs/docs/Enums/STPShippingStatus.html new file mode 100644 index 00000000000..8ed2eb17af4 --- /dev/null +++ b/docs/docs/Enums/STPShippingStatus.html @@ -0,0 +1,323 @@ + + + + STPShippingStatus Enum Reference + + + + + + + + + + + + + +
    +

    + + Stripe Docs + + +

    + +

    + + + View on GitHub + +

    + +
    + + + +
    + +
    + +
    +
    +

    STPShippingStatus

    +
    +
    +
    enum STPShippingStatus : NSUInteger {}
    + +
    +
    +

    An enum representing the status of a shipping address validation.

    + +
    +
    + +
    +
    +
    +
      +
    • + +
      +
      +
      +
      +
      +

      The shipping address is valid.

      + +
      +
      +

      Declaration

      +
      +

      Objective-C

      +
      STPShippingStatusValid
      + +
      +
      +

      Swift

      +
      case valid = 0
      + +
      +
      + +
      +
      +
    • +
    • + +
      +
      +
      +
      +
      +

      The shipping address is invalid.

      + +
      +
      +

      Declaration

      +
      +

      Objective-C

      +
      STPShippingStatusInvalid
      + +
      +
      +

      Swift

      +
      case invalid = 1
      + +
      +
      + +
      +
      +
    • +
    +
    +
    +
    + +
    +
    + + + + diff --git a/docs/docs/Enums/STPShippingType.html b/docs/docs/Enums/STPShippingType.html new file mode 100644 index 00000000000..8703730aef3 --- /dev/null +++ b/docs/docs/Enums/STPShippingType.html @@ -0,0 +1,324 @@ + + + + STPShippingType Enum Reference + + + + + + + + + + + + + +
    +

    + + Stripe Docs + + +

    + +

    + + + View on GitHub + +

    + +
    + + + +
    + +
    + +
    +
    +

    STPShippingType

    +
    +
    +
    enum STPShippingType : NSUInteger {}
    + +
    +
    +

    These values control the labels used in the shipping info collection form.

    + +
    +
    + +
    +
    +
    +
      +
    • + +
      +
      +
      +
      +
      +

      Shipping the purchase to the provided address using a third-party +shipping company.

      + +
      +
      +

      Declaration

      +
      +

      Objective-C

      +
      STPShippingTypeShipping
      + +
      +
      +

      Swift

      +
      case shipping = 0
      + +
      +
      + +
      +
      +
    • +
    • + +
      +
      +
      +
      +
      +

      Delivering the purchase by the seller.

      + +
      +
      +

      Declaration

      +
      +

      Objective-C

      +
      STPShippingTypeDelivery
      + +
      +
      +

      Swift

      +
      case delivery = 1
      + +
      +
      + +
      +
      +
    • +
    +
    +
    +
    + +
    +
    + + + + diff --git a/docs/docs/Protocols.html b/docs/docs/Protocols.html index 621b6721513..e0558245e36 100644 --- a/docs/docs/Protocols.html +++ b/docs/docs/Protocols.html @@ -105,6 +105,9 @@ + @@ -148,6 +151,12 @@ + + + @@ -191,6 +203,9 @@ + @@ -406,7 +421,7 @@

    Declaration

    - Show on GitHub + Show on GitHub
    @@ -486,7 +501,47 @@

    Declaration

    - Show on GitHub + Show on GitHub +
    + + + + + +
    +
    diff --git a/docs/docs/Protocols/STPAddCardViewControllerDelegate.html b/docs/docs/Protocols/STPAddCardViewControllerDelegate.html index 475c1a30574..30f9faff251 100644 --- a/docs/docs/Protocols/STPAddCardViewControllerDelegate.html +++ b/docs/docs/Protocols/STPAddCardViewControllerDelegate.html @@ -106,6 +106,9 @@ + @@ -149,6 +152,12 @@ + + + @@ -192,6 +204,9 @@ + @@ -312,7 +327,7 @@

    Declaration

    Swift

    -
    func addCardViewController(_ addCardViewController: STPAddCardViewController, didCreateToken token: STPToken, completion: STPErrorBlock)
    +
    func addCardViewController(_ addCardViewController: STPAddCardViewController, didCreateToken token: STPToken, completion: @escaping STPErrorBlock)
    @@ -376,7 +391,7 @@

    Parameters

    diff --git a/docs/docs/Protocols/STPBackendAPIAdapter.html b/docs/docs/Protocols/STPBackendAPIAdapter.html index ab003b892a6..4957275f8fe 100644 --- a/docs/docs/Protocols/STPBackendAPIAdapter.html +++ b/docs/docs/Protocols/STPBackendAPIAdapter.html @@ -106,6 +106,9 @@ + @@ -149,6 +152,12 @@ + + + @@ -192,6 +204,9 @@ + @@ -259,7 +274,7 @@

    Declaration

    Swift

    -
    func retrieveCustomer(_ completion: STPCustomerCompletionBlock)
    +
    func retrieveCustomer(_ completion: @escaping STPCustomerCompletionBlock)
    @@ -321,7 +336,7 @@

    Declaration

    Swift

    -
    func attachSource(toCustomer source: STPSource, completion: STPErrorBlock)
    +
    func attachSource(toCustomer source: STPSource, completion: @escaping STPErrorBlock)
    @@ -396,7 +411,7 @@

    Declaration

    Swift

    -
    func selectDefaultCustomerSource(_ source: STPSource, completion: STPErrorBlock)
    +
    func selectDefaultCustomerSource(_ source: STPSource, completion: @escaping STPErrorBlock)
    @@ -447,7 +462,7 @@

    Parameters

    diff --git a/docs/docs/Protocols/STPFormEncodable.html b/docs/docs/Protocols/STPFormEncodable.html index 59b058a1da9..e0b389c02d8 100644 --- a/docs/docs/Protocols/STPFormEncodable.html +++ b/docs/docs/Protocols/STPFormEncodable.html @@ -106,6 +106,9 @@ + @@ -149,6 +152,12 @@ + + + @@ -192,6 +204,9 @@ + @@ -340,7 +355,7 @@

    Declaration

    diff --git a/docs/docs/Protocols/STPPaymentCardTextFieldDelegate.html b/docs/docs/Protocols/STPPaymentCardTextFieldDelegate.html index dc2d581b7c0..eb94616f582 100644 --- a/docs/docs/Protocols/STPPaymentCardTextFieldDelegate.html +++ b/docs/docs/Protocols/STPPaymentCardTextFieldDelegate.html @@ -106,6 +106,9 @@ + @@ -149,6 +152,12 @@ + + + @@ -192,6 +204,9 @@ + @@ -510,7 +525,7 @@

    Declaration

    diff --git a/docs/docs/Protocols/STPPaymentContextDelegate.html b/docs/docs/Protocols/STPPaymentContextDelegate.html index 01e6d2e7af5..84f4bf6ec75 100644 --- a/docs/docs/Protocols/STPPaymentContextDelegate.html +++ b/docs/docs/Protocols/STPPaymentContextDelegate.html @@ -106,6 +106,9 @@ + @@ -149,6 +152,12 @@ + + + @@ -192,6 +204,9 @@ + @@ -295,7 +310,7 @@

    Parameters

    - Show on GitHub + Show on GitHub
    @@ -350,7 +365,7 @@

    Parameters

    - Show on GitHub + Show on GitHub
    @@ -388,7 +403,7 @@

    Declaration

    Swift

    -
    func paymentContext(_ paymentContext: STPPaymentContext, didCreatePaymentResult paymentResult: STPPaymentResult, completion: STPErrorBlock)
    +
    func paymentContext(_ paymentContext: STPPaymentContext, didCreatePaymentResult paymentResult: STPPaymentResult, completion: @escaping STPErrorBlock)
    @@ -439,7 +454,7 @@

    Parameters

    - Show on GitHub + Show on GitHub
    @@ -522,7 +537,105 @@

    Parameters

    - Show on GitHub + Show on GitHub +
    + + + +
  • +
    + + + + -paymentContext:didUpdateShippingAddress:completion: + +
    +
    +
    +
    +
    +
    +

    Inside this method, you should verify that you can ship to the given address. + You should call the completion block with the results of your validation + and the available shipping methods for the given address. If you don’t implement + this method, the user won’t be prompted to select a shipping method and all + addresses will be valid.

    + +
    +

    Note

    +

    If a user updates their shipping address within the Apple Pay dialog, +this address will be anonymized. For example, in the US, it will only include the +city, state, and zip code. The payment context will have the user’s complete +shipping address by the time paymentContext:didFinishWithStatus:error is +called.

    + +
    + +
    +
    +

    Declaration

    +
    +

    Objective-C

    +
    - (void)paymentContext:(nonnull STPPaymentContext *)paymentContext
    +    didUpdateShippingAddress:(nonnull STPAddress *)address
    +                  completion:
    +                      (nonnull STPShippingMethodsCompletionBlock)completion;
    + +
    +
    +

    Swift

    +
    optional func paymentContext(_ paymentContext: STPPaymentContext, didUpdateShippingAddress address: STPAddress, completion: @escaping STPShippingMethodsCompletionBlock)
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + + + + + +
    + + paymentContext + + +
    +

    The context that updated its shipping address

    + +
    +
    + + shippingAddress + + +
    +

    The current shipping address

    + +
    +
    + + completion + + +
    +

    Call this block when you’re done validating the shipping address and calculating available shipping methods.

    + +
    +
    +
    +
    @@ -535,7 +648,7 @@

    Parameters

    diff --git a/docs/docs/Protocols/STPPaymentMethod.html b/docs/docs/Protocols/STPPaymentMethod.html index cce1e046afa..7a28c73da57 100644 --- a/docs/docs/Protocols/STPPaymentMethod.html +++ b/docs/docs/Protocols/STPPaymentMethod.html @@ -106,6 +106,9 @@
  • + @@ -149,6 +152,12 @@ + + + @@ -192,6 +204,9 @@ + @@ -335,7 +350,7 @@

    Declaration

    diff --git a/docs/docs/Protocols/STPPaymentMethodsViewControllerDelegate.html b/docs/docs/Protocols/STPPaymentMethodsViewControllerDelegate.html index 56c21cc83e3..33451e99f5c 100644 --- a/docs/docs/Protocols/STPPaymentMethodsViewControllerDelegate.html +++ b/docs/docs/Protocols/STPPaymentMethodsViewControllerDelegate.html @@ -106,6 +106,9 @@ + @@ -149,6 +152,12 @@ + + + @@ -192,6 +204,9 @@ + @@ -288,7 +303,7 @@

    Parameters

    - Show on GitHub + Show on GitHub
    @@ -358,7 +373,7 @@

    Parameters

    - Show on GitHub + Show on GitHub
    @@ -414,7 +429,7 @@

    Parameters

    - Show on GitHub + Show on GitHub
    @@ -427,7 +442,7 @@

    Parameters

    diff --git a/docs/docs/Protocols/STPShippingAddressViewControllerDelegate.html b/docs/docs/Protocols/STPShippingAddressViewControllerDelegate.html new file mode 100644 index 00000000000..d06d4dc94ca --- /dev/null +++ b/docs/docs/Protocols/STPShippingAddressViewControllerDelegate.html @@ -0,0 +1,479 @@ + + + + STPShippingAddressViewControllerDelegate Protocol Reference + + + + + + + + + + + + + +
    +

    + + Stripe Docs + + +

    + +

    + + + View on GitHub + +

    + +
    + + + +
    + +
    + +
    +
    +

    STPShippingAddressViewControllerDelegate

    +
    +
    +
    @protocol STPShippingAddressViewControllerDelegate <NSObject>
    + +
    +
    +

    An STPShippingAddressViewControllerDelegate is notified when an STPShippingAddressViewController receives an address, completes with an address, or is cancelled.

    + +
    +
    + +
    +
    +
    +
      +
    • + +
      +
      +
      +
      +
      +

      Called when the user cancels entering a shipping address. You should dismiss (or pop) the view controller at this point.

      + +
      +
      +

      Declaration

      +
      +

      Objective-C

      +
      - (void)shippingAddressViewControllerDidCancel:
      +    (nonnull STPShippingAddressViewController *)addressViewController;
      + +
      +
      +

      Swift

      +
      func shippingAddressViewControllerDidCancel(_ addressViewController: STPShippingAddressViewController)
      + +
      +
      +
      +

      Parameters

      + + + + + + + +
      + + addressViewController + + +
      +

      the view controller that has been cancelled

      + +
      +
      +
      + +
      +
      +
    • +
    • + +
      +
      +
      +
      +
      +

      This is called when the user enters a shipping address and taps next. You should validate the address and determine what shipping methods are available, and call the completion block when finished. If an error occurrs, call the completion block with the error. Otherwise, call the completion block with a nil error and an array of available shipping methods. If you don’t need to collect a shipping method, you may pass an empty array.

      + +
      +
      +

      Declaration

      +
      +

      Objective-C

      +
      - (void)shippingAddressViewController:
      +            (nonnull STPShippingAddressViewController *)addressViewController
      +                      didEnterAddress:(nonnull STPAddress *)address
      +                           completion:
      +                               (nonnull STPShippingMethodsCompletionBlock)
      +                                   completion;
      + +
      +
      +

      Swift

      +
      func shippingAddressViewController(_ addressViewController: STPShippingAddressViewController, didEnter address: STPAddress, completion: @escaping STPShippingMethodsCompletionBlock)
      + +
      +
      +
      +

      Parameters

      + + + + + + + + + + + + + + + +
      + + addressViewController + + +
      +

      the view controller where the address was entered

      + +
      +
      + + address + + +
      +

      the address that was entered.

      + +
      +
      + + completion + + +
      +

      call this callback when you’re done validating the address and determining available shipping methods.

      + +
      +
      +
      + +
      +
      +
    • +
    • + +
      +
      +
      +
      +
      +

      This is called when the user selects a shipping method. If no shipping methods are given, or if the shipping type doesn’t require a shipping method, this will be called after the user has a shipping address and your validation has succeeded. After updating your app with the user’s shipping info, you should dismiss (or pop) the view controller. Note that if shippingMethod is non-nil, there will be an additional shipping methods view controller on the navigation controller’s stack.

      + +
      +
      +

      Declaration

      +
      +

      Objective-C

      +
      - (void)shippingAddressViewController:
      +            (nonnull STPShippingAddressViewController *)addressViewController
      +                 didFinishWithAddress:(nonnull STPAddress *)address
      +                       shippingMethod:(nullable PKShippingMethod *)method;
      + +
      +
      +

      Swift

      +
      func shippingAddressViewController(_ addressViewController: STPShippingAddressViewController, didFinishWith address: STPAddress, shippingMethod method: Any!)
      + +
      +
      +
      +

      Parameters

      + + + + + + + + + + + + + + + +
      + + addressViewController + + +
      +

      the view controller where the address was entered

      + +
      +
      + + address + + +
      +

      the address that was entered.

      + +
      +
      + + shippingMethod + + +
      +

      the shipping method that was selected.

      + +
      +
      +
      + +
      +
      +
    • +
    +
    +
    +
    + +
    +
    + + + + diff --git a/docs/docs/Protocols/STPSource.html b/docs/docs/Protocols/STPSource.html index 13e6e46402f..bd093d701e7 100644 --- a/docs/docs/Protocols/STPSource.html +++ b/docs/docs/Protocols/STPSource.html @@ -106,6 +106,9 @@ + @@ -149,6 +152,12 @@ + + + @@ -192,6 +204,9 @@ + @@ -265,7 +280,7 @@

    Declaration

    diff --git a/docs/docs/Type Definitions.html b/docs/docs/Type Definitions.html index 3cedc2b3c4a..b1bc667aec8 100644 --- a/docs/docs/Type Definitions.html +++ b/docs/docs/Type Definitions.html @@ -105,6 +105,9 @@ + @@ -148,6 +151,12 @@ + + + @@ -191,6 +203,9 @@ + @@ -397,7 +412,7 @@

    Declaration

    - Show on GitHub + Show on GitHub
    @@ -452,7 +467,7 @@

    Parameters

    - Show on GitHub + Show on GitHub
    @@ -520,7 +535,104 @@

    Parameters

    - Show on GitHub + Show on GitHub +
    + + + +
  • +
    + + + + STPShippingMethodsCompletionBlock + +
    +
    +
    +
    +
    +
    +

    A callback to be run with a validation result and shipping methods for a + shipping address.

    + +
    +
    +

    Declaration

    +
    +

    Objective-C

    +
    typedef void (^STPShippingMethodsCompletionBlock)(
    +    STPShippingStatus, NSError *_Nullable,
    +    NSArray<PKShippingMethod *> *_Nullable, PKShippingMethod *_Nullable)
    + +
    +
    +

    Swift

    +
    typealias STPShippingMethodsCompletionBlock = (STPShippingStatus, Error?, [Any]?, UnsafeMutablePointer
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + + + + + + + + + +
    + + shippingStatus + + +
    +

    An enum representing whether the shipping address is valid.

    + +
    +
    + + shippingValidationError + + +
    +

    If the shipping address is invalid, an error describing the issue with the address. If no error is given and the address is invalid, the default error message will be used.

    + +
    +
    + + shippingMethods + + +
    +

    The shipping methods available for the address.

    + +
    +
    + + selectedShippingMethod + + +
    +

    The default selected shipping method for the address.

    + +
    +
    +
    +
    @@ -533,7 +645,7 @@

    Parameters

    diff --git a/docs/docs/docsets/Stripe.docset/Contents/Resources/Documents/Categories.html b/docs/docs/docsets/Stripe.docset/Contents/Resources/Documents/Categories.html index cc597593646..be84d27a9f7 100644 --- a/docs/docs/docsets/Stripe.docset/Contents/Resources/Documents/Categories.html +++ b/docs/docs/docsets/Stripe.docset/Contents/Resources/Documents/Categories.html @@ -105,6 +105,9 @@
  • + @@ -148,6 +151,12 @@ + + + @@ -191,6 +203,9 @@ + @@ -254,7 +269,7 @@

    Declaration

    diff --git a/docs/docs/docsets/Stripe.docset/Contents/Resources/Documents/Categories/UINavigationBar(Stripe_Theme).html b/docs/docs/docsets/Stripe.docset/Contents/Resources/Documents/Categories/UINavigationBar(Stripe_Theme).html index b068da2e5a0..4e42cdfa3c0 100644 --- a/docs/docs/docsets/Stripe.docset/Contents/Resources/Documents/Categories/UINavigationBar(Stripe_Theme).html +++ b/docs/docs/docsets/Stripe.docset/Contents/Resources/Documents/Categories/UINavigationBar(Stripe_Theme).html @@ -106,6 +106,9 @@ + @@ -149,6 +152,12 @@ + + + @@ -192,6 +204,9 @@ + @@ -280,7 +295,7 @@

    Parameters

    diff --git a/docs/docs/docsets/Stripe.docset/Contents/Resources/Documents/Classes.html b/docs/docs/docsets/Stripe.docset/Contents/Resources/Documents/Classes.html index c9b17f62d08..652ce41827a 100644 --- a/docs/docs/docsets/Stripe.docset/Contents/Resources/Documents/Classes.html +++ b/docs/docs/docsets/Stripe.docset/Contents/Resources/Documents/Classes.html @@ -105,6 +105,9 @@ + @@ -148,6 +151,12 @@ + + + @@ -191,6 +203,9 @@ + @@ -363,7 +378,7 @@

    Declaration

    - Show on GitHub + Show on GitHub
    @@ -851,7 +866,7 @@

    Declaration

    - Show on GitHub + Show on GitHub
    @@ -895,7 +910,7 @@

    Declaration

    - Show on GitHub + Show on GitHub
    @@ -935,7 +950,7 @@

    Declaration

    - Show on GitHub + Show on GitHub
    @@ -982,6 +997,46 @@

    Declaration

    +
    + +
    diff --git a/docs/docs/docsets/Stripe.docset/Contents/Resources/Documents/Classes/STPAPIClient.html b/docs/docs/docsets/Stripe.docset/Contents/Resources/Documents/Classes/STPAPIClient.html index b7b23320513..9eed4589b36 100644 --- a/docs/docs/docsets/Stripe.docset/Contents/Resources/Documents/Classes/STPAPIClient.html +++ b/docs/docs/docsets/Stripe.docset/Contents/Resources/Documents/Classes/STPAPIClient.html @@ -106,6 +106,9 @@ + @@ -149,6 +152,12 @@ + + + @@ -192,6 +204,9 @@ + @@ -580,7 +595,7 @@

    Parameters

    diff --git a/docs/docs/docsets/Stripe.docset/Contents/Resources/Documents/Classes/STPAddCardViewController.html b/docs/docs/docsets/Stripe.docset/Contents/Resources/Documents/Classes/STPAddCardViewController.html index e5f1c820955..a7e3576b528 100644 --- a/docs/docs/docsets/Stripe.docset/Contents/Resources/Documents/Classes/STPAddCardViewController.html +++ b/docs/docs/docsets/Stripe.docset/Contents/Resources/Documents/Classes/STPAddCardViewController.html @@ -106,6 +106,9 @@ + @@ -149,6 +152,12 @@ + + + @@ -192,6 +204,9 @@ + @@ -443,7 +458,7 @@

    Declaration

    diff --git a/docs/docs/docsets/Stripe.docset/Contents/Resources/Documents/Classes/STPAddress.html b/docs/docs/docsets/Stripe.docset/Contents/Resources/Documents/Classes/STPAddress.html index 8aab3b60db3..54d75120cf6 100644 --- a/docs/docs/docsets/Stripe.docset/Contents/Resources/Documents/Classes/STPAddress.html +++ b/docs/docs/docsets/Stripe.docset/Contents/Resources/Documents/Classes/STPAddress.html @@ -106,6 +106,9 @@ + @@ -149,6 +152,12 @@ + + + @@ -192,6 +204,9 @@ + @@ -242,17 +257,17 @@

    STPAddress

    Declaration

    Objective-C

    -
    @property (readwrite, copy, nonatomic) NSString *name;
    +
    @property (readwrite, copy, nonatomic, nullable) NSString *name;

    Swift

    -
    var name: String! { get set }
    +
    var name: String? { get set }
    - Show on GitHub + Show on GitHub
    @@ -277,17 +292,17 @@

    Declaration

    Declaration

    Objective-C

    -
    @property (readwrite, copy, nonatomic) NSString *line1;
    +
    @property (readwrite, copy, nonatomic, nullable) NSString *line1;

    Swift

    -
    var line1: String! { get set }
    +
    var line1: String? { get set }
    - Show on GitHub + Show on GitHub
    @@ -312,17 +327,17 @@

    Declaration

    Declaration

    Objective-C

    -
    @property (readwrite, copy, nonatomic) NSString *line2;
    +
    @property (readwrite, copy, nonatomic, nullable) NSString *line2;

    Swift

    -
    var line2: String! { get set }
    +
    var line2: String? { get set }
    - Show on GitHub + Show on GitHub
    @@ -347,17 +362,17 @@

    Declaration

    Declaration

    Objective-C

    -
    @property (readwrite, copy, nonatomic) NSString *city;
    +
    @property (readwrite, copy, nonatomic, nullable) NSString *city;

    Swift

    -
    var city: String! { get set }
    +
    var city: String? { get set }
    - Show on GitHub + Show on GitHub
    @@ -382,17 +397,17 @@

    Declaration

    Declaration

    Objective-C

    -
    @property (readwrite, copy, nonatomic) NSString *state;
    +
    @property (readwrite, copy, nonatomic, nullable) NSString *state;

    Swift

    -
    var state: String! { get set }
    +
    var state: String? { get set }
    - Show on GitHub + Show on GitHub
    @@ -417,17 +432,17 @@

    Declaration

    Declaration

    Objective-C

    -
    @property (readwrite, copy, nonatomic) NSString *postalCode;
    +
    @property (readwrite, copy, nonatomic, nullable) NSString *postalCode;

    Swift

    -
    var postalCode: String! { get set }
    +
    var postalCode: String? { get set }
    - Show on GitHub + Show on GitHub
    @@ -452,17 +467,17 @@

    Declaration

    Declaration

    Objective-C

    -
    @property (readwrite, copy, nonatomic) NSString *country;
    +
    @property (readwrite, copy, nonatomic, nullable) NSString *country;

    Swift

    -
    var country: String! { get set }
    +
    var country: String? { get set }
    - Show on GitHub + Show on GitHub
    @@ -487,17 +502,17 @@

    Declaration

    Declaration

    Objective-C

    -
    @property (readwrite, copy, nonatomic) NSString *phone;
    +
    @property (readwrite, copy, nonatomic, nullable) NSString *phone;

    Swift

    -
    var phone: String! { get set }
    +
    var phone: String? { get set }
    - Show on GitHub + Show on GitHub
    @@ -522,17 +537,17 @@

    Declaration

    Declaration

    Objective-C

    -
    @property (readwrite, copy, nonatomic) NSString *email;
    +
    @property (readwrite, copy, nonatomic, nullable) NSString *email;

    Swift

    -
    var email: String! { get set }
    +
    var email: String? { get set }
    - Show on GitHub + Show on GitHub
    @@ -545,7 +560,7 @@

    Declaration

    diff --git a/docs/docs/docsets/Stripe.docset/Contents/Resources/Documents/Classes/STPBankAccount.html b/docs/docs/docsets/Stripe.docset/Contents/Resources/Documents/Classes/STPBankAccount.html index 3caaeb745b9..bbed01f694a 100644 --- a/docs/docs/docsets/Stripe.docset/Contents/Resources/Documents/Classes/STPBankAccount.html +++ b/docs/docs/docsets/Stripe.docset/Contents/Resources/Documents/Classes/STPBankAccount.html @@ -106,6 +106,9 @@ + @@ -149,6 +152,12 @@ + + + @@ -192,6 +204,9 @@ + @@ -648,7 +663,7 @@

    Declaration

    diff --git a/docs/docs/docsets/Stripe.docset/Contents/Resources/Documents/Classes/STPBankAccountParams.html b/docs/docs/docsets/Stripe.docset/Contents/Resources/Documents/Classes/STPBankAccountParams.html index aa7c48af166..a9a6d8b9229 100644 --- a/docs/docs/docsets/Stripe.docset/Contents/Resources/Documents/Classes/STPBankAccountParams.html +++ b/docs/docs/docsets/Stripe.docset/Contents/Resources/Documents/Classes/STPBankAccountParams.html @@ -106,6 +106,9 @@ + @@ -149,6 +152,12 @@ + + + @@ -192,6 +204,9 @@ + @@ -477,7 +492,7 @@

    Declaration

    diff --git a/docs/docs/docsets/Stripe.docset/Contents/Resources/Documents/Classes/STPCard.html b/docs/docs/docsets/Stripe.docset/Contents/Resources/Documents/Classes/STPCard.html index 49c94ec70c8..01a58390398 100644 --- a/docs/docs/docsets/Stripe.docset/Contents/Resources/Documents/Classes/STPCard.html +++ b/docs/docs/docsets/Stripe.docset/Contents/Resources/Documents/Classes/STPCard.html @@ -106,6 +106,9 @@ + @@ -149,6 +152,12 @@ + + + @@ -192,6 +204,9 @@ + @@ -969,7 +984,7 @@

    Declaration

    diff --git a/docs/docs/docsets/Stripe.docset/Contents/Resources/Documents/Classes/STPCardParams.html b/docs/docs/docsets/Stripe.docset/Contents/Resources/Documents/Classes/STPCardParams.html index fceefefe5a6..b9a8e12df4c 100644 --- a/docs/docs/docsets/Stripe.docset/Contents/Resources/Documents/Classes/STPCardParams.html +++ b/docs/docs/docsets/Stripe.docset/Contents/Resources/Documents/Classes/STPCardParams.html @@ -106,6 +106,9 @@ + @@ -149,6 +152,12 @@ + + + @@ -192,6 +204,9 @@ + @@ -591,7 +606,7 @@

    Return Value

    diff --git a/docs/docs/docsets/Stripe.docset/Contents/Resources/Documents/Classes/STPCardValidator.html b/docs/docs/docsets/Stripe.docset/Contents/Resources/Documents/Classes/STPCardValidator.html index f543d191c9b..8aa0fa51176 100644 --- a/docs/docs/docsets/Stripe.docset/Contents/Resources/Documents/Classes/STPCardValidator.html +++ b/docs/docs/docsets/Stripe.docset/Contents/Resources/Documents/Classes/STPCardValidator.html @@ -106,6 +106,9 @@ + @@ -149,6 +152,12 @@ + + + @@ -192,6 +204,9 @@ + @@ -837,7 +852,7 @@

    Return Value

    diff --git a/docs/docs/docsets/Stripe.docset/Contents/Resources/Documents/Classes/STPCustomer.html b/docs/docs/docsets/Stripe.docset/Contents/Resources/Documents/Classes/STPCustomer.html index 8afa206d321..2385be83363 100644 --- a/docs/docs/docsets/Stripe.docset/Contents/Resources/Documents/Classes/STPCustomer.html +++ b/docs/docs/docsets/Stripe.docset/Contents/Resources/Documents/Classes/STPCustomer.html @@ -106,6 +106,9 @@ + @@ -149,6 +152,12 @@ + + + @@ -192,6 +204,9 @@ + @@ -424,7 +439,7 @@

    Declaration

    diff --git a/docs/docs/docsets/Stripe.docset/Contents/Resources/Documents/Classes/STPCustomerDeserializer.html b/docs/docs/docsets/Stripe.docset/Contents/Resources/Documents/Classes/STPCustomerDeserializer.html index 24b607b80a7..5c0e7ea8163 100644 --- a/docs/docs/docsets/Stripe.docset/Contents/Resources/Documents/Classes/STPCustomerDeserializer.html +++ b/docs/docs/docsets/Stripe.docset/Contents/Resources/Documents/Classes/STPCustomerDeserializer.html @@ -106,6 +106,9 @@ + @@ -149,6 +152,12 @@ + + + @@ -192,6 +204,9 @@ + @@ -438,7 +453,7 @@

    Declaration

    diff --git a/docs/docs/docsets/Stripe.docset/Contents/Resources/Documents/Classes/STPImageLibrary.html b/docs/docs/docsets/Stripe.docset/Contents/Resources/Documents/Classes/STPImageLibrary.html index 8b676a586bd..983fdf63118 100644 --- a/docs/docs/docsets/Stripe.docset/Contents/Resources/Documents/Classes/STPImageLibrary.html +++ b/docs/docs/docsets/Stripe.docset/Contents/Resources/Documents/Classes/STPImageLibrary.html @@ -106,6 +106,9 @@ + @@ -149,6 +152,12 @@ + + + @@ -192,6 +204,9 @@ + @@ -616,7 +631,7 @@

    Declaration

    diff --git a/docs/docs/docsets/Stripe.docset/Contents/Resources/Documents/Classes/STPPaymentActivityIndicatorView.html b/docs/docs/docsets/Stripe.docset/Contents/Resources/Documents/Classes/STPPaymentActivityIndicatorView.html index 2dcdbe1bc2d..f647aa69451 100644 --- a/docs/docs/docsets/Stripe.docset/Contents/Resources/Documents/Classes/STPPaymentActivityIndicatorView.html +++ b/docs/docs/docsets/Stripe.docset/Contents/Resources/Documents/Classes/STPPaymentActivityIndicatorView.html @@ -106,6 +106,9 @@ + @@ -149,6 +152,12 @@ + + + @@ -192,6 +204,9 @@ + @@ -335,7 +350,7 @@

    Declaration

    diff --git a/docs/docs/docsets/Stripe.docset/Contents/Resources/Documents/Classes/STPPaymentCardTextField.html b/docs/docs/docsets/Stripe.docset/Contents/Resources/Documents/Classes/STPPaymentCardTextField.html index 6f46475946c..44ef77b0711 100644 --- a/docs/docs/docsets/Stripe.docset/Contents/Resources/Documents/Classes/STPPaymentCardTextField.html +++ b/docs/docs/docsets/Stripe.docset/Contents/Resources/Documents/Classes/STPPaymentCardTextField.html @@ -106,6 +106,9 @@ + @@ -149,6 +152,12 @@ + + + @@ -192,6 +204,9 @@ + @@ -1608,7 +1623,7 @@

    Declaration

    diff --git a/docs/docs/docsets/Stripe.docset/Contents/Resources/Documents/Classes/STPPaymentConfiguration.html b/docs/docs/docsets/Stripe.docset/Contents/Resources/Documents/Classes/STPPaymentConfiguration.html index 957e9ff5786..18877b131c8 100644 --- a/docs/docs/docsets/Stripe.docset/Contents/Resources/Documents/Classes/STPPaymentConfiguration.html +++ b/docs/docs/docsets/Stripe.docset/Contents/Resources/Documents/Classes/STPPaymentConfiguration.html @@ -106,6 +106,9 @@ + @@ -149,6 +152,12 @@ + + + @@ -192,6 +204,9 @@ + @@ -259,7 +274,7 @@

    Declaration

    - Show on GitHub + Show on GitHub
    @@ -294,7 +309,7 @@

    Declaration

    - Show on GitHub + Show on GitHub
    @@ -330,7 +345,7 @@

    Declaration

    - Show on GitHub + Show on GitHub
    @@ -366,7 +381,78 @@

    Declaration

    - Show on GitHub + Show on GitHub +
    + + + +
  • +
    + + + + requiredShippingAddressFields + +
    +
    +
    +
    +
    +
    +

    The billing address fields the user must fill out when prompted for their shipping info.

    + +
    +
    +

    Declaration

    +
    +

    Objective-C

    +
    @property (assign, readwrite, nonatomic)
    +    PKAddressField requiredShippingAddressFields;
    + +
    +
    +

    Swift

    +
    var requiredShippingAddressFields: Int32 { get set }
    + +
    +
    + +
    +
    +
  • +
  • +
    + + + + shippingType + +
    +
    +
    +
    +
    +
    +

    The type of shipping for this purchase. This property sets the labels displayed when the user is prompted for shipping info, and whether they should also be asked to select a shipping method. The default value is STPShippingTypeShipping.

    + +
    +
    +

    Declaration

    +
    +

    Objective-C

    +
    @property (assign, readwrite, nonatomic) STPShippingType shippingType;
    + +
    +
    +

    Swift

    +
    var shippingType: STPShippingType { get set }
    + +
    +
    +
    @@ -401,7 +487,7 @@

    Declaration

    @@ -437,7 +523,7 @@

    Declaration

    @@ -472,7 +558,7 @@

    Declaration

    @@ -485,7 +571,7 @@

    Declaration

    diff --git a/docs/docs/docsets/Stripe.docset/Contents/Resources/Documents/Classes/STPPaymentContext.html b/docs/docs/docsets/Stripe.docset/Contents/Resources/Documents/Classes/STPPaymentContext.html index 854f98cc485..ee0b1a7cfaa 100644 --- a/docs/docs/docsets/Stripe.docset/Contents/Resources/Documents/Classes/STPPaymentContext.html +++ b/docs/docs/docsets/Stripe.docset/Contents/Resources/Documents/Classes/STPPaymentContext.html @@ -106,6 +106,9 @@
  • + @@ -149,6 +152,12 @@ + + + @@ -192,6 +204,9 @@ + @@ -257,7 +272,7 @@

    Declaration

    - Show on GitHub + Show on GitHub
    @@ -346,7 +361,7 @@

    Return Value

    - Show on GitHub + Show on GitHub
    @@ -381,7 +396,7 @@

    Declaration

    - Show on GitHub + Show on GitHub
    @@ -416,7 +431,7 @@

    Declaration

    - Show on GitHub + Show on GitHub
    @@ -451,7 +466,7 @@

    Declaration

    - Show on GitHub + Show on GitHub
    @@ -487,7 +502,7 @@

    Declaration

    - Show on GitHub + Show on GitHub
    @@ -517,7 +532,7 @@

    Declaration

    - Show on GitHub + Show on GitHub
    @@ -553,7 +568,7 @@

    Declaration

    - Show on GitHub + Show on GitHub
    @@ -588,7 +603,7 @@

    Declaration

    - Show on GitHub + Show on GitHub
    @@ -624,7 +639,7 @@

    Declaration

    - Show on GitHub + Show on GitHub
    @@ -660,7 +675,114 @@

    Declaration

    - Show on GitHub + Show on GitHub +
    + + + +
  • +
    + + + + selectedShippingMethod + +
    +
    +
    +
    +
    +
    +

    The user’s currently selected shipping method. May be nil.

    + +
    +
    +

    Declaration

    +
    +

    Objective-C

    +
    @property (readonly, nonatomic, nullable)
    +    PKShippingMethod *selectedShippingMethod;
    + +
    +
    +

    Swift

    +
    var selectedShippingMethod: UnsafeMutablePointer
    + +
    +
    + +
    +
    +
  • +
  • +
    + + + + shippingMethods + +
    +
    +
    +
    +
    +
    +

    An array of STPShippingMethod objects that describe the supported shipping methods. May be nil.

    + +
    +
    +

    Declaration

    +
    +

    Objective-C

    +
    @property (readonly, nonatomic, nullable)
    +    NSArray<PKShippingMethod *> *shippingMethods;
    + +
    +
    +

    Swift

    +
    var shippingMethods: [Any]? { get }
    + +
    +
    + +
    +
    +
  • +
  • +
    + + + + shippingAddress + +
    +
    +
    +
    +
    +
    +

    The user’s shipping address. May be nil.

    + +
    +
    +

    Declaration

    +
    +

    Objective-C

    +
    @property (readonly, nonatomic, nullable) STPAddress *shippingAddress;
    + +
    +
    +

    Swift

    +
    var shippingAddress: STPAddress? { get }
    + +
    +
    +
    @@ -701,7 +823,7 @@

    Declaration

    @@ -742,7 +864,7 @@

    Declaration

    @@ -787,7 +909,7 @@

    Declaration

    @@ -826,7 +948,7 @@

    Declaration

    @@ -861,7 +983,7 @@

    Declaration

    @@ -896,7 +1018,7 @@

    Declaration

    @@ -931,7 +1053,77 @@

    Declaration

    + + +
  • +
  • +
    + + + + -presentShippingViewController + +
    +
    +
    +
    +
    +
    +

    This creates, configures, and appropriately presents a view controller for collecting shipping address and shipping method on top of the payment context’s hostViewController. It’ll be dismissed automatically when the user is done entering their shipping info.

    + +
    +
    +

    Declaration

    +
    +

    Objective-C

    +
    - (void)presentShippingViewController;
    + +
    +
    +

    Swift

    +
    func presentShippingViewController()
    + +
    +
    + +
    +
    +
  • +
  • +
    + + + + -pushShippingViewController + +
    +
    +
    +
    +
    +
    +

    This creates, configures, and appropriately pushes a view controller for collecting shipping address and shipping method onto the navigation stack of the context’s hostViewController. It’ll be popped automatically when the user is done entering their shipping info.

    + +
    +
    +

    Declaration

    +
    +

    Objective-C

    +
    - (void)pushShippingViewController;
    + +
    +
    +

    Swift

    +
    func pushShippingViewController()
    + +
    +
    +
    @@ -966,7 +1158,7 @@

    Declaration

    @@ -979,7 +1171,7 @@

    Declaration

    diff --git a/docs/docs/docsets/Stripe.docset/Contents/Resources/Documents/Classes/STPPaymentMethodsViewController.html b/docs/docs/docsets/Stripe.docset/Contents/Resources/Documents/Classes/STPPaymentMethodsViewController.html index 619c49e5609..2d5974b3e58 100644 --- a/docs/docs/docsets/Stripe.docset/Contents/Resources/Documents/Classes/STPPaymentMethodsViewController.html +++ b/docs/docs/docsets/Stripe.docset/Contents/Resources/Documents/Classes/STPPaymentMethodsViewController.html @@ -106,6 +106,9 @@
  • + @@ -149,6 +152,12 @@ + + + @@ -192,6 +204,9 @@ + @@ -418,6 +433,61 @@

    Declaration

    +
  • +
    + + + + -dismissWithCompletion: + +
    +
    +
    +
    +
    +
    +

    If you’re pushing STPPaymentMethodsViewController onto an existing UINavigationController’s stack, you should use this method to dismiss it, since it may have pushed an additional add card view controller onto the navigation controller’s stack.

    + +
    +
    +

    Declaration

    +
    +

    Objective-C

    +
    - (void)dismissWithCompletion:(nullable STPVoidBlock)completion;
    + +
    +
    +

    Swift

    +
    func dismiss(completion: STPVoidBlock? = nil)
    + +
    +
    +
    +

    Parameters

    + + + + + + + +
    + + completion + + +
    +

    The callback to run after the view controller is dismissed. You may specify nil for this parameter.

    + +
    +
    +
    + +
    +
    +
  • @@ -426,7 +496,7 @@

    Declaration

    diff --git a/docs/docs/docsets/Stripe.docset/Contents/Resources/Documents/Classes/STPPaymentResult.html b/docs/docs/docsets/Stripe.docset/Contents/Resources/Documents/Classes/STPPaymentResult.html index 7af29e9c772..7dbc6eddc13 100644 --- a/docs/docs/docsets/Stripe.docset/Contents/Resources/Documents/Classes/STPPaymentResult.html +++ b/docs/docs/docsets/Stripe.docset/Contents/Resources/Documents/Classes/STPPaymentResult.html @@ -106,6 +106,9 @@ + @@ -149,6 +152,12 @@ + + + @@ -192,6 +204,9 @@ + @@ -300,7 +315,7 @@

    Declaration

    diff --git a/docs/docs/docsets/Stripe.docset/Contents/Resources/Documents/Classes/STPShippingAddressViewController.html b/docs/docs/docsets/Stripe.docset/Contents/Resources/Documents/Classes/STPShippingAddressViewController.html new file mode 100644 index 00000000000..02de3ee54bb --- /dev/null +++ b/docs/docs/docsets/Stripe.docset/Contents/Resources/Documents/Classes/STPShippingAddressViewController.html @@ -0,0 +1,561 @@ + + + + STPShippingAddressViewController Class Reference + + + + + + + + + + + + + +
    +

    + + Stripe Docs + + +

    + +

    + + + View on GitHub + +

    + +
    + + + +
    + +
    + +
    +
    +

    STPShippingAddressViewController

    +
    +
    +
    @interface STPShippingAddressViewController : UIViewController
    + +
    +
    +

    This view controller contains a shipping address collection form. It renders a right bar button item that submits the form, so it must be shown inside a UINavigationController. Depending on your configuration’s shippingType, the view controller may present a shipping method selection form after the user enters an address.

    + +
    +
    + +
    +
    +
    +
      +
    • +
      + + + + -init + +
      +
      +
      +
      +
      +
      +

      A convenience initializer; equivalent to calling initWithConfiguration:[STPPaymentConfiguration sharedConfiguration] theme:[STPTheme defaultTheme] currency:nil shippingAddress:nil selectedShippingMethod:nil prefilledInformation:nil.

      + +
      +
      +

      Declaration

      +
      +

      Objective-C

      +
      - (nonnull instancetype)init;
      + +
      +
      +

      Swift

      +
      init()
      + +
      +
      + +
      +
      +
    • +
    • + +
      +
      +
      +
      +
      +

      Initializes a new STPShippingAddressViewController with the given payment context and sets the payment context as its delegate.

      + +
      +
      +

      Declaration

      +
      +

      Objective-C

      +
      - (nonnull instancetype)initWithPaymentContext:
      +    (nonnull STPPaymentContext *)paymentContext;
      + +
      +
      +

      Swift

      +
      init(paymentContext: STPPaymentContext)
      + +
      +
      +
      +

      Parameters

      + + + + + + + +
      + + paymentContext + + +
      +

      The payment context to use.

      + +
      +
      +
      + +
      +
      +
    • +
    • + +
      +
      +
      +
      +
      +

      Initializes a new STPShippingAddressCardViewController with the provided parameters.

      + +
      +
      +

      Declaration

      +
      +

      Objective-C

      +
      - (nonnull instancetype)
      + initWithConfiguration:(nonnull STPPaymentConfiguration *)configuration
      +                 theme:(nonnull STPTheme *)theme
      +              currency:(nullable NSString *)currency
      +       shippingAddress:(nullable STPAddress *)shippingAddress
      +selectedShippingMethod:(nullable PKShippingMethod *)selectedShippingMethod
      +  prefilledInformation:(nullable STPUserInformation *)prefilledInformation;
      + +
      +
      +

      Swift

      +
      init(configuration: STPPaymentConfiguration, theme: STPTheme, currency: String?, shippingAddress: STPAddress?, selectedShippingMethod: Any!, prefilledInformation: STPUserInformation?)
      + +
      +
      +
      +

      Parameters

      + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      + + configuration + + +
      +

      The configuration to use (this determines the required shipping address fields and shipping type).

      + +
      +
      + + theme + + +
      +

      The theme to use to inform the view controller’s visual appearance.

      + +
      +
      + + currency + + +
      +

      The currency to use when displaying amounts for shipping methods. The default is USD.

      + +
      +
      + + shippingAddress + + +
      +

      If set, the shipping address view controller will be pre-filled with this address.

      + +
      +
      + + selectedShippingMethod + + +
      +

      If set, the shipping methods view controller will use this method as the selected shipping method. If selectedShippingMethod is nil, the first shipping method in the array of methods returned by your delegate will be selected.

      + +
      +
      + + prefilledInformation + + +
      +

      If set, the shipping address view controller will be pre-filled with this information.

      + +
      +
      +
      + +
      +
      +
    • +
    • +
      + + + + delegate + +
      +
      +
      +
      +
      +
      +

      The view controller’s delegate. This must be set before showing the view controller in order for it to work properly. - see: STPShippingAddressViewControllerDelegate

      + +
      +
      +

      Declaration

      +
      +

      Objective-C

      +
      @property (readwrite, nonatomic)
      +    id<STPShippingAddressViewControllerDelegate> _Nullable delegate;
      + +
      +
      +

      Swift

      +
      weak var delegate: STPShippingAddressViewControllerDelegate? { get set }
      + +
      +
      + +
      +
      +
    • +
    • + +
      +
      +
      +
      +
      +

      If you’re pushing STPShippingAddressViewController onto an existing UINavigationController’s stack, you should use this method to dismiss it, since it may have pushed an additional shipping method view controller onto the navigation controller’s stack.

      + +
      +
      +

      Declaration

      +
      +

      Objective-C

      +
      - (void)dismissWithCompletion:(nullable STPVoidBlock)completion;
      + +
      +
      +

      Swift

      +
      func dismiss(completion: STPVoidBlock? = nil)
      + +
      +
      +
      +

      Parameters

      + + + + + + + +
      + + completion + + +
      +

      The callback to run after the view controller is dismissed. You may specify nil for this parameter.

      + +
      +
      +
      + +
      +
      +
    • +
    +
    +
    +
    + +
    +
    + + + + diff --git a/docs/docs/docsets/Stripe.docset/Contents/Resources/Documents/Classes/STPTheme.html b/docs/docs/docsets/Stripe.docset/Contents/Resources/Documents/Classes/STPTheme.html index 76dae74cc7c..99af3eefdcf 100644 --- a/docs/docs/docsets/Stripe.docset/Contents/Resources/Documents/Classes/STPTheme.html +++ b/docs/docs/docsets/Stripe.docset/Contents/Resources/Documents/Classes/STPTheme.html @@ -106,6 +106,9 @@ + @@ -149,6 +152,12 @@ + + + @@ -192,6 +204,9 @@ + @@ -757,7 +772,7 @@

    Declaration

    diff --git a/docs/docs/docsets/Stripe.docset/Contents/Resources/Documents/Classes/STPToken.html b/docs/docs/docsets/Stripe.docset/Contents/Resources/Documents/Classes/STPToken.html index 289ebb91464..f5d0bf0d9aa 100644 --- a/docs/docs/docsets/Stripe.docset/Contents/Resources/Documents/Classes/STPToken.html +++ b/docs/docs/docsets/Stripe.docset/Contents/Resources/Documents/Classes/STPToken.html @@ -106,6 +106,9 @@ + @@ -149,6 +152,12 @@ + + + @@ -192,6 +204,9 @@ + @@ -437,7 +452,7 @@

    Declaration

    diff --git a/docs/docs/docsets/Stripe.docset/Contents/Resources/Documents/Classes/STPUserInformation.html b/docs/docs/docsets/Stripe.docset/Contents/Resources/Documents/Classes/STPUserInformation.html index 4883fc995d5..89106041f43 100644 --- a/docs/docs/docsets/Stripe.docset/Contents/Resources/Documents/Classes/STPUserInformation.html +++ b/docs/docs/docsets/Stripe.docset/Contents/Resources/Documents/Classes/STPUserInformation.html @@ -106,6 +106,9 @@ + @@ -149,6 +152,12 @@ + + + @@ -192,6 +204,9 @@ + @@ -300,7 +315,7 @@

    Declaration

    diff --git a/docs/docs/docsets/Stripe.docset/Contents/Resources/Documents/Classes/Stripe.html b/docs/docs/docsets/Stripe.docset/Contents/Resources/Documents/Classes/Stripe.html index b6a8dd0415d..d7cccc9ab11 100644 --- a/docs/docs/docsets/Stripe.docset/Contents/Resources/Documents/Classes/Stripe.html +++ b/docs/docs/docsets/Stripe.docset/Contents/Resources/Documents/Classes/Stripe.html @@ -106,6 +106,9 @@ + @@ -149,6 +152,12 @@ + + + @@ -192,6 +204,9 @@ + @@ -494,7 +509,7 @@

    Return Value

    diff --git a/docs/docs/docsets/Stripe.docset/Contents/Resources/Documents/Constants.html b/docs/docs/docsets/Stripe.docset/Contents/Resources/Documents/Constants.html index 36ecccd0a14..dd1f713d454 100644 --- a/docs/docs/docsets/Stripe.docset/Contents/Resources/Documents/Constants.html +++ b/docs/docs/docsets/Stripe.docset/Contents/Resources/Documents/Constants.html @@ -105,6 +105,9 @@ + @@ -148,6 +151,12 @@ + + + @@ -191,6 +203,9 @@ + @@ -258,7 +273,7 @@

    Declaration

    diff --git a/docs/docs/docsets/Stripe.docset/Contents/Resources/Documents/Enums.html b/docs/docs/docsets/Stripe.docset/Contents/Resources/Documents/Enums.html index 02123ed3f10..a3e0fc5155e 100644 --- a/docs/docs/docsets/Stripe.docset/Contents/Resources/Documents/Enums.html +++ b/docs/docs/docsets/Stripe.docset/Contents/Resources/Documents/Enums.html @@ -105,6 +105,9 @@ + @@ -148,6 +151,12 @@ + + + @@ -191,6 +203,9 @@ + @@ -253,7 +268,7 @@

    Declaration

    - Show on GitHub + Show on GitHub
    @@ -262,6 +277,78 @@

    Declaration

    @@ -458,7 +545,7 @@

    Declaration

    diff --git a/docs/docs/docsets/Stripe.docset/Contents/Resources/Documents/Enums/STPBillingAddressFields.html b/docs/docs/docsets/Stripe.docset/Contents/Resources/Documents/Enums/STPBillingAddressFields.html index 7413a0049fc..dd33066089b 100644 --- a/docs/docs/docsets/Stripe.docset/Contents/Resources/Documents/Enums/STPBillingAddressFields.html +++ b/docs/docs/docsets/Stripe.docset/Contents/Resources/Documents/Enums/STPBillingAddressFields.html @@ -106,6 +106,9 @@ + @@ -149,6 +152,12 @@ + + + @@ -192,6 +204,9 @@ + @@ -259,7 +274,7 @@

    Declaration

    @@ -294,7 +309,7 @@

    Declaration

    @@ -329,7 +344,7 @@

    Declaration

    @@ -342,7 +357,7 @@

    Declaration

    diff --git a/docs/docs/docsets/Stripe.docset/Contents/Resources/Documents/Enums/STPPaymentMethodType.html b/docs/docs/docsets/Stripe.docset/Contents/Resources/Documents/Enums/STPPaymentMethodType.html index a8507fe9106..42c35c35d15 100644 --- a/docs/docs/docsets/Stripe.docset/Contents/Resources/Documents/Enums/STPPaymentMethodType.html +++ b/docs/docs/docsets/Stripe.docset/Contents/Resources/Documents/Enums/STPPaymentMethodType.html @@ -106,6 +106,9 @@ + @@ -149,6 +152,12 @@ + + + @@ -192,6 +204,9 @@ + @@ -320,7 +335,7 @@

    Declaration

    diff --git a/docs/docs/docsets/Stripe.docset/Contents/Resources/Documents/Enums/STPPaymentStatus.html b/docs/docs/docsets/Stripe.docset/Contents/Resources/Documents/Enums/STPPaymentStatus.html index a36c05543d8..3c36fdb9804 100644 --- a/docs/docs/docsets/Stripe.docset/Contents/Resources/Documents/Enums/STPPaymentStatus.html +++ b/docs/docs/docsets/Stripe.docset/Contents/Resources/Documents/Enums/STPPaymentStatus.html @@ -106,6 +106,9 @@ + @@ -149,6 +152,12 @@ + + + @@ -192,6 +204,9 @@ + @@ -252,7 +267,7 @@

    Declaration

    @@ -287,7 +302,7 @@

    Declaration

    @@ -322,7 +337,7 @@

    Declaration

    @@ -335,7 +350,7 @@

    Declaration

    diff --git a/docs/docs/docsets/Stripe.docset/Contents/Resources/Documents/Enums/STPShippingStatus.html b/docs/docs/docsets/Stripe.docset/Contents/Resources/Documents/Enums/STPShippingStatus.html new file mode 100644 index 00000000000..8ed2eb17af4 --- /dev/null +++ b/docs/docs/docsets/Stripe.docset/Contents/Resources/Documents/Enums/STPShippingStatus.html @@ -0,0 +1,323 @@ + + + + STPShippingStatus Enum Reference + + + + + + + + + + + + + +
    +

    + + Stripe Docs + + +

    + +

    + + + View on GitHub + +

    + +
    + + + +
    + +
    + +
    +
    +

    STPShippingStatus

    +
    +
    +
    enum STPShippingStatus : NSUInteger {}
    + +
    +
    +

    An enum representing the status of a shipping address validation.

    + +
    +
    + +
    +
    +
    +
      +
    • + +
      +
      +
      +
      +
      +

      The shipping address is valid.

      + +
      +
      +

      Declaration

      +
      +

      Objective-C

      +
      STPShippingStatusValid
      + +
      +
      +

      Swift

      +
      case valid = 0
      + +
      +
      + +
      +
      +
    • +
    • + +
      +
      +
      +
      +
      +

      The shipping address is invalid.

      + +
      +
      +

      Declaration

      +
      +

      Objective-C

      +
      STPShippingStatusInvalid
      + +
      +
      +

      Swift

      +
      case invalid = 1
      + +
      +
      + +
      +
      +
    • +
    +
    +
    +
    + +
    +
    + + + + diff --git a/docs/docs/docsets/Stripe.docset/Contents/Resources/Documents/Enums/STPShippingType.html b/docs/docs/docsets/Stripe.docset/Contents/Resources/Documents/Enums/STPShippingType.html new file mode 100644 index 00000000000..8703730aef3 --- /dev/null +++ b/docs/docs/docsets/Stripe.docset/Contents/Resources/Documents/Enums/STPShippingType.html @@ -0,0 +1,324 @@ + + + + STPShippingType Enum Reference + + + + + + + + + + + + + +
    +

    + + Stripe Docs + + +

    + +

    + + + View on GitHub + +

    + +
    + + + +
    + +
    + +
    +
    +

    STPShippingType

    +
    +
    +
    enum STPShippingType : NSUInteger {}
    + +
    +
    +

    These values control the labels used in the shipping info collection form.

    + +
    +
    + +
    +
    +
    +
      +
    • + +
      +
      +
      +
      +
      +

      Shipping the purchase to the provided address using a third-party +shipping company.

      + +
      +
      +

      Declaration

      +
      +

      Objective-C

      +
      STPShippingTypeShipping
      + +
      +
      +

      Swift

      +
      case shipping = 0
      + +
      +
      + +
      +
      +
    • +
    • + +
      +
      +
      +
      +
      +

      Delivering the purchase by the seller.

      + +
      +
      +

      Declaration

      +
      +

      Objective-C

      +
      STPShippingTypeDelivery
      + +
      +
      +

      Swift

      +
      case delivery = 1
      + +
      +
      + +
      +
      +
    • +
    +
    +
    +
    + +
    +
    + + + + diff --git a/docs/docs/docsets/Stripe.docset/Contents/Resources/Documents/Protocols.html b/docs/docs/docsets/Stripe.docset/Contents/Resources/Documents/Protocols.html index 621b6721513..e0558245e36 100644 --- a/docs/docs/docsets/Stripe.docset/Contents/Resources/Documents/Protocols.html +++ b/docs/docs/docsets/Stripe.docset/Contents/Resources/Documents/Protocols.html @@ -105,6 +105,9 @@ + @@ -148,6 +151,12 @@ + + + @@ -191,6 +203,9 @@ + @@ -406,7 +421,7 @@

    Declaration

    @@ -486,7 +501,47 @@

    Declaration

    + + + + + +
    +
      +
    • + +
      +
      +
      +
      +
      +

      An STPShippingAddressViewControllerDelegate is notified when an STPShippingAddressViewController receives an address, completes with an address, or is cancelled.

      + + See more +
      +
      +

      Declaration

      +
      +

      Objective-C

      +
      @protocol STPShippingAddressViewControllerDelegate <NSObject>
      + +
      +
      +

      Swift

      +
      protocol STPShippingAddressViewControllerDelegate : NSObjectProtocol
      + +
      +
      +
      @@ -539,7 +594,7 @@

      Declaration

    diff --git a/docs/docs/docsets/Stripe.docset/Contents/Resources/Documents/Protocols/STPAddCardViewControllerDelegate.html b/docs/docs/docsets/Stripe.docset/Contents/Resources/Documents/Protocols/STPAddCardViewControllerDelegate.html index 475c1a30574..30f9faff251 100644 --- a/docs/docs/docsets/Stripe.docset/Contents/Resources/Documents/Protocols/STPAddCardViewControllerDelegate.html +++ b/docs/docs/docsets/Stripe.docset/Contents/Resources/Documents/Protocols/STPAddCardViewControllerDelegate.html @@ -106,6 +106,9 @@ + @@ -149,6 +152,12 @@ + + + @@ -192,6 +204,9 @@ + @@ -312,7 +327,7 @@

    Declaration

    Swift

    -
    func addCardViewController(_ addCardViewController: STPAddCardViewController, didCreateToken token: STPToken, completion: STPErrorBlock)
    +
    func addCardViewController(_ addCardViewController: STPAddCardViewController, didCreateToken token: STPToken, completion: @escaping STPErrorBlock)
    @@ -376,7 +391,7 @@

    Parameters

    diff --git a/docs/docs/docsets/Stripe.docset/Contents/Resources/Documents/Protocols/STPBackendAPIAdapter.html b/docs/docs/docsets/Stripe.docset/Contents/Resources/Documents/Protocols/STPBackendAPIAdapter.html index ab003b892a6..4957275f8fe 100644 --- a/docs/docs/docsets/Stripe.docset/Contents/Resources/Documents/Protocols/STPBackendAPIAdapter.html +++ b/docs/docs/docsets/Stripe.docset/Contents/Resources/Documents/Protocols/STPBackendAPIAdapter.html @@ -106,6 +106,9 @@ + @@ -149,6 +152,12 @@ + + + @@ -192,6 +204,9 @@ + @@ -259,7 +274,7 @@

    Declaration

    Swift

    -
    func retrieveCustomer(_ completion: STPCustomerCompletionBlock)
    +
    func retrieveCustomer(_ completion: @escaping STPCustomerCompletionBlock)
    @@ -321,7 +336,7 @@

    Declaration

    Swift

    -
    func attachSource(toCustomer source: STPSource, completion: STPErrorBlock)
    +
    func attachSource(toCustomer source: STPSource, completion: @escaping STPErrorBlock)
    @@ -396,7 +411,7 @@

    Declaration

    Swift

    -
    func selectDefaultCustomerSource(_ source: STPSource, completion: STPErrorBlock)
    +
    func selectDefaultCustomerSource(_ source: STPSource, completion: @escaping STPErrorBlock)
    @@ -447,7 +462,7 @@

    Parameters

    diff --git a/docs/docs/docsets/Stripe.docset/Contents/Resources/Documents/Protocols/STPFormEncodable.html b/docs/docs/docsets/Stripe.docset/Contents/Resources/Documents/Protocols/STPFormEncodable.html index 59b058a1da9..e0b389c02d8 100644 --- a/docs/docs/docsets/Stripe.docset/Contents/Resources/Documents/Protocols/STPFormEncodable.html +++ b/docs/docs/docsets/Stripe.docset/Contents/Resources/Documents/Protocols/STPFormEncodable.html @@ -106,6 +106,9 @@ + @@ -149,6 +152,12 @@ + + + @@ -192,6 +204,9 @@ + @@ -340,7 +355,7 @@

    Declaration

    diff --git a/docs/docs/docsets/Stripe.docset/Contents/Resources/Documents/Protocols/STPPaymentCardTextFieldDelegate.html b/docs/docs/docsets/Stripe.docset/Contents/Resources/Documents/Protocols/STPPaymentCardTextFieldDelegate.html index dc2d581b7c0..eb94616f582 100644 --- a/docs/docs/docsets/Stripe.docset/Contents/Resources/Documents/Protocols/STPPaymentCardTextFieldDelegate.html +++ b/docs/docs/docsets/Stripe.docset/Contents/Resources/Documents/Protocols/STPPaymentCardTextFieldDelegate.html @@ -106,6 +106,9 @@ + @@ -149,6 +152,12 @@ + + + @@ -192,6 +204,9 @@ + @@ -510,7 +525,7 @@

    Declaration

    diff --git a/docs/docs/docsets/Stripe.docset/Contents/Resources/Documents/Protocols/STPPaymentContextDelegate.html b/docs/docs/docsets/Stripe.docset/Contents/Resources/Documents/Protocols/STPPaymentContextDelegate.html index 01e6d2e7af5..84f4bf6ec75 100644 --- a/docs/docs/docsets/Stripe.docset/Contents/Resources/Documents/Protocols/STPPaymentContextDelegate.html +++ b/docs/docs/docsets/Stripe.docset/Contents/Resources/Documents/Protocols/STPPaymentContextDelegate.html @@ -106,6 +106,9 @@ + @@ -149,6 +152,12 @@ + + + @@ -192,6 +204,9 @@ + @@ -295,7 +310,7 @@

    Parameters

    @@ -350,7 +365,7 @@

    Parameters

    @@ -388,7 +403,7 @@

    Declaration

    Swift

    -
    func paymentContext(_ paymentContext: STPPaymentContext, didCreatePaymentResult paymentResult: STPPaymentResult, completion: STPErrorBlock)
    +
    func paymentContext(_ paymentContext: STPPaymentContext, didCreatePaymentResult paymentResult: STPPaymentResult, completion: @escaping STPErrorBlock)
    @@ -439,7 +454,7 @@

    Parameters

    @@ -522,7 +537,105 @@

    Parameters

    + + + +
  • +
    + + + + -paymentContext:didUpdateShippingAddress:completion: + +
    +
    +
    +
    +
    +
    +

    Inside this method, you should verify that you can ship to the given address. + You should call the completion block with the results of your validation + and the available shipping methods for the given address. If you don’t implement + this method, the user won’t be prompted to select a shipping method and all + addresses will be valid.

    + +
    +

    Note

    +

    If a user updates their shipping address within the Apple Pay dialog, +this address will be anonymized. For example, in the US, it will only include the +city, state, and zip code. The payment context will have the user’s complete +shipping address by the time paymentContext:didFinishWithStatus:error is +called.

    + +
    + +
    +
    +

    Declaration

    +
    +

    Objective-C

    +
    - (void)paymentContext:(nonnull STPPaymentContext *)paymentContext
    +    didUpdateShippingAddress:(nonnull STPAddress *)address
    +                  completion:
    +                      (nonnull STPShippingMethodsCompletionBlock)completion;
    + +
    +
    +

    Swift

    +
    optional func paymentContext(_ paymentContext: STPPaymentContext, didUpdateShippingAddress address: STPAddress, completion: @escaping STPShippingMethodsCompletionBlock)
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + + + + + +
    + + paymentContext + + +
    +

    The context that updated its shipping address

    + +
    +
    + + shippingAddress + + +
    +

    The current shipping address

    + +
    +
    + + completion + + +
    +

    Call this block when you’re done validating the shipping address and calculating available shipping methods.

    + +
    +
    +
    +
    @@ -535,7 +648,7 @@

    Parameters

    diff --git a/docs/docs/docsets/Stripe.docset/Contents/Resources/Documents/Protocols/STPPaymentMethod.html b/docs/docs/docsets/Stripe.docset/Contents/Resources/Documents/Protocols/STPPaymentMethod.html index cce1e046afa..7a28c73da57 100644 --- a/docs/docs/docsets/Stripe.docset/Contents/Resources/Documents/Protocols/STPPaymentMethod.html +++ b/docs/docs/docsets/Stripe.docset/Contents/Resources/Documents/Protocols/STPPaymentMethod.html @@ -106,6 +106,9 @@
  • + @@ -149,6 +152,12 @@ + + + @@ -192,6 +204,9 @@ + @@ -335,7 +350,7 @@

    Declaration

    diff --git a/docs/docs/docsets/Stripe.docset/Contents/Resources/Documents/Protocols/STPPaymentMethodsViewControllerDelegate.html b/docs/docs/docsets/Stripe.docset/Contents/Resources/Documents/Protocols/STPPaymentMethodsViewControllerDelegate.html index 56c21cc83e3..33451e99f5c 100644 --- a/docs/docs/docsets/Stripe.docset/Contents/Resources/Documents/Protocols/STPPaymentMethodsViewControllerDelegate.html +++ b/docs/docs/docsets/Stripe.docset/Contents/Resources/Documents/Protocols/STPPaymentMethodsViewControllerDelegate.html @@ -106,6 +106,9 @@ + @@ -149,6 +152,12 @@ + + + @@ -192,6 +204,9 @@ + @@ -288,7 +303,7 @@

    Parameters

    @@ -358,7 +373,7 @@

    Parameters

    @@ -414,7 +429,7 @@

    Parameters

    @@ -427,7 +442,7 @@

    Parameters

    diff --git a/docs/docs/docsets/Stripe.docset/Contents/Resources/Documents/Protocols/STPShippingAddressViewControllerDelegate.html b/docs/docs/docsets/Stripe.docset/Contents/Resources/Documents/Protocols/STPShippingAddressViewControllerDelegate.html new file mode 100644 index 00000000000..d06d4dc94ca --- /dev/null +++ b/docs/docs/docsets/Stripe.docset/Contents/Resources/Documents/Protocols/STPShippingAddressViewControllerDelegate.html @@ -0,0 +1,479 @@ + + + + STPShippingAddressViewControllerDelegate Protocol Reference + + + + + + + + + + + + + +
    +

    + + Stripe Docs + + +

    + +

    + + + View on GitHub + +

    + +
    + + + +
    + +
    + +
    +
    +

    STPShippingAddressViewControllerDelegate

    +
    +
    +
    @protocol STPShippingAddressViewControllerDelegate <NSObject>
    + +
    +
    +

    An STPShippingAddressViewControllerDelegate is notified when an STPShippingAddressViewController receives an address, completes with an address, or is cancelled.

    + +
    +
    + +
    +
    +
    +
      +
    • + +
      +
      +
      +
      +
      +

      Called when the user cancels entering a shipping address. You should dismiss (or pop) the view controller at this point.

      + +
      +
      +

      Declaration

      +
      +

      Objective-C

      +
      - (void)shippingAddressViewControllerDidCancel:
      +    (nonnull STPShippingAddressViewController *)addressViewController;
      + +
      +
      +

      Swift

      +
      func shippingAddressViewControllerDidCancel(_ addressViewController: STPShippingAddressViewController)
      + +
      +
      +
      +

      Parameters

      + + + + + + + +
      + + addressViewController + + +
      +

      the view controller that has been cancelled

      + +
      +
      +
      + +
      +
      +
    • +
    • + +
      +
      +
      +
      +
      +

      This is called when the user enters a shipping address and taps next. You should validate the address and determine what shipping methods are available, and call the completion block when finished. If an error occurrs, call the completion block with the error. Otherwise, call the completion block with a nil error and an array of available shipping methods. If you don’t need to collect a shipping method, you may pass an empty array.

      + +
      +
      +

      Declaration

      +
      +

      Objective-C

      +
      - (void)shippingAddressViewController:
      +            (nonnull STPShippingAddressViewController *)addressViewController
      +                      didEnterAddress:(nonnull STPAddress *)address
      +                           completion:
      +                               (nonnull STPShippingMethodsCompletionBlock)
      +                                   completion;
      + +
      +
      +

      Swift

      +
      func shippingAddressViewController(_ addressViewController: STPShippingAddressViewController, didEnter address: STPAddress, completion: @escaping STPShippingMethodsCompletionBlock)
      + +
      +
      +
      +

      Parameters

      + + + + + + + + + + + + + + + +
      + + addressViewController + + +
      +

      the view controller where the address was entered

      + +
      +
      + + address + + +
      +

      the address that was entered.

      + +
      +
      + + completion + + +
      +

      call this callback when you’re done validating the address and determining available shipping methods.

      + +
      +
      +
      + +
      +
      +
    • +
    • + +
      +
      +
      +
      +
      +

      This is called when the user selects a shipping method. If no shipping methods are given, or if the shipping type doesn’t require a shipping method, this will be called after the user has a shipping address and your validation has succeeded. After updating your app with the user’s shipping info, you should dismiss (or pop) the view controller. Note that if shippingMethod is non-nil, there will be an additional shipping methods view controller on the navigation controller’s stack.

      + +
      +
      +

      Declaration

      +
      +

      Objective-C

      +
      - (void)shippingAddressViewController:
      +            (nonnull STPShippingAddressViewController *)addressViewController
      +                 didFinishWithAddress:(nonnull STPAddress *)address
      +                       shippingMethod:(nullable PKShippingMethod *)method;
      + +
      +
      +

      Swift

      +
      func shippingAddressViewController(_ addressViewController: STPShippingAddressViewController, didFinishWith address: STPAddress, shippingMethod method: Any!)
      + +
      +
      +
      +

      Parameters

      + + + + + + + + + + + + + + + +
      + + addressViewController + + +
      +

      the view controller where the address was entered

      + +
      +
      + + address + + +
      +

      the address that was entered.

      + +
      +
      + + shippingMethod + + +
      +

      the shipping method that was selected.

      + +
      +
      +
      + +
      +
      +
    • +
    +
    +
    +
    + +
    +
    + + + + diff --git a/docs/docs/docsets/Stripe.docset/Contents/Resources/Documents/Protocols/STPSource.html b/docs/docs/docsets/Stripe.docset/Contents/Resources/Documents/Protocols/STPSource.html index 13e6e46402f..bd093d701e7 100644 --- a/docs/docs/docsets/Stripe.docset/Contents/Resources/Documents/Protocols/STPSource.html +++ b/docs/docs/docsets/Stripe.docset/Contents/Resources/Documents/Protocols/STPSource.html @@ -106,6 +106,9 @@ + @@ -149,6 +152,12 @@ + + + @@ -192,6 +204,9 @@ + @@ -265,7 +280,7 @@

    Declaration

    diff --git a/docs/docs/docsets/Stripe.docset/Contents/Resources/Documents/Type Definitions.html b/docs/docs/docsets/Stripe.docset/Contents/Resources/Documents/Type Definitions.html index 3cedc2b3c4a..b1bc667aec8 100644 --- a/docs/docs/docsets/Stripe.docset/Contents/Resources/Documents/Type Definitions.html +++ b/docs/docs/docsets/Stripe.docset/Contents/Resources/Documents/Type Definitions.html @@ -105,6 +105,9 @@ + @@ -148,6 +151,12 @@ + + + @@ -191,6 +203,9 @@ + @@ -397,7 +412,7 @@

    Declaration

    @@ -452,7 +467,7 @@

    Parameters

    @@ -520,7 +535,104 @@

    Parameters

    + + + +
  • +
    + + + + STPShippingMethodsCompletionBlock + +
    +
    +
    +
    +
    +
    +

    A callback to be run with a validation result and shipping methods for a + shipping address.

    + +
    +
    +

    Declaration

    +
    +

    Objective-C

    +
    typedef void (^STPShippingMethodsCompletionBlock)(
    +    STPShippingStatus, NSError *_Nullable,
    +    NSArray<PKShippingMethod *> *_Nullable, PKShippingMethod *_Nullable)
    + +
    +
    +

    Swift

    +
    typealias STPShippingMethodsCompletionBlock = (STPShippingStatus, Error?, [Any]?, UnsafeMutablePointer
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + + + + + + + + + +
    + + shippingStatus + + +
    +

    An enum representing whether the shipping address is valid.

    + +
    +
    + + shippingValidationError + + +
    +

    If the shipping address is invalid, an error describing the issue with the address. If no error is given and the address is invalid, the default error message will be used.

    + +
    +
    + + shippingMethods + + +
    +

    The shipping methods available for the address.

    + +
    +
    + + selectedShippingMethod + + +
    +

    The default selected shipping method for the address.

    + +
    +
    +
    +
    @@ -533,7 +645,7 @@

    Parameters

    diff --git a/docs/docs/docsets/Stripe.docset/Contents/Resources/Documents/index.html b/docs/docs/docsets/Stripe.docset/Contents/Resources/Documents/index.html index e5332e2994c..5a4e14fb4a4 100644 --- a/docs/docs/docsets/Stripe.docset/Contents/Resources/Documents/index.html +++ b/docs/docs/docsets/Stripe.docset/Contents/Resources/Documents/index.html @@ -105,6 +105,9 @@
  • + @@ -148,6 +151,12 @@ + + + @@ -191,6 +203,9 @@ + @@ -266,7 +281,7 @@ diff --git a/docs/docs/docsets/Stripe.docset/Contents/Resources/Documents/undocumented.json b/docs/docs/docsets/Stripe.docset/Contents/Resources/Documents/undocumented.json index 964b1c4740f..3f98cd747b6 100644 --- a/docs/docs/docsets/Stripe.docset/Contents/Resources/Documents/undocumented.json +++ b/docs/docs/docsets/Stripe.docset/Contents/Resources/Documents/undocumented.json @@ -1 +1 @@ -{"warnings":[{"file":"/Users/bdorfman/stripe/stripe-ios/Stripe/PublicHeaders/STPAPIClient+ApplePay.h","line":32,"symbol":"linkSTPAPIClientApplePayCategory","symbol_kind":"sourcekitten.source.lang.objc.decl.function","warning":"undocumented"},{"file":"/Users/bdorfman/stripe/stripe-ios/Stripe/PublicHeaders/STPAPIClient.h","line":19,"symbol":"STPSDKVersion","symbol_kind":"sourcekitten.source.lang.objc.decl.constant","warning":"undocumented"},{"file":"/Users/bdorfman/stripe/stripe-ios/Stripe/PublicHeaders/STPAPIClient.h","line":56,"symbol":"-initWithConfiguration:","symbol_kind":"sourcekitten.source.lang.objc.decl.method.instance","warning":"undocumented"},{"file":"/Users/bdorfman/stripe/stripe-ios/Stripe/PublicHeaders/STPAPIClient.h","line":57,"symbol":"-initWithPublishableKey:","symbol_kind":"sourcekitten.source.lang.objc.decl.method.instance","warning":"undocumented"},{"file":"/Users/bdorfman/stripe/stripe-ios/Stripe/PublicHeaders/STPAPIClient.h","line":121,"symbol":"+deviceSupportsApplePay","symbol_kind":"sourcekitten.source.lang.objc.decl.method.class","warning":"undocumented"},{"file":"/Users/bdorfman/stripe/stripe-ios/Stripe/PublicHeaders/STPAPIClient.h","line":134,"symbol":"+createTokenWithPayment:completion:","symbol_kind":"sourcekitten.source.lang.objc.decl.method.class","warning":"undocumented"},{"file":"/Users/bdorfman/stripe/stripe-ios/Stripe/PublicHeaders/STPAPIClient.h","line":153,"symbol":"Stripe(Deprecated)","symbol_kind":"sourcekitten.source.lang.objc.decl.category","warning":"undocumented"},{"file":"/Users/bdorfman/stripe/stripe-ios/Stripe/PublicHeaders/STPAPIResponseDecodable.h","line":11,"symbol":"STPAPIResponseDecodable","symbol_kind":"sourcekitten.source.lang.objc.decl.protocol","warning":"undocumented"},{"file":"/Users/bdorfman/stripe/stripe-ios/Stripe/PublicHeaders/STPAddress.h","line":92,"symbol":"-initWithABRecord:","symbol_kind":"sourcekitten.source.lang.objc.decl.method.instance","warning":"undocumented"},{"file":"/Users/bdorfman/stripe/stripe-ios/Stripe/PublicHeaders/STPAddress.h","line":95,"symbol":"-containsRequiredFields:","symbol_kind":"sourcekitten.source.lang.objc.decl.method.instance","warning":"undocumented"},{"file":"/Users/bdorfman/stripe/stripe-ios/Stripe/PublicHeaders/STPAddress.h","line":97,"symbol":"+applePayAddressFieldsFromBillingAddressFields:","symbol_kind":"sourcekitten.source.lang.objc.decl.method.class","warning":"undocumented"},{"file":"/Users/bdorfman/stripe/stripe-ios/Stripe/PublicHeaders/STPBankAccount.h","line":13,"symbol":"STPBankAccountStatus","symbol_kind":"sourcekitten.source.lang.objc.decl.typedef","warning":"undocumented"},{"file":"/Users/bdorfman/stripe/stripe-ios/Stripe/PublicHeaders/STPBankAccount.h","line":13,"symbol":"STPBankAccountStatus","symbol_kind":"sourcekitten.source.lang.objc.decl.enum","warning":"undocumented"},{"file":"/Users/bdorfman/stripe/stripe-ios/Stripe/PublicHeaders/STPBankAccount.h","line":96,"symbol":"-setAccountNumber:","symbol_kind":"sourcekitten.source.lang.objc.decl.method.instance","warning":"undocumented"},{"file":"/Users/bdorfman/stripe/stripe-ios/Stripe/PublicHeaders/STPBankAccountParams.h","line":12,"symbol":"STPBankAccountHolderType","symbol_kind":"sourcekitten.source.lang.objc.decl.typedef","warning":"undocumented"},{"file":"/Users/bdorfman/stripe/stripe-ios/Stripe/PublicHeaders/STPBankAccountParams.h","line":12,"symbol":"STPBankAccountHolderType","symbol_kind":"sourcekitten.source.lang.objc.decl.enum","warning":"undocumented"},{"file":"/Users/bdorfman/stripe/stripe-ios/Stripe/PublicHeaders/STPCard.h","line":23,"symbol":"STPCardFundingTypeDebit","symbol_kind":"sourcekitten.source.lang.objc.decl.enumcase","warning":"undocumented"},{"file":"/Users/bdorfman/stripe/stripe-ios/Stripe/PublicHeaders/STPCard.h","line":24,"symbol":"STPCardFundingTypeCredit","symbol_kind":"sourcekitten.source.lang.objc.decl.enumcase","warning":"undocumented"},{"file":"/Users/bdorfman/stripe/stripe-ios/Stripe/PublicHeaders/STPCard.h","line":25,"symbol":"STPCardFundingTypePrepaid","symbol_kind":"sourcekitten.source.lang.objc.decl.enumcase","warning":"undocumented"},{"file":"/Users/bdorfman/stripe/stripe-ios/Stripe/PublicHeaders/STPCard.h","line":26,"symbol":"STPCardFundingTypeOther","symbol_kind":"sourcekitten.source.lang.objc.decl.enumcase","warning":"undocumented"},{"file":"/Users/bdorfman/stripe/stripe-ios/Stripe/PublicHeaders/STPCard.h","line":105,"symbol":"addressLine2","symbol_kind":"sourcekitten.source.lang.objc.decl.property","warning":"undocumented"},{"file":"/Users/bdorfman/stripe/stripe-ios/Stripe/PublicHeaders/STPCard.h","line":106,"symbol":"addressCity","symbol_kind":"sourcekitten.source.lang.objc.decl.property","warning":"undocumented"},{"file":"/Users/bdorfman/stripe/stripe-ios/Stripe/PublicHeaders/STPCard.h","line":107,"symbol":"addressState","symbol_kind":"sourcekitten.source.lang.objc.decl.property","warning":"undocumented"},{"file":"/Users/bdorfman/stripe/stripe-ios/Stripe/PublicHeaders/STPCard.h","line":108,"symbol":"addressZip","symbol_kind":"sourcekitten.source.lang.objc.decl.property","warning":"undocumented"},{"file":"/Users/bdorfman/stripe/stripe-ios/Stripe/PublicHeaders/STPCard.h","line":109,"symbol":"addressCountry","symbol_kind":"sourcekitten.source.lang.objc.decl.property","warning":"undocumented"},{"file":"/Users/bdorfman/stripe/stripe-ios/Stripe/PublicHeaders/STPCard.h","line":153,"symbol":"number","symbol_kind":"sourcekitten.source.lang.objc.decl.property","warning":"undocumented"},{"file":"/Users/bdorfman/stripe/stripe-ios/Stripe/PublicHeaders/STPCard.h","line":154,"symbol":"cvc","symbol_kind":"sourcekitten.source.lang.objc.decl.property","warning":"undocumented"},{"file":"/Users/bdorfman/stripe/stripe-ios/Stripe/PublicHeaders/STPCardBrand.h","line":15,"symbol":"STPCardBrandVisa","symbol_kind":"sourcekitten.source.lang.objc.decl.enumcase","warning":"undocumented"},{"file":"/Users/bdorfman/stripe/stripe-ios/Stripe/PublicHeaders/STPCardBrand.h","line":16,"symbol":"STPCardBrandAmex","symbol_kind":"sourcekitten.source.lang.objc.decl.enumcase","warning":"undocumented"},{"file":"/Users/bdorfman/stripe/stripe-ios/Stripe/PublicHeaders/STPCardBrand.h","line":17,"symbol":"STPCardBrandMasterCard","symbol_kind":"sourcekitten.source.lang.objc.decl.enumcase","warning":"undocumented"},{"file":"/Users/bdorfman/stripe/stripe-ios/Stripe/PublicHeaders/STPCardBrand.h","line":18,"symbol":"STPCardBrandDiscover","symbol_kind":"sourcekitten.source.lang.objc.decl.enumcase","warning":"undocumented"},{"file":"/Users/bdorfman/stripe/stripe-ios/Stripe/PublicHeaders/STPCardBrand.h","line":19,"symbol":"STPCardBrandJCB","symbol_kind":"sourcekitten.source.lang.objc.decl.enumcase","warning":"undocumented"},{"file":"/Users/bdorfman/stripe/stripe-ios/Stripe/PublicHeaders/STPCardBrand.h","line":20,"symbol":"STPCardBrandDinersClub","symbol_kind":"sourcekitten.source.lang.objc.decl.enumcase","warning":"undocumented"},{"file":"/Users/bdorfman/stripe/stripe-ios/Stripe/PublicHeaders/STPCardBrand.h","line":21,"symbol":"STPCardBrandUnknown","symbol_kind":"sourcekitten.source.lang.objc.decl.enumcase","warning":"undocumented"},{"file":"/Users/bdorfman/stripe/stripe-ios/Stripe/PublicHeaders/STPCardParams.h","line":55,"symbol":"address","symbol_kind":"sourcekitten.source.lang.objc.decl.property","warning":"undocumented"},{"file":"/Users/bdorfman/stripe/stripe-ios/Stripe/PublicHeaders/STPCardParams.h","line":58,"symbol":"addressLine1","symbol_kind":"sourcekitten.source.lang.objc.decl.property","warning":"undocumented"},{"file":"/Users/bdorfman/stripe/stripe-ios/Stripe/PublicHeaders/STPCardParams.h","line":59,"symbol":"addressLine2","symbol_kind":"sourcekitten.source.lang.objc.decl.property","warning":"undocumented"},{"file":"/Users/bdorfman/stripe/stripe-ios/Stripe/PublicHeaders/STPCardParams.h","line":60,"symbol":"addressCity","symbol_kind":"sourcekitten.source.lang.objc.decl.property","warning":"undocumented"},{"file":"/Users/bdorfman/stripe/stripe-ios/Stripe/PublicHeaders/STPCardParams.h","line":61,"symbol":"addressState","symbol_kind":"sourcekitten.source.lang.objc.decl.property","warning":"undocumented"},{"file":"/Users/bdorfman/stripe/stripe-ios/Stripe/PublicHeaders/STPCardParams.h","line":62,"symbol":"addressZip","symbol_kind":"sourcekitten.source.lang.objc.decl.property","warning":"undocumented"},{"file":"/Users/bdorfman/stripe/stripe-ios/Stripe/PublicHeaders/STPCardParams.h","line":63,"symbol":"addressCountry","symbol_kind":"sourcekitten.source.lang.objc.decl.property","warning":"undocumented"},{"file":"/Users/bdorfman/stripe/stripe-ios/Stripe/PublicHeaders/STPCardParams.h","line":77,"symbol":"-validateCvc:error:","symbol_kind":"sourcekitten.source.lang.objc.decl.method.instance","warning":"undocumented"},{"file":"/Users/bdorfman/stripe/stripe-ios/Stripe/PublicHeaders/STPCardParams.h","line":79,"symbol":"-validateExpMonth:error:","symbol_kind":"sourcekitten.source.lang.objc.decl.method.instance","warning":"undocumented"},{"file":"/Users/bdorfman/stripe/stripe-ios/Stripe/PublicHeaders/STPCardParams.h","line":81,"symbol":"-validateExpYear:error:","symbol_kind":"sourcekitten.source.lang.objc.decl.method.instance","warning":"undocumented"},{"file":"/Users/bdorfman/stripe/stripe-ios/Stripe/PublicHeaders/STPCardValidationState.h","line":15,"symbol":"STPCardValidationStateValid","symbol_kind":"sourcekitten.source.lang.objc.decl.enumcase","warning":"undocumented"},{"file":"/Users/bdorfman/stripe/stripe-ios/Stripe/PublicHeaders/STPCardValidationState.h","line":16,"symbol":"STPCardValidationStateInvalid","symbol_kind":"sourcekitten.source.lang.objc.decl.enumcase","warning":"undocumented"},{"file":"/Users/bdorfman/stripe/stripe-ios/Stripe/PublicHeaders/STPCardValidationState.h","line":17,"symbol":"STPCardValidationStateIncomplete","symbol_kind":"sourcekitten.source.lang.objc.decl.enumcase","warning":"undocumented"},{"file":"/Users/bdorfman/stripe/stripe-ios/Stripe/PublicHeaders/STPCardValidator.h","line":56,"symbol":"+maxLengthForCardBrand:","symbol_kind":"sourcekitten.source.lang.objc.decl.method.class","warning":"undocumented"},{"file":"/Users/bdorfman/stripe/stripe-ios/Stripe/PublicHeaders/STPCardValidator.h","line":57,"symbol":"+lengthForCardBrand:","symbol_kind":"sourcekitten.source.lang.objc.decl.method.class","warning":"undocumented"},{"file":"/Users/bdorfman/stripe/stripe-ios/Stripe/PublicHeaders/STPCardValidator.h","line":109,"symbol":"+validationStateForExpirationYear:inMonth:inCurrentYear:currentMonth:","symbol_kind":"sourcekitten.source.lang.objc.decl.method.class","warning":"undocumented"},{"file":"/Users/bdorfman/stripe/stripe-ios/Stripe/PublicHeaders/STPCardValidator.h","line":113,"symbol":"+validationStateForCard:inCurrentYear:currentMonth:","symbol_kind":"sourcekitten.source.lang.objc.decl.method.class","warning":"undocumented"},{"file":"/Users/bdorfman/stripe/stripe-ios/Stripe/PublicHeaders/STPPaymentCardTextField.h","line":222,"symbol":"valid","symbol_kind":"sourcekitten.source.lang.objc.decl.property","warning":"undocumented"},{"file":"/Users/bdorfman/stripe/stripe-ios/Stripe/PublicHeaders/STPPaymentCardTextField.h","line":267,"symbol":"card","symbol_kind":"sourcekitten.source.lang.objc.decl.property","warning":"undocumented"},{"file":"/Users/bdorfman/stripe/stripe-ios/Stripe/PublicHeaders/STPPaymentCardTextField.h","line":269,"symbol":"-commonInit","symbol_kind":"sourcekitten.source.lang.objc.decl.method.instance","warning":"undocumented"},{"file":"/Users/bdorfman/stripe/stripe-ios/Stripe/PublicHeaders/STPPaymentCardTextField.h","line":279,"symbol":"PTKCard","symbol_kind":"sourcekitten.source.lang.objc.decl.class","warning":"undocumented"},{"file":"/Users/bdorfman/stripe/stripe-ios/Stripe/PublicHeaders/STPPaymentCardTextField.h","line":285,"symbol":"PTKViewDelegate","symbol_kind":"sourcekitten.source.lang.objc.decl.protocol","warning":"undocumented"},{"file":"/Users/bdorfman/stripe/stripe-ios/Stripe/PublicHeaders/STPPaymentCardTextField.h","line":293,"symbol":"PTKView","symbol_kind":"sourcekitten.source.lang.objc.decl.class","warning":"undocumented"},{"file":"/Users/bdorfman/stripe/stripe-ios/Stripe/PublicHeaders/STPPaymentMethodsViewController.h","line":26,"symbol":"delegate","symbol_kind":"sourcekitten.source.lang.objc.decl.property","warning":"undocumented"},{"file":"/Users/bdorfman/stripe/stripe-ios/Stripe/PublicHeaders/StripeError.h","line":16,"symbol":"STPErrorCode","symbol_kind":"sourcekitten.source.lang.objc.decl.typedef","warning":"undocumented"},{"file":"/Users/bdorfman/stripe/stripe-ios/Stripe/PublicHeaders/StripeError.h","line":16,"symbol":"STPErrorCode","symbol_kind":"sourcekitten.source.lang.objc.decl.enum","warning":"undocumented"},{"file":"/Users/bdorfman/stripe/stripe-ios/Stripe/PublicHeaders/StripeError.h","line":30,"symbol":"STPErrorMessageKey","symbol_kind":"sourcekitten.source.lang.objc.decl.constant","warning":"undocumented"},{"file":"/Users/bdorfman/stripe/stripe-ios/Stripe/PublicHeaders/StripeError.h","line":33,"symbol":"STPCardErrorCodeKey","symbol_kind":"sourcekitten.source.lang.objc.decl.constant","warning":"undocumented"},{"file":"/Users/bdorfman/stripe/stripe-ios/Stripe/PublicHeaders/StripeError.h","line":37,"symbol":"STPErrorParameterKey","symbol_kind":"sourcekitten.source.lang.objc.decl.constant","warning":"undocumented"},{"file":"/Users/bdorfman/stripe/stripe-ios/Stripe/PublicHeaders/StripeError.h","line":42,"symbol":"STPInvalidNumber","symbol_kind":"sourcekitten.source.lang.objc.decl.constant","warning":"undocumented"},{"file":"/Users/bdorfman/stripe/stripe-ios/Stripe/PublicHeaders/StripeError.h","line":43,"symbol":"STPInvalidExpMonth","symbol_kind":"sourcekitten.source.lang.objc.decl.constant","warning":"undocumented"},{"file":"/Users/bdorfman/stripe/stripe-ios/Stripe/PublicHeaders/StripeError.h","line":44,"symbol":"STPInvalidExpYear","symbol_kind":"sourcekitten.source.lang.objc.decl.constant","warning":"undocumented"},{"file":"/Users/bdorfman/stripe/stripe-ios/Stripe/PublicHeaders/StripeError.h","line":45,"symbol":"STPInvalidCVC","symbol_kind":"sourcekitten.source.lang.objc.decl.constant","warning":"undocumented"},{"file":"/Users/bdorfman/stripe/stripe-ios/Stripe/PublicHeaders/StripeError.h","line":48,"symbol":"STPIncorrectNumber","symbol_kind":"sourcekitten.source.lang.objc.decl.constant","warning":"undocumented"},{"file":"/Users/bdorfman/stripe/stripe-ios/Stripe/PublicHeaders/StripeError.h","line":49,"symbol":"STPExpiredCard","symbol_kind":"sourcekitten.source.lang.objc.decl.constant","warning":"undocumented"},{"file":"/Users/bdorfman/stripe/stripe-ios/Stripe/PublicHeaders/StripeError.h","line":50,"symbol":"STPCardDeclined","symbol_kind":"sourcekitten.source.lang.objc.decl.constant","warning":"undocumented"},{"file":"/Users/bdorfman/stripe/stripe-ios/Stripe/PublicHeaders/StripeError.h","line":51,"symbol":"STPProcessingError","symbol_kind":"sourcekitten.source.lang.objc.decl.constant","warning":"undocumented"},{"file":"/Users/bdorfman/stripe/stripe-ios/Stripe/PublicHeaders/StripeError.h","line":52,"symbol":"STPIncorrectCVC","symbol_kind":"sourcekitten.source.lang.objc.decl.constant","warning":"undocumented"},{"file":"/Users/bdorfman/stripe/stripe-ios/Stripe/PublicHeaders/StripeError.h","line":55,"symbol":"NSError(Stripe)","symbol_kind":"sourcekitten.source.lang.objc.decl.category","warning":"undocumented"},{"file":"/Users/bdorfman/stripe/stripe-ios/Stripe/PublicHeaders/UINavigationBar+Stripe_Theme.h","line":30,"symbol":"linkUINavigationBarThemeCategory","symbol_kind":"sourcekitten.source.lang.objc.decl.function","warning":"undocumented"}],"source_directory":"/Users/bdorfman/stripe/stripe-ios"} \ No newline at end of file +{"warnings":[{"file":"/Users/bg/github.com/stripe/stripe-ios/Stripe/PublicHeaders/STPAPIClient+ApplePay.h","line":32,"symbol":"linkSTPAPIClientApplePayCategory","symbol_kind":"sourcekitten.source.lang.objc.decl.function","warning":"undocumented"},{"file":"/Users/bg/github.com/stripe/stripe-ios/Stripe/PublicHeaders/STPAPIClient.h","line":19,"symbol":"STPSDKVersion","symbol_kind":"sourcekitten.source.lang.objc.decl.constant","warning":"undocumented"},{"file":"/Users/bg/github.com/stripe/stripe-ios/Stripe/PublicHeaders/STPAPIClient.h","line":56,"symbol":"-initWithConfiguration:","symbol_kind":"sourcekitten.source.lang.objc.decl.method.instance","warning":"undocumented"},{"file":"/Users/bg/github.com/stripe/stripe-ios/Stripe/PublicHeaders/STPAPIClient.h","line":57,"symbol":"-initWithPublishableKey:","symbol_kind":"sourcekitten.source.lang.objc.decl.method.instance","warning":"undocumented"},{"file":"/Users/bg/github.com/stripe/stripe-ios/Stripe/PublicHeaders/STPAPIClient.h","line":121,"symbol":"+deviceSupportsApplePay","symbol_kind":"sourcekitten.source.lang.objc.decl.method.class","warning":"undocumented"},{"file":"/Users/bg/github.com/stripe/stripe-ios/Stripe/PublicHeaders/STPAPIClient.h","line":134,"symbol":"+createTokenWithPayment:completion:","symbol_kind":"sourcekitten.source.lang.objc.decl.method.class","warning":"undocumented"},{"file":"/Users/bg/github.com/stripe/stripe-ios/Stripe/PublicHeaders/STPAPIClient.h","line":153,"symbol":"Stripe(Deprecated)","symbol_kind":"sourcekitten.source.lang.objc.decl.category","warning":"undocumented"},{"file":"/Users/bg/github.com/stripe/stripe-ios/Stripe/PublicHeaders/STPAPIResponseDecodable.h","line":11,"symbol":"STPAPIResponseDecodable","symbol_kind":"sourcekitten.source.lang.objc.decl.protocol","warning":"undocumented"},{"file":"/Users/bg/github.com/stripe/stripe-ios/Stripe/PublicHeaders/STPAddress.h","line":95,"symbol":"-initWithABRecord:","symbol_kind":"sourcekitten.source.lang.objc.decl.method.instance","warning":"undocumented"},{"file":"/Users/bg/github.com/stripe/stripe-ios/Stripe/PublicHeaders/STPAddress.h","line":96,"symbol":"-ABRecordValue","symbol_kind":"sourcekitten.source.lang.objc.decl.method.instance","warning":"undocumented"},{"file":"/Users/bg/github.com/stripe/stripe-ios/Stripe/PublicHeaders/STPAddress.h","line":98,"symbol":"-PKContactValue","symbol_kind":"sourcekitten.source.lang.objc.decl.method.instance","warning":"undocumented"},{"file":"/Users/bg/github.com/stripe/stripe-ios/Stripe/PublicHeaders/STPAddress.h","line":100,"symbol":"-containsRequiredFields:","symbol_kind":"sourcekitten.source.lang.objc.decl.method.instance","warning":"undocumented"},{"file":"/Users/bg/github.com/stripe/stripe-ios/Stripe/PublicHeaders/STPAddress.h","line":101,"symbol":"-containsRequiredShippingAddressFields:","symbol_kind":"sourcekitten.source.lang.objc.decl.method.instance","warning":"undocumented"},{"file":"/Users/bg/github.com/stripe/stripe-ios/Stripe/PublicHeaders/STPAddress.h","line":103,"symbol":"+applePayAddressFieldsFromBillingAddressFields:","symbol_kind":"sourcekitten.source.lang.objc.decl.method.class","warning":"undocumented"},{"file":"/Users/bg/github.com/stripe/stripe-ios/Stripe/PublicHeaders/STPBankAccount.h","line":13,"symbol":"STPBankAccountStatus","symbol_kind":"sourcekitten.source.lang.objc.decl.typedef","warning":"undocumented"},{"file":"/Users/bg/github.com/stripe/stripe-ios/Stripe/PublicHeaders/STPBankAccount.h","line":13,"symbol":"STPBankAccountStatus","symbol_kind":"sourcekitten.source.lang.objc.decl.enum","warning":"undocumented"},{"file":"/Users/bg/github.com/stripe/stripe-ios/Stripe/PublicHeaders/STPBankAccount.h","line":96,"symbol":"-setAccountNumber:","symbol_kind":"sourcekitten.source.lang.objc.decl.method.instance","warning":"undocumented"},{"file":"/Users/bg/github.com/stripe/stripe-ios/Stripe/PublicHeaders/STPBankAccountParams.h","line":12,"symbol":"STPBankAccountHolderType","symbol_kind":"sourcekitten.source.lang.objc.decl.enum","warning":"undocumented"},{"file":"/Users/bg/github.com/stripe/stripe-ios/Stripe/PublicHeaders/STPBankAccountParams.h","line":12,"symbol":"STPBankAccountHolderType","symbol_kind":"sourcekitten.source.lang.objc.decl.typedef","warning":"undocumented"},{"file":"/Users/bg/github.com/stripe/stripe-ios/Stripe/PublicHeaders/STPCard.h","line":23,"symbol":"STPCardFundingTypeDebit","symbol_kind":"sourcekitten.source.lang.objc.decl.enumcase","warning":"undocumented"},{"file":"/Users/bg/github.com/stripe/stripe-ios/Stripe/PublicHeaders/STPCard.h","line":24,"symbol":"STPCardFundingTypeCredit","symbol_kind":"sourcekitten.source.lang.objc.decl.enumcase","warning":"undocumented"},{"file":"/Users/bg/github.com/stripe/stripe-ios/Stripe/PublicHeaders/STPCard.h","line":25,"symbol":"STPCardFundingTypePrepaid","symbol_kind":"sourcekitten.source.lang.objc.decl.enumcase","warning":"undocumented"},{"file":"/Users/bg/github.com/stripe/stripe-ios/Stripe/PublicHeaders/STPCard.h","line":26,"symbol":"STPCardFundingTypeOther","symbol_kind":"sourcekitten.source.lang.objc.decl.enumcase","warning":"undocumented"},{"file":"/Users/bg/github.com/stripe/stripe-ios/Stripe/PublicHeaders/STPCard.h","line":105,"symbol":"addressLine2","symbol_kind":"sourcekitten.source.lang.objc.decl.property","warning":"undocumented"},{"file":"/Users/bg/github.com/stripe/stripe-ios/Stripe/PublicHeaders/STPCard.h","line":106,"symbol":"addressCity","symbol_kind":"sourcekitten.source.lang.objc.decl.property","warning":"undocumented"},{"file":"/Users/bg/github.com/stripe/stripe-ios/Stripe/PublicHeaders/STPCard.h","line":107,"symbol":"addressState","symbol_kind":"sourcekitten.source.lang.objc.decl.property","warning":"undocumented"},{"file":"/Users/bg/github.com/stripe/stripe-ios/Stripe/PublicHeaders/STPCard.h","line":108,"symbol":"addressZip","symbol_kind":"sourcekitten.source.lang.objc.decl.property","warning":"undocumented"},{"file":"/Users/bg/github.com/stripe/stripe-ios/Stripe/PublicHeaders/STPCard.h","line":109,"symbol":"addressCountry","symbol_kind":"sourcekitten.source.lang.objc.decl.property","warning":"undocumented"},{"file":"/Users/bg/github.com/stripe/stripe-ios/Stripe/PublicHeaders/STPCard.h","line":153,"symbol":"number","symbol_kind":"sourcekitten.source.lang.objc.decl.property","warning":"undocumented"},{"file":"/Users/bg/github.com/stripe/stripe-ios/Stripe/PublicHeaders/STPCard.h","line":154,"symbol":"cvc","symbol_kind":"sourcekitten.source.lang.objc.decl.property","warning":"undocumented"},{"file":"/Users/bg/github.com/stripe/stripe-ios/Stripe/PublicHeaders/STPCardBrand.h","line":15,"symbol":"STPCardBrandVisa","symbol_kind":"sourcekitten.source.lang.objc.decl.enumcase","warning":"undocumented"},{"file":"/Users/bg/github.com/stripe/stripe-ios/Stripe/PublicHeaders/STPCardBrand.h","line":16,"symbol":"STPCardBrandAmex","symbol_kind":"sourcekitten.source.lang.objc.decl.enumcase","warning":"undocumented"},{"file":"/Users/bg/github.com/stripe/stripe-ios/Stripe/PublicHeaders/STPCardBrand.h","line":17,"symbol":"STPCardBrandMasterCard","symbol_kind":"sourcekitten.source.lang.objc.decl.enumcase","warning":"undocumented"},{"file":"/Users/bg/github.com/stripe/stripe-ios/Stripe/PublicHeaders/STPCardBrand.h","line":18,"symbol":"STPCardBrandDiscover","symbol_kind":"sourcekitten.source.lang.objc.decl.enumcase","warning":"undocumented"},{"file":"/Users/bg/github.com/stripe/stripe-ios/Stripe/PublicHeaders/STPCardBrand.h","line":19,"symbol":"STPCardBrandJCB","symbol_kind":"sourcekitten.source.lang.objc.decl.enumcase","warning":"undocumented"},{"file":"/Users/bg/github.com/stripe/stripe-ios/Stripe/PublicHeaders/STPCardBrand.h","line":20,"symbol":"STPCardBrandDinersClub","symbol_kind":"sourcekitten.source.lang.objc.decl.enumcase","warning":"undocumented"},{"file":"/Users/bg/github.com/stripe/stripe-ios/Stripe/PublicHeaders/STPCardBrand.h","line":21,"symbol":"STPCardBrandUnknown","symbol_kind":"sourcekitten.source.lang.objc.decl.enumcase","warning":"undocumented"},{"file":"/Users/bg/github.com/stripe/stripe-ios/Stripe/PublicHeaders/STPCardParams.h","line":55,"symbol":"address","symbol_kind":"sourcekitten.source.lang.objc.decl.property","warning":"undocumented"},{"file":"/Users/bg/github.com/stripe/stripe-ios/Stripe/PublicHeaders/STPCardParams.h","line":58,"symbol":"addressLine1","symbol_kind":"sourcekitten.source.lang.objc.decl.property","warning":"undocumented"},{"file":"/Users/bg/github.com/stripe/stripe-ios/Stripe/PublicHeaders/STPCardParams.h","line":59,"symbol":"addressLine2","symbol_kind":"sourcekitten.source.lang.objc.decl.property","warning":"undocumented"},{"file":"/Users/bg/github.com/stripe/stripe-ios/Stripe/PublicHeaders/STPCardParams.h","line":60,"symbol":"addressCity","symbol_kind":"sourcekitten.source.lang.objc.decl.property","warning":"undocumented"},{"file":"/Users/bg/github.com/stripe/stripe-ios/Stripe/PublicHeaders/STPCardParams.h","line":61,"symbol":"addressState","symbol_kind":"sourcekitten.source.lang.objc.decl.property","warning":"undocumented"},{"file":"/Users/bg/github.com/stripe/stripe-ios/Stripe/PublicHeaders/STPCardParams.h","line":62,"symbol":"addressZip","symbol_kind":"sourcekitten.source.lang.objc.decl.property","warning":"undocumented"},{"file":"/Users/bg/github.com/stripe/stripe-ios/Stripe/PublicHeaders/STPCardParams.h","line":63,"symbol":"addressCountry","symbol_kind":"sourcekitten.source.lang.objc.decl.property","warning":"undocumented"},{"file":"/Users/bg/github.com/stripe/stripe-ios/Stripe/PublicHeaders/STPCardParams.h","line":77,"symbol":"-validateCvc:error:","symbol_kind":"sourcekitten.source.lang.objc.decl.method.instance","warning":"undocumented"},{"file":"/Users/bg/github.com/stripe/stripe-ios/Stripe/PublicHeaders/STPCardParams.h","line":79,"symbol":"-validateExpMonth:error:","symbol_kind":"sourcekitten.source.lang.objc.decl.method.instance","warning":"undocumented"},{"file":"/Users/bg/github.com/stripe/stripe-ios/Stripe/PublicHeaders/STPCardParams.h","line":81,"symbol":"-validateExpYear:error:","symbol_kind":"sourcekitten.source.lang.objc.decl.method.instance","warning":"undocumented"},{"file":"/Users/bg/github.com/stripe/stripe-ios/Stripe/PublicHeaders/STPCardValidationState.h","line":15,"symbol":"STPCardValidationStateValid","symbol_kind":"sourcekitten.source.lang.objc.decl.enumcase","warning":"undocumented"},{"file":"/Users/bg/github.com/stripe/stripe-ios/Stripe/PublicHeaders/STPCardValidationState.h","line":16,"symbol":"STPCardValidationStateInvalid","symbol_kind":"sourcekitten.source.lang.objc.decl.enumcase","warning":"undocumented"},{"file":"/Users/bg/github.com/stripe/stripe-ios/Stripe/PublicHeaders/STPCardValidationState.h","line":17,"symbol":"STPCardValidationStateIncomplete","symbol_kind":"sourcekitten.source.lang.objc.decl.enumcase","warning":"undocumented"},{"file":"/Users/bg/github.com/stripe/stripe-ios/Stripe/PublicHeaders/STPCardValidator.h","line":56,"symbol":"+maxLengthForCardBrand:","symbol_kind":"sourcekitten.source.lang.objc.decl.method.class","warning":"undocumented"},{"file":"/Users/bg/github.com/stripe/stripe-ios/Stripe/PublicHeaders/STPCardValidator.h","line":57,"symbol":"+lengthForCardBrand:","symbol_kind":"sourcekitten.source.lang.objc.decl.method.class","warning":"undocumented"},{"file":"/Users/bg/github.com/stripe/stripe-ios/Stripe/PublicHeaders/STPCardValidator.h","line":109,"symbol":"+validationStateForExpirationYear:inMonth:inCurrentYear:currentMonth:","symbol_kind":"sourcekitten.source.lang.objc.decl.method.class","warning":"undocumented"},{"file":"/Users/bg/github.com/stripe/stripe-ios/Stripe/PublicHeaders/STPCardValidator.h","line":113,"symbol":"+validationStateForCard:inCurrentYear:currentMonth:","symbol_kind":"sourcekitten.source.lang.objc.decl.method.class","warning":"undocumented"},{"file":"/Users/bg/github.com/stripe/stripe-ios/Stripe/PublicHeaders/STPPaymentCardTextField.h","line":222,"symbol":"valid","symbol_kind":"sourcekitten.source.lang.objc.decl.property","warning":"undocumented"},{"file":"/Users/bg/github.com/stripe/stripe-ios/Stripe/PublicHeaders/STPPaymentCardTextField.h","line":267,"symbol":"card","symbol_kind":"sourcekitten.source.lang.objc.decl.property","warning":"undocumented"},{"file":"/Users/bg/github.com/stripe/stripe-ios/Stripe/PublicHeaders/STPPaymentCardTextField.h","line":269,"symbol":"-commonInit","symbol_kind":"sourcekitten.source.lang.objc.decl.method.instance","warning":"undocumented"},{"file":"/Users/bg/github.com/stripe/stripe-ios/Stripe/PublicHeaders/STPPaymentCardTextField.h","line":279,"symbol":"PTKCard","symbol_kind":"sourcekitten.source.lang.objc.decl.class","warning":"undocumented"},{"file":"/Users/bg/github.com/stripe/stripe-ios/Stripe/PublicHeaders/STPPaymentCardTextField.h","line":285,"symbol":"PTKViewDelegate","symbol_kind":"sourcekitten.source.lang.objc.decl.protocol","warning":"undocumented"},{"file":"/Users/bg/github.com/stripe/stripe-ios/Stripe/PublicHeaders/STPPaymentCardTextField.h","line":293,"symbol":"PTKView","symbol_kind":"sourcekitten.source.lang.objc.decl.class","warning":"undocumented"},{"file":"/Users/bg/github.com/stripe/stripe-ios/Stripe/PublicHeaders/STPPaymentMethodsViewController.h","line":26,"symbol":"delegate","symbol_kind":"sourcekitten.source.lang.objc.decl.property","warning":"undocumented"},{"file":"/Users/bg/github.com/stripe/stripe-ios/Stripe/PublicHeaders/StripeError.h","line":16,"symbol":"STPErrorCode","symbol_kind":"sourcekitten.source.lang.objc.decl.enum","warning":"undocumented"},{"file":"/Users/bg/github.com/stripe/stripe-ios/Stripe/PublicHeaders/StripeError.h","line":16,"symbol":"STPErrorCode","symbol_kind":"sourcekitten.source.lang.objc.decl.typedef","warning":"undocumented"},{"file":"/Users/bg/github.com/stripe/stripe-ios/Stripe/PublicHeaders/StripeError.h","line":30,"symbol":"STPErrorMessageKey","symbol_kind":"sourcekitten.source.lang.objc.decl.constant","warning":"undocumented"},{"file":"/Users/bg/github.com/stripe/stripe-ios/Stripe/PublicHeaders/StripeError.h","line":33,"symbol":"STPCardErrorCodeKey","symbol_kind":"sourcekitten.source.lang.objc.decl.constant","warning":"undocumented"},{"file":"/Users/bg/github.com/stripe/stripe-ios/Stripe/PublicHeaders/StripeError.h","line":37,"symbol":"STPErrorParameterKey","symbol_kind":"sourcekitten.source.lang.objc.decl.constant","warning":"undocumented"},{"file":"/Users/bg/github.com/stripe/stripe-ios/Stripe/PublicHeaders/StripeError.h","line":42,"symbol":"STPInvalidNumber","symbol_kind":"sourcekitten.source.lang.objc.decl.constant","warning":"undocumented"},{"file":"/Users/bg/github.com/stripe/stripe-ios/Stripe/PublicHeaders/StripeError.h","line":43,"symbol":"STPInvalidExpMonth","symbol_kind":"sourcekitten.source.lang.objc.decl.constant","warning":"undocumented"},{"file":"/Users/bg/github.com/stripe/stripe-ios/Stripe/PublicHeaders/StripeError.h","line":44,"symbol":"STPInvalidExpYear","symbol_kind":"sourcekitten.source.lang.objc.decl.constant","warning":"undocumented"},{"file":"/Users/bg/github.com/stripe/stripe-ios/Stripe/PublicHeaders/StripeError.h","line":45,"symbol":"STPInvalidCVC","symbol_kind":"sourcekitten.source.lang.objc.decl.constant","warning":"undocumented"},{"file":"/Users/bg/github.com/stripe/stripe-ios/Stripe/PublicHeaders/StripeError.h","line":48,"symbol":"STPIncorrectNumber","symbol_kind":"sourcekitten.source.lang.objc.decl.constant","warning":"undocumented"},{"file":"/Users/bg/github.com/stripe/stripe-ios/Stripe/PublicHeaders/StripeError.h","line":49,"symbol":"STPExpiredCard","symbol_kind":"sourcekitten.source.lang.objc.decl.constant","warning":"undocumented"},{"file":"/Users/bg/github.com/stripe/stripe-ios/Stripe/PublicHeaders/StripeError.h","line":50,"symbol":"STPCardDeclined","symbol_kind":"sourcekitten.source.lang.objc.decl.constant","warning":"undocumented"},{"file":"/Users/bg/github.com/stripe/stripe-ios/Stripe/PublicHeaders/StripeError.h","line":51,"symbol":"STPProcessingError","symbol_kind":"sourcekitten.source.lang.objc.decl.constant","warning":"undocumented"},{"file":"/Users/bg/github.com/stripe/stripe-ios/Stripe/PublicHeaders/StripeError.h","line":52,"symbol":"STPIncorrectCVC","symbol_kind":"sourcekitten.source.lang.objc.decl.constant","warning":"undocumented"},{"file":"/Users/bg/github.com/stripe/stripe-ios/Stripe/PublicHeaders/StripeError.h","line":55,"symbol":"NSError(Stripe)","symbol_kind":"sourcekitten.source.lang.objc.decl.category","warning":"undocumented"},{"file":"/Users/bg/github.com/stripe/stripe-ios/Stripe/PublicHeaders/UINavigationBar+Stripe_Theme.h","line":30,"symbol":"linkUINavigationBarThemeCategory","symbol_kind":"sourcekitten.source.lang.objc.decl.function","warning":"undocumented"}],"source_directory":"/Users/bg/github.com/stripe/stripe-ios"} \ No newline at end of file diff --git a/docs/docs/docsets/Stripe.docset/Contents/Resources/docSet.dsidx b/docs/docs/docsets/Stripe.docset/Contents/Resources/docSet.dsidx index ec82a6289be..2512eae16e2 100644 Binary files a/docs/docs/docsets/Stripe.docset/Contents/Resources/docSet.dsidx and b/docs/docs/docsets/Stripe.docset/Contents/Resources/docSet.dsidx differ diff --git a/docs/docs/docsets/Stripe.tgz b/docs/docs/docsets/Stripe.tgz index a88a2be4d3a..16dfbd06e15 100644 Binary files a/docs/docs/docsets/Stripe.tgz and b/docs/docs/docsets/Stripe.tgz differ diff --git a/docs/docs/index.html b/docs/docs/index.html index e5332e2994c..5a4e14fb4a4 100644 --- a/docs/docs/index.html +++ b/docs/docs/index.html @@ -105,6 +105,9 @@ + @@ -148,6 +151,12 @@ + + + @@ -191,6 +203,9 @@ + @@ -266,7 +281,7 @@ diff --git a/docs/docs/undocumented.json b/docs/docs/undocumented.json index 964b1c4740f..3f98cd747b6 100644 --- a/docs/docs/undocumented.json +++ b/docs/docs/undocumented.json @@ -1 +1 @@ -{"warnings":[{"file":"/Users/bdorfman/stripe/stripe-ios/Stripe/PublicHeaders/STPAPIClient+ApplePay.h","line":32,"symbol":"linkSTPAPIClientApplePayCategory","symbol_kind":"sourcekitten.source.lang.objc.decl.function","warning":"undocumented"},{"file":"/Users/bdorfman/stripe/stripe-ios/Stripe/PublicHeaders/STPAPIClient.h","line":19,"symbol":"STPSDKVersion","symbol_kind":"sourcekitten.source.lang.objc.decl.constant","warning":"undocumented"},{"file":"/Users/bdorfman/stripe/stripe-ios/Stripe/PublicHeaders/STPAPIClient.h","line":56,"symbol":"-initWithConfiguration:","symbol_kind":"sourcekitten.source.lang.objc.decl.method.instance","warning":"undocumented"},{"file":"/Users/bdorfman/stripe/stripe-ios/Stripe/PublicHeaders/STPAPIClient.h","line":57,"symbol":"-initWithPublishableKey:","symbol_kind":"sourcekitten.source.lang.objc.decl.method.instance","warning":"undocumented"},{"file":"/Users/bdorfman/stripe/stripe-ios/Stripe/PublicHeaders/STPAPIClient.h","line":121,"symbol":"+deviceSupportsApplePay","symbol_kind":"sourcekitten.source.lang.objc.decl.method.class","warning":"undocumented"},{"file":"/Users/bdorfman/stripe/stripe-ios/Stripe/PublicHeaders/STPAPIClient.h","line":134,"symbol":"+createTokenWithPayment:completion:","symbol_kind":"sourcekitten.source.lang.objc.decl.method.class","warning":"undocumented"},{"file":"/Users/bdorfman/stripe/stripe-ios/Stripe/PublicHeaders/STPAPIClient.h","line":153,"symbol":"Stripe(Deprecated)","symbol_kind":"sourcekitten.source.lang.objc.decl.category","warning":"undocumented"},{"file":"/Users/bdorfman/stripe/stripe-ios/Stripe/PublicHeaders/STPAPIResponseDecodable.h","line":11,"symbol":"STPAPIResponseDecodable","symbol_kind":"sourcekitten.source.lang.objc.decl.protocol","warning":"undocumented"},{"file":"/Users/bdorfman/stripe/stripe-ios/Stripe/PublicHeaders/STPAddress.h","line":92,"symbol":"-initWithABRecord:","symbol_kind":"sourcekitten.source.lang.objc.decl.method.instance","warning":"undocumented"},{"file":"/Users/bdorfman/stripe/stripe-ios/Stripe/PublicHeaders/STPAddress.h","line":95,"symbol":"-containsRequiredFields:","symbol_kind":"sourcekitten.source.lang.objc.decl.method.instance","warning":"undocumented"},{"file":"/Users/bdorfman/stripe/stripe-ios/Stripe/PublicHeaders/STPAddress.h","line":97,"symbol":"+applePayAddressFieldsFromBillingAddressFields:","symbol_kind":"sourcekitten.source.lang.objc.decl.method.class","warning":"undocumented"},{"file":"/Users/bdorfman/stripe/stripe-ios/Stripe/PublicHeaders/STPBankAccount.h","line":13,"symbol":"STPBankAccountStatus","symbol_kind":"sourcekitten.source.lang.objc.decl.typedef","warning":"undocumented"},{"file":"/Users/bdorfman/stripe/stripe-ios/Stripe/PublicHeaders/STPBankAccount.h","line":13,"symbol":"STPBankAccountStatus","symbol_kind":"sourcekitten.source.lang.objc.decl.enum","warning":"undocumented"},{"file":"/Users/bdorfman/stripe/stripe-ios/Stripe/PublicHeaders/STPBankAccount.h","line":96,"symbol":"-setAccountNumber:","symbol_kind":"sourcekitten.source.lang.objc.decl.method.instance","warning":"undocumented"},{"file":"/Users/bdorfman/stripe/stripe-ios/Stripe/PublicHeaders/STPBankAccountParams.h","line":12,"symbol":"STPBankAccountHolderType","symbol_kind":"sourcekitten.source.lang.objc.decl.typedef","warning":"undocumented"},{"file":"/Users/bdorfman/stripe/stripe-ios/Stripe/PublicHeaders/STPBankAccountParams.h","line":12,"symbol":"STPBankAccountHolderType","symbol_kind":"sourcekitten.source.lang.objc.decl.enum","warning":"undocumented"},{"file":"/Users/bdorfman/stripe/stripe-ios/Stripe/PublicHeaders/STPCard.h","line":23,"symbol":"STPCardFundingTypeDebit","symbol_kind":"sourcekitten.source.lang.objc.decl.enumcase","warning":"undocumented"},{"file":"/Users/bdorfman/stripe/stripe-ios/Stripe/PublicHeaders/STPCard.h","line":24,"symbol":"STPCardFundingTypeCredit","symbol_kind":"sourcekitten.source.lang.objc.decl.enumcase","warning":"undocumented"},{"file":"/Users/bdorfman/stripe/stripe-ios/Stripe/PublicHeaders/STPCard.h","line":25,"symbol":"STPCardFundingTypePrepaid","symbol_kind":"sourcekitten.source.lang.objc.decl.enumcase","warning":"undocumented"},{"file":"/Users/bdorfman/stripe/stripe-ios/Stripe/PublicHeaders/STPCard.h","line":26,"symbol":"STPCardFundingTypeOther","symbol_kind":"sourcekitten.source.lang.objc.decl.enumcase","warning":"undocumented"},{"file":"/Users/bdorfman/stripe/stripe-ios/Stripe/PublicHeaders/STPCard.h","line":105,"symbol":"addressLine2","symbol_kind":"sourcekitten.source.lang.objc.decl.property","warning":"undocumented"},{"file":"/Users/bdorfman/stripe/stripe-ios/Stripe/PublicHeaders/STPCard.h","line":106,"symbol":"addressCity","symbol_kind":"sourcekitten.source.lang.objc.decl.property","warning":"undocumented"},{"file":"/Users/bdorfman/stripe/stripe-ios/Stripe/PublicHeaders/STPCard.h","line":107,"symbol":"addressState","symbol_kind":"sourcekitten.source.lang.objc.decl.property","warning":"undocumented"},{"file":"/Users/bdorfman/stripe/stripe-ios/Stripe/PublicHeaders/STPCard.h","line":108,"symbol":"addressZip","symbol_kind":"sourcekitten.source.lang.objc.decl.property","warning":"undocumented"},{"file":"/Users/bdorfman/stripe/stripe-ios/Stripe/PublicHeaders/STPCard.h","line":109,"symbol":"addressCountry","symbol_kind":"sourcekitten.source.lang.objc.decl.property","warning":"undocumented"},{"file":"/Users/bdorfman/stripe/stripe-ios/Stripe/PublicHeaders/STPCard.h","line":153,"symbol":"number","symbol_kind":"sourcekitten.source.lang.objc.decl.property","warning":"undocumented"},{"file":"/Users/bdorfman/stripe/stripe-ios/Stripe/PublicHeaders/STPCard.h","line":154,"symbol":"cvc","symbol_kind":"sourcekitten.source.lang.objc.decl.property","warning":"undocumented"},{"file":"/Users/bdorfman/stripe/stripe-ios/Stripe/PublicHeaders/STPCardBrand.h","line":15,"symbol":"STPCardBrandVisa","symbol_kind":"sourcekitten.source.lang.objc.decl.enumcase","warning":"undocumented"},{"file":"/Users/bdorfman/stripe/stripe-ios/Stripe/PublicHeaders/STPCardBrand.h","line":16,"symbol":"STPCardBrandAmex","symbol_kind":"sourcekitten.source.lang.objc.decl.enumcase","warning":"undocumented"},{"file":"/Users/bdorfman/stripe/stripe-ios/Stripe/PublicHeaders/STPCardBrand.h","line":17,"symbol":"STPCardBrandMasterCard","symbol_kind":"sourcekitten.source.lang.objc.decl.enumcase","warning":"undocumented"},{"file":"/Users/bdorfman/stripe/stripe-ios/Stripe/PublicHeaders/STPCardBrand.h","line":18,"symbol":"STPCardBrandDiscover","symbol_kind":"sourcekitten.source.lang.objc.decl.enumcase","warning":"undocumented"},{"file":"/Users/bdorfman/stripe/stripe-ios/Stripe/PublicHeaders/STPCardBrand.h","line":19,"symbol":"STPCardBrandJCB","symbol_kind":"sourcekitten.source.lang.objc.decl.enumcase","warning":"undocumented"},{"file":"/Users/bdorfman/stripe/stripe-ios/Stripe/PublicHeaders/STPCardBrand.h","line":20,"symbol":"STPCardBrandDinersClub","symbol_kind":"sourcekitten.source.lang.objc.decl.enumcase","warning":"undocumented"},{"file":"/Users/bdorfman/stripe/stripe-ios/Stripe/PublicHeaders/STPCardBrand.h","line":21,"symbol":"STPCardBrandUnknown","symbol_kind":"sourcekitten.source.lang.objc.decl.enumcase","warning":"undocumented"},{"file":"/Users/bdorfman/stripe/stripe-ios/Stripe/PublicHeaders/STPCardParams.h","line":55,"symbol":"address","symbol_kind":"sourcekitten.source.lang.objc.decl.property","warning":"undocumented"},{"file":"/Users/bdorfman/stripe/stripe-ios/Stripe/PublicHeaders/STPCardParams.h","line":58,"symbol":"addressLine1","symbol_kind":"sourcekitten.source.lang.objc.decl.property","warning":"undocumented"},{"file":"/Users/bdorfman/stripe/stripe-ios/Stripe/PublicHeaders/STPCardParams.h","line":59,"symbol":"addressLine2","symbol_kind":"sourcekitten.source.lang.objc.decl.property","warning":"undocumented"},{"file":"/Users/bdorfman/stripe/stripe-ios/Stripe/PublicHeaders/STPCardParams.h","line":60,"symbol":"addressCity","symbol_kind":"sourcekitten.source.lang.objc.decl.property","warning":"undocumented"},{"file":"/Users/bdorfman/stripe/stripe-ios/Stripe/PublicHeaders/STPCardParams.h","line":61,"symbol":"addressState","symbol_kind":"sourcekitten.source.lang.objc.decl.property","warning":"undocumented"},{"file":"/Users/bdorfman/stripe/stripe-ios/Stripe/PublicHeaders/STPCardParams.h","line":62,"symbol":"addressZip","symbol_kind":"sourcekitten.source.lang.objc.decl.property","warning":"undocumented"},{"file":"/Users/bdorfman/stripe/stripe-ios/Stripe/PublicHeaders/STPCardParams.h","line":63,"symbol":"addressCountry","symbol_kind":"sourcekitten.source.lang.objc.decl.property","warning":"undocumented"},{"file":"/Users/bdorfman/stripe/stripe-ios/Stripe/PublicHeaders/STPCardParams.h","line":77,"symbol":"-validateCvc:error:","symbol_kind":"sourcekitten.source.lang.objc.decl.method.instance","warning":"undocumented"},{"file":"/Users/bdorfman/stripe/stripe-ios/Stripe/PublicHeaders/STPCardParams.h","line":79,"symbol":"-validateExpMonth:error:","symbol_kind":"sourcekitten.source.lang.objc.decl.method.instance","warning":"undocumented"},{"file":"/Users/bdorfman/stripe/stripe-ios/Stripe/PublicHeaders/STPCardParams.h","line":81,"symbol":"-validateExpYear:error:","symbol_kind":"sourcekitten.source.lang.objc.decl.method.instance","warning":"undocumented"},{"file":"/Users/bdorfman/stripe/stripe-ios/Stripe/PublicHeaders/STPCardValidationState.h","line":15,"symbol":"STPCardValidationStateValid","symbol_kind":"sourcekitten.source.lang.objc.decl.enumcase","warning":"undocumented"},{"file":"/Users/bdorfman/stripe/stripe-ios/Stripe/PublicHeaders/STPCardValidationState.h","line":16,"symbol":"STPCardValidationStateInvalid","symbol_kind":"sourcekitten.source.lang.objc.decl.enumcase","warning":"undocumented"},{"file":"/Users/bdorfman/stripe/stripe-ios/Stripe/PublicHeaders/STPCardValidationState.h","line":17,"symbol":"STPCardValidationStateIncomplete","symbol_kind":"sourcekitten.source.lang.objc.decl.enumcase","warning":"undocumented"},{"file":"/Users/bdorfman/stripe/stripe-ios/Stripe/PublicHeaders/STPCardValidator.h","line":56,"symbol":"+maxLengthForCardBrand:","symbol_kind":"sourcekitten.source.lang.objc.decl.method.class","warning":"undocumented"},{"file":"/Users/bdorfman/stripe/stripe-ios/Stripe/PublicHeaders/STPCardValidator.h","line":57,"symbol":"+lengthForCardBrand:","symbol_kind":"sourcekitten.source.lang.objc.decl.method.class","warning":"undocumented"},{"file":"/Users/bdorfman/stripe/stripe-ios/Stripe/PublicHeaders/STPCardValidator.h","line":109,"symbol":"+validationStateForExpirationYear:inMonth:inCurrentYear:currentMonth:","symbol_kind":"sourcekitten.source.lang.objc.decl.method.class","warning":"undocumented"},{"file":"/Users/bdorfman/stripe/stripe-ios/Stripe/PublicHeaders/STPCardValidator.h","line":113,"symbol":"+validationStateForCard:inCurrentYear:currentMonth:","symbol_kind":"sourcekitten.source.lang.objc.decl.method.class","warning":"undocumented"},{"file":"/Users/bdorfman/stripe/stripe-ios/Stripe/PublicHeaders/STPPaymentCardTextField.h","line":222,"symbol":"valid","symbol_kind":"sourcekitten.source.lang.objc.decl.property","warning":"undocumented"},{"file":"/Users/bdorfman/stripe/stripe-ios/Stripe/PublicHeaders/STPPaymentCardTextField.h","line":267,"symbol":"card","symbol_kind":"sourcekitten.source.lang.objc.decl.property","warning":"undocumented"},{"file":"/Users/bdorfman/stripe/stripe-ios/Stripe/PublicHeaders/STPPaymentCardTextField.h","line":269,"symbol":"-commonInit","symbol_kind":"sourcekitten.source.lang.objc.decl.method.instance","warning":"undocumented"},{"file":"/Users/bdorfman/stripe/stripe-ios/Stripe/PublicHeaders/STPPaymentCardTextField.h","line":279,"symbol":"PTKCard","symbol_kind":"sourcekitten.source.lang.objc.decl.class","warning":"undocumented"},{"file":"/Users/bdorfman/stripe/stripe-ios/Stripe/PublicHeaders/STPPaymentCardTextField.h","line":285,"symbol":"PTKViewDelegate","symbol_kind":"sourcekitten.source.lang.objc.decl.protocol","warning":"undocumented"},{"file":"/Users/bdorfman/stripe/stripe-ios/Stripe/PublicHeaders/STPPaymentCardTextField.h","line":293,"symbol":"PTKView","symbol_kind":"sourcekitten.source.lang.objc.decl.class","warning":"undocumented"},{"file":"/Users/bdorfman/stripe/stripe-ios/Stripe/PublicHeaders/STPPaymentMethodsViewController.h","line":26,"symbol":"delegate","symbol_kind":"sourcekitten.source.lang.objc.decl.property","warning":"undocumented"},{"file":"/Users/bdorfman/stripe/stripe-ios/Stripe/PublicHeaders/StripeError.h","line":16,"symbol":"STPErrorCode","symbol_kind":"sourcekitten.source.lang.objc.decl.typedef","warning":"undocumented"},{"file":"/Users/bdorfman/stripe/stripe-ios/Stripe/PublicHeaders/StripeError.h","line":16,"symbol":"STPErrorCode","symbol_kind":"sourcekitten.source.lang.objc.decl.enum","warning":"undocumented"},{"file":"/Users/bdorfman/stripe/stripe-ios/Stripe/PublicHeaders/StripeError.h","line":30,"symbol":"STPErrorMessageKey","symbol_kind":"sourcekitten.source.lang.objc.decl.constant","warning":"undocumented"},{"file":"/Users/bdorfman/stripe/stripe-ios/Stripe/PublicHeaders/StripeError.h","line":33,"symbol":"STPCardErrorCodeKey","symbol_kind":"sourcekitten.source.lang.objc.decl.constant","warning":"undocumented"},{"file":"/Users/bdorfman/stripe/stripe-ios/Stripe/PublicHeaders/StripeError.h","line":37,"symbol":"STPErrorParameterKey","symbol_kind":"sourcekitten.source.lang.objc.decl.constant","warning":"undocumented"},{"file":"/Users/bdorfman/stripe/stripe-ios/Stripe/PublicHeaders/StripeError.h","line":42,"symbol":"STPInvalidNumber","symbol_kind":"sourcekitten.source.lang.objc.decl.constant","warning":"undocumented"},{"file":"/Users/bdorfman/stripe/stripe-ios/Stripe/PublicHeaders/StripeError.h","line":43,"symbol":"STPInvalidExpMonth","symbol_kind":"sourcekitten.source.lang.objc.decl.constant","warning":"undocumented"},{"file":"/Users/bdorfman/stripe/stripe-ios/Stripe/PublicHeaders/StripeError.h","line":44,"symbol":"STPInvalidExpYear","symbol_kind":"sourcekitten.source.lang.objc.decl.constant","warning":"undocumented"},{"file":"/Users/bdorfman/stripe/stripe-ios/Stripe/PublicHeaders/StripeError.h","line":45,"symbol":"STPInvalidCVC","symbol_kind":"sourcekitten.source.lang.objc.decl.constant","warning":"undocumented"},{"file":"/Users/bdorfman/stripe/stripe-ios/Stripe/PublicHeaders/StripeError.h","line":48,"symbol":"STPIncorrectNumber","symbol_kind":"sourcekitten.source.lang.objc.decl.constant","warning":"undocumented"},{"file":"/Users/bdorfman/stripe/stripe-ios/Stripe/PublicHeaders/StripeError.h","line":49,"symbol":"STPExpiredCard","symbol_kind":"sourcekitten.source.lang.objc.decl.constant","warning":"undocumented"},{"file":"/Users/bdorfman/stripe/stripe-ios/Stripe/PublicHeaders/StripeError.h","line":50,"symbol":"STPCardDeclined","symbol_kind":"sourcekitten.source.lang.objc.decl.constant","warning":"undocumented"},{"file":"/Users/bdorfman/stripe/stripe-ios/Stripe/PublicHeaders/StripeError.h","line":51,"symbol":"STPProcessingError","symbol_kind":"sourcekitten.source.lang.objc.decl.constant","warning":"undocumented"},{"file":"/Users/bdorfman/stripe/stripe-ios/Stripe/PublicHeaders/StripeError.h","line":52,"symbol":"STPIncorrectCVC","symbol_kind":"sourcekitten.source.lang.objc.decl.constant","warning":"undocumented"},{"file":"/Users/bdorfman/stripe/stripe-ios/Stripe/PublicHeaders/StripeError.h","line":55,"symbol":"NSError(Stripe)","symbol_kind":"sourcekitten.source.lang.objc.decl.category","warning":"undocumented"},{"file":"/Users/bdorfman/stripe/stripe-ios/Stripe/PublicHeaders/UINavigationBar+Stripe_Theme.h","line":30,"symbol":"linkUINavigationBarThemeCategory","symbol_kind":"sourcekitten.source.lang.objc.decl.function","warning":"undocumented"}],"source_directory":"/Users/bdorfman/stripe/stripe-ios"} \ No newline at end of file +{"warnings":[{"file":"/Users/bg/github.com/stripe/stripe-ios/Stripe/PublicHeaders/STPAPIClient+ApplePay.h","line":32,"symbol":"linkSTPAPIClientApplePayCategory","symbol_kind":"sourcekitten.source.lang.objc.decl.function","warning":"undocumented"},{"file":"/Users/bg/github.com/stripe/stripe-ios/Stripe/PublicHeaders/STPAPIClient.h","line":19,"symbol":"STPSDKVersion","symbol_kind":"sourcekitten.source.lang.objc.decl.constant","warning":"undocumented"},{"file":"/Users/bg/github.com/stripe/stripe-ios/Stripe/PublicHeaders/STPAPIClient.h","line":56,"symbol":"-initWithConfiguration:","symbol_kind":"sourcekitten.source.lang.objc.decl.method.instance","warning":"undocumented"},{"file":"/Users/bg/github.com/stripe/stripe-ios/Stripe/PublicHeaders/STPAPIClient.h","line":57,"symbol":"-initWithPublishableKey:","symbol_kind":"sourcekitten.source.lang.objc.decl.method.instance","warning":"undocumented"},{"file":"/Users/bg/github.com/stripe/stripe-ios/Stripe/PublicHeaders/STPAPIClient.h","line":121,"symbol":"+deviceSupportsApplePay","symbol_kind":"sourcekitten.source.lang.objc.decl.method.class","warning":"undocumented"},{"file":"/Users/bg/github.com/stripe/stripe-ios/Stripe/PublicHeaders/STPAPIClient.h","line":134,"symbol":"+createTokenWithPayment:completion:","symbol_kind":"sourcekitten.source.lang.objc.decl.method.class","warning":"undocumented"},{"file":"/Users/bg/github.com/stripe/stripe-ios/Stripe/PublicHeaders/STPAPIClient.h","line":153,"symbol":"Stripe(Deprecated)","symbol_kind":"sourcekitten.source.lang.objc.decl.category","warning":"undocumented"},{"file":"/Users/bg/github.com/stripe/stripe-ios/Stripe/PublicHeaders/STPAPIResponseDecodable.h","line":11,"symbol":"STPAPIResponseDecodable","symbol_kind":"sourcekitten.source.lang.objc.decl.protocol","warning":"undocumented"},{"file":"/Users/bg/github.com/stripe/stripe-ios/Stripe/PublicHeaders/STPAddress.h","line":95,"symbol":"-initWithABRecord:","symbol_kind":"sourcekitten.source.lang.objc.decl.method.instance","warning":"undocumented"},{"file":"/Users/bg/github.com/stripe/stripe-ios/Stripe/PublicHeaders/STPAddress.h","line":96,"symbol":"-ABRecordValue","symbol_kind":"sourcekitten.source.lang.objc.decl.method.instance","warning":"undocumented"},{"file":"/Users/bg/github.com/stripe/stripe-ios/Stripe/PublicHeaders/STPAddress.h","line":98,"symbol":"-PKContactValue","symbol_kind":"sourcekitten.source.lang.objc.decl.method.instance","warning":"undocumented"},{"file":"/Users/bg/github.com/stripe/stripe-ios/Stripe/PublicHeaders/STPAddress.h","line":100,"symbol":"-containsRequiredFields:","symbol_kind":"sourcekitten.source.lang.objc.decl.method.instance","warning":"undocumented"},{"file":"/Users/bg/github.com/stripe/stripe-ios/Stripe/PublicHeaders/STPAddress.h","line":101,"symbol":"-containsRequiredShippingAddressFields:","symbol_kind":"sourcekitten.source.lang.objc.decl.method.instance","warning":"undocumented"},{"file":"/Users/bg/github.com/stripe/stripe-ios/Stripe/PublicHeaders/STPAddress.h","line":103,"symbol":"+applePayAddressFieldsFromBillingAddressFields:","symbol_kind":"sourcekitten.source.lang.objc.decl.method.class","warning":"undocumented"},{"file":"/Users/bg/github.com/stripe/stripe-ios/Stripe/PublicHeaders/STPBankAccount.h","line":13,"symbol":"STPBankAccountStatus","symbol_kind":"sourcekitten.source.lang.objc.decl.typedef","warning":"undocumented"},{"file":"/Users/bg/github.com/stripe/stripe-ios/Stripe/PublicHeaders/STPBankAccount.h","line":13,"symbol":"STPBankAccountStatus","symbol_kind":"sourcekitten.source.lang.objc.decl.enum","warning":"undocumented"},{"file":"/Users/bg/github.com/stripe/stripe-ios/Stripe/PublicHeaders/STPBankAccount.h","line":96,"symbol":"-setAccountNumber:","symbol_kind":"sourcekitten.source.lang.objc.decl.method.instance","warning":"undocumented"},{"file":"/Users/bg/github.com/stripe/stripe-ios/Stripe/PublicHeaders/STPBankAccountParams.h","line":12,"symbol":"STPBankAccountHolderType","symbol_kind":"sourcekitten.source.lang.objc.decl.enum","warning":"undocumented"},{"file":"/Users/bg/github.com/stripe/stripe-ios/Stripe/PublicHeaders/STPBankAccountParams.h","line":12,"symbol":"STPBankAccountHolderType","symbol_kind":"sourcekitten.source.lang.objc.decl.typedef","warning":"undocumented"},{"file":"/Users/bg/github.com/stripe/stripe-ios/Stripe/PublicHeaders/STPCard.h","line":23,"symbol":"STPCardFundingTypeDebit","symbol_kind":"sourcekitten.source.lang.objc.decl.enumcase","warning":"undocumented"},{"file":"/Users/bg/github.com/stripe/stripe-ios/Stripe/PublicHeaders/STPCard.h","line":24,"symbol":"STPCardFundingTypeCredit","symbol_kind":"sourcekitten.source.lang.objc.decl.enumcase","warning":"undocumented"},{"file":"/Users/bg/github.com/stripe/stripe-ios/Stripe/PublicHeaders/STPCard.h","line":25,"symbol":"STPCardFundingTypePrepaid","symbol_kind":"sourcekitten.source.lang.objc.decl.enumcase","warning":"undocumented"},{"file":"/Users/bg/github.com/stripe/stripe-ios/Stripe/PublicHeaders/STPCard.h","line":26,"symbol":"STPCardFundingTypeOther","symbol_kind":"sourcekitten.source.lang.objc.decl.enumcase","warning":"undocumented"},{"file":"/Users/bg/github.com/stripe/stripe-ios/Stripe/PublicHeaders/STPCard.h","line":105,"symbol":"addressLine2","symbol_kind":"sourcekitten.source.lang.objc.decl.property","warning":"undocumented"},{"file":"/Users/bg/github.com/stripe/stripe-ios/Stripe/PublicHeaders/STPCard.h","line":106,"symbol":"addressCity","symbol_kind":"sourcekitten.source.lang.objc.decl.property","warning":"undocumented"},{"file":"/Users/bg/github.com/stripe/stripe-ios/Stripe/PublicHeaders/STPCard.h","line":107,"symbol":"addressState","symbol_kind":"sourcekitten.source.lang.objc.decl.property","warning":"undocumented"},{"file":"/Users/bg/github.com/stripe/stripe-ios/Stripe/PublicHeaders/STPCard.h","line":108,"symbol":"addressZip","symbol_kind":"sourcekitten.source.lang.objc.decl.property","warning":"undocumented"},{"file":"/Users/bg/github.com/stripe/stripe-ios/Stripe/PublicHeaders/STPCard.h","line":109,"symbol":"addressCountry","symbol_kind":"sourcekitten.source.lang.objc.decl.property","warning":"undocumented"},{"file":"/Users/bg/github.com/stripe/stripe-ios/Stripe/PublicHeaders/STPCard.h","line":153,"symbol":"number","symbol_kind":"sourcekitten.source.lang.objc.decl.property","warning":"undocumented"},{"file":"/Users/bg/github.com/stripe/stripe-ios/Stripe/PublicHeaders/STPCard.h","line":154,"symbol":"cvc","symbol_kind":"sourcekitten.source.lang.objc.decl.property","warning":"undocumented"},{"file":"/Users/bg/github.com/stripe/stripe-ios/Stripe/PublicHeaders/STPCardBrand.h","line":15,"symbol":"STPCardBrandVisa","symbol_kind":"sourcekitten.source.lang.objc.decl.enumcase","warning":"undocumented"},{"file":"/Users/bg/github.com/stripe/stripe-ios/Stripe/PublicHeaders/STPCardBrand.h","line":16,"symbol":"STPCardBrandAmex","symbol_kind":"sourcekitten.source.lang.objc.decl.enumcase","warning":"undocumented"},{"file":"/Users/bg/github.com/stripe/stripe-ios/Stripe/PublicHeaders/STPCardBrand.h","line":17,"symbol":"STPCardBrandMasterCard","symbol_kind":"sourcekitten.source.lang.objc.decl.enumcase","warning":"undocumented"},{"file":"/Users/bg/github.com/stripe/stripe-ios/Stripe/PublicHeaders/STPCardBrand.h","line":18,"symbol":"STPCardBrandDiscover","symbol_kind":"sourcekitten.source.lang.objc.decl.enumcase","warning":"undocumented"},{"file":"/Users/bg/github.com/stripe/stripe-ios/Stripe/PublicHeaders/STPCardBrand.h","line":19,"symbol":"STPCardBrandJCB","symbol_kind":"sourcekitten.source.lang.objc.decl.enumcase","warning":"undocumented"},{"file":"/Users/bg/github.com/stripe/stripe-ios/Stripe/PublicHeaders/STPCardBrand.h","line":20,"symbol":"STPCardBrandDinersClub","symbol_kind":"sourcekitten.source.lang.objc.decl.enumcase","warning":"undocumented"},{"file":"/Users/bg/github.com/stripe/stripe-ios/Stripe/PublicHeaders/STPCardBrand.h","line":21,"symbol":"STPCardBrandUnknown","symbol_kind":"sourcekitten.source.lang.objc.decl.enumcase","warning":"undocumented"},{"file":"/Users/bg/github.com/stripe/stripe-ios/Stripe/PublicHeaders/STPCardParams.h","line":55,"symbol":"address","symbol_kind":"sourcekitten.source.lang.objc.decl.property","warning":"undocumented"},{"file":"/Users/bg/github.com/stripe/stripe-ios/Stripe/PublicHeaders/STPCardParams.h","line":58,"symbol":"addressLine1","symbol_kind":"sourcekitten.source.lang.objc.decl.property","warning":"undocumented"},{"file":"/Users/bg/github.com/stripe/stripe-ios/Stripe/PublicHeaders/STPCardParams.h","line":59,"symbol":"addressLine2","symbol_kind":"sourcekitten.source.lang.objc.decl.property","warning":"undocumented"},{"file":"/Users/bg/github.com/stripe/stripe-ios/Stripe/PublicHeaders/STPCardParams.h","line":60,"symbol":"addressCity","symbol_kind":"sourcekitten.source.lang.objc.decl.property","warning":"undocumented"},{"file":"/Users/bg/github.com/stripe/stripe-ios/Stripe/PublicHeaders/STPCardParams.h","line":61,"symbol":"addressState","symbol_kind":"sourcekitten.source.lang.objc.decl.property","warning":"undocumented"},{"file":"/Users/bg/github.com/stripe/stripe-ios/Stripe/PublicHeaders/STPCardParams.h","line":62,"symbol":"addressZip","symbol_kind":"sourcekitten.source.lang.objc.decl.property","warning":"undocumented"},{"file":"/Users/bg/github.com/stripe/stripe-ios/Stripe/PublicHeaders/STPCardParams.h","line":63,"symbol":"addressCountry","symbol_kind":"sourcekitten.source.lang.objc.decl.property","warning":"undocumented"},{"file":"/Users/bg/github.com/stripe/stripe-ios/Stripe/PublicHeaders/STPCardParams.h","line":77,"symbol":"-validateCvc:error:","symbol_kind":"sourcekitten.source.lang.objc.decl.method.instance","warning":"undocumented"},{"file":"/Users/bg/github.com/stripe/stripe-ios/Stripe/PublicHeaders/STPCardParams.h","line":79,"symbol":"-validateExpMonth:error:","symbol_kind":"sourcekitten.source.lang.objc.decl.method.instance","warning":"undocumented"},{"file":"/Users/bg/github.com/stripe/stripe-ios/Stripe/PublicHeaders/STPCardParams.h","line":81,"symbol":"-validateExpYear:error:","symbol_kind":"sourcekitten.source.lang.objc.decl.method.instance","warning":"undocumented"},{"file":"/Users/bg/github.com/stripe/stripe-ios/Stripe/PublicHeaders/STPCardValidationState.h","line":15,"symbol":"STPCardValidationStateValid","symbol_kind":"sourcekitten.source.lang.objc.decl.enumcase","warning":"undocumented"},{"file":"/Users/bg/github.com/stripe/stripe-ios/Stripe/PublicHeaders/STPCardValidationState.h","line":16,"symbol":"STPCardValidationStateInvalid","symbol_kind":"sourcekitten.source.lang.objc.decl.enumcase","warning":"undocumented"},{"file":"/Users/bg/github.com/stripe/stripe-ios/Stripe/PublicHeaders/STPCardValidationState.h","line":17,"symbol":"STPCardValidationStateIncomplete","symbol_kind":"sourcekitten.source.lang.objc.decl.enumcase","warning":"undocumented"},{"file":"/Users/bg/github.com/stripe/stripe-ios/Stripe/PublicHeaders/STPCardValidator.h","line":56,"symbol":"+maxLengthForCardBrand:","symbol_kind":"sourcekitten.source.lang.objc.decl.method.class","warning":"undocumented"},{"file":"/Users/bg/github.com/stripe/stripe-ios/Stripe/PublicHeaders/STPCardValidator.h","line":57,"symbol":"+lengthForCardBrand:","symbol_kind":"sourcekitten.source.lang.objc.decl.method.class","warning":"undocumented"},{"file":"/Users/bg/github.com/stripe/stripe-ios/Stripe/PublicHeaders/STPCardValidator.h","line":109,"symbol":"+validationStateForExpirationYear:inMonth:inCurrentYear:currentMonth:","symbol_kind":"sourcekitten.source.lang.objc.decl.method.class","warning":"undocumented"},{"file":"/Users/bg/github.com/stripe/stripe-ios/Stripe/PublicHeaders/STPCardValidator.h","line":113,"symbol":"+validationStateForCard:inCurrentYear:currentMonth:","symbol_kind":"sourcekitten.source.lang.objc.decl.method.class","warning":"undocumented"},{"file":"/Users/bg/github.com/stripe/stripe-ios/Stripe/PublicHeaders/STPPaymentCardTextField.h","line":222,"symbol":"valid","symbol_kind":"sourcekitten.source.lang.objc.decl.property","warning":"undocumented"},{"file":"/Users/bg/github.com/stripe/stripe-ios/Stripe/PublicHeaders/STPPaymentCardTextField.h","line":267,"symbol":"card","symbol_kind":"sourcekitten.source.lang.objc.decl.property","warning":"undocumented"},{"file":"/Users/bg/github.com/stripe/stripe-ios/Stripe/PublicHeaders/STPPaymentCardTextField.h","line":269,"symbol":"-commonInit","symbol_kind":"sourcekitten.source.lang.objc.decl.method.instance","warning":"undocumented"},{"file":"/Users/bg/github.com/stripe/stripe-ios/Stripe/PublicHeaders/STPPaymentCardTextField.h","line":279,"symbol":"PTKCard","symbol_kind":"sourcekitten.source.lang.objc.decl.class","warning":"undocumented"},{"file":"/Users/bg/github.com/stripe/stripe-ios/Stripe/PublicHeaders/STPPaymentCardTextField.h","line":285,"symbol":"PTKViewDelegate","symbol_kind":"sourcekitten.source.lang.objc.decl.protocol","warning":"undocumented"},{"file":"/Users/bg/github.com/stripe/stripe-ios/Stripe/PublicHeaders/STPPaymentCardTextField.h","line":293,"symbol":"PTKView","symbol_kind":"sourcekitten.source.lang.objc.decl.class","warning":"undocumented"},{"file":"/Users/bg/github.com/stripe/stripe-ios/Stripe/PublicHeaders/STPPaymentMethodsViewController.h","line":26,"symbol":"delegate","symbol_kind":"sourcekitten.source.lang.objc.decl.property","warning":"undocumented"},{"file":"/Users/bg/github.com/stripe/stripe-ios/Stripe/PublicHeaders/StripeError.h","line":16,"symbol":"STPErrorCode","symbol_kind":"sourcekitten.source.lang.objc.decl.enum","warning":"undocumented"},{"file":"/Users/bg/github.com/stripe/stripe-ios/Stripe/PublicHeaders/StripeError.h","line":16,"symbol":"STPErrorCode","symbol_kind":"sourcekitten.source.lang.objc.decl.typedef","warning":"undocumented"},{"file":"/Users/bg/github.com/stripe/stripe-ios/Stripe/PublicHeaders/StripeError.h","line":30,"symbol":"STPErrorMessageKey","symbol_kind":"sourcekitten.source.lang.objc.decl.constant","warning":"undocumented"},{"file":"/Users/bg/github.com/stripe/stripe-ios/Stripe/PublicHeaders/StripeError.h","line":33,"symbol":"STPCardErrorCodeKey","symbol_kind":"sourcekitten.source.lang.objc.decl.constant","warning":"undocumented"},{"file":"/Users/bg/github.com/stripe/stripe-ios/Stripe/PublicHeaders/StripeError.h","line":37,"symbol":"STPErrorParameterKey","symbol_kind":"sourcekitten.source.lang.objc.decl.constant","warning":"undocumented"},{"file":"/Users/bg/github.com/stripe/stripe-ios/Stripe/PublicHeaders/StripeError.h","line":42,"symbol":"STPInvalidNumber","symbol_kind":"sourcekitten.source.lang.objc.decl.constant","warning":"undocumented"},{"file":"/Users/bg/github.com/stripe/stripe-ios/Stripe/PublicHeaders/StripeError.h","line":43,"symbol":"STPInvalidExpMonth","symbol_kind":"sourcekitten.source.lang.objc.decl.constant","warning":"undocumented"},{"file":"/Users/bg/github.com/stripe/stripe-ios/Stripe/PublicHeaders/StripeError.h","line":44,"symbol":"STPInvalidExpYear","symbol_kind":"sourcekitten.source.lang.objc.decl.constant","warning":"undocumented"},{"file":"/Users/bg/github.com/stripe/stripe-ios/Stripe/PublicHeaders/StripeError.h","line":45,"symbol":"STPInvalidCVC","symbol_kind":"sourcekitten.source.lang.objc.decl.constant","warning":"undocumented"},{"file":"/Users/bg/github.com/stripe/stripe-ios/Stripe/PublicHeaders/StripeError.h","line":48,"symbol":"STPIncorrectNumber","symbol_kind":"sourcekitten.source.lang.objc.decl.constant","warning":"undocumented"},{"file":"/Users/bg/github.com/stripe/stripe-ios/Stripe/PublicHeaders/StripeError.h","line":49,"symbol":"STPExpiredCard","symbol_kind":"sourcekitten.source.lang.objc.decl.constant","warning":"undocumented"},{"file":"/Users/bg/github.com/stripe/stripe-ios/Stripe/PublicHeaders/StripeError.h","line":50,"symbol":"STPCardDeclined","symbol_kind":"sourcekitten.source.lang.objc.decl.constant","warning":"undocumented"},{"file":"/Users/bg/github.com/stripe/stripe-ios/Stripe/PublicHeaders/StripeError.h","line":51,"symbol":"STPProcessingError","symbol_kind":"sourcekitten.source.lang.objc.decl.constant","warning":"undocumented"},{"file":"/Users/bg/github.com/stripe/stripe-ios/Stripe/PublicHeaders/StripeError.h","line":52,"symbol":"STPIncorrectCVC","symbol_kind":"sourcekitten.source.lang.objc.decl.constant","warning":"undocumented"},{"file":"/Users/bg/github.com/stripe/stripe-ios/Stripe/PublicHeaders/StripeError.h","line":55,"symbol":"NSError(Stripe)","symbol_kind":"sourcekitten.source.lang.objc.decl.category","warning":"undocumented"},{"file":"/Users/bg/github.com/stripe/stripe-ios/Stripe/PublicHeaders/UINavigationBar+Stripe_Theme.h","line":30,"symbol":"linkUINavigationBarThemeCategory","symbol_kind":"sourcekitten.source.lang.objc.decl.function","warning":"undocumented"}],"source_directory":"/Users/bg/github.com/stripe/stripe-ios"} \ No newline at end of file