DaffCustomerPaymentSelectors
Selectors for the main part of customer payment state.
import { DaffCustomerPaymentSelectors } from '@daffodil/customer-payment/state'
interface DaffCustomerPaymentSelectors<T extends DaffCustomerPayment = DaffCustomerPayment> {
selectPayment: (id: T['id']) => MemoizedSelector<DaffCustomerPaymentStateRootSlice<T>, T>
selectPayments: MemoizedSelector<DaffCustomerPaymentStateRootSlice<T>, T[]>
}
Properties
Name | Type | Description |
---|---|---|
selectPayment | (id: T['id']) => MemoizedSelector<DaffCustomerPaymentStateRootSlice<T>, T> | Selects the customer payment. |
selectPayments | MemoizedSelector<DaffCustomerPaymentStateRootSlice<T>, T[]> | Selects all of the customer payment entities. |