DaffPaypalFacade
import { DaffPaypalFacade } from '@daffodil/paypal/state'
@Injectable()
class DaffPaypalFacade implements DaffPaypalFacadeInterface {
paypalStartUrl$: Observable<string>
paypalEditUrl$: Observable<string>
loading$: Observable<boolean>
error$: Observable<DaffStateError>
dispatch(action: Action<string>)
}
Properties
Name | Type | Description |
---|---|---|
paypalStartUrl$ | Observable<string> | A URL for the PayPal login page. |
paypalEditUrl$ | Observable<string> | A PayPal URL that allows a customer to edit their checkout details. |
loading$ | Observable<boolean> | The loading state for retrieving a single paypal. |
error$ | Observable<DaffStateError> | Errors associated with retrieving a single paypal. |
dispatch | Dispatches the given action. |