MockDaffProductFacade

Properties

Name Type Description
loading$ BehaviorSubject<boolean> Whether the product page is loading.
product$ BehaviorSubject<DaffProduct>
getProduct BehaviorSubject<DaffProduct> Get a product.
getPrice BehaviorSubject<number> Get the original price for a product.
hasDiscount BehaviorSubject<boolean> Whether a particular product has a discount.
getDiscountAmount BehaviorSubject<number> Get the discount amount of a product.
getDiscountedPrice BehaviorSubject<number> Get the discounted price for a product.
getDiscountPercent BehaviorSubject<number> Get the discount percent of a product.
isOutOfStock BehaviorSubject<boolean> Whether a product is out of stock.
dispatch
Graycore, LLC © 2018 - 2024. Code licensed under an MIT-style License. Documentation licensed under CC BY 4.0.