Poq.SDK.Node

Home > @poq/sdk-sfcc > PaymentCard

PaymentCard class

Document representing a payment card.

Signature:

export declare class PaymentCard extends BaseModel<PaymentCard> 

Extends: BaseModel<PaymentCard

Constructors

Constructor Modifiers Description
(constructor)(params)   Constructs a new instance of the PaymentCard class

Properties

Property Modifiers Type Description
cardType?   string (Optional) The payment card type (for example, ‘Visa).
creditCardExpired?   boolean (Optional) A flag indicating if the credit card is expired.
creditCardToken?   string (Optional) A credit card token. If a credit card is tokenized, the token can be used to look up the credit card data at the token store.
expirationMonth?   number (Optional) The month when the payment card expires.
expirationYear?   number (Optional) The year when the payment card expires.
holder?   string (Optional) The payment card holder.
issueNumber?   string (Optional) The payment card issue number.
maskedNumber?   string (Optional) The masked credit card number.
numberLastDigits?   string (Optional) The last digits of credit card number.
validFromMonth?   number (Optional) The payment card valid from month.
validFromYear?   number (Optional) The payment card valid from year.