DaffCustomerPaymentRequest
An payment that belongs to a DaffCustomer
import { DaffCustomerPaymentRequest } from '@daffodil/customer-payment'
interface DaffCustomerPaymentRequest<T = unknown> {
default: boolean
address: DaffCustomerAddress
nickname: string
owner: string
}
Properties
Name | Type | Description |
---|---|---|
default | boolean | Whether this payment is the customer's default payment. |
address | DaffCustomerAddress | The customer address that will be used as the billing address when this saved payment is used. |
nickname | string | A user-supplied label for the saved payment. |
owner | string | The owner of the saved payment method. Depending on the type of payment, it may be a name, email address, etc. |