GitHub

DaffInMemoryCartShippingAddressService

Service

import { DaffInMemoryCartShippingAddressService } from '@daffodil/cart/driver/in-memory'

@Injectable()
class DaffInMemoryCartShippingAddressService extends DaffInMemoryDriverBase implements DaffCartShippingAddressServiceInterface {
  get(cartId: string): any
  update(
    cartId: string
    address: Partial<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: Partial<DaffCartAddress>
Description