The interface responsible for managing the selected payment method of a cart.
Name | Type | Description |
---|---|---|
get | Observable<T['payment']> | Get the currently applied payment method of a cart. |
update | Observable<Partial<T>> | Update the payment method applied to a cart. If a billing address is provided, the driver will update that simultaneously. |
updateWithBilling | Observable<Partial<T>> | Update the billing address and payment method applied to a cart. |
remove | Observable<void> | Remove the payment method applied to a cart. |