Gets or sets the credit card number for payments made by credit card.
Namespace:
Asi.iBO.FinancialsAssembly: Asi.iBO (in Asi.iBO.dll) Version: 15.1.2.0
Syntax
| C# |
|---|
public string CreditCardNumber { get; set; } |
| Visual Basic (Declaration) |
|---|
Public Property CreditCardNumber As String |
| Visual C++ |
|---|
public: property String^ CreditCardNumber { String^ get (); void set (String^ value); } |
Field Value
A valid card number, validated using the Luhn algorithm.
Remarks
When using this property, PaymentType should be set to CreditCard
and the credit card type (e.g., Visa, MasterCard, Amex, etc.) should be set in CashAccountCode.
The card number is encrypted once it is set and is available via the CreditDebitCardNumberEncrypted
property. This property will contain a masked version of the card number for payments retrieved from the database. In
other words, the unencrypted, unmasked value can only be read in the instance of the object in which it is set. It
cannot be read in another instance of this object.
If an invalid number is set, an error is generated.