Class PaymentCardToken
- Namespace
- Dynamicweb.Ecommerce.Cart
- Assembly
- Dynamicweb.Ecommerce.dll
Class PaymentCardToken.
public class PaymentCardToken
- Inheritance
-
PaymentCardToken
- Inherited Members
Constructors
PaymentCardToken()
Initializes a new instance of the PaymentCardToken class.
public PaymentCardToken()
Properties
CardType
Gets or sets the card type: visa/mastercard/etc.
public string CardType { get; set; }
Property Value
CheckSum
Gets the checksum
public string CheckSum { get; }
Property Value
ExpirationMonth
Gets or sets the expiration of the credit card month
public int? ExpirationMonth { get; set; }
Property Value
- int?
ExpirationYear
Gets or sets the expiration of the credit card year
public int? ExpirationYear { get; set; }
Property Value
- int?
ID
public int ID { get; set; }
Property Value
Identifier
Gets or sets the card identifier. It will usually contain the last four digits of the card number. However, this depends on the payment provider.
public string Identifier { get; set; }
Property Value
IsDefault
Gets or sets the value determines whether this is user's default payment card.
public bool IsDefault { get; set; }
Property Value
IsNew
public bool IsNew { get; }
Property Value
Name
Gets or sets the name to identify the card.
public string Name { get; set; }
Property Value
Payment
Gets Payment provider instance.
public Payment Payment { get; }
Property Value
PaymentID
Gets or sets which configured PaymentProvider instance is used with this card.
public string PaymentID { get; set; }
Property Value
Token
Gets or sets the token issued from the payment provider to be used when processing payments with this card.
public string Token { get; set; }
Property Value
UsedDate
Gets or sets date when token was used
public DateTime UsedDate { get; set; }
Property Value
UserID
Gets the card user.
public int UserID { get; set; }