Class ProductOfferingActivationMode
java.lang.Object
ru.bitel.oss.systems.inventory.product.common.bean.ProductOfferingActivationMode
- All Implemented Interfaces:
GuiTitlable
-
Nested Class Summary
-
Constructor Summary
ConstructorDescriptionProductOfferingActivationMode
(ProductSpecActivationMode productSpecActivationMode, BigDecimal price) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder
(ProductOfferingActivationMode productOfferingActivationMode) Строка - имя объекта.int
int
getPrice()
void
setActivationPrice
(BigDecimal activationPrice) void
setPeriodAmount
(int periodAmount) void
setPeriodMode
(int periodMode) void
setPrice
(BigDecimal price) void
void
setPriceString
(String String) void
setProductSpecActivationMode
(ProductSpecActivationMode productSpecActivationMode) toString()
-
Constructor Details
-
ProductOfferingActivationMode
public ProductOfferingActivationMode() -
ProductOfferingActivationMode
public ProductOfferingActivationMode(ProductSpecActivationMode productSpecActivationMode, BigDecimal price)
-
-
Method Details
-
getProductSpecActivationMode
-
setProductSpecActivationMode
-
getActivationPrice
-
setActivationPrice
-
getPeriodMode
public int getPeriodMode() -
setPeriodMode
public void setPeriodMode(int periodMode) -
getPeriodAmount
public int getPeriodAmount() -
setPeriodAmount
public void setPeriodAmount(int periodAmount) -
getPrice
-
setPrice
-
setPriceString
-
getPriceString
-
getPricePeriodString
-
setPricePeriodString
-
toString
-
getGuiTitle
Description copied from interface:GuiTitlable
Строка - имя объекта. Скорее всего уникальная. Используется в комбобоксах, например, итд.- Specified by:
getGuiTitle
in interfaceGuiTitlable
- Returns:
- Строка - представление объекта.
-
builder
-
builder
public static ProductOfferingActivationMode.Builder builder(ProductOfferingActivationMode productOfferingActivationMode)
-