Enumerations

The following enumerations are available globally.

  • What set of billing address information you need to collect from your user.

    Note

    If the user is from a country that does not use zip/postal codes, the user may not be asked for one regardless of this setting.
    See more

    Declaration

    Objective-C

    enum STPBillingAddressFields {}

    Swift

    enum STPBillingAddressFields : UInt
  • These values control the labels used in the shipping info collection form.

    See more

    Declaration

    Objective-C

    enum STPShippingType {}

    Swift

    enum STPShippingType : UInt
  • An enum representing the status of a shipping address validation.

    See more

    Declaration

    Objective-C

    enum STPShippingStatus {}

    Swift

    enum STPShippingStatus : UInt
  • An enum representing the status of a payment requested from the user.

    See more

    Declaration

    Objective-C

    enum STPPaymentStatus {}

    Swift

    enum STPPaymentStatus : UInt
  • An enum representing the success and error states of PIN management

    See more

    Declaration

    Objective-C

    enum STPPinStatus {}

    Swift

    enum STPPinStatus : UInt
  • The various card brands to which a payment card can belong.

    See more

    Declaration

    Objective-C

    enum STPCardBrand {}

    Swift

    enum STPCardBrand : Int
  • These fields indicate whether a card field represents a valid value, invalid value, or incomplete value.

    See more

    Declaration

    Objective-C

    enum STPCardValidationState {}

    Swift

    enum STPCardValidationState : Int
  • This represents all of the payment methods available to your user when configuring an STPPaymentContext. This is in addition to card payments, which are always enabled.

    See more

    Declaration

    Objective-C

    enum STPPaymentOptionType {}

    Swift

    struct STPPaymentOptionType : OptionSet