BTLocalPaymentRequest
@objcMembers
public class BTLocalPaymentRequest : NSObject
Used to initialize a local payment flow
-
The type of payment.
Declaration
Swift
public var paymentType: String?
-
The country code of the local payment.
This value must be one of the supported country codes for a given local payment type listed at the link below. For local payments supported in multiple countries, this value may determine which banks are presented to the customer.
Declaration
Swift
public var paymentTypeCountryCode: String?
-
Optional: A non-default merchant account to use for tokenization.
Declaration
Swift
public var merchantAccountID: String?
-
Optional: The address of the customer. An error will occur if this address is not valid.
Declaration
Swift
public var address: BTPostalAddress?
-
The amount for the transaction.
Declaration
Swift
public var amount: String?
-
Optional: A valid ISO currency code to use for the transaction. Defaults to merchant currency code if not set.
Declaration
Swift
public var currencyCode: String?
-
Optional: The merchant name displayed inside of the local payment flow.
Declaration
Swift
public var displayName: String?
-
Optional: Payer email of the customer.
Declaration
Swift
public var email: String?
-
Optional: Given (first) name of the customer.
Declaration
Swift
public var givenName: String?
-
Optional: Surname (last name) of the customer.
Declaration
Swift
public var surname: String?
-
Optional: Phone number of the customer.
Declaration
Swift
public var phone: String?
-
Indicates whether or not the payment needs to be shipped. For digital goods, this should be false. Defaults to false.
Declaration
Swift
public var isShippingAddressRequired: Bool
-
Optional: Bank Identification Code of the customer (specific to iDEAL transactions).
Declaration
Swift
public var bic: String?
-
Declaration
Swift
public weak var localPaymentFlowDelegate: BTLocalPaymentRequestDelegate?