GitHub

DaffCustomer

A customer.

import { DaffCustomer } from '@daffodil/customer'
interface DaffCustomer {
  email: string
  firstName: string
  lastName: string
  isSubscribed: boolean
  addresses: DaffCustomerAddress[]
}

Properties

Name Type Description
email string

The customer's email.

firstName string

The customer's first or birth name.

lastName string

The customer's last or family name.

isSubscribed boolean

Whether the customer is subscribed to the newsletter.

addresses DaffCustomerAddress[]

A list of the customer's stored addresses.