GitHub

DaffCartShippingInformationServiceInterface

The interface responsible for mediating the interaction of the shipping information of a cart with a given platform.

import { DaffCartShippingInformationServiceInterface } from '@daffodil/cart/driver'
interface DaffCartShippingInformationServiceInterface<T extends DaffCart = DaffCart> {
  get: Observable<T['shipping_information']>
  update: Observable<Partial<T>>
  delete: Observable<Partial<T>>
}

Properties

Name Type Description
get Observable<T['shipping_information']>

Get the currently selected shipping method of a cart.

update Observable<Partial<T>>

Update the currently selected shipping method of a cart.

delete Observable<Partial<T>>

Remove the currently selected shipping method from a cart.