GitHub

daffCustomerPaymentEntitiesReducer

Reducer

import { daffCustomerPaymentEntitiesReducer } from '@daffodil/customer-payment/state'

Reducer function that catches actions and changes/overwrites customer payment entities state.

Parameters

Parameterstate: DaffOperationEntityState<TPayment>
DefaultdaffCustomerPaymentEntitiesAdapter<TPayment>().getInitialState()
Description
Parameteraction: DaffCustomerPaymentActions<TPayment, TRequest>
Description