public class PriceInfo
extends java.lang.Object
implements java.io.Serializable
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
STANDARD_CATEGORY_NAME |
| Constructor and Description |
|---|
PriceInfo(java.lang.Boolean isPremium,
Period period,
java.math.BigDecimal createPrice,
java.math.BigDecimal renewPrice,
java.math.BigDecimal restorePrice,
java.math.BigDecimal transferPrice,
java.lang.String reason) |
PriceInfo(java.lang.Boolean isPremium,
Period period,
java.math.BigDecimal createPrice,
java.math.BigDecimal renewPrice,
java.lang.String reason) |
PriceInfo(java.lang.String priceCategory,
Period period,
java.math.BigDecimal createPrice,
java.math.BigDecimal renewPrice,
java.math.BigDecimal restorePrice,
java.math.BigDecimal transferPrice,
java.lang.String reason) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getCategory() |
java.math.BigDecimal |
getCreatePrice() |
Period |
getPeriod() |
java.lang.String |
getReason() |
java.math.BigDecimal |
getRenewPrice() |
java.math.BigDecimal |
getRestorePrice() |
java.math.BigDecimal |
getTransferPrice() |
java.lang.Boolean |
isPremium() |
public static final java.lang.String STANDARD_CATEGORY_NAME
public PriceInfo(java.lang.Boolean isPremium,
Period period,
java.math.BigDecimal createPrice,
java.math.BigDecimal renewPrice,
java.lang.String reason)
isPremium - if the domain is premiumperiod - period that the prices relate tocreatePrice - create price for the domainrenewPrice - renew price for the domainreason - reason message with extra informationpublic PriceInfo(java.lang.Boolean isPremium,
Period period,
java.math.BigDecimal createPrice,
java.math.BigDecimal renewPrice,
java.math.BigDecimal restorePrice,
java.math.BigDecimal transferPrice,
java.lang.String reason)
isPremium - if the domain is premiumperiod - period that the prices relate tocreatePrice - create price for the domainrenewPrice - renew price for the domainrestorePrice - restore price for the domaintransferPrice - transfer price for the domainreason - reason message with extra informationpublic PriceInfo(java.lang.String priceCategory,
Period period,
java.math.BigDecimal createPrice,
java.math.BigDecimal renewPrice,
java.math.BigDecimal restorePrice,
java.math.BigDecimal transferPrice,
java.lang.String reason)
priceCategory - price category for the domainperiod - period that the prices relate tocreatePrice - create price for the domainrenewPrice - renew price for the domainrestorePrice - restore price for the domaintransferPrice - transfer price for the domainreason - reason message with extra informationpublic java.lang.Boolean isPremium()
public Period getPeriod()
public java.math.BigDecimal getCreatePrice()
public java.math.BigDecimal getRenewPrice()
public java.math.BigDecimal getRestorePrice()
public java.math.BigDecimal getTransferPrice()
public java.lang.String getCategory()
public java.lang.String getReason()