BTPayPalVaultBaseRequest
@objcMembers
open class BTPayPalVaultBaseRequest : BTPayPalRequest
Options for the PayPal Vault flow.
-
init(offerCredit:userAuthenticationEmail: enablePayPalAppSwitch: recurringBillingDetails: recurringBillingPlanType: userAction: ) Initializes a PayPal Native Vault request
Declaration
Swift
public init( offerCredit: Bool = false, userAuthenticationEmail: String? = nil, enablePayPalAppSwitch: Bool = false, recurringBillingDetails: BTPayPalRecurringBillingDetails? = nil, recurringBillingPlanType: BTPayPalRecurringBillingPlanType? = nil, userAction: BTPayPalRequestUserAction = .none )Parameters
offerCreditOptional: Offers PayPal Credit if the customer qualifies. Defaults to
false.userAuthenticationEmailOptional: User email to initiate a quicker authentication flow in cases where the user has a PayPal Account with the same email.
enablePayPalAppSwitchOptional: Used to determine if the customer will use the PayPal app switch flow. Defaults to
false.recurringBillingDetailsOptional: Recurring billing product details.
recurringBillingPlanTypeOptional: Recurring billing plan type, or charge pattern.
userActionOptional: Changes the call-to-action in the PayPal Vault flow. Defaults to
.none.
View on GitHub