BTLocalPaymentRequest
Objective-C
@interface BTLocalPaymentRequest
: BTPaymentFlowRequest <BTPaymentFlowRequestDelegate>
Swift
class BTLocalPaymentRequest : BTPaymentFlowRequest, BTPaymentFlowRequestDelegate
Used to initialize a local payment flow
-
The type of payment.
Declaration
Objective-C
@property (nonatomic, copy, nullable) NSString *paymentType;
Swift
var paymentType: String? { get set }
-
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
Objective-C
@property (nonatomic, copy, nullable) NSString *paymentTypeCountryCode;
Swift
var paymentTypeCountryCode: String? { get set }
-
Optional: A non-default merchant account to use for tokenization.
Declaration
Objective-C
@property (nonatomic, copy, nullable) NSString *merchantAccountID;
Swift
var merchantAccountID: String? { get set }
-
Optional: The address of the customer. An error will occur if this address is not valid.
Declaration
Objective-C
@property (nonatomic, copy, nullable) BTPostalAddress *address;
Swift
@NSCopying var address: BTPostalAddress? { get set }
-
The amount for the transaction.
Declaration
Objective-C
@property (nonatomic, copy, nullable) NSString *amount;
Swift
var amount: String? { get set }
-
Optional: A valid ISO currency code to use for the transaction. Defaults to merchant currency code if not set.
Declaration
Objective-C
@property (nonatomic, copy, nullable) NSString *currencyCode;
Swift
var currencyCode: String? { get set }
-
Optional: The merchant name displayed inside of the local payment flow.
Declaration
Objective-C
@property (nonatomic, copy, nullable) NSString *displayName;
Swift
var displayName: String? { get set }
-
Optional: Payer email of the customer.
Declaration
Objective-C
@property (nonatomic, copy, nullable) NSString *email;
Swift
var email: String? { get set }
-
Optional: Given (first) name of the customer.
Declaration
Objective-C
@property (nonatomic, copy, nullable) NSString *givenName;
Swift
var givenName: String? { get set }
-
Optional: Surname (last name) of the customer.
Declaration
Objective-C
@property (nonatomic, copy, nullable) NSString *surname;
Swift
var surname: String? { get set }
-
Optional: Phone number of the customer.
Declaration
Objective-C
@property (nonatomic, copy, nullable) NSString *phone;
Swift
var phone: String? { get set }
-
Indicates whether or not the payment needs to be shipped. For digital goods, this should be false. Defaults to false.
Declaration
Objective-C
@property (nonatomic, assign, unsafe_unretained, readwrite, getter=isShippingAddressRequired) BOOL shippingAddressRequired;
Swift
var isShippingAddressRequired: Bool { get set }
-
Optional: Bank Identification Code of the customer (specific to iDEAL transactions).
Declaration
Objective-C
@property (nonatomic, copy, nullable) NSString *bic;
Swift
var bic: String? { get set }
-
A delegate for receiving information about the local payment flow.
Declaration
Objective-C
@property (nonatomic, weak, nullable) id<BTLocalPaymentRequestDelegate> localPaymentFlowDelegate;
Swift
weak var localPaymentFlowDelegate: BTLocalPaymentRequestDelegate? { get set }