GitHub

DaffCustomerPayment

import { DaffCustomerPayment } from '@daffodil/customer-payment'

An payment that belongs to a DaffCustomer

interface DaffCustomerPayment<T = unknown> {
  default: boolean
  address: DaffPersonalAddress
  nickname: string
  createdAt: string
  owner: string
}

Properties

default
boolean

Whether this payment is the customer's default payment.

address
DaffPersonalAddress

The 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.

createdAt
string

The date at which this payment was created.

owner
string

The owner of the saved payment method. Depending on the type of payment, it may be a name, email address, etc.