Enumerations
The following enumerations are available globally.
-
Error codes associated with American Express.
See moreDeclaration
Objective-C
enum BTAmericanExpressErrorType : NSInteger {}
Swift
enum BTAmericanExpressErrorType : Int, @unchecked Sendable
-
Error codes associated with Apple Pay.
See moreDeclaration
Objective-C
enum BTApplePayErrorType : NSInteger {}
Swift
enum BTApplePayErrorType : Int, @unchecked Sendable
-
Error codes associated with cards.
See moreDeclaration
Objective-C
enum BTCardClientErrorType : NSInteger {}
Swift
enum BTCardClientErrorType : Int, @unchecked Sendable
-
Error codes associated with API client.
See moreDeclaration
Objective-C
enum BTAPIClientErrorType : NSInteger {}
Swift
enum BTAPIClientErrorType : Int, @unchecked Sendable
-
Source of the metadata
See moreDeclaration
Objective-C
enum BTClientMetadataSourceType : NSInteger {}
Swift
enum BTClientMetadataSourceType : Int, @unchecked Sendable
-
Integration types
See moreDeclaration
Objective-C
enum BTClientMetadataIntegrationType : NSInteger {}
Swift
enum BTClientMetadataIntegrationType : Int, @unchecked Sendable
-
Error codes associated with a client token.
See moreDeclaration
Objective-C
enum BTClientTokenError : NSInteger {}
Swift
enum BTClientTokenError : Int, @unchecked Sendable
-
Card type
See moreDeclaration
Objective-C
enum BTCardNetwork : NSInteger {}
-
BTHTTP error codes
See moreDeclaration
Objective-C
enum BTHTTPErrorCode : NSInteger {}
Swift
enum BTHTTPErrorCode : Int, @unchecked Sendable
-
Declaration
Objective-C
enum BTJSONErrorCode : NSInteger {}
Swift
enum BTJSONErrorCode : Int, @unchecked Sendable
-
Braintree SDK Logging Levels
See moreDeclaration
Objective-C
enum BTLogLevel : NSUInteger {}
Swift
enum BTLogLevel : UInt, @unchecked Sendable
-
Payment intent.
Note
Must be set to BTPayPalRequestIntentSale for immediate payment, BTPayPalRequestIntentAuthorize to authorize a payment for capture later, or BTPayPalRequestIntentOrder to create an order. Defaults to BTPayPalRequestIntentAuthorize. Only applies to PayPal Checkout.
See
https://developer.paypal.com/docs/integration/direct/payments/capture-payment/ Capture payments later
See
https://developer.paypal.com/docs/integration/direct/payments/create-process-order/ Create and process orders
Declaration
Objective-C
enum BTPayPalRequestIntent : NSInteger {}
Swift
enum BTPayPalRequestIntent : Int, @unchecked Sendable
-
The call-to-action in the PayPal Checkout flow.
Note
By default the final button will show the localized word for “Continue” and implies that the final amount billed is not yet known. Setting the BTPayPalRequest’s userAction toBTPayPalRequestUserActionCommit
changes the button text to “Pay Now”, conveying to the user that billing will take place immediately.Declaration
Objective-C
enum BTPayPalRequestUserAction : NSInteger {}
Swift
enum BTPayPalRequestUserAction : Int, @unchecked Sendable
-
Error codes associated with PayPal.
See moreDeclaration
Objective-C
enum BTPayPalDriverErrorType : NSInteger {}
Swift
enum BTPayPalDriverErrorType : Int, @unchecked Sendable
-
Use this option to specify whether a line item is a debit (sale) or credit (refund) to the customer.
See moreDeclaration
Objective-C
enum BTPayPalLineItemKind : NSInteger {}
Swift
enum BTPayPalLineItemKind : Int, @unchecked Sendable
-
Undocumented
See moreDeclaration
Objective-C
NS_ENUM(NSUInteger, BTPayPalPaymentType) { BTPayPalPaymentTypeCheckout, BTPayPalPaymentTypeVault }
Swift
enum BTPayPalPaymentType : UInt, @unchecked Sendable
-
Use this option to specify the PayPal page to display when a user lands on the PayPal site to complete the payment.
See moreDeclaration
Objective-C
enum BTPayPalRequestLandingPageType : NSInteger {}
Swift
enum BTPayPalRequestLandingPageType : Int, @unchecked Sendable
-
Errors associated with payment flows.
See moreDeclaration
Objective-C
enum BTPaymentFlowDriverErrorType : NSInteger {}
Swift
enum BTPaymentFlowDriverErrorType : Int, @unchecked Sendable
-
Error codes associated with 3D Secure flow.
See moreDeclaration
Objective-C
enum BTThreeDSecureFlowErrorType : NSInteger {}
Swift
enum BTThreeDSecureFlowErrorType : Int, @unchecked Sendable
-
3D Secure version
See moreDeclaration
Objective-C
enum BTThreeDSecureVersion : NSInteger {}
Swift
enum BTThreeDSecureVersion : Int, @unchecked Sendable
-
The account type
See moreDeclaration
Objective-C
enum BTThreeDSecureAccountType : NSInteger {}
Swift
enum BTThreeDSecureAccountType : Int, @unchecked Sendable
-
The shipping method
See moreDeclaration
Objective-C
enum BTThreeDSecureShippingMethod : NSInteger {}
Swift
enum BTThreeDSecureShippingMethod : Int, @unchecked Sendable
-
The card add challenge request
See moreDeclaration
Objective-C
enum BTThreeDSecureCardAddChallenge : NSInteger {}
Swift
enum BTThreeDSecureCardAddChallenge : Int, @unchecked Sendable
-
3D Secure requested exemption type
See moreDeclaration
Objective-C
enum BTThreeDSecureRequestedExemptionType : NSInteger {}
Swift
enum BTThreeDSecureRequestedExemptionType : Int, @unchecked Sendable
-
Button types that can be customized in 3D Secure 2 flows.
See moreDeclaration
Objective-C
enum BTThreeDSecureV2ButtonType : NSInteger {}
Swift
enum BTThreeDSecureV2ButtonType : Int, @unchecked Sendable
-
Error codes associated with Venmo.
See moreDeclaration
Objective-C
enum BTVenmoDriverErrorType : NSInteger {}
Swift
enum BTVenmoDriverErrorType : Int, @unchecked Sendable
-
Use this option to specify whether a line item is a debit (sale) or credit (refund) to the customer.
See moreDeclaration
Objective-C
enum BTVenmoLineItemKind : NSInteger {}
Swift
enum BTVenmoLineItemKind : Int, @unchecked Sendable
-
Usage type for the tokenized Venmo account
See moreDeclaration
Objective-C
enum BTVenmoPaymentMethodUsage : NSInteger {}
Swift
enum BTVenmoPaymentMethodUsage : Int, @unchecked Sendable
-
Payment intent.
Note
Must be set to.sale
for immediate payment,.authorize
to authorize a payment for capture later, or.order
to create an order. Defaults toauthorize
.See also
see https://developer.paypal.com/docs/integration/direct/payments/capture-payment/ Capture payments laterSee also
https://developer.paypal.com/docs/integration/direct/payments/create-process-order/ Create and process ordersDeclaration
Swift
@objc public enum BTPayPalNativeRequestIntent : Int
-
Mandate type for the SEPA Direct Debit request.
See moreDeclaration
Swift
@objc public enum BTSEPADirectDebitMandateType : Int, CustomStringConvertible