GitHub

DaffTestingCartShippingAddressService

Service

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

@Injectable()
class DaffTestingCartShippingAddressService implements DaffCartShippingAddressServiceInterface {
  get(cartId: string): any
  update(
    cartId: string
    address: DaffCartAddress
  ): any
}

() Methods

get
any

Retrieve the shipping address of a cart.

Parameters
ParametercartId: string
Description
update
any

Update the shipping address of a cart.

Parameters
ParametercartId: string
Description
Parameteraddress: DaffCartAddress
Description