DaffPaymentReducerState
The main payment state. Contains info about the current or most recent payment operation.
import { DaffPaymentReducerState } from '@daffodil/payment/state'
interface DaffPaymentReducerState {
loading: boolean
errors: DaffStateError[]
}
Properties
Name | Type | Description |
---|---|---|
loading | boolean | Whether there is a pending payment operation. |
errors | DaffStateError[] | A list of payment errors, if any. |