@Generated(value="")
public class Sku
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
protected java.lang.Double |
basePrice |
protected java.lang.String |
basePriceFormatted |
protected java.lang.Double |
basePromoPrice |
protected java.lang.String |
basePromoPriceFormatted |
protected java.lang.Long |
id |
protected java.lang.String |
name |
java.lang.String |
xClassName |
Constructor and Description |
---|
Sku() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object object) |
java.lang.Double |
getBasePrice() |
java.lang.String |
getBasePriceFormatted() |
java.lang.Double |
getBasePromoPrice() |
java.lang.String |
getBasePromoPriceFormatted() |
@DecimalMin(value="0") java.lang.Long |
getId() |
java.lang.String |
getName() |
int |
hashCode() |
void |
setBasePrice(java.lang.Double basePrice) |
void |
setBasePrice(com.liferay.petra.function.UnsafeSupplier<java.lang.Double,java.lang.Exception> basePriceUnsafeSupplier) |
void |
setBasePriceFormatted(java.lang.String basePriceFormatted) |
void |
setBasePriceFormatted(com.liferay.petra.function.UnsafeSupplier<java.lang.String,java.lang.Exception> basePriceFormattedUnsafeSupplier) |
void |
setBasePromoPrice(java.lang.Double basePromoPrice) |
void |
setBasePromoPrice(com.liferay.petra.function.UnsafeSupplier<java.lang.Double,java.lang.Exception> basePromoPriceUnsafeSupplier) |
void |
setBasePromoPriceFormatted(java.lang.String basePromoPriceFormatted) |
void |
setBasePromoPriceFormatted(com.liferay.petra.function.UnsafeSupplier<java.lang.String,java.lang.Exception> basePromoPriceFormattedUnsafeSupplier) |
void |
setId(java.lang.Long id) |
void |
setId(com.liferay.petra.function.UnsafeSupplier<java.lang.Long,java.lang.Exception> idUnsafeSupplier) |
void |
setName(java.lang.String name) |
void |
setName(com.liferay.petra.function.UnsafeSupplier<java.lang.String,java.lang.Exception> nameUnsafeSupplier) |
static Sku |
toDTO(java.lang.String json) |
java.lang.String |
toString() |
static Sku |
unsafeToDTO(java.lang.String json) |
protected java.lang.Double basePrice
protected java.lang.String basePriceFormatted
protected java.lang.Double basePromoPrice
protected java.lang.String basePromoPriceFormatted
protected java.lang.Long id
protected java.lang.String name
public java.lang.String xClassName
public static Sku toDTO(java.lang.String json)
public static Sku unsafeToDTO(java.lang.String json)
public java.lang.Double getBasePrice()
public void setBasePrice(java.lang.Double basePrice)
public void setBasePrice(com.liferay.petra.function.UnsafeSupplier<java.lang.Double,java.lang.Exception> basePriceUnsafeSupplier)
public java.lang.String getBasePriceFormatted()
public void setBasePriceFormatted(java.lang.String basePriceFormatted)
public void setBasePriceFormatted(com.liferay.petra.function.UnsafeSupplier<java.lang.String,java.lang.Exception> basePriceFormattedUnsafeSupplier)
public java.lang.Double getBasePromoPrice()
public void setBasePromoPrice(java.lang.Double basePromoPrice)
public void setBasePromoPrice(com.liferay.petra.function.UnsafeSupplier<java.lang.Double,java.lang.Exception> basePromoPriceUnsafeSupplier)
public java.lang.String getBasePromoPriceFormatted()
public void setBasePromoPriceFormatted(java.lang.String basePromoPriceFormatted)
public void setBasePromoPriceFormatted(com.liferay.petra.function.UnsafeSupplier<java.lang.String,java.lang.Exception> basePromoPriceFormattedUnsafeSupplier)
@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)
public java.lang.String getName()
public void setName(java.lang.String name)
public void setName(com.liferay.petra.function.UnsafeSupplier<java.lang.String,java.lang.Exception> nameUnsafeSupplier)
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