Enumerations
The following enumerations are available globally.
-
Error codes associated with a API Client.
See moreDeclaration
Swift
public enum BTAnalyticsServiceError : Int, Error, CustomNSError, LocalizedError, Equatable -
Error codes associated with a client token.
See moreDeclaration
Swift
public enum BTClientTokenError : Error, CustomNSError, LocalizedError, Equatable -
Error codes associated with a Tokenization Key.
See moreDeclaration
Swift
public enum TokenizationKeyError : Int, Error, CustomNSError, LocalizedError, Equatable -
Error codes associated with a API Client.
See moreDeclaration
Swift
public enum BTAPIClientError : Error, CustomNSError, LocalizedError, Equatable -
Card type
See moreDeclaration
Swift
@objc public enum BTCardNetwork : Int -
Error codes associated with BTHTTP
See moreDeclaration
Swift
public enum BTHTTPError : Error, CustomNSError, LocalizedError, Equatable -
Declaration
Swift
public enum BTJSONError : Error, CustomNSError, LocalizedError, Equatable -
Error details associated with SEPA Direct Debit.
See moreDeclaration
Swift
public enum BTSEPADirectDebitError : Int, Error, CustomNSError, LocalizedError, Equatable -
Mandate type for the SEPA Direct Debit request.
See moreDeclaration
Swift
@objc public enum BTSEPADirectDebitMandateType : Int -
Error details associated with American Express.
See moreDeclaration
Swift
public enum BTAmericanExpressError : Int, Error, CustomNSError, LocalizedError, Equatable -
Error details associated with Braintree Data Collector.
See moreDeclaration
Swift
public enum BTDataCollectorError : Int, Error, CustomNSError, LocalizedError, Equatable -
Error codes associated with Apple Pay.
See moreDeclaration
Swift
public enum BTApplePayError : Int, Error, CustomNSError, LocalizedError, Equatable -
Error codes associated with Payment Flow
See moreDeclaration
Swift
public enum BTLocalPaymentError : Error, CustomNSError, LocalizedError, Equatable -
The account type
See moreDeclaration
Swift
@objc public enum BTThreeDSecureAccountType : Int -
Declaration
Swift
public enum BTThreeDSecureError : Error, CustomNSError, LocalizedError, Equatable -
3D Secure requested exemption type
See moreDeclaration
Swift
@objc public enum BTThreeDSecureRequestedExemptionType : Int -
The shipping method
See moreDeclaration
Swift
@objc public enum BTThreeDSecureShippingMethod : Int -
The interface types that the device supports for displaying specific challenge user interfaces within the 3D Secure challenge.
See moreDeclaration
Swift
@objc public enum BTThreeDSecureUIType : Int -
Button types that can be customized in 3D Secure 2 flows.
See moreDeclaration
Swift
@objc public enum BTThreeDSecureV2ButtonType : Int -
Declaration
Swift
public enum BTCardError : Error, CustomNSError, LocalizedError, Equatable -
Contact information section preference within the payment flow
See moreDeclaration
Swift
@objc public enum BTContactPreference : Int -
Payment intent.
Note
Must be set to BTPayPalRequestIntentSale for immediate payment,.authorizeto authorize a payment for capture later, or.orderto create an order. Defaults to.authorize. Only applies to PayPal Checkout.Capture payments later reference
Create and process orders reference
See moreDeclaration
Swift
@objc public enum BTPayPalRequestIntent : Int -
Error codes associated with PayPal.
See moreDeclaration
Swift
public enum BTPayPalError : Error, CustomNSError, LocalizedError, Equatable -
Use this option to specify whether a line item is a debit (sale) or credit (refund) to the customer.
See moreDeclaration
Swift
@objc public enum BTPayPalLineItemKind : Int, Encodable -
Use this option to specify the UPC type of the line item.
See moreDeclaration
Swift
@objc public enum BTPayPalLineItemUPCType : Int, Encodable -
A locale code to use for a transaction.
See moreDeclaration
Swift
@objc public enum BTPayPalLocaleCode : Int -
Use this option to specify the PayPal page to display when a user lands on the PayPal site to complete the payment.
See moreDeclaration
Swift
@objc public enum BTPayPalRequestLandingPageType : Int -
The call-to-action in the PayPal flow.
Note
By default the final button will show the localized word for “Continue” for Checkout requests or “Save and Continue” for Vault requests and implies that the final amount billed is not yet known.Setting the
BTPayPalCheckoutRequest.userActionto.payNowchanges the button text to “Pay Now”, conveying to the user that billing will take place immediately.Setting the
See moreBTPayPalVaultRequest.userActionto.setupNowchanges the button text to “Setup Now”, conveying to the user that the funding instrument will be set up for future payments.Declaration
Swift
@objc public enum BTPayPalRequestUserAction : Int -
PayPal recurring billing plan type, or charge pattern.
See moreDeclaration
Swift
public enum BTPayPalRecurringBillingPlanType : String, Encodable -
Error codes associated with Venmo App Switch
See moreDeclaration
Swift
public enum BTVenmoAppSwitchError : Error, CustomNSError, LocalizedError, Equatable -
Error codes associated with Venmo
See moreDeclaration
Swift
public enum BTVenmoError : Error, CustomNSError, LocalizedError, Equatable -
Use this option to specify whether a line item is a debit (sale) or credit (refund) to the customer.
See moreDeclaration
Swift
@objc public enum BTVenmoLineItemKind : Int -
Usage type for the tokenized Venmo account
See moreDeclaration
Swift
@objc public enum BTVenmoPaymentMethodUsage : Int -
Text and logo color option for a PayPal Message
See moreWarning
This module is in beta. It’s public API may change or be removed in future releases.Declaration
Swift
public enum BTPayPalMessagingColor -
Error details associated with PayPal Messaging.
See moreWarning
This module is in beta. It’s public API may change or be removed in future releases.Declaration
Swift
public enum BTPayPalMessagingError : Int, Error, CustomNSError, LocalizedError, Equatable -
Logo type option for a PayPal Message
See moreWarning
This module is in beta. It’s public API may change or be removed in future releases.Declaration
Swift
public enum BTPayPalMessagingLogoType -
Preferred message offer to display
See moreWarning
This module is in beta. It’s public API may change or be removed in future releases.Declaration
Swift
public enum BTPayPalMessagingOfferType -
Message location within an application
See moreWarning
This module is in beta. It’s public API may change or be removed in future releases.Declaration
Swift
public enum BTPayPalMessagingPageType -
Text alignment option for a PayPal Message
See moreWarning
This module is in beta. It’s public API may change or be removed in future releases.Declaration
Swift
public enum BTPayPalMessagingTextAlignment -
The order or ranking in which payment buttons appear.
See moreWarning
This module is in beta. It’s public API may change or be removed in future releases.Declaration
Swift
public enum BTButtonOrder : String -
The type of button displayed or presented Warning: This module is in beta. It’s public API may change or be removed in future releases.
See moreDeclaration
Swift
public enum BTButtonType : String -
The experiment type that is sent to analytics to help improve the Shopper Insights feature experience.
See moreWarning
This module is in beta. It’s public API may change or be removed in future releases.Declaration
Swift
public enum BTExperimentType : String -
The type of page where the payment button is displayed or where an event occured.
See moreWarning
This module is in beta. It’s public API may change or be removed in future releases.Declaration
Swift
public enum BTPageType : String -
Declaration
Swift
public enum BTShopperInsightsError : Int, Error, CustomNSError, LocalizedError, Equatable
View on GitHub
Enumerations Reference