MockDaffCustomerAddress
Mock class for DaffCustomerAddress
.
import { MockDaffCustomerAddress } from '@daffodil/customer/testing'
class MockDaffCustomerAddress extends MockDaffPersonalAddress implements DaffCustomerAddress {
id: faker.datatype.uuid()
defaultBilling: faker.datatype.boolean()
defaultShipping: faker.datatype.boolean()
}
Properties
Name | Type | Description |
---|---|---|
id | faker.datatype.uuid() | |
defaultBilling | faker.datatype.boolean() | |
defaultShipping | faker.datatype.boolean() |