GitHub

DaffCustomer

import { DaffCustomer } from '@daffodil/customer'

A customer.

interface DaffCustomer {
  email: string
  firstName: string
  lastName: string
  isSubscribed: boolean
  addresses: DaffCustomerAddress[]
}

Properties

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.