import { DaffMagentoCartBillingAddressService } from '@daffodil/cart/driver/magento'
A service for making Magento GraphQL queries for carts.
@Injectable()
class DaffMagentoCartBillingAddressService implements DaffCartBillingAddressServiceInterface {
get(cartId: string): Observable<DaffCartAddress>
update(
cartId: string
address: Partial<DaffCartAddress>
): Observable<Partial<DaffCart>>
}
Observable<DaffCartAddress>
Retrieve the billing address of a cart
Parameter | cartId: string |
---|---|
Description |
Observable<Partial<DaffCart>>
Update the billing address of a cart
Parameter | cartId: string |
---|---|
Description |
Parameter | address: Partial<DaffCartAddress> |
---|---|
Description |