GitHub

DaffCartPaymentUpdateWithBilling

import { DaffCartPaymentUpdateWithBilling } from '@daffodil/cart/state'

Triggers an update of the cart's selected payment method and billing address.

class DaffCartPaymentUpdateWithBilling<<T extends DaffCart = DaffCart>>  implements Action {
  readonly type: DaffCartPaymentActionTypes.CartPaymentUpdateWithBillingAction = DaffCartPaymentActionTypes.CartPaymentUpdateWithBillingAction
  payment: Partial<T["payment"]>
  address: Partial<T["billing_address"]>
}