import { DaffCartAddressServiceInterface } from '@daffodil/cart/driver'
The interface responsible for managing the address of a cart.
interface DaffCartAddressServiceInterface<T extends DaffCart = DaffCart> {
update(
cartId: T["id"]
address: Partial<T["shipping_address"]> | Partial<T["billing_address"]>
): Observable<Partial<T>>
}
Observable> Update the billing and shipping address of a cart
| Parameter | cartId: T["id"] |
|---|---|
| Description |
| Parameter | address: Partial |
|---|---|
| Description |