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

    hashedEmail

    Optional: The customer’s email address hashed via SHA256 algorithm.

    hashedPhoneNumber

    Optional: The customer’s phone number hased via SHA256 algorithm.

    payPalAppInstalled

    Optional: Checks whether the PayPal app is installed on the device.

    venmoAppInstalled

    Optional: Checks whether the Venmo app is installed on the device.

    purchaseUnits

    Optional: The list of purchase units containing the amount and currency code.