GitHub

DaffCartPaymentUpdate

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

Triggers the update of the cart's selected payment method.

class DaffCartPaymentUpdate<<T extends DaffCart = DaffCart>>  implements Action {
  readonly type: DaffCartPaymentActionTypes.CartPaymentUpdateAction = DaffCartPaymentActionTypes.CartPaymentUpdateAction
  payload: Partial<T["payment"]>
}