GitHub

DaffPaymentPageFacade

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

@Injectable()
class DaffPaymentPageFacade implements DaffPaymentPageFacadeInterface {
  loading$: Observable<boolean>
  errors$: Observable<DaffStateError[]>

  dispatch(action: Action<string>): void
}

Properties

loading$
Observable<boolean>
Default
Description

Whether there is a pending payment operation.

errors$
Observable<DaffStateError[]>
Default
Description

A list of payment errors, if any.

() Methods

dispatch
void
Parameters
Parameteraction: Action
Description