import { DaffCustomerPaymentPageFacade } from '@daffodil/customer-payment/state'
@Injectable()
class DaffCustomerPaymentPageFacade<<T extends DaffCustomerPaymentEntity = DaffCustomerPaymentEntity>> implements DaffCustomerPaymentPageFacadeInterface<T> {
payments$: Observable<T[]>
loadingState$: Observable<DaffCustomerPaymentReducerState['daffState']>
loading$: Observable<boolean>
resolving$: Observable<boolean>
mutating$: Observable<boolean>
errors$: Observable<DaffCustomerPaymentReducerState['daffErrors']>
hasErrors$: Observable<boolean>
getPayment(id: T["id"]): Observable<T>
dispatch(action: Action<string>): void
}
Observable| Default | – |
|---|---|
| Description | A list of all customer payment entities. |
Observable<DaffCustomerPaymentReducerState['daffState']>| Default | – |
|---|---|
| Description |
Observable| Default | – |
|---|---|
| Description |
Observable| Default | – |
|---|---|
| Description |
Observable| Default | – |
|---|---|
| Description |
Observable<DaffCustomerPaymentReducerState['daffErrors']>| Default | – |
|---|---|
| Description |
Observable| Default | – |
|---|---|
| Description |
ObservableGet a payment entity by ID.
| Parameter | id: T["id"] |
|---|---|
| Description |
void| Parameter | action: Action |
|---|---|
| Description |