Class CommerceTierPriceEntryWrapper
java.lang.Object
com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<CommerceTierPriceEntry>
com.liferay.commerce.price.list.model.CommerceTierPriceEntryWrapper
- All Implemented Interfaces:
CommerceTierPriceEntry
,CommerceTierPriceEntryModel
,com.liferay.portal.kernel.model.AuditedModel
,com.liferay.portal.kernel.model.BaseModel<CommerceTierPriceEntry>
,com.liferay.portal.kernel.model.change.tracking.CTModel<CommerceTierPriceEntry>
,com.liferay.portal.kernel.model.ClassedModel
,com.liferay.portal.kernel.model.ExternalReferenceCodeModel
,com.liferay.portal.kernel.model.ModelWrapper<CommerceTierPriceEntry>
,com.liferay.portal.kernel.model.MVCCModel
,com.liferay.portal.kernel.model.PersistedModel
,com.liferay.portal.kernel.model.ShardedModel
,com.liferay.portal.kernel.model.StagedAuditedModel
,com.liferay.portal.kernel.model.StagedModel
,com.liferay.portal.kernel.model.WorkflowedModel
,Serializable
,Cloneable
,Comparable<CommerceTierPriceEntry>
public class CommerceTierPriceEntryWrapper
extends com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<CommerceTierPriceEntry>
implements CommerceTierPriceEntry, com.liferay.portal.kernel.model.ModelWrapper<CommerceTierPriceEntry>
This class is a wrapper for CommerceTierPriceEntry
.
- See Also:
- Generated:
-
Field Summary
Fields inherited from class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper
model
Fields inherited from interface com.liferay.commerce.price.list.model.CommerceTierPriceEntry
COMMERCE_TIER_PRICE_ENTRY_ID_ACCESSOR
-
Constructor Summary
ConstructorsConstructorDescriptionCommerceTierPriceEntryWrapper
(CommerceTierPriceEntry commerceTierPriceEntry) -
Method Summary
Modifier and TypeMethodDescriptionlong
Returns the commerce price entry ID of this commerce tier price entry.long
Returns the commerce tier price entry ID of this commerce tier price entry.long
Returns the company ID of this commerce tier price entry.Returns the create date of this commerce tier price entry.long
Returns the ct collection ID of this commerce tier price entry.boolean
Returns the discount discovery of this commerce tier price entry.Returns the discount level1 of this commerce tier price entry.Returns the discount level2 of this commerce tier price entry.Returns the discount level3 of this commerce tier price entry.Returns the discount level4 of this commerce tier price entry.Returns the display date of this commerce tier price entry.Returns the expiration date of this commerce tier price entry.Returns the external reference code of this commerce tier price entry.Returns the last publish date of this commerce tier price entry.Returns the min quantity of this commerce tier price entry.Returns the modified date of this commerce tier price entry.long
Returns the mvcc version of this commerce tier price entry.getPrice()
Returns the price of this commerce tier price entry.com.liferay.commerce.currency.model.CommerceMoney
getPriceCommerceMoney
(long commerceCurrencyId) long
Returns the primary key of this commerce tier price entry.Returns the promo price of this commerce tier price entry.com.liferay.commerce.currency.model.CommerceMoney
getPromoPriceCommerceMoney
(long commerceCurrencyId) com.liferay.exportimport.kernel.lar.StagedModelType
int
Returns the status of this commerce tier price entry.long
Returns the status by user ID of this commerce tier price entry.Returns the status by user name of this commerce tier price entry.Returns the status by user uuid of this commerce tier price entry.Returns the status date of this commerce tier price entry.long
Returns the user ID of this commerce tier price entry.Returns the user name of this commerce tier price entry.Returns the user uuid of this commerce tier price entry.getUuid()
Returns the uuid of this commerce tier price entry.boolean
Returnstrue
if this commerce tier price entry is approved.boolean
isDenied()
Returnstrue
if this commerce tier price entry is denied.boolean
Returnstrue
if this commerce tier price entry is discount discovery.boolean
isDraft()
Returnstrue
if this commerce tier price entry is a draft.boolean
Returnstrue
if this commerce tier price entry is expired.boolean
Returnstrue
if this commerce tier price entry is inactive.boolean
Returnstrue
if this commerce tier price entry is incomplete.boolean
Returnstrue
if this commerce tier price entry is pending.boolean
Returnstrue
if this commerce tier price entry is scheduled.void
persist()
void
setCommercePriceEntryId
(long commercePriceEntryId) Sets the commerce price entry ID of this commerce tier price entry.void
setCommerceTierPriceEntryId
(long commerceTierPriceEntryId) Sets the commerce tier price entry ID of this commerce tier price entry.void
setCompanyId
(long companyId) Sets the company ID of this commerce tier price entry.void
setCreateDate
(Date createDate) Sets the create date of this commerce tier price entry.void
setCtCollectionId
(long ctCollectionId) Sets the ct collection ID of this commerce tier price entry.void
setDiscountDiscovery
(boolean discountDiscovery) Sets whether this commerce tier price entry is discount discovery.void
setDiscountLevel1
(BigDecimal discountLevel1) Sets the discount level1 of this commerce tier price entry.void
setDiscountLevel2
(BigDecimal discountLevel2) Sets the discount level2 of this commerce tier price entry.void
setDiscountLevel3
(BigDecimal discountLevel3) Sets the discount level3 of this commerce tier price entry.void
setDiscountLevel4
(BigDecimal discountLevel4) Sets the discount level4 of this commerce tier price entry.void
setDisplayDate
(Date displayDate) Sets the display date of this commerce tier price entry.void
setExpirationDate
(Date expirationDate) Sets the expiration date of this commerce tier price entry.void
setExternalReferenceCode
(String externalReferenceCode) Sets the external reference code of this commerce tier price entry.void
setLastPublishDate
(Date lastPublishDate) Sets the last publish date of this commerce tier price entry.void
setMinQuantity
(BigDecimal minQuantity) Sets the min quantity of this commerce tier price entry.void
setModelAttributes
(Map<String, Object> attributes) void
setModifiedDate
(Date modifiedDate) Sets the modified date of this commerce tier price entry.void
setMvccVersion
(long mvccVersion) Sets the mvcc version of this commerce tier price entry.void
setPrice
(BigDecimal price) Sets the price of this commerce tier price entry.void
setPrimaryKey
(long primaryKey) Sets the primary key of this commerce tier price entry.void
setPromoPrice
(BigDecimal promoPrice) Sets the promo price of this commerce tier price entry.void
setStatus
(int status) Sets the status of this commerce tier price entry.void
setStatusByUserId
(long statusByUserId) Sets the status by user ID of this commerce tier price entry.void
setStatusByUserName
(String statusByUserName) Sets the status by user name of this commerce tier price entry.void
setStatusByUserUuid
(String statusByUserUuid) Sets the status by user uuid of this commerce tier price entry.void
setStatusDate
(Date statusDate) Sets the status date of this commerce tier price entry.void
setUserId
(long userId) Sets the user ID of this commerce tier price entry.void
setUserName
(String userName) Sets the user name of this commerce tier price entry.void
setUserUuid
(String userUuid) Sets the user uuid of this commerce tier price entry.void
Sets the uuid of this commerce tier price entry.protected CommerceTierPriceEntryWrapper
wrap
(CommerceTierPriceEntry commerceTierPriceEntry) Methods inherited from class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper
clone, compareTo, equals, getExpandoBridge, getModelClass, getModelClassName, getPrimaryKeyObj, getWrappedModel, hashCode, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toString, toUnescapedModel
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.liferay.portal.kernel.model.BaseModel
clone, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel
Methods inherited from interface com.liferay.portal.kernel.model.ClassedModel
getModelClass, getModelClassName
Methods inherited from interface java.lang.Comparable
compareTo
Methods inherited from interface com.liferay.portal.kernel.model.ModelWrapper
getWrappedModel
Methods inherited from interface com.liferay.portal.kernel.model.StagedModel
clone
-
Constructor Details
-
CommerceTierPriceEntryWrapper
-
-
Method Details
-
getModelAttributes
- Specified by:
getModelAttributes
in interfacecom.liferay.portal.kernel.model.BaseModel<CommerceTierPriceEntry>
-
setModelAttributes
- Specified by:
setModelAttributes
in interfacecom.liferay.portal.kernel.model.BaseModel<CommerceTierPriceEntry>
-
cloneWithOriginalValues
- Specified by:
cloneWithOriginalValues
in interfacecom.liferay.portal.kernel.model.BaseModel<CommerceTierPriceEntry>
- Specified by:
cloneWithOriginalValues
in interfaceCommerceTierPriceEntryModel
-
getCommercePriceEntry
public CommercePriceEntry getCommercePriceEntry() throws com.liferay.portal.kernel.exception.PortalException- Specified by:
getCommercePriceEntry
in interfaceCommerceTierPriceEntry
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommercePriceEntryId
public long getCommercePriceEntryId()Returns the commerce price entry ID of this commerce tier price entry.- Specified by:
getCommercePriceEntryId
in interfaceCommerceTierPriceEntryModel
- Returns:
- the commerce price entry ID of this commerce tier price entry
-
getCommerceTierPriceEntryId
public long getCommerceTierPriceEntryId()Returns the commerce tier price entry ID of this commerce tier price entry.- Specified by:
getCommerceTierPriceEntryId
in interfaceCommerceTierPriceEntryModel
- Returns:
- the commerce tier price entry ID of this commerce tier price entry
-
getCompanyId
public long getCompanyId()Returns the company ID of this commerce tier price entry.- Specified by:
getCompanyId
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getCompanyId
in interfaceCommerceTierPriceEntryModel
- Specified by:
getCompanyId
in interfacecom.liferay.portal.kernel.model.ShardedModel
- Specified by:
getCompanyId
in interfacecom.liferay.portal.kernel.model.StagedModel
- Returns:
- the company ID of this commerce tier price entry
-
getCreateDate
Returns the create date of this commerce tier price entry.- Specified by:
getCreateDate
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getCreateDate
in interfaceCommerceTierPriceEntryModel
- Specified by:
getCreateDate
in interfacecom.liferay.portal.kernel.model.StagedModel
- Returns:
- the create date of this commerce tier price entry
-
getCtCollectionId
public long getCtCollectionId()Returns the ct collection ID of this commerce tier price entry.- Specified by:
getCtCollectionId
in interfaceCommerceTierPriceEntryModel
- Specified by:
getCtCollectionId
in interfacecom.liferay.portal.kernel.model.change.tracking.CTModel<CommerceTierPriceEntry>
- Returns:
- the ct collection ID of this commerce tier price entry
-
getDiscountDiscovery
public boolean getDiscountDiscovery()Returns the discount discovery of this commerce tier price entry.- Specified by:
getDiscountDiscovery
in interfaceCommerceTierPriceEntryModel
- Returns:
- the discount discovery of this commerce tier price entry
-
getDiscountLevel1
Returns the discount level1 of this commerce tier price entry.- Specified by:
getDiscountLevel1
in interfaceCommerceTierPriceEntryModel
- Returns:
- the discount level1 of this commerce tier price entry
-
getDiscountLevel2
Returns the discount level2 of this commerce tier price entry.- Specified by:
getDiscountLevel2
in interfaceCommerceTierPriceEntryModel
- Returns:
- the discount level2 of this commerce tier price entry
-
getDiscountLevel3
Returns the discount level3 of this commerce tier price entry.- Specified by:
getDiscountLevel3
in interfaceCommerceTierPriceEntryModel
- Returns:
- the discount level3 of this commerce tier price entry
-
getDiscountLevel4
Returns the discount level4 of this commerce tier price entry.- Specified by:
getDiscountLevel4
in interfaceCommerceTierPriceEntryModel
- Returns:
- the discount level4 of this commerce tier price entry
-
getDisplayDate
Returns the display date of this commerce tier price entry.- Specified by:
getDisplayDate
in interfaceCommerceTierPriceEntryModel
- Returns:
- the display date of this commerce tier price entry
-
getExpirationDate
Returns the expiration date of this commerce tier price entry.- Specified by:
getExpirationDate
in interfaceCommerceTierPriceEntryModel
- Returns:
- the expiration date of this commerce tier price entry
-
getExternalReferenceCode
Returns the external reference code of this commerce tier price entry.- Specified by:
getExternalReferenceCode
in interfaceCommerceTierPriceEntryModel
- Specified by:
getExternalReferenceCode
in interfacecom.liferay.portal.kernel.model.ExternalReferenceCodeModel
- Returns:
- the external reference code of this commerce tier price entry
-
getLastPublishDate
Returns the last publish date of this commerce tier price entry.- Specified by:
getLastPublishDate
in interfaceCommerceTierPriceEntryModel
- Returns:
- the last publish date of this commerce tier price entry
-
getMinQuantity
Returns the min quantity of this commerce tier price entry.- Specified by:
getMinQuantity
in interfaceCommerceTierPriceEntryModel
- Returns:
- the min quantity of this commerce tier price entry
-
getModifiedDate
Returns the modified date of this commerce tier price entry.- Specified by:
getModifiedDate
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getModifiedDate
in interfaceCommerceTierPriceEntryModel
- Specified by:
getModifiedDate
in interfacecom.liferay.portal.kernel.model.StagedModel
- Returns:
- the modified date of this commerce tier price entry
-
getMvccVersion
public long getMvccVersion()Returns the mvcc version of this commerce tier price entry.- Specified by:
getMvccVersion
in interfaceCommerceTierPriceEntryModel
- Specified by:
getMvccVersion
in interfacecom.liferay.portal.kernel.model.MVCCModel
- Returns:
- the mvcc version of this commerce tier price entry
-
getPrice
Returns the price of this commerce tier price entry.- Specified by:
getPrice
in interfaceCommerceTierPriceEntryModel
- Returns:
- the price of this commerce tier price entry
-
getPriceCommerceMoney
public com.liferay.commerce.currency.model.CommerceMoney getPriceCommerceMoney(long commerceCurrencyId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getPriceCommerceMoney
in interfaceCommerceTierPriceEntry
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getPrimaryKey
public long getPrimaryKey()Returns the primary key of this commerce tier price entry.- Specified by:
getPrimaryKey
in interfaceCommerceTierPriceEntryModel
- Specified by:
getPrimaryKey
in interfacecom.liferay.portal.kernel.model.change.tracking.CTModel<CommerceTierPriceEntry>
- Returns:
- the primary key of this commerce tier price entry
-
getPromoPrice
Returns the promo price of this commerce tier price entry.- Specified by:
getPromoPrice
in interfaceCommerceTierPriceEntryModel
- Returns:
- the promo price of this commerce tier price entry
-
getPromoPriceCommerceMoney
public com.liferay.commerce.currency.model.CommerceMoney getPromoPriceCommerceMoney(long commerceCurrencyId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getPromoPriceCommerceMoney
in interfaceCommerceTierPriceEntry
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getStatus
public int getStatus()Returns the status of this commerce tier price entry.- Specified by:
getStatus
in interfaceCommerceTierPriceEntryModel
- Specified by:
getStatus
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Returns:
- the status of this commerce tier price entry
-
getStatusByUserId
public long getStatusByUserId()Returns the status by user ID of this commerce tier price entry.- Specified by:
getStatusByUserId
in interfaceCommerceTierPriceEntryModel
- Specified by:
getStatusByUserId
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Returns:
- the status by user ID of this commerce tier price entry
-
getStatusByUserName
Returns the status by user name of this commerce tier price entry.- Specified by:
getStatusByUserName
in interfaceCommerceTierPriceEntryModel
- Specified by:
getStatusByUserName
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Returns:
- the status by user name of this commerce tier price entry
-
getStatusByUserUuid
Returns the status by user uuid of this commerce tier price entry.- Specified by:
getStatusByUserUuid
in interfaceCommerceTierPriceEntryModel
- Specified by:
getStatusByUserUuid
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Returns:
- the status by user uuid of this commerce tier price entry
-
getStatusDate
Returns the status date of this commerce tier price entry.- Specified by:
getStatusDate
in interfaceCommerceTierPriceEntryModel
- Specified by:
getStatusDate
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Returns:
- the status date of this commerce tier price entry
-
getUserId
public long getUserId()Returns the user ID of this commerce tier price entry.- Specified by:
getUserId
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getUserId
in interfaceCommerceTierPriceEntryModel
- Returns:
- the user ID of this commerce tier price entry
-
getUserName
Returns the user name of this commerce tier price entry.- Specified by:
getUserName
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getUserName
in interfaceCommerceTierPriceEntryModel
- Returns:
- the user name of this commerce tier price entry
-
getUserUuid
Returns the user uuid of this commerce tier price entry.- Specified by:
getUserUuid
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getUserUuid
in interfaceCommerceTierPriceEntryModel
- Returns:
- the user uuid of this commerce tier price entry
-
getUuid
Returns the uuid of this commerce tier price entry.- Specified by:
getUuid
in interfaceCommerceTierPriceEntryModel
- Specified by:
getUuid
in interfacecom.liferay.portal.kernel.model.StagedModel
- Returns:
- the uuid of this commerce tier price entry
-
isApproved
public boolean isApproved()Returnstrue
if this commerce tier price entry is approved.- Specified by:
isApproved
in interfaceCommerceTierPriceEntryModel
- Specified by:
isApproved
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Returns:
true
if this commerce tier price entry is approved;false
otherwise
-
isDenied
public boolean isDenied()Returnstrue
if this commerce tier price entry is denied.- Specified by:
isDenied
in interfaceCommerceTierPriceEntryModel
- Specified by:
isDenied
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Returns:
true
if this commerce tier price entry is denied;false
otherwise
-
isDiscountDiscovery
public boolean isDiscountDiscovery()Returnstrue
if this commerce tier price entry is discount discovery.- Specified by:
isDiscountDiscovery
in interfaceCommerceTierPriceEntryModel
- Returns:
true
if this commerce tier price entry is discount discovery;false
otherwise
-
isDraft
public boolean isDraft()Returnstrue
if this commerce tier price entry is a draft.- Specified by:
isDraft
in interfaceCommerceTierPriceEntryModel
- Specified by:
isDraft
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Returns:
true
if this commerce tier price entry is a draft;false
otherwise
-
isExpired
public boolean isExpired()Returnstrue
if this commerce tier price entry is expired.- Specified by:
isExpired
in interfaceCommerceTierPriceEntryModel
- Specified by:
isExpired
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Returns:
true
if this commerce tier price entry is expired;false
otherwise
-
isInactive
public boolean isInactive()Returnstrue
if this commerce tier price entry is inactive.- Specified by:
isInactive
in interfaceCommerceTierPriceEntryModel
- Specified by:
isInactive
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Returns:
true
if this commerce tier price entry is inactive;false
otherwise
-
isIncomplete
public boolean isIncomplete()Returnstrue
if this commerce tier price entry is incomplete.- Specified by:
isIncomplete
in interfaceCommerceTierPriceEntryModel
- Specified by:
isIncomplete
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Returns:
true
if this commerce tier price entry is incomplete;false
otherwise
-
isPending
public boolean isPending()Returnstrue
if this commerce tier price entry is pending.- Specified by:
isPending
in interfaceCommerceTierPriceEntryModel
- Specified by:
isPending
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Returns:
true
if this commerce tier price entry is pending;false
otherwise
-
isScheduled
public boolean isScheduled()Returnstrue
if this commerce tier price entry is scheduled.- Specified by:
isScheduled
in interfaceCommerceTierPriceEntryModel
- Specified by:
isScheduled
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Returns:
true
if this commerce tier price entry is scheduled;false
otherwise
-
persist
public void persist()- Specified by:
persist
in interfacecom.liferay.portal.kernel.model.PersistedModel
-
setCommercePriceEntryId
public void setCommercePriceEntryId(long commercePriceEntryId) Sets the commerce price entry ID of this commerce tier price entry.- Specified by:
setCommercePriceEntryId
in interfaceCommerceTierPriceEntryModel
- Parameters:
commercePriceEntryId
- the commerce price entry ID of this commerce tier price entry
-
setCommerceTierPriceEntryId
public void setCommerceTierPriceEntryId(long commerceTierPriceEntryId) Sets the commerce tier price entry ID of this commerce tier price entry.- Specified by:
setCommerceTierPriceEntryId
in interfaceCommerceTierPriceEntryModel
- Parameters:
commerceTierPriceEntryId
- the commerce tier price entry ID of this commerce tier price entry
-
setCompanyId
public void setCompanyId(long companyId) Sets the company ID of this commerce tier price entry.- Specified by:
setCompanyId
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setCompanyId
in interfaceCommerceTierPriceEntryModel
- Specified by:
setCompanyId
in interfacecom.liferay.portal.kernel.model.ShardedModel
- Specified by:
setCompanyId
in interfacecom.liferay.portal.kernel.model.StagedModel
- Parameters:
companyId
- the company ID of this commerce tier price entry
-
setCreateDate
Sets the create date of this commerce tier price entry.- Specified by:
setCreateDate
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setCreateDate
in interfaceCommerceTierPriceEntryModel
- Specified by:
setCreateDate
in interfacecom.liferay.portal.kernel.model.StagedModel
- Parameters:
createDate
- the create date of this commerce tier price entry
-
setCtCollectionId
public void setCtCollectionId(long ctCollectionId) Sets the ct collection ID of this commerce tier price entry.- Specified by:
setCtCollectionId
in interfaceCommerceTierPriceEntryModel
- Specified by:
setCtCollectionId
in interfacecom.liferay.portal.kernel.model.change.tracking.CTModel<CommerceTierPriceEntry>
- Parameters:
ctCollectionId
- the ct collection ID of this commerce tier price entry
-
setDiscountDiscovery
public void setDiscountDiscovery(boolean discountDiscovery) Sets whether this commerce tier price entry is discount discovery.- Specified by:
setDiscountDiscovery
in interfaceCommerceTierPriceEntryModel
- Parameters:
discountDiscovery
- the discount discovery of this commerce tier price entry
-
setDiscountLevel1
Sets the discount level1 of this commerce tier price entry.- Specified by:
setDiscountLevel1
in interfaceCommerceTierPriceEntryModel
- Parameters:
discountLevel1
- the discount level1 of this commerce tier price entry
-
setDiscountLevel2
Sets the discount level2 of this commerce tier price entry.- Specified by:
setDiscountLevel2
in interfaceCommerceTierPriceEntryModel
- Parameters:
discountLevel2
- the discount level2 of this commerce tier price entry
-
setDiscountLevel3
Sets the discount level3 of this commerce tier price entry.- Specified by:
setDiscountLevel3
in interfaceCommerceTierPriceEntryModel
- Parameters:
discountLevel3
- the discount level3 of this commerce tier price entry
-
setDiscountLevel4
Sets the discount level4 of this commerce tier price entry.- Specified by:
setDiscountLevel4
in interfaceCommerceTierPriceEntryModel
- Parameters:
discountLevel4
- the discount level4 of this commerce tier price entry
-
setDisplayDate
Sets the display date of this commerce tier price entry.- Specified by:
setDisplayDate
in interfaceCommerceTierPriceEntryModel
- Parameters:
displayDate
- the display date of this commerce tier price entry
-
setExpirationDate
Sets the expiration date of this commerce tier price entry.- Specified by:
setExpirationDate
in interfaceCommerceTierPriceEntryModel
- Parameters:
expirationDate
- the expiration date of this commerce tier price entry
-
setExternalReferenceCode
Sets the external reference code of this commerce tier price entry.- Specified by:
setExternalReferenceCode
in interfaceCommerceTierPriceEntryModel
- Specified by:
setExternalReferenceCode
in interfacecom.liferay.portal.kernel.model.ExternalReferenceCodeModel
- Parameters:
externalReferenceCode
- the external reference code of this commerce tier price entry
-
setLastPublishDate
Sets the last publish date of this commerce tier price entry.- Specified by:
setLastPublishDate
in interfaceCommerceTierPriceEntryModel
- Parameters:
lastPublishDate
- the last publish date of this commerce tier price entry
-
setMinQuantity
Sets the min quantity of this commerce tier price entry.- Specified by:
setMinQuantity
in interfaceCommerceTierPriceEntryModel
- Parameters:
minQuantity
- the min quantity of this commerce tier price entry
-
setModifiedDate
Sets the modified date of this commerce tier price entry.- Specified by:
setModifiedDate
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setModifiedDate
in interfaceCommerceTierPriceEntryModel
- Specified by:
setModifiedDate
in interfacecom.liferay.portal.kernel.model.StagedModel
- Parameters:
modifiedDate
- the modified date of this commerce tier price entry
-
setMvccVersion
public void setMvccVersion(long mvccVersion) Sets the mvcc version of this commerce tier price entry.- Specified by:
setMvccVersion
in interfaceCommerceTierPriceEntryModel
- Specified by:
setMvccVersion
in interfacecom.liferay.portal.kernel.model.MVCCModel
- Parameters:
mvccVersion
- the mvcc version of this commerce tier price entry
-
setPrice
Sets the price of this commerce tier price entry.- Specified by:
setPrice
in interfaceCommerceTierPriceEntryModel
- Parameters:
price
- the price of this commerce tier price entry
-
setPrimaryKey
public void setPrimaryKey(long primaryKey) Sets the primary key of this commerce tier price entry.- Specified by:
setPrimaryKey
in interfaceCommerceTierPriceEntryModel
- Specified by:
setPrimaryKey
in interfacecom.liferay.portal.kernel.model.change.tracking.CTModel<CommerceTierPriceEntry>
- Parameters:
primaryKey
- the primary key of this commerce tier price entry
-
setPromoPrice
Sets the promo price of this commerce tier price entry.- Specified by:
setPromoPrice
in interfaceCommerceTierPriceEntryModel
- Parameters:
promoPrice
- the promo price of this commerce tier price entry
-
setStatus
public void setStatus(int status) Sets the status of this commerce tier price entry.- Specified by:
setStatus
in interfaceCommerceTierPriceEntryModel
- Specified by:
setStatus
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Parameters:
status
- the status of this commerce tier price entry
-
setStatusByUserId
public void setStatusByUserId(long statusByUserId) Sets the status by user ID of this commerce tier price entry.- Specified by:
setStatusByUserId
in interfaceCommerceTierPriceEntryModel
- Specified by:
setStatusByUserId
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Parameters:
statusByUserId
- the status by user ID of this commerce tier price entry
-
setStatusByUserName
Sets the status by user name of this commerce tier price entry.- Specified by:
setStatusByUserName
in interfaceCommerceTierPriceEntryModel
- Specified by:
setStatusByUserName
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Parameters:
statusByUserName
- the status by user name of this commerce tier price entry
-
setStatusByUserUuid
Sets the status by user uuid of this commerce tier price entry.- Specified by:
setStatusByUserUuid
in interfaceCommerceTierPriceEntryModel
- Specified by:
setStatusByUserUuid
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Parameters:
statusByUserUuid
- the status by user uuid of this commerce tier price entry
-
setStatusDate
Sets the status date of this commerce tier price entry.- Specified by:
setStatusDate
in interfaceCommerceTierPriceEntryModel
- Specified by:
setStatusDate
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Parameters:
statusDate
- the status date of this commerce tier price entry
-
setUserId
public void setUserId(long userId) Sets the user ID of this commerce tier price entry.- Specified by:
setUserId
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setUserId
in interfaceCommerceTierPriceEntryModel
- Parameters:
userId
- the user ID of this commerce tier price entry
-
setUserName
Sets the user name of this commerce tier price entry.- Specified by:
setUserName
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setUserName
in interfaceCommerceTierPriceEntryModel
- Parameters:
userName
- the user name of this commerce tier price entry
-
setUserUuid
Sets the user uuid of this commerce tier price entry.- Specified by:
setUserUuid
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setUserUuid
in interfaceCommerceTierPriceEntryModel
- Parameters:
userUuid
- the user uuid of this commerce tier price entry
-
setUuid
Sets the uuid of this commerce tier price entry.- Specified by:
setUuid
in interfaceCommerceTierPriceEntryModel
- Specified by:
setUuid
in interfacecom.liferay.portal.kernel.model.StagedModel
- Parameters:
uuid
- the uuid of this commerce tier price entry
-
toXmlString
- Specified by:
toXmlString
in interfaceCommerceTierPriceEntryModel
-
getAttributeGetterFunctions
- Specified by:
getAttributeGetterFunctions
in interfacecom.liferay.portal.kernel.model.BaseModel<CommerceTierPriceEntry>
-
getAttributeSetterBiConsumers
- Specified by:
getAttributeSetterBiConsumers
in interfacecom.liferay.portal.kernel.model.BaseModel<CommerceTierPriceEntry>
-
getStagedModelType
public com.liferay.exportimport.kernel.lar.StagedModelType getStagedModelType()- Specified by:
getStagedModelType
in interfacecom.liferay.portal.kernel.model.StagedModel
-
wrap
- Specified by:
wrap
in classcom.liferay.portal.kernel.model.wrapper.BaseModelWrapper<CommerceTierPriceEntry>
-