GitHub

DaffPaymentReducerState

import { DaffPaymentReducerState } from '@daffodil/payment/state'

The main payment state. Contains info about the current or most recent payment operation.

interface DaffPaymentReducerState {
  loading: boolean
  errors: DaffStateError[]
}

Properties

loading
boolean

Whether there is a pending payment operation.

errors
DaffStateError[]

A list of payment errors, if any.