GitHub

DaffTestingCartShippingAddressService

import { DaffTestingCartShippingAddressService } from '@daffodil/cart/driver/testing'
@Injectable()
class DaffTestingCartShippingAddressService implements DaffCartShippingAddressServiceInterface {
  get(cartId: string): Observable<DaffCartAddress>
  update(
    cartId: string
    address: DaffCartAddress
  ): Observable<Partial<DaffCart>>
}

Properties

Name Type Description
get Observable<DaffCartAddress>

Retrieve the shipping address of a cart.

update Observable<Partial<DaffCart>>

Update the shipping address of a cart.