public class Pricing
extends com.google.gwt.user.client.ui.Composite
| Constructor and Description |
|---|
Pricing(AppEventBus eventBus) |
| Modifier and Type | Method and Description |
|---|---|
ProductPricing |
bind(ProductPricing pricing) |
void |
fill(Product product) |
void |
update(Pricing result)
Updates the product pricing items UI by recalculated pricing.
|
void |
updatePriceExclVat(Double price)
Updates the product's price (excl.
|
claimElement, getWidget, initializeClaimedElement, initWidget, isAttached, onAttach, onBrowserEvent, onDetach, render, render, resolvePotentialElement, setWidgetaddAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, doAttachChildren, doDetachChildren, fireEvent, getHandlerCount, getLayoutData, getParent, isOrWasAttached, onLoad, onUnload, removeFromParent, setLayoutData, sinkEvents, unsinkEventsaddStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getElement, getOffsetHeight, getOffsetWidth, getStyleElement, getStyleName, getStyleName, getStylePrimaryName, getStylePrimaryName, getTitle, isVisible, isVisible, onEnsureDebugId, removeStyleDependentName, removeStyleName, setElement, setElement, setHeight, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, setVisible, setWidth, sinkBitlessEvent, toString@Inject public Pricing(AppEventBus eventBus)
public void update(Pricing result)
result - the recalculated pricingpublic void updatePriceExclVat(@Nonnull Double price)
price - the price to be shown to userpublic ProductPricing bind(@Nullable ProductPricing pricing)
Copyright © 2023. All rights reserved.