GitHub

DaffCustomerPaymentSelectors

Type

import { DaffCustomerPaymentSelectors } from '@daffodil/customer-payment/state'

Selectors for the main part of customer payment state.

interface DaffCustomerPaymentSelectors<T extends DaffCustomerPayment = DaffCustomerPayment> {
  selectPayment: (id: T["id"]) => any
  selectPayments: MemoizedSelector<DaffCustomerPaymentStateRootSlice<T>, T[]>
}

Properties

selectPayment
(id: T["id"]) => any

Selects the customer payment.

selectPayments
MemoizedSelector<DaffCustomerPaymentStateRootSlice<T>, T[]>

Selects all of the customer payment entities.