MockDaffOrderFacade

Properties

Name Type Description
loading$ BehaviorSubject<boolean>
errors$ BehaviorSubject<DaffStateError[]>
loadingState$ BehaviorSubject<DaffState>
resolving$ BehaviorSubject<boolean>
mutating$ BehaviorSubject<boolean>
hasErrors$ BehaviorSubject<boolean>
orders$ BehaviorSubject<DaffOrder[]>
orderIds$ BehaviorSubject<DaffOrder['id'][]>
orderCount$ BehaviorSubject<number>
orderEntities$ BehaviorSubject<Dictionary<DaffOrder>>
placedOrder$ BehaviorSubject<DaffOrder>
hasPlacedOrder$ BehaviorSubject<boolean>
getOrder$ BehaviorSubject<DaffOrder>
getTotals$ BehaviorSubject<DaffOrder['totals']>
getAppliedCodes$ BehaviorSubject<DaffOrder['applied_codes']>
getItems$ BehaviorSubject<DaffOrder['items']>
getBillingAddresses$ BehaviorSubject<DaffOrder['billing_addresses']>
getShippingAddresses$ BehaviorSubject<DaffOrder['shipping_addresses']>
getShipments$ BehaviorSubject<DaffOrder['shipments']>
getPayment$ BehaviorSubject<DaffOrder['payment']>
getInvoices$ BehaviorSubject<DaffOrder['invoices']>
getCredits$ BehaviorSubject<DaffOrder['credits']>
getGrandTotal$ BehaviorSubject<DaffOrderTotal> The specified order's grand total.
getSubtotal$ BehaviorSubject<DaffOrderTotal> The specified order's subtotal.
getShippingTotal$ BehaviorSubject<DaffOrderTotal> The specified order's shipping total.
getDiscountTotal$ BehaviorSubject<DaffOrderTotal> The specified order's discount total.
hasDiscount$ BehaviorSubject<boolean> Whether the specified order has a discount.
getTaxTotal$ BehaviorSubject<DaffOrderTotal> The specified order's tax total.
dispatch
Graycore, LLC © 2018 - 2024. Code licensed under an MIT-style License. Documentation licensed under CC BY 4.0.