@ProviderType public interface CommerceChannelModel extends com.liferay.portal.kernel.model.AuditedModel, com.liferay.portal.kernel.model.BaseModel<CommerceChannel>, com.liferay.portal.kernel.model.MVCCModel, com.liferay.portal.kernel.model.ShardedModel
This interface and its corresponding implementation com.liferay.commerce.product.model.impl.CommerceChannelModelImpl
exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in com.liferay.commerce.product.model.impl.CommerceChannelImpl
.
CommerceChannel
Modifier and Type | Method and Description |
---|---|
CommerceChannel |
cloneWithOriginalValues() |
long |
getCommerceChannelId()
Returns the commerce channel ID of this commerce channel.
|
java.lang.String |
getCommerceCurrencyCode()
Returns the commerce currency code of this commerce channel.
|
long |
getCompanyId()
Returns the company ID of this commerce channel.
|
java.util.Date |
getCreateDate()
Returns the create date of this commerce channel.
|
boolean |
getDiscountsTargetNetPrice()
Returns the discounts target net price of this commerce channel.
|
java.lang.String |
getExternalReferenceCode()
Returns the external reference code of this commerce channel.
|
java.util.Date |
getModifiedDate()
Returns the modified date of this commerce channel.
|
long |
getMvccVersion()
Returns the mvcc version of this commerce channel.
|
java.lang.String |
getName()
Returns the name of this commerce channel.
|
java.lang.String |
getPriceDisplayType()
Returns the price display type of this commerce channel.
|
long |
getPrimaryKey()
Returns the primary key of this commerce channel.
|
long |
getSiteGroupId()
Returns the site group ID of this commerce channel.
|
java.lang.String |
getType()
Returns the type of this commerce channel.
|
java.lang.String |
getTypeSettings()
Returns the type settings of this commerce channel.
|
long |
getUserId()
Returns the user ID of this commerce channel.
|
java.lang.String |
getUserName()
Returns the user name of this commerce channel.
|
java.lang.String |
getUserUuid()
Returns the user uuid of this commerce channel.
|
boolean |
isDiscountsTargetNetPrice()
Returns
true if this commerce channel is discounts target net price. |
void |
setCommerceChannelId(long commerceChannelId)
Sets the commerce channel ID of this commerce channel.
|
void |
setCommerceCurrencyCode(java.lang.String commerceCurrencyCode)
Sets the commerce currency code of this commerce channel.
|
void |
setCompanyId(long companyId)
Sets the company ID of this commerce channel.
|
void |
setCreateDate(java.util.Date createDate)
Sets the create date of this commerce channel.
|
void |
setDiscountsTargetNetPrice(boolean discountsTargetNetPrice)
Sets whether this commerce channel is discounts target net price.
|
void |
setExternalReferenceCode(java.lang.String externalReferenceCode)
Sets the external reference code of this commerce channel.
|
void |
setModifiedDate(java.util.Date modifiedDate)
Sets the modified date of this commerce channel.
|
void |
setMvccVersion(long mvccVersion)
Sets the mvcc version of this commerce channel.
|
void |
setName(java.lang.String name)
Sets the name of this commerce channel.
|
void |
setPriceDisplayType(java.lang.String priceDisplayType)
Sets the price display type of this commerce channel.
|
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this commerce channel.
|
void |
setSiteGroupId(long siteGroupId)
Sets the site group ID of this commerce channel.
|
void |
setType(java.lang.String type)
Sets the type of this commerce channel.
|
void |
setTypeSettings(java.lang.String typeSettings)
Sets the type settings of this commerce channel.
|
void |
setUserId(long userId)
Sets the user ID of this commerce channel.
|
void |
setUserName(java.lang.String userName)
Sets the user name of this commerce channel.
|
void |
setUserUuid(java.lang.String userUuid)
Sets the user uuid of this commerce channel.
|
clone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getModelAttributes, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setModelAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel, toXmlString
long getPrimaryKey()
void setPrimaryKey(long primaryKey)
primaryKey
- the primary key of this commerce channellong getMvccVersion()
getMvccVersion
in interface com.liferay.portal.kernel.model.MVCCModel
void setMvccVersion(long mvccVersion)
setMvccVersion
in interface com.liferay.portal.kernel.model.MVCCModel
mvccVersion
- the mvcc version of this commerce channel@AutoEscape java.lang.String getExternalReferenceCode()
void setExternalReferenceCode(java.lang.String externalReferenceCode)
externalReferenceCode
- the external reference code of this commerce channellong getCommerceChannelId()
void setCommerceChannelId(long commerceChannelId)
commerceChannelId
- the commerce channel ID of this commerce channellong getCompanyId()
getCompanyId
in interface com.liferay.portal.kernel.model.AuditedModel
getCompanyId
in interface com.liferay.portal.kernel.model.ShardedModel
void setCompanyId(long companyId)
setCompanyId
in interface com.liferay.portal.kernel.model.AuditedModel
setCompanyId
in interface com.liferay.portal.kernel.model.ShardedModel
companyId
- the company ID of this commerce channellong getUserId()
getUserId
in interface com.liferay.portal.kernel.model.AuditedModel
void setUserId(long userId)
setUserId
in interface com.liferay.portal.kernel.model.AuditedModel
userId
- the user ID of this commerce channeljava.lang.String getUserUuid()
getUserUuid
in interface com.liferay.portal.kernel.model.AuditedModel
void setUserUuid(java.lang.String userUuid)
setUserUuid
in interface com.liferay.portal.kernel.model.AuditedModel
userUuid
- the user uuid of this commerce channel@AutoEscape java.lang.String getUserName()
getUserName
in interface com.liferay.portal.kernel.model.AuditedModel
void setUserName(java.lang.String userName)
setUserName
in interface com.liferay.portal.kernel.model.AuditedModel
userName
- the user name of this commerce channeljava.util.Date getCreateDate()
getCreateDate
in interface com.liferay.portal.kernel.model.AuditedModel
void setCreateDate(java.util.Date createDate)
setCreateDate
in interface com.liferay.portal.kernel.model.AuditedModel
createDate
- the create date of this commerce channeljava.util.Date getModifiedDate()
getModifiedDate
in interface com.liferay.portal.kernel.model.AuditedModel
void setModifiedDate(java.util.Date modifiedDate)
setModifiedDate
in interface com.liferay.portal.kernel.model.AuditedModel
modifiedDate
- the modified date of this commerce channellong getSiteGroupId()
void setSiteGroupId(long siteGroupId)
siteGroupId
- the site group ID of this commerce channel@AutoEscape java.lang.String getName()
void setName(java.lang.String name)
name
- the name of this commerce channel@AutoEscape java.lang.String getType()
void setType(java.lang.String type)
type
- the type of this commerce channel@AutoEscape java.lang.String getTypeSettings()
void setTypeSettings(java.lang.String typeSettings)
typeSettings
- the type settings of this commerce channel@AutoEscape java.lang.String getCommerceCurrencyCode()
void setCommerceCurrencyCode(java.lang.String commerceCurrencyCode)
commerceCurrencyCode
- the commerce currency code of this commerce channel@AutoEscape java.lang.String getPriceDisplayType()
void setPriceDisplayType(java.lang.String priceDisplayType)
priceDisplayType
- the price display type of this commerce channelboolean getDiscountsTargetNetPrice()
boolean isDiscountsTargetNetPrice()
true
if this commerce channel is discounts target net price.true
if this commerce channel is discounts target net price; false
otherwisevoid setDiscountsTargetNetPrice(boolean discountsTargetNetPrice)
discountsTargetNetPrice
- the discounts target net price of this commerce channelCommerceChannel cloneWithOriginalValues()
cloneWithOriginalValues
in interface com.liferay.portal.kernel.model.BaseModel<CommerceChannel>