GitHub

DaffPaymentSelectors

Type

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

Selectors for the main part of payment state.

interface DaffPaymentSelectors {
  selectPaymentLoading: MemoizedSelector<DaffPaymentStateRootSlice, boolean>
  selectPaymentErrors: MemoizedSelector<DaffPaymentStateRootSlice, DaffStateError[]>
}

Properties

selectPaymentLoading
MemoizedSelector<DaffPaymentStateRootSlice, boolean>

Selects whether there is a pending payment operation.

selectPaymentErrors
MemoizedSelector<DaffPaymentStateRootSlice, DaffStateError[]>

Selects the list of payment errors, if any.