LUCreditCard Class Reference
| Inherits from | LUAPIModel : NSObject | 
| Declared in | LUCreditCard.h LUCreditCard.m  | 
Overview
A user’s credit card to use for billing. Users can have any number of credit cards, but one will be
marked as promoted, which mean it will be the first card attempted when a new charge needs to be
made.
Tasks
- 
	
		
BINproperty - 
	
		
creditCardDescriptionproperty - 
	
		
creditCardIDproperty - 
	
		
cvvproperty - 
	
		
debitproperty - 
	
		
expirationMonthproperty - 
	
		
expirationYearproperty - 
	
		
last4Digitsproperty - 
	
		
numberproperty - 
	
		
postalCodeproperty - 
	
		
promotedproperty - 
	
		
typeproperty 
Properties
BIN
A string representing the BIN for the card in Braintree. This can be used to identify the origin of a specific card.
@property (nonatomic, copy, readonly) NSString *BINDiscussion
A string representing the BIN for the card in Braintree. This can be used to identify the origin of a specific card.
Declared In
LUCreditCard.hcreditCardDescription
A string that describes the credit card. Includes the card’s type and last 4 digits.
@property (nonatomic, copy, readonly) NSString *creditCardDescriptionDiscussion
A string that describes the credit card. Includes the card’s type and last 4 digits.
Declared In
LUCreditCard.hcreditCardID
The unique identifier for this credit card.
@property (nonatomic, copy, readonly) NSNumber *creditCardIDDiscussion
The unique identifier for this credit card.
Declared In
LUCreditCard.hcvv
The credit card’s CVV (card verification value).
@property (nonatomic, copy) NSString *cvvDiscussion
The credit card’s CVV (card verification value).
Declared In
LUCreditCard.hdebit
Specifies if the card is a debit card.
@property (nonatomic, assign, readonly) BOOL debitDiscussion
Specifies if the card is a debit card.
Declared In
LUCreditCard.hexpirationMonth
The card’s expiration month, as a number from 1 to 12.
@property (nonatomic, copy) NSNumber *expirationMonthDiscussion
The card’s expiration month, as a number from 1 to 12.
Declared In
LUCreditCard.hexpirationYear
The card’s expiration year as a four digit number (e.g. 2013).
@property (nonatomic, copy) NSNumber *expirationYearDiscussion
The card’s expiration year as a four digit number (e.g. 2013).
Declared In
LUCreditCard.hlast4Digits
The last 4 digits of the credit card. This is returned by the server, and does not need to be set when creating a new card.
@property (nonatomic, copy, readonly) NSString *last4DigitsDiscussion
The last 4 digits of the credit card. This is returned by the server, and does not need to be set when creating a new card.
Declared In
LUCreditCard.hnumber
The credit card number. Should be set when creating a credit card. Will be nil when retrieving cards from the server.
@property (nonatomic, copy) NSString *numberDiscussion
The credit card number. Should be set when creating a credit card. Will be nil when retrieving cards from the server.
Declared In
LUCreditCard.hpostalCode
The postal code (zip code) associated with the card.
@property (nonatomic, copy) NSString *postalCodeDiscussion
The postal code (zip code) associated with the card.
Declared In
LUCreditCard.hpromoted
Specifies if the card is currently promoted.
@property (nonatomic, assign) BOOL promotedDiscussion
Specifies if the card is currently promoted.
Declared In
LUCreditCard.htype
The credit card type (e.g. Visa, MasterCard, etc). This will be returned by the server, but is not required when creating credit cards.
@property (nonatomic, copy, readonly) NSString *typeDiscussion
The credit card type (e.g. Visa, MasterCard, etc). This will be returned by the server, but is not required when creating credit cards.
Declared In
LUCreditCard.h