GitHub

DaffInMemoryCartShippingInformationService

Service

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

@Injectable()
class DaffInMemoryCartShippingInformationService extends DaffInMemoryDriverBase implements DaffCartShippingInformationServiceInterface {
  get(cartId: string): any
  update(
    cartId: string
    info: Partial<DaffCartShippingRate>
  ): any
  delete(cartId: string): any
}

() Methods

get
any

Get the currently selected shipping method of a cart.

Parameters
ParametercartId: string
Description
update
any

Update the currently selected shipping method of a cart.

Parameters
ParametercartId: string
Description
Parameterinfo: Partial<DaffCartShippingRate>
Description
delete
any

Remove the currently selected shipping method from a cart.

Parameters
ParametercartId: string
Description