import { DaffInMemoryCartShippingAddressService } from '@daffodil/cart/driver/in-memory'
@Injectable()
class DaffInMemoryCartShippingAddressService extends DaffInMemoryDriverBase implements DaffCartShippingAddressServiceInterface {
get(cartId: string): Observable<DaffCartAddress>
update(
cartId: string
address: Partial<DaffCartAddress>
): Observable<Partial<DaffCart>>
}
Observable<DaffCartAddress>Retrieve the shipping address of a cart.
| Parameter | cartId: string |
|---|---|
| Description |
ObservableDaffCart>> Update the shipping address of a cart.
| Parameter | cartId: string |
|---|---|
| Description |
| Parameter | address: Partial<DaffCartAddress> |
|---|---|
| Description |