GitHub

daffCustomerPaymentReducer

The reducer for the customer payment page state, see DaffCustomerPaymentReducerState.

import { daffCustomerPaymentReducer } from '@daffodil/customer-payment/state'
const daffCustomerPaymentReducer: <T extends DaffCustomerPayment<unknown> = DaffCustomerPayment<unknown>>(state: DaffOperationState, action: DaffCustomerPaymentActions<T, DaffCustomerPaymentRequest<unknown>>) => DaffOperationState