BTCustomerSessionRequest
public struct BTCustomerSessionRequest
A BTCustomerSessionRequestfor creating a customer session.
Warning
This feature is in beta. It’s public API may change or be removed in future releases.-
Creates a BTCustomerSessionRequest
Warning
This feature is in beta. It’s public API may change or be removed in future releases.Declaration
Swift
public init( hashedEmail: String? = nil, hashedPhoneNumber: String? = nil, payPalAppInstalled: Bool? = nil, venmoAppInstalled: Bool? = nil, purchaseUnits: [BTPurchaseUnit]? = nil )Parameters
hashedEmailOptional: The customer’s email address hashed via SHA256 algorithm.
hashedPhoneNumberOptional: The customer’s phone number hased via SHA256 algorithm.
payPalAppInstalledOptional: Checks whether the PayPal app is installed on the device.
venmoAppInstalledOptional: Checks whether the Venmo app is installed on the device.
purchaseUnitsOptional: The list of purchase units containing the amount and currency code.
View on GitHub