The interface responsible for managing the shipping address of a cart.
import { DaffCartShippingAddressServiceInterface } from '@daffodil/cart/driver'
interface DaffCartShippingAddressServiceInterface<T extends DaffCart = DaffCart> {
get: Observable<T['shipping_address']>
update: Observable<Partial<T>>
}
Name | Type | Description |
---|---|---|
get | Observable<T['shipping_address']> | Retrieve the shipping address of a cart. |
update | Observable<Partial<T>> | Update the shipping address of a cart. |