@Generated(value="")
public class TierPrice
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
protected java.util.Map<java.lang.String,?> |
customFields |
protected java.lang.String |
externalReferenceCode |
protected java.lang.Long |
id |
protected java.lang.Integer |
minimumQuantity |
protected java.math.BigDecimal |
price |
protected java.lang.String |
priceEntryExternalReferenceCode |
protected java.lang.Long |
priceEntryId |
protected java.math.BigDecimal |
promoPrice |
java.lang.String |
xClassName |
Constructor and Description |
---|
TierPrice() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object object) |
@Valid java.util.Map<java.lang.String,?> |
getCustomFields() |
java.lang.String |
getExternalReferenceCode() |
@DecimalMin(value="0") java.lang.Long |
getId() |
@DecimalMin(value="0") java.lang.Integer |
getMinimumQuantity() |
@DecimalMin(value="0") @Valid java.math.BigDecimal |
getPrice() |
java.lang.String |
getPriceEntryExternalReferenceCode() |
@DecimalMin(value="0") java.lang.Long |
getPriceEntryId() |
@DecimalMin(value="0") @Valid java.math.BigDecimal |
getPromoPrice() |
int |
hashCode() |
void |
setCustomFields(java.util.Map<java.lang.String,?> customFields) |
void |
setCustomFields(com.liferay.petra.function.UnsafeSupplier<java.util.Map<java.lang.String,?>,java.lang.Exception> customFieldsUnsafeSupplier) |
void |
setExternalReferenceCode(java.lang.String externalReferenceCode) |
void |
setExternalReferenceCode(com.liferay.petra.function.UnsafeSupplier<java.lang.String,java.lang.Exception> externalReferenceCodeUnsafeSupplier) |
void |
setId(java.lang.Long id) |
void |
setId(com.liferay.petra.function.UnsafeSupplier<java.lang.Long,java.lang.Exception> idUnsafeSupplier) |
void |
setMinimumQuantity(java.lang.Integer minimumQuantity) |
void |
setMinimumQuantity(com.liferay.petra.function.UnsafeSupplier<java.lang.Integer,java.lang.Exception> minimumQuantityUnsafeSupplier) |
void |
setPrice(java.math.BigDecimal price) |
void |
setPrice(com.liferay.petra.function.UnsafeSupplier<java.math.BigDecimal,java.lang.Exception> priceUnsafeSupplier) |
void |
setPriceEntryExternalReferenceCode(java.lang.String priceEntryExternalReferenceCode) |
void |
setPriceEntryExternalReferenceCode(com.liferay.petra.function.UnsafeSupplier<java.lang.String,java.lang.Exception> priceEntryExternalReferenceCodeUnsafeSupplier) |
void |
setPriceEntryId(java.lang.Long priceEntryId) |
void |
setPriceEntryId(com.liferay.petra.function.UnsafeSupplier<java.lang.Long,java.lang.Exception> priceEntryIdUnsafeSupplier) |
void |
setPromoPrice(java.math.BigDecimal promoPrice) |
void |
setPromoPrice(com.liferay.petra.function.UnsafeSupplier<java.math.BigDecimal,java.lang.Exception> promoPriceUnsafeSupplier) |
static TierPrice |
toDTO(java.lang.String json) |
java.lang.String |
toString() |
static TierPrice |
unsafeToDTO(java.lang.String json) |
protected java.util.Map<java.lang.String,?> customFields
protected java.lang.String externalReferenceCode
protected java.lang.Long id
protected java.lang.Integer minimumQuantity
protected java.math.BigDecimal price
protected java.lang.String priceEntryExternalReferenceCode
protected java.lang.Long priceEntryId
protected java.math.BigDecimal promoPrice
public java.lang.String xClassName
public static TierPrice toDTO(java.lang.String json)
public static TierPrice unsafeToDTO(java.lang.String json)
@Valid public @Valid java.util.Map<java.lang.String,?> getCustomFields()
public void setCustomFields(java.util.Map<java.lang.String,?> customFields)
public void setCustomFields(com.liferay.petra.function.UnsafeSupplier<java.util.Map<java.lang.String,?>,java.lang.Exception> customFieldsUnsafeSupplier)
public java.lang.String getExternalReferenceCode()
public void setExternalReferenceCode(java.lang.String externalReferenceCode)
public void setExternalReferenceCode(com.liferay.petra.function.UnsafeSupplier<java.lang.String,java.lang.Exception> externalReferenceCodeUnsafeSupplier)
@DecimalMin(value="0") public @DecimalMin(value="0") java.lang.Long getId()
public void setId(java.lang.Long id)
public void setId(com.liferay.petra.function.UnsafeSupplier<java.lang.Long,java.lang.Exception> idUnsafeSupplier)
@DecimalMin(value="0") public @DecimalMin(value="0") java.lang.Integer getMinimumQuantity()
public void setMinimumQuantity(java.lang.Integer minimumQuantity)
public void setMinimumQuantity(com.liferay.petra.function.UnsafeSupplier<java.lang.Integer,java.lang.Exception> minimumQuantityUnsafeSupplier)
@DecimalMin(value="0") @Valid public @DecimalMin(value="0") @Valid java.math.BigDecimal getPrice()
public void setPrice(java.math.BigDecimal price)
public void setPrice(com.liferay.petra.function.UnsafeSupplier<java.math.BigDecimal,java.lang.Exception> priceUnsafeSupplier)
public java.lang.String getPriceEntryExternalReferenceCode()
public void setPriceEntryExternalReferenceCode(java.lang.String priceEntryExternalReferenceCode)
public void setPriceEntryExternalReferenceCode(com.liferay.petra.function.UnsafeSupplier<java.lang.String,java.lang.Exception> priceEntryExternalReferenceCodeUnsafeSupplier)
@DecimalMin(value="0") public @DecimalMin(value="0") java.lang.Long getPriceEntryId()
public void setPriceEntryId(java.lang.Long priceEntryId)
public void setPriceEntryId(com.liferay.petra.function.UnsafeSupplier<java.lang.Long,java.lang.Exception> priceEntryIdUnsafeSupplier)
@DecimalMin(value="0") @Valid public @DecimalMin(value="0") @Valid java.math.BigDecimal getPromoPrice()
public void setPromoPrice(java.math.BigDecimal promoPrice)
public void setPromoPrice(com.liferay.petra.function.UnsafeSupplier<java.math.BigDecimal,java.lang.Exception> promoPriceUnsafeSupplier)
public boolean equals(java.lang.Object object)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object