import { daffCustomerPaymentReducer } from '@daffodil/customer-payment/state'
The reducer for the customer payment page state, see DaffCustomerPaymentReducerState.
function daffCustomerPaymentReducer<T extends DaffCustomerPayment = DaffCustomerPayment>(
state: DaffOperationState = daffCustomerPaymentInitialState
action: DaffCustomerPaymentActions<T, DaffCustomerPaymentRequest<unknown>>
): DaffCustomerPaymentReducerState
| Parameter | state: DaffOperationState |
|---|---|
| Default | daffCustomerPaymentInitialState |
| Description |
| Parameter | action: DaffCustomerPaymentActions<T, DaffCustomerPaymentRequest<unknown>> |
|---|---|
| Description |