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