GitHub

DaffPaymentSelectors

Selectors for the main part of payment state.

import { DaffPaymentSelectors } from '@daffodil/payment/state'
interface DaffPaymentSelectors {
  selectPaymentLoading: MemoizedSelector<DaffPaymentStateRootSlice, boolean>
  selectPaymentErrors: MemoizedSelector<DaffPaymentStateRootSlice, DaffStateError[]>
}

Properties

Name Type Description
selectPaymentLoading MemoizedSelector<DaffPaymentStateRootSlice, boolean>

Selects whether there is a pending payment operation.

selectPaymentErrors MemoizedSelector<DaffPaymentStateRootSlice, DaffStateError[]>

Selects the list of payment errors, if any.