CardType Property
This property specifies the type of the credit card specified in Number .
Object Oriented Interface
public function getCardType(); public function setCardType($value);
Procedural Interface
inpaypal_directpayment_get($res, 2 ); inpaypal_directpayment_set($res, 2, $value );
Default Value
0
Remarks
This property specifies the type of the credit card specified in CardNumber.
This property contains the type of the credit card (Visa, MasterCard, Amex, etc.) specified during the current transaction.
The valid card types for this property are listed below:
ccVisa (0) | Visa or Delta Card |
ccMasterCard (1) | MasterCard |
ccDiscover (2) | Discover Card |
ccAMEX (3) | American Express Card |
ccMaestro (4) | Maestro Card* |
ccSolo (5) | Solo Card* |
* Note: CurrencyCode must equal "GBP" to use this CardType. You may set the StartMonth, StartYear, and IssueNumber required for these cards via the Config method.
This property is required.
This property is not available at design time.
Data Type
Integer