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.Declaration
Objective-C
enum STPBillingAddressFields {}
Swift
enum STPBillingAddressFields : UInt
-
Possible validation states for a bank account.
See moreDeclaration
Objective-C
enum STPBankAccountStatus {}
Swift
enum STPBankAccountStatus : Int
-
The type of entity that holds a bank account.
See moreDeclaration
Objective-C
enum STPBankAccountHolderType {}
Swift
enum STPBankAccountHolderType : Int
-
The payment methods supported by STPBankSelectionViewController.
See moreDeclaration
Objective-C
enum STPBankSelectionMethod {}
Swift
enum STPBankSelectionMethod : Int
-
These values control the labels used in the shipping info collection form.
See moreDeclaration
Objective-C
enum STPShippingType {}
Swift
enum STPShippingType : UInt
-
An enum representing the status of a shipping address validation.
See moreDeclaration
Objective-C
enum STPShippingStatus {}
Swift
enum STPShippingStatus : UInt
-
An enum representing the status of a payment requested from the user.
See moreDeclaration
Objective-C
enum STPPaymentStatus {}
Swift
enum STPPaymentStatus : UInt
-
An enum representing the success and error states of PIN management
See moreDeclaration
Objective-C
enum STPPinStatus {}
Swift
enum STPPinStatus : UInt
-
The various funding sources for a payment card.
See moreDeclaration
Objective-C
enum STPCardFundingType {}
Swift
enum STPCardFundingType : Int
-
The various card brands to which a payment card can belong.
See moreDeclaration
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 moreDeclaration
Objective-C
enum STPCardValidationState {}
Swift
enum STPCardValidationState : Int
-
The business type of the Connect account.
See moreDeclaration
Objective-C
enum STPConnectAccountBusinessType {}
Swift
enum STPConnectAccountBusinessType : Int
-
The various bank brands available for FPX payments.
See moreDeclaration
Objective-C
enum STPFPXBankBrand {}
Swift
enum STPFPXBankBrand : Int
-
Declaration
Objective-C
enum STPFilePurpose {}
Swift
enum STPFilePurpose : Int
-
Types of next actions for
STPPaymentIntent
andSTPSetupIntent
.You shouldn’t need to inspect this yourself;
See moreSTPPaymentHandler
will handle any next actions for you.Declaration
Objective-C
enum STPIntentActionType {}
Swift
enum STPIntentActionType : UInt
-
The type of the Klarna line item.
See moreDeclaration
Objective-C
enum STPKlarnaLineItemType {}
Swift
enum STPKlarnaLineItemType : UInt
-
The type of customer acceptance information included with the Mandate.
See moreDeclaration
Objective-C
enum STPMandateCustomerAcceptanceType {}
Swift
enum STPMandateCustomerAcceptanceType : Int
-
See moreSTPPaymentHandlerActionStatus
represents the possible outcomes of requesting an action bySTPPaymentHandler
. An action could be confirming and/or handling the next action for a PaymentIntent.Declaration
Objective-C
enum STPPaymentHandlerActionStatus {}
Swift
enum ActionStatus : Int
-
Error codes generated by
See moreSTPPaymentHandler
Declaration
Objective-C
enum STPPaymentHandlerErrorCode {}
Swift
typealias STPPaymentHandlerError.Code._ErrorType = STPPaymentHandlerError
-
Status types for an STPPaymentIntent
See moreDeclaration
Objective-C
enum STPPaymentIntentStatus {}
Swift
enum STPPaymentIntentStatus : Int
-
Capture methods for a STPPaymentIntent
See moreDeclaration
Objective-C
enum STPPaymentIntentCaptureMethod {}
Swift
enum STPPaymentIntentCaptureMethod : Int
-
Confirmation methods for a STPPaymentIntent
See moreDeclaration
Objective-C
enum STPPaymentIntentConfirmationMethod {}
Swift
enum STPPaymentIntentConfirmationMethod : Int
-
Indicates how you intend to use the payment method that your customer provides after the current payment completes.
If applicable, additional authentication may be performed to comply with regional legislation or network rules required to enable the usage of the same payment method for additional payments.
See moreDeclaration
Objective-C
enum STPPaymentIntentSetupFutureUsage {}
Swift
enum STPPaymentIntentSetupFutureUsage : Int
-
Types of Actions from a
See moreSTPPaymentIntent
, when the payment intent status isSTPPaymentIntentStatusRequiresAction
.Declaration
Objective-C
enum STPPaymentIntentActionType {}
Swift
enum STPPaymentIntentActionType : UInt
-
Types of Source Actions from a
STPPaymentIntent
, when the payment intent status isSTPPaymentIntentStatusRequiresSourceAction
.@deprecated Use
See moreSTPPaymentIntentActionType
instead.Declaration
Objective-C
enum STPPaymentIntentSourceActionType {}
Swift
enum STPPaymentIntentSourceActionType : UInt
-
The type of the error represented by
STPPaymentIntentLastPaymentError
.Some STPPaymentIntentLastPaymentError properties are only populated for certain error types.
See moreDeclaration
Objective-C
enum STPPaymentIntentLastPaymentErrorType {}
Swift
enum STPPaymentIntentLastPaymentErrorType : UInt
-
The result of a check on a Card address or CVC.
See moreDeclaration
Objective-C
enum STPPaymentMethodCardCheckResult {}
Swift
enum STPPaymentMethodCardCheckResult : UInt
-
The type of Card Wallet.
See moreDeclaration
Objective-C
enum STPPaymentMethodCardWalletType {}
Swift
enum STPPaymentMethodCardWalletType : UInt
-
The type of the PaymentMethod.
See moreDeclaration
Objective-C
enum STPPaymentMethodType {}
-
This represents all of the payment methods available to your user when configuring an
See moreSTPPaymentContext
. This is in addition to card payments, which are always enabled.Declaration
Objective-C
enum STPPaymentOptionType {}
Swift
struct STPPaymentOptionType : OptionSet
-
Error codes specific to
See moreSTPRedirectContext
Declaration
Objective-C
enum STPRedirectContextErrorCode {}
Swift
typealias STPRedirectContextError.Code._ErrorType = STPRedirectContextError
-
Possible states for the redirect context to be in
See moreDeclaration
Objective-C
enum STPRedirectContextState {}
Swift
enum STPRedirectContextState : UInt
-
Status types for an STPSetupIntent
See moreDeclaration
Objective-C
enum STPSetupIntentStatus {}
-
Indicates how the payment method is intended to be used in the future.
See moreDeclaration
Objective-C
enum STPSetupIntentUsage {}
-
The type of the error represented by
STPSetupIntentLastSetupError
.Some STPSetupIntentLastError properties are only populated for certain error types.
See moreDeclaration
Objective-C
enum STPSetupIntentLastSetupErrorType {}
Swift
enum STPSetupIntentLastSetupErrorType : UInt
-
The status of this card’s 3D Secure support.
See moreDeclaration
Objective-C
enum STPSourceCard3DSecureStatus {}
Swift
enum STPSourceCard3DSecureStatus : Int
-
Authentication flows for a Source
See moreDeclaration
Objective-C
enum STPSourceFlow {}
-
Usage types for a Source
See moreDeclaration
Objective-C
enum STPSourceUsage {}
-
Status types for a Source
See moreDeclaration
Objective-C
enum STPSourceStatus {}
-
Declaration
Objective-C
enum STPSourceType {}
-
Declaration
Objective-C
enum STPKlarnaPaymentMethods {}
-
Redirect status types for a Source.
See moreDeclaration
Objective-C
enum STPSourceRedirectStatus {}
Swift
enum STPSourceRedirectStatus : Int
-
Verification status types for a Source.
See moreDeclaration
Objective-C
enum STPSourceVerificationStatus {}
Swift
enum STPSourceVerificationStatus : Int
-
An enum that defines the different types of buttons that are able to be customized.
See moreDeclaration
Objective-C
enum STPThreeDSCustomizationButtonType {}
Swift
enum STPThreeDSCustomizationButtonType : Int
-
An enumeration of the case transformations that can be applied to the button’s title
See moreDeclaration
Objective-C
enum STPThreeDSButtonTitleStyle {}
Swift
enum STPThreeDSButtonTitleStyle : Int
-
Possible Token types
See moreDeclaration
Objective-C
enum STPTokenType {}
Swift
enum STPTokenType : Int
-
Possible error code values for NSError’s with the
See moreStripeDomain
domainDeclaration
Objective-C
enum STPErrorCode {}
Swift
typealias STPError.Code._ErrorType = STPError