BTLocalPaymentResult
Objective-C
@interface BTLocalPaymentResult : BTPaymentFlowResult
Swift
class BTLocalPaymentResult : BTPaymentFlowResult
The result of an local payment flow
-
The billing address.
Declaration
Objective-C
@property (nonatomic, strong, readonly, nullable) BTPostalAddress *billingAddress;
Swift
var billingAddress: BTPostalAddress? { get }
-
Client Metadata ID associated with this transaction.
Declaration
Objective-C
@property (nonatomic, copy, readonly, nullable) NSString *clientMetadataID;
Swift
var clientMetadataID: String? { get }
-
Payer’s email address.
Declaration
Objective-C
@property (nonatomic, copy, readonly, nullable) NSString *email;
Swift
var email: String? { get }
-
Payer’s first name.
Declaration
Objective-C
@property (nonatomic, copy, readonly, nullable) NSString *firstName;
Swift
var firstName: String? { get }
-
Payer’s last name.
Declaration
Objective-C
@property (nonatomic, copy, readonly, nullable) NSString *lastName;
Swift
var lastName: String? { get }
-
The one-time use payment method nonce.
Declaration
Objective-C
@property (nonatomic, copy, readonly) NSString *_Nonnull nonce;
Swift
var nonce: String { get }
-
Optional. Payer ID associated with this transaction.
Declaration
Objective-C
@property (nonatomic, copy, readonly, nullable) NSString *payerID;
Swift
var payerID: String? { get }
-
Payer’s phone number.
Declaration
Objective-C
@property (nonatomic, copy, readonly, nullable) NSString *phone;
Swift
var phone: String? { get }
-
The shipping address.
Declaration
Objective-C
@property (nonatomic, strong, readonly, nullable) BTPostalAddress *shippingAddress;
Swift
var shippingAddress: BTPostalAddress? { get }
-
The type of the tokenized payment.
Declaration
Objective-C
@property (nonatomic, copy, readonly) NSString *_Nonnull type;
Swift
var type: String { get }
-
-initWithNonce:
type: email: firstName: lastName: phone: billingAddress: shippingAddress: clientMetadataID: payerID: Creates a BTLocalPaymentResult.
Declaration
Objective-C
- (nonnull instancetype)initWithNonce:(nonnull NSString *)nonce type:(nonnull NSString *)type email:(nonnull NSString *)email firstName:(nonnull NSString *)firstName lastName:(nonnull NSString *)lastName phone:(nonnull NSString *)phone billingAddress:(nonnull BTPostalAddress *)billingAddress shippingAddress:(nonnull BTPostalAddress *)shippingAddress clientMetadataID:(nonnull NSString *)clientMetadataID payerID:(nonnull NSString *)payerID;
Swift
init(nonce: String, type: String, email: String, firstName: String, lastName: String, phone: String, billingAddress: BTPostalAddress, shippingAddress: BTPostalAddress, clientMetadataID: String, payerID: String)
Parameters
nonce
The one-time use payment method nonce.
type
The type of the tokenized payment.
email
Payer’s email address.
firstName
Payer’s first name.
lastName
Payer’s last name.
phone
Payer’s phone number.
billingAddress
The billing address.
shippingAddress
The shipping address.
clientMetadataID
Client Metadata ID associated with this transaction.
payerID
Payer ID associated with this transaction.