Poq.SDK.Node

Home > @poq/sdk-sfcc > PaymentMethod > (constructor)

PaymentMethod.(constructor)

Constructs a new instance of the PaymentMethod class

Signature:

constructor(params?: {
        id: string;
        cards?: Array<PaymentCardSpec>;
        description?: string;
        image?: string;
        name?: string;
        paymentProcessorId?: string;
    });

Parameters

Parameter Type Description
params { id: string; cards?: Array<PaymentCardSpec>; description?: string; image?: string; name?: string; paymentProcessorId?: string; } (Optional)