Poq.SDK.Node

Home > @poq/sdk-sfcc > PaymentMethod

PaymentMethod class

Document representing a payment method.

Signature:

export declare class PaymentMethod extends BaseModel<PaymentMethod> 

Extends: BaseModel<PaymentMethod

Constructors

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

Properties

Property Modifiers Type Description
cards?   Array<PaymentCardSpec> (Optional) The sorted array of payment cards (included only when the system payment method is CREDIT_CARD).
description?   string (Optional) The localized description of the payment method or card.
id   string The id of the payment method or card.
image?   string (Optional) The URL to the image that represents the payment method or card.
name?   string (Optional) The localized name of the payment method or card.
paymentProcessorId?   string (Optional) The payment processor ID.