NPIApplePayShippingInfo
Deprecated
Objective-C
@interface NPIApplePayShippingInfo : NSObject
Swift
class NPIApplePayShippingInfo : NSObject
Class used to encapsulate Apple Pay Shipping Infomation
-
The buyer’s first and last name
Declaration
Objective-C
@property (nonatomic, strong, readonly) NSPersonNameComponents *_Nonnull fullName;
Swift
var fullName: PersonNameComponents { get }
-
The buyer’s email address
Declaration
Objective-C
@property (nonatomic, strong, readonly) NSString *_Nonnull email;
Swift
var email: String { get }
-
The buyer’s telephone number
Declaration
Objective-C
@property (nonatomic, strong, readonly) CNPhoneNumber *_Nonnull phoneNumber;
Swift
var phoneNumber: CNPhoneNumber { get }
-
The buyer’s full street address, including name, street, city, state or province, postal code, and country
Declaration
Objective-C
@property (nonatomic, strong, readonly) CNPostalAddress *_Nonnull shippingAddress;
Swift
var shippingAddress: CNPostalAddress { get }
-
Declaration
Objective-C
- (instancetype _Nonnull) initWithShippingAddress:(CNPostalAddress *_Nonnull)shippingAddress fullName:(NSPersonNameComponents *_Nonnull)fullName email:(NSString *_Nonnull)email phoneNumber:(CNPhoneNumber *_Nonnull)phoneNumber;
Swift
init(shippingAddress: CNPostalAddress, fullName: PersonNameComponents, email: String, phoneNumber: CNPhoneNumber)
Parameters
shippingAddress
The buyer’s full street address, including name, street, city, state or province, postal code, and country
fullName
The buyer’s first and last name
email
The buyer’s email address
phoneNumber
The buyer’s telephone number