import { daffAuthorizeNetReducer } from '@daffodil/authorizenet/state'
function daffAuthorizeNetReducer<T extends DaffAuthorizeNetTokenRequest>(
state: DaffAuthorizeNetReducerState = daffAuthorizeNetReducerInitialState
action: DaffAuthorizeNetUpdatePaymentFailure | DaffLoadAcceptJsFailure | DaffAuthorizenetApplyPayment | ... 5 more ... | DaffPaymentGenerateTokenSuccess<...>
): DaffAuthorizeNetReducerState
| Parameter | state: DaffAuthorizeNetReducerState |
|---|---|
| Default | daffAuthorizeNetReducerInitialState |
| Description |
| Parameter | action: DaffAuthorizeNetUpdatePaymentFailure | DaffLoadAcceptJsFailure | DaffAuthorizenetApplyPayment | ... 5 more ... | DaffPaymentGenerateTokenSuccess<...> |
|---|---|
| Description |