GitHub

DaffTestingCartBillingAddressService

import { DaffTestingCartBillingAddressService } from '@daffodil/cart/driver/testing'

@Injectable()
class DaffTestingCartBillingAddressService implements DaffCartBillingAddressServiceInterface {
  get(cartId: string): Observable<DaffCartAddress>
  update(
    cartId: string
    address: DaffCartAddress
  ): Observable<Partial<DaffCart>>
}

() Methods

get
Observable<DaffCartAddress>

Retrieve the billing address of a cart

Parameters
ParametercartId: string
Description
update
Observable<Partial<DaffCart>>

Update the billing address of a cart

Parameters
ParametercartId: string
Description
Parameteraddress: DaffCartAddress
Description