PayPalCard Type
Use this type to define the customer's credit card information.
Remarks
The customer's credit card information is described by this type.
Example: Setting the fields:
PayPalCard card = new PayPalCard(); card.Number = "4444333322221111"; card.ExpMonth = 12; card.ExpYear = 2010; card.CVV = "123"; DirectPayment1.Card = card;Example: Using the Constructors:
DirectPayment1.Card = new PayPalCard(CardTypes.ccVisa, "4444333322221111", 12, 2010, "123");
Fields
CardType TibpCardTypes |
This property specifies the type of the credit card specified in Number. 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:
* 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. | ||||||||||||
CVV String |
Three digit security code on back of card (optional). This alphanumeric field contains the three digit Visa "Card Verification Value" (CVV), MasterCard "Card Verification Code" (CVC), or four-digit American Express "Card Identification Number" (CID). This value appears as additional characters embossed on the card signature line following the credit card account number on the back of the credit card. This is an optional field which can be used to determine if the customer is actually in possession of the credit card. Even if the CVV data is incorrect, the transaction may still be authorized. It is up to the merchant to examine the field and decide whether to honor the transaction or not. Character length and limitations: Up to four single-byte numeric characters. This property is optional. | ||||||||||||
ExpMonth Integer |
This field contains the expiration month of the customer's credit card. The valid range for this property is between 1 and 12. This property is required. | ||||||||||||
ExpYear Integer |
This field contains the 4 digit expiration year of the customer's credit card. This property is required. | ||||||||||||
Number String |
This field contains the customer's credit card number for this transaction. Character length and limitations: numeric characters only - no spaces, dashes or punctuation. Must conform with modulo and length required by each credit card type. This property is required. |
Constructors
constructor Create();
constructor Create(valCardType: TibpCardTypes; valNumber: String; valExpMonth: Integer; valExpYear: Integer);
constructor Create(valCardType: TibpCardTypes; valNumber: String; valExpMonth: Integer; valExpYear: Integer; valCVV: String);