@Generated(value="")
public class ProductChannel
extends java.lang.Object
implements java.io.Serializable
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.Long |
channelId |
protected java.lang.String |
currencyCode |
protected java.lang.String |
externalReferenceCode |
protected java.lang.Long |
id |
protected java.lang.String |
name |
protected java.lang.String |
type |
java.lang.String |
xClassName |
| Constructor and Description |
|---|
ProductChannel() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object object) |
@DecimalMin(value="0") java.lang.Long |
getChannelId() |
java.lang.String |
getCurrencyCode() |
java.lang.String |
getExternalReferenceCode() |
@DecimalMin(value="0") java.lang.Long |
getId() |
java.lang.String |
getName() |
java.lang.String |
getType() |
int |
hashCode() |
void |
setChannelId(java.lang.Long channelId) |
void |
setChannelId(com.liferay.petra.function.UnsafeSupplier<java.lang.Long,java.lang.Exception> channelIdUnsafeSupplier) |
void |
setCurrencyCode(java.lang.String currencyCode) |
void |
setCurrencyCode(com.liferay.petra.function.UnsafeSupplier<java.lang.String,java.lang.Exception> currencyCodeUnsafeSupplier) |
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 |
setName(java.lang.String name) |
void |
setName(com.liferay.petra.function.UnsafeSupplier<java.lang.String,java.lang.Exception> nameUnsafeSupplier) |
void |
setType(java.lang.String type) |
void |
setType(com.liferay.petra.function.UnsafeSupplier<java.lang.String,java.lang.Exception> typeUnsafeSupplier) |
static ProductChannel |
toDTO(java.lang.String json) |
java.lang.String |
toString() |
static ProductChannel |
unsafeToDTO(java.lang.String json) |
protected java.lang.Long channelId
protected java.lang.String currencyCode
protected java.lang.String externalReferenceCode
protected java.lang.Long id
protected java.lang.String name
protected java.lang.String type
public java.lang.String xClassName
public static ProductChannel toDTO(java.lang.String json)
public static ProductChannel unsafeToDTO(java.lang.String json)
@DecimalMin(value="0") public @DecimalMin(value="0") java.lang.Long getChannelId()
public void setChannelId(java.lang.Long channelId)
public void setChannelId(com.liferay.petra.function.UnsafeSupplier<java.lang.Long,java.lang.Exception> channelIdUnsafeSupplier)
public java.lang.String getCurrencyCode()
public void setCurrencyCode(java.lang.String currencyCode)
public void setCurrencyCode(com.liferay.petra.function.UnsafeSupplier<java.lang.String,java.lang.Exception> currencyCodeUnsafeSupplier)
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)
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 java.lang.String getType()
public void setType(java.lang.String type)
public void setType(com.liferay.petra.function.UnsafeSupplier<java.lang.String,java.lang.Exception> typeUnsafeSupplier)
public boolean equals(java.lang.Object object)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object