Structures
The following structures are available globally.
-
Contact information of the recipient for the order
See moreDeclaration
Swift
public struct BTContactInformation -
Declaration
Swift
public struct BTPayPalPhoneNumber : Encodable -
A recurring billing amount breakdown. This object can only used for the
See moreBTPayPalCheckoutRequestto customize how the transaction amount is broken down. IfBTAmountBreakdownis provided,itemTotalis required. Some fields are conditionally required or not accepted depending on the checkout flow (e.g., one-time vs subscription).Declaration
Swift
public struct BTAmountBreakdown : Encodable -
PayPal recurring billing cycle details.
See moreDeclaration
Swift
public struct BTPayPalBillingCycle : Encodable -
PayPal Recurring Billing Agreement pricing details.
See moreDeclaration
Swift
public struct BTPayPalBillingPricing : Encodable -
PayPal recurring billing product details.
See moreDeclaration
Swift
public struct BTPayPalRecurringBillingDetails : Encodable -
Used to initialize a
BTPayPalMessagingViewThis feature is currently only supported for buyers located in the US. For merchants domiciled outside of the US please set thebuyerCountryto display messaging to US based buyers.See moreWarning
This module is in beta. It’s public API may change or be removed in future releases.Declaration
Swift
public struct BTPayPalMessagingRequest -
A summary of the buyer’s recommended payment methods.
See moreWarning
This feature is in beta. It’s public API may change or be removed in future releases.Declaration
Swift
public struct BTShopperInsightsResult -
Buyer data required to use the Shopper Insights feature.
See moreWarning
This feature is in beta. It’s public API may change or be removed in future releases.Declaration
Swift
public struct BTShopperInsightsRequest -
Buyer’s phone number details for use with the Shopper Insights feature.
See moreWarning
This feature is in beta. It’s public API may change or be removed in future releases.Declaration
Swift
public struct Phone : Encodable -
Customer recommendations for what payment options to show.
See moreWarning
This feature is in beta. It’s public API may change or be removed in future releases.Declaration
Swift
public struct BTCustomerRecommendationsResult -
A
BTCustomerSessionRequestfor creating a customer session.See moreWarning
This feature is in beta. It’s public API may change or be removed in future releases.Declaration
Swift
public struct BTCustomerSessionRequest -
A single payment recommendation
See moreWarning
This feature is in beta. It’s public API may change or be removed in future releases.Declaration
Swift
public struct BTPaymentOptions -
Amounts of the items purchased.
See moreWarning
This feature is in beta. It’s public API may change or be removed in future releases.Declaration
Swift
public struct BTPurchaseUnit
View on GitHub
Structures Reference