GitHub

DaffCustomerStoreCreditTestingDriver

A basic customer driver that creates mock customer results of different kinds. For testing purposes.

import { DaffCustomerStoreCreditTestingDriver } from '@daffodil/customer-store-credit/driver/testing'
@Injectable()
class DaffCustomerStoreCreditTestingDriver implements DaffCustomerStoreCreditDriverInterface {
  get(): Observable<DaffCustomerStoreCredit>
}

Properties

Name Type Description
get Observable<DaffCustomerStoreCredit>

Get the customer's store credit.