Inherits from LUAbstractPaymentMethod : LUAPIModel : NSObject
Declared in LUCreditCardPaymentMethod.h
LUCreditCardPaymentMethod.m

Overview

Represents a credit or debit card.

Tasks

Properties

debit

YES if this is a debit card, else NO.

@property (nonatomic, assign, readonly) BOOL debit

Discussion

YES if this is a debit card, else NO.

Declared In

LUCreditCardPaymentMethod.h

expirationMonth

The card’s expiration month, as a number from 1 to 12.

@property (nonatomic, copy) NSNumber *expirationMonth

Discussion

The card’s expiration month, as a number from 1 to 12.

Declared In

LUCreditCardPaymentMethod.h

expirationYear

The card’s expiration year as a four digit number (e.g. 2020).

@property (nonatomic, copy) NSNumber *expirationYear

Discussion

The card’s expiration year as a four digit number (e.g. 2020).

Declared In

LUCreditCardPaymentMethod.h

issuer

The card’s issuer, such as “MasterCard” or “Visa”.

@property (nonatomic, copy, readonly) NSString *issuer

Discussion

The card’s issuer, such as “MasterCard” or “Visa”.

Declared In

LUCreditCardPaymentMethod.h

last4Digits

The last 4 digits of the card’s number.

@property (nonatomic, copy, readonly) NSString *last4Digits

Discussion

The last 4 digits of the card’s number.

Declared In

LUCreditCardPaymentMethod.h