Home > @poq/sdk-sfcc > 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;
});
Parameter | Type | Description |
---|---|---|
params | { id: string; cards?: Array<PaymentCardSpec>; description?: string; image?: string; name?: string; paymentProcessorId?: string; } | (Optional) |