import { DaffCartPaymentMethodAdd } from '@daffodil/cart/state'
This action is temporary until custom reducers can be injected by the @daffodil/paymentSource modules. Right now, the payment modules need a way to update cart state with a payment token.
todo: remove when possible.
class DaffCartPaymentMethodAdd<<T extends DaffCart = DaffCart>> implements Action {
readonly type: DaffCartPaymentActionTypes.CartPaymentMethodAddAction = DaffCartPaymentActionTypes.CartPaymentMethodAddAction
payload: T["payment"]
}