CardExpYear Property
Expiration year of the credit card specified in CardNumber .
Syntax
ANSI (Cross Platform) int GetCardExpYear();
int SetCardExpYear(int iCardExpYear); Unicode (Windows) INT GetCardExpYear();
INT SetCardExpYear(INT iCardExpYear);
@property (nonatomic,readwrite,assign,getter=cardExpYear,setter=setCardExpYear:) int cardExpYear; - (int)cardExpYear; - (void)setCardExpYear:(int)newCardExpYear;
#define PID_CARDVALIDATOR_CARDEXPYEAR 2 IPWORKS3DS_EXTERNAL void* IPWORKS3DS_CALL IPWorks3DS_CardValidator_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal); IPWORKS3DS_EXTERNAL int IPWORKS3DS_CALL IPWorks3DS_CardValidator_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);
Default Value
0
Remarks
This field contains the year portion of the expiration date of the customer's credit card. This property must be in the range 00-99, or 2000-2099. The ValidateCard method compares this property against the system time to determine if the card is expired.
Data Type
Integer