GitHub

DaffPaymentPageFacade

import { DaffPaymentPageFacade } from '@daffodil/payment/state'
@Injectable()
class DaffPaymentPageFacade implements DaffPaymentPageFacadeInterface {
  loading$: Observable<boolean>
  errors$: Observable<DaffStateError[]>
  dispatch(action: Action<string>)
}

Properties

Name Type Description
loading$ Observable<boolean>

Whether there is a pending payment operation.

errors$ Observable<DaffStateError[]>

A list of payment errors, if any.

dispatch