A service for making Magento GraphQL queries for carts.
Name | Type | Description |
---|---|---|
get | Observable<DaffCartPaymentMethod > |
Get the currently applied payment method of a cart. |
remove | Observable<void> | Remove the payment method applied to a cart. |
update | Observable<Partial<DaffCart >> |
Update the payment method applied to a cart. If a billing address is provided, the driver will update that simultaneously. |
updateWithBilling | Observable<Partial<DaffCart >> |
Update the billing address and payment method applied to a cart. |