BUYCreditCard Class Reference
Inherits from | NSObject |
---|---|
Conforms to | BUYSerializable |
Declared in | BUYCreditCard.h |
Overview
This represents raw credit card data that the user is posting. You MUST discard this object as soon as it has been posted to Shopify’s secure environment.
nameOnCard
The full name on the credit card First and Last in this format: ‘First Last’.
@property (nonatomic, copy) NSString *nameOnCard
Declared In
BUYCreditCard.h
number
The full credit card number. This should be a numerical value without spaces, dashes or any other special characters.
@property (nonatomic, copy) NSString *number
Declared In
BUYCreditCard.h
expiryMonth
The month that the credit card expires, as a numerical value (i.e. 12 for December).
@property (nonatomic, copy) NSString *expiryMonth
Declared In
BUYCreditCard.h
expiryYear
The last two digits of the year in which the credit card expires (i.e. 18 for 2018).
@property (nonatomic, copy) NSString *expiryYear
Declared In
BUYCreditCard.h