GitHub

DaffCartPaymentUpdate

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

import { DaffCartPaymentUpdate } from '@daffodil/cart/state'
class DaffCartPaymentUpdate<<T extends DaffCart = DaffCart>>  implements Action {
  readonly type: DaffCartPaymentActionTypes.CartPaymentUpdateAction
  payload: Partial<T['payment']>
}

Properties

Name Type Description
type DaffCartPaymentActionTypes.CartPaymentUpdateAction
payload Partial<T['payment']>