Class CommerceDiscountWrapper
java.lang.Object
com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<CommerceDiscount>
com.liferay.commerce.discount.model.CommerceDiscountWrapper
- All Implemented Interfaces:
CommerceDiscount,CommerceDiscountModel,com.liferay.portal.kernel.model.AuditedModel,com.liferay.portal.kernel.model.BaseModel<CommerceDiscount>,com.liferay.portal.kernel.model.ClassedModel,com.liferay.portal.kernel.model.ExternalReferenceCodeModel,com.liferay.portal.kernel.model.ModelWrapper<CommerceDiscount>,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<CommerceDiscount>
public class CommerceDiscountWrapper
extends com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<CommerceDiscount>
implements CommerceDiscount, com.liferay.portal.kernel.model.ModelWrapper<CommerceDiscount>
This class is a wrapper for CommerceDiscount.
- See Also:
- Generated:
-
Field Summary
Fields inherited from class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper
modelFields inherited from interface com.liferay.commerce.discount.model.CommerceDiscount
COMMERCE_DISCOUNT_ID_ACCESSOR -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns the active of this commerce discount.longReturns the commerce discount ID of this commerce discount.longReturns the company ID of this commerce discount.Returns the coupon code of this commerce discount.Returns the create date of this commerce discount.Returns the display date of this commerce discount.Returns the expiration date of this commerce discount.Returns the external reference code of this commerce discount.Returns the last publish date of this commerce discount.getLevel()Returns the level of this commerce discount.Returns the level1 of this commerce discount.Returns the level2 of this commerce discount.Returns the level3 of this commerce discount.Returns the level4 of this commerce discount.intReturns the limitation times of this commerce discount.intReturns the limitation times per account of this commerce discount.Returns the limitation type of this commerce discount.Returns the maximum discount amount of this commerce discount.Returns the modified date of this commerce discount.longReturns the mvcc version of this commerce discount.intReturns the number of use of this commerce discount.longReturns the primary key of this commerce discount.booleanReturns the rules conjunction of this commerce discount.com.liferay.exportimport.kernel.lar.StagedModelTypeintReturns the status of this commerce discount.longReturns the status by user ID of this commerce discount.Returns the status by user name of this commerce discount.Returns the status by user uuid of this commerce discount.Returns the status date of this commerce discount.Returns the target of this commerce discount.getTitle()Returns the title of this commerce discount.booleanReturns the use coupon code of this commerce discount.booleanReturns the use percentage of this commerce discount.longReturns the user ID of this commerce discount.Returns the user name of this commerce discount.Returns the user uuid of this commerce discount.getUuid()Returns the uuid of this commerce discount.booleanisActive()Returnstrueif this commerce discount is active.booleanReturnstrueif this commerce discount is approved.booleanisDenied()Returnstrueif this commerce discount is denied.booleanisDraft()Returnstrueif this commerce discount is a draft.booleanReturnstrueif this commerce discount is expired.booleanReturnstrueif this commerce discount is inactive.booleanReturnstrueif this commerce discount is incomplete.booleanReturnstrueif this commerce discount is pending.booleanReturnstrueif this commerce discount is rules conjunction.booleanReturnstrueif this commerce discount is scheduled.booleanReturnstrueif this commerce discount is use coupon code.booleanReturnstrueif this commerce discount is use percentage.voidpersist()voidsetActive(boolean active) Sets whether this commerce discount is active.voidsetCommerceDiscountId(long commerceDiscountId) Sets the commerce discount ID of this commerce discount.voidsetCompanyId(long companyId) Sets the company ID of this commerce discount.voidsetCouponCode(String couponCode) Sets the coupon code of this commerce discount.voidsetCreateDate(Date createDate) Sets the create date of this commerce discount.voidsetDisplayDate(Date displayDate) Sets the display date of this commerce discount.voidsetExpirationDate(Date expirationDate) Sets the expiration date of this commerce discount.voidsetExternalReferenceCode(String externalReferenceCode) Sets the external reference code of this commerce discount.voidsetLastPublishDate(Date lastPublishDate) Sets the last publish date of this commerce discount.voidSets the level of this commerce discount.voidsetLevel1(BigDecimal level1) Sets the level1 of this commerce discount.voidsetLevel2(BigDecimal level2) Sets the level2 of this commerce discount.voidsetLevel3(BigDecimal level3) Sets the level3 of this commerce discount.voidsetLevel4(BigDecimal level4) Sets the level4 of this commerce discount.voidsetLimitationTimes(int limitationTimes) Sets the limitation times of this commerce discount.voidsetLimitationTimesPerAccount(int limitationTimesPerAccount) Sets the limitation times per account of this commerce discount.voidsetLimitationType(String limitationType) Sets the limitation type of this commerce discount.voidsetMaximumDiscountAmount(BigDecimal maximumDiscountAmount) Sets the maximum discount amount of this commerce discount.voidsetModelAttributes(Map<String, Object> attributes) voidsetModifiedDate(Date modifiedDate) Sets the modified date of this commerce discount.voidsetMvccVersion(long mvccVersion) Sets the mvcc version of this commerce discount.voidsetNumberOfUse(int numberOfUse) Sets the number of use of this commerce discount.voidsetPrimaryKey(long primaryKey) Sets the primary key of this commerce discount.voidsetRulesConjunction(boolean rulesConjunction) Sets whether this commerce discount is rules conjunction.voidsetStatus(int status) Sets the status of this commerce discount.voidsetStatusByUserId(long statusByUserId) Sets the status by user ID of this commerce discount.voidsetStatusByUserName(String statusByUserName) Sets the status by user name of this commerce discount.voidsetStatusByUserUuid(String statusByUserUuid) Sets the status by user uuid of this commerce discount.voidsetStatusDate(Date statusDate) Sets the status date of this commerce discount.voidSets the target of this commerce discount.voidSets the title of this commerce discount.voidsetUseCouponCode(boolean useCouponCode) Sets whether this commerce discount is use coupon code.voidsetUsePercentage(boolean usePercentage) Sets whether this commerce discount is use percentage.voidsetUserId(long userId) Sets the user ID of this commerce discount.voidsetUserName(String userName) Sets the user name of this commerce discount.voidsetUserUuid(String userUuid) Sets the user uuid of this commerce discount.voidSets the uuid of this commerce discount.protected CommerceDiscountWrapperwrap(CommerceDiscount commerceDiscount) 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, toUnescapedModelMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.liferay.portal.kernel.model.BaseModel
clone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModelMethods inherited from interface com.liferay.portal.kernel.model.ClassedModel
getModelClass, getModelClassNameMethods inherited from interface java.lang.Comparable
compareToMethods inherited from interface com.liferay.portal.kernel.model.ModelWrapper
getWrappedModelMethods inherited from interface com.liferay.portal.kernel.model.StagedModel
clone
-
Constructor Details
-
CommerceDiscountWrapper
-
-
Method Details
-
getModelAttributes
- Specified by:
getModelAttributesin interfacecom.liferay.portal.kernel.model.BaseModel<CommerceDiscount>
-
setModelAttributes
- Specified by:
setModelAttributesin interfacecom.liferay.portal.kernel.model.BaseModel<CommerceDiscount>
-
cloneWithOriginalValues
- Specified by:
cloneWithOriginalValuesin interfacecom.liferay.portal.kernel.model.BaseModel<CommerceDiscount>- Specified by:
cloneWithOriginalValuesin interfaceCommerceDiscountModel
-
getActive
public boolean getActive()Returns the active of this commerce discount.- Specified by:
getActivein interfaceCommerceDiscountModel- Returns:
- the active of this commerce discount
-
getCommerceDiscountCommerceAccountGroupRels
- Specified by:
getCommerceDiscountCommerceAccountGroupRelsin interfaceCommerceDiscount
-
getCommerceDiscountId
public long getCommerceDiscountId()Returns the commerce discount ID of this commerce discount.- Specified by:
getCommerceDiscountIdin interfaceCommerceDiscountModel- Returns:
- the commerce discount ID of this commerce discount
-
getCompanyId
public long getCompanyId()Returns the company ID of this commerce discount.- Specified by:
getCompanyIdin interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
getCompanyIdin interfaceCommerceDiscountModel- Specified by:
getCompanyIdin interfacecom.liferay.portal.kernel.model.ShardedModel- Specified by:
getCompanyIdin interfacecom.liferay.portal.kernel.model.StagedModel- Returns:
- the company ID of this commerce discount
-
getCouponCode
Returns the coupon code of this commerce discount.- Specified by:
getCouponCodein interfaceCommerceDiscountModel- Returns:
- the coupon code of this commerce discount
-
getCreateDate
Returns the create date of this commerce discount.- Specified by:
getCreateDatein interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
getCreateDatein interfaceCommerceDiscountModel- Specified by:
getCreateDatein interfacecom.liferay.portal.kernel.model.StagedModel- Returns:
- the create date of this commerce discount
-
getDisplayDate
Returns the display date of this commerce discount.- Specified by:
getDisplayDatein interfaceCommerceDiscountModel- Returns:
- the display date of this commerce discount
-
getExpirationDate
Returns the expiration date of this commerce discount.- Specified by:
getExpirationDatein interfaceCommerceDiscountModel- Returns:
- the expiration date of this commerce discount
-
getExternalReferenceCode
Returns the external reference code of this commerce discount.- Specified by:
getExternalReferenceCodein interfaceCommerceDiscountModel- Specified by:
getExternalReferenceCodein interfacecom.liferay.portal.kernel.model.ExternalReferenceCodeModel- Returns:
- the external reference code of this commerce discount
-
getLastPublishDate
Returns the last publish date of this commerce discount.- Specified by:
getLastPublishDatein interfaceCommerceDiscountModel- Returns:
- the last publish date of this commerce discount
-
getLevel
Returns the level of this commerce discount.- Specified by:
getLevelin interfaceCommerceDiscountModel- Returns:
- the level of this commerce discount
-
getLevel1
Returns the level1 of this commerce discount.- Specified by:
getLevel1in interfaceCommerceDiscountModel- Returns:
- the level1 of this commerce discount
-
getLevel2
Returns the level2 of this commerce discount.- Specified by:
getLevel2in interfaceCommerceDiscountModel- Returns:
- the level2 of this commerce discount
-
getLevel3
Returns the level3 of this commerce discount.- Specified by:
getLevel3in interfaceCommerceDiscountModel- Returns:
- the level3 of this commerce discount
-
getLevel4
Returns the level4 of this commerce discount.- Specified by:
getLevel4in interfaceCommerceDiscountModel- Returns:
- the level4 of this commerce discount
-
getLimitationTimes
public int getLimitationTimes()Returns the limitation times of this commerce discount.- Specified by:
getLimitationTimesin interfaceCommerceDiscountModel- Returns:
- the limitation times of this commerce discount
-
getLimitationTimesPerAccount
public int getLimitationTimesPerAccount()Returns the limitation times per account of this commerce discount.- Specified by:
getLimitationTimesPerAccountin interfaceCommerceDiscountModel- Returns:
- the limitation times per account of this commerce discount
-
getLimitationType
Returns the limitation type of this commerce discount.- Specified by:
getLimitationTypein interfaceCommerceDiscountModel- Returns:
- the limitation type of this commerce discount
-
getMaximumDiscountAmount
Returns the maximum discount amount of this commerce discount.- Specified by:
getMaximumDiscountAmountin interfaceCommerceDiscountModel- Returns:
- the maximum discount amount of this commerce discount
-
getModifiedDate
Returns the modified date of this commerce discount.- Specified by:
getModifiedDatein interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
getModifiedDatein interfaceCommerceDiscountModel- Specified by:
getModifiedDatein interfacecom.liferay.portal.kernel.model.StagedModel- Returns:
- the modified date of this commerce discount
-
getMvccVersion
public long getMvccVersion()Returns the mvcc version of this commerce discount.- Specified by:
getMvccVersionin interfaceCommerceDiscountModel- Specified by:
getMvccVersionin interfacecom.liferay.portal.kernel.model.MVCCModel- Returns:
- the mvcc version of this commerce discount
-
getNumberOfUse
public int getNumberOfUse()Returns the number of use of this commerce discount.- Specified by:
getNumberOfUsein interfaceCommerceDiscountModel- Returns:
- the number of use of this commerce discount
-
getPrimaryKey
public long getPrimaryKey()Returns the primary key of this commerce discount.- Specified by:
getPrimaryKeyin interfaceCommerceDiscountModel- Returns:
- the primary key of this commerce discount
-
getRulesConjunction
public boolean getRulesConjunction()Returns the rules conjunction of this commerce discount.- Specified by:
getRulesConjunctionin interfaceCommerceDiscountModel- Returns:
- the rules conjunction of this commerce discount
-
getStatus
public int getStatus()Returns the status of this commerce discount.- Specified by:
getStatusin interfaceCommerceDiscountModel- Specified by:
getStatusin interfacecom.liferay.portal.kernel.model.WorkflowedModel- Returns:
- the status of this commerce discount
-
getStatusByUserId
public long getStatusByUserId()Returns the status by user ID of this commerce discount.- Specified by:
getStatusByUserIdin interfaceCommerceDiscountModel- Specified by:
getStatusByUserIdin interfacecom.liferay.portal.kernel.model.WorkflowedModel- Returns:
- the status by user ID of this commerce discount
-
getStatusByUserName
Returns the status by user name of this commerce discount.- Specified by:
getStatusByUserNamein interfaceCommerceDiscountModel- Specified by:
getStatusByUserNamein interfacecom.liferay.portal.kernel.model.WorkflowedModel- Returns:
- the status by user name of this commerce discount
-
getStatusByUserUuid
Returns the status by user uuid of this commerce discount.- Specified by:
getStatusByUserUuidin interfaceCommerceDiscountModel- Specified by:
getStatusByUserUuidin interfacecom.liferay.portal.kernel.model.WorkflowedModel- Returns:
- the status by user uuid of this commerce discount
-
getStatusDate
Returns the status date of this commerce discount.- Specified by:
getStatusDatein interfaceCommerceDiscountModel- Specified by:
getStatusDatein interfacecom.liferay.portal.kernel.model.WorkflowedModel- Returns:
- the status date of this commerce discount
-
getTarget
Returns the target of this commerce discount.- Specified by:
getTargetin interfaceCommerceDiscountModel- Returns:
- the target of this commerce discount
-
getTitle
Returns the title of this commerce discount.- Specified by:
getTitlein interfaceCommerceDiscountModel- Returns:
- the title of this commerce discount
-
getUseCouponCode
public boolean getUseCouponCode()Returns the use coupon code of this commerce discount.- Specified by:
getUseCouponCodein interfaceCommerceDiscountModel- Returns:
- the use coupon code of this commerce discount
-
getUsePercentage
public boolean getUsePercentage()Returns the use percentage of this commerce discount.- Specified by:
getUsePercentagein interfaceCommerceDiscountModel- Returns:
- the use percentage of this commerce discount
-
getUserId
public long getUserId()Returns the user ID of this commerce discount.- Specified by:
getUserIdin interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
getUserIdin interfaceCommerceDiscountModel- Returns:
- the user ID of this commerce discount
-
getUserName
Returns the user name of this commerce discount.- Specified by:
getUserNamein interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
getUserNamein interfaceCommerceDiscountModel- Returns:
- the user name of this commerce discount
-
getUserUuid
Returns the user uuid of this commerce discount.- Specified by:
getUserUuidin interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
getUserUuidin interfaceCommerceDiscountModel- Returns:
- the user uuid of this commerce discount
-
getUuid
Returns the uuid of this commerce discount.- Specified by:
getUuidin interfaceCommerceDiscountModel- Specified by:
getUuidin interfacecom.liferay.portal.kernel.model.StagedModel- Returns:
- the uuid of this commerce discount
-
isActive
public boolean isActive()Returnstrueif this commerce discount is active.- Specified by:
isActivein interfaceCommerceDiscountModel- Returns:
trueif this commerce discount is active;falseotherwise
-
isApproved
public boolean isApproved()Returnstrueif this commerce discount is approved.- Specified by:
isApprovedin interfaceCommerceDiscountModel- Specified by:
isApprovedin interfacecom.liferay.portal.kernel.model.WorkflowedModel- Returns:
trueif this commerce discount is approved;falseotherwise
-
isDenied
public boolean isDenied()Returnstrueif this commerce discount is denied.- Specified by:
isDeniedin interfaceCommerceDiscountModel- Specified by:
isDeniedin interfacecom.liferay.portal.kernel.model.WorkflowedModel- Returns:
trueif this commerce discount is denied;falseotherwise
-
isDraft
public boolean isDraft()Returnstrueif this commerce discount is a draft.- Specified by:
isDraftin interfaceCommerceDiscountModel- Specified by:
isDraftin interfacecom.liferay.portal.kernel.model.WorkflowedModel- Returns:
trueif this commerce discount is a draft;falseotherwise
-
isExpired
public boolean isExpired()Returnstrueif this commerce discount is expired.- Specified by:
isExpiredin interfaceCommerceDiscountModel- Specified by:
isExpiredin interfacecom.liferay.portal.kernel.model.WorkflowedModel- Returns:
trueif this commerce discount is expired;falseotherwise
-
isInactive
public boolean isInactive()Returnstrueif this commerce discount is inactive.- Specified by:
isInactivein interfaceCommerceDiscountModel- Specified by:
isInactivein interfacecom.liferay.portal.kernel.model.WorkflowedModel- Returns:
trueif this commerce discount is inactive;falseotherwise
-
isIncomplete
public boolean isIncomplete()Returnstrueif this commerce discount is incomplete.- Specified by:
isIncompletein interfaceCommerceDiscountModel- Specified by:
isIncompletein interfacecom.liferay.portal.kernel.model.WorkflowedModel- Returns:
trueif this commerce discount is incomplete;falseotherwise
-
isPending
public boolean isPending()Returnstrueif this commerce discount is pending.- Specified by:
isPendingin interfaceCommerceDiscountModel- Specified by:
isPendingin interfacecom.liferay.portal.kernel.model.WorkflowedModel- Returns:
trueif this commerce discount is pending;falseotherwise
-
isRulesConjunction
public boolean isRulesConjunction()Returnstrueif this commerce discount is rules conjunction.- Specified by:
isRulesConjunctionin interfaceCommerceDiscountModel- Returns:
trueif this commerce discount is rules conjunction;falseotherwise
-
isScheduled
public boolean isScheduled()Returnstrueif this commerce discount is scheduled.- Specified by:
isScheduledin interfaceCommerceDiscountModel- Specified by:
isScheduledin interfacecom.liferay.portal.kernel.model.WorkflowedModel- Returns:
trueif this commerce discount is scheduled;falseotherwise
-
isUseCouponCode
public boolean isUseCouponCode()Returnstrueif this commerce discount is use coupon code.- Specified by:
isUseCouponCodein interfaceCommerceDiscountModel- Returns:
trueif this commerce discount is use coupon code;falseotherwise
-
isUsePercentage
public boolean isUsePercentage()Returnstrueif this commerce discount is use percentage.- Specified by:
isUsePercentagein interfaceCommerceDiscountModel- Returns:
trueif this commerce discount is use percentage;falseotherwise
-
persist
public void persist()- Specified by:
persistin interfacecom.liferay.portal.kernel.model.PersistedModel
-
setActive
public void setActive(boolean active) Sets whether this commerce discount is active.- Specified by:
setActivein interfaceCommerceDiscountModel- Parameters:
active- the active of this commerce discount
-
setCommerceDiscountId
public void setCommerceDiscountId(long commerceDiscountId) Sets the commerce discount ID of this commerce discount.- Specified by:
setCommerceDiscountIdin interfaceCommerceDiscountModel- Parameters:
commerceDiscountId- the commerce discount ID of this commerce discount
-
setCompanyId
public void setCompanyId(long companyId) Sets the company ID of this commerce discount.- Specified by:
setCompanyIdin interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
setCompanyIdin interfaceCommerceDiscountModel- Specified by:
setCompanyIdin interfacecom.liferay.portal.kernel.model.ShardedModel- Specified by:
setCompanyIdin interfacecom.liferay.portal.kernel.model.StagedModel- Parameters:
companyId- the company ID of this commerce discount
-
setCouponCode
Sets the coupon code of this commerce discount.- Specified by:
setCouponCodein interfaceCommerceDiscountModel- Parameters:
couponCode- the coupon code of this commerce discount
-
setCreateDate
Sets the create date of this commerce discount.- Specified by:
setCreateDatein interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
setCreateDatein interfaceCommerceDiscountModel- Specified by:
setCreateDatein interfacecom.liferay.portal.kernel.model.StagedModel- Parameters:
createDate- the create date of this commerce discount
-
setDisplayDate
Sets the display date of this commerce discount.- Specified by:
setDisplayDatein interfaceCommerceDiscountModel- Parameters:
displayDate- the display date of this commerce discount
-
setExpirationDate
Sets the expiration date of this commerce discount.- Specified by:
setExpirationDatein interfaceCommerceDiscountModel- Parameters:
expirationDate- the expiration date of this commerce discount
-
setExternalReferenceCode
Sets the external reference code of this commerce discount.- Specified by:
setExternalReferenceCodein interfaceCommerceDiscountModel- Specified by:
setExternalReferenceCodein interfacecom.liferay.portal.kernel.model.ExternalReferenceCodeModel- Parameters:
externalReferenceCode- the external reference code of this commerce discount
-
setLastPublishDate
Sets the last publish date of this commerce discount.- Specified by:
setLastPublishDatein interfaceCommerceDiscountModel- Parameters:
lastPublishDate- the last publish date of this commerce discount
-
setLevel
Sets the level of this commerce discount.- Specified by:
setLevelin interfaceCommerceDiscountModel- Parameters:
level- the level of this commerce discount
-
setLevel1
Sets the level1 of this commerce discount.- Specified by:
setLevel1in interfaceCommerceDiscountModel- Parameters:
level1- the level1 of this commerce discount
-
setLevel2
Sets the level2 of this commerce discount.- Specified by:
setLevel2in interfaceCommerceDiscountModel- Parameters:
level2- the level2 of this commerce discount
-
setLevel3
Sets the level3 of this commerce discount.- Specified by:
setLevel3in interfaceCommerceDiscountModel- Parameters:
level3- the level3 of this commerce discount
-
setLevel4
Sets the level4 of this commerce discount.- Specified by:
setLevel4in interfaceCommerceDiscountModel- Parameters:
level4- the level4 of this commerce discount
-
setLimitationTimes
public void setLimitationTimes(int limitationTimes) Sets the limitation times of this commerce discount.- Specified by:
setLimitationTimesin interfaceCommerceDiscountModel- Parameters:
limitationTimes- the limitation times of this commerce discount
-
setLimitationTimesPerAccount
public void setLimitationTimesPerAccount(int limitationTimesPerAccount) Sets the limitation times per account of this commerce discount.- Specified by:
setLimitationTimesPerAccountin interfaceCommerceDiscountModel- Parameters:
limitationTimesPerAccount- the limitation times per account of this commerce discount
-
setLimitationType
Sets the limitation type of this commerce discount.- Specified by:
setLimitationTypein interfaceCommerceDiscountModel- Parameters:
limitationType- the limitation type of this commerce discount
-
setMaximumDiscountAmount
Sets the maximum discount amount of this commerce discount.- Specified by:
setMaximumDiscountAmountin interfaceCommerceDiscountModel- Parameters:
maximumDiscountAmount- the maximum discount amount of this commerce discount
-
setModifiedDate
Sets the modified date of this commerce discount.- Specified by:
setModifiedDatein interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
setModifiedDatein interfaceCommerceDiscountModel- Specified by:
setModifiedDatein interfacecom.liferay.portal.kernel.model.StagedModel- Parameters:
modifiedDate- the modified date of this commerce discount
-
setMvccVersion
public void setMvccVersion(long mvccVersion) Sets the mvcc version of this commerce discount.- Specified by:
setMvccVersionin interfaceCommerceDiscountModel- Specified by:
setMvccVersionin interfacecom.liferay.portal.kernel.model.MVCCModel- Parameters:
mvccVersion- the mvcc version of this commerce discount
-
setNumberOfUse
public void setNumberOfUse(int numberOfUse) Sets the number of use of this commerce discount.- Specified by:
setNumberOfUsein interfaceCommerceDiscountModel- Parameters:
numberOfUse- the number of use of this commerce discount
-
setPrimaryKey
public void setPrimaryKey(long primaryKey) Sets the primary key of this commerce discount.- Specified by:
setPrimaryKeyin interfaceCommerceDiscountModel- Parameters:
primaryKey- the primary key of this commerce discount
-
setRulesConjunction
public void setRulesConjunction(boolean rulesConjunction) Sets whether this commerce discount is rules conjunction.- Specified by:
setRulesConjunctionin interfaceCommerceDiscountModel- Parameters:
rulesConjunction- the rules conjunction of this commerce discount
-
setStatus
public void setStatus(int status) Sets the status of this commerce discount.- Specified by:
setStatusin interfaceCommerceDiscountModel- Specified by:
setStatusin interfacecom.liferay.portal.kernel.model.WorkflowedModel- Parameters:
status- the status of this commerce discount
-
setStatusByUserId
public void setStatusByUserId(long statusByUserId) Sets the status by user ID of this commerce discount.- Specified by:
setStatusByUserIdin interfaceCommerceDiscountModel- Specified by:
setStatusByUserIdin interfacecom.liferay.portal.kernel.model.WorkflowedModel- Parameters:
statusByUserId- the status by user ID of this commerce discount
-
setStatusByUserName
Sets the status by user name of this commerce discount.- Specified by:
setStatusByUserNamein interfaceCommerceDiscountModel- Specified by:
setStatusByUserNamein interfacecom.liferay.portal.kernel.model.WorkflowedModel- Parameters:
statusByUserName- the status by user name of this commerce discount
-
setStatusByUserUuid
Sets the status by user uuid of this commerce discount.- Specified by:
setStatusByUserUuidin interfaceCommerceDiscountModel- Specified by:
setStatusByUserUuidin interfacecom.liferay.portal.kernel.model.WorkflowedModel- Parameters:
statusByUserUuid- the status by user uuid of this commerce discount
-
setStatusDate
Sets the status date of this commerce discount.- Specified by:
setStatusDatein interfaceCommerceDiscountModel- Specified by:
setStatusDatein interfacecom.liferay.portal.kernel.model.WorkflowedModel- Parameters:
statusDate- the status date of this commerce discount
-
setTarget
Sets the target of this commerce discount.- Specified by:
setTargetin interfaceCommerceDiscountModel- Parameters:
target- the target of this commerce discount
-
setTitle
Sets the title of this commerce discount.- Specified by:
setTitlein interfaceCommerceDiscountModel- Parameters:
title- the title of this commerce discount
-
setUseCouponCode
public void setUseCouponCode(boolean useCouponCode) Sets whether this commerce discount is use coupon code.- Specified by:
setUseCouponCodein interfaceCommerceDiscountModel- Parameters:
useCouponCode- the use coupon code of this commerce discount
-
setUsePercentage
public void setUsePercentage(boolean usePercentage) Sets whether this commerce discount is use percentage.- Specified by:
setUsePercentagein interfaceCommerceDiscountModel- Parameters:
usePercentage- the use percentage of this commerce discount
-
setUserId
public void setUserId(long userId) Sets the user ID of this commerce discount.- Specified by:
setUserIdin interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
setUserIdin interfaceCommerceDiscountModel- Parameters:
userId- the user ID of this commerce discount
-
setUserName
Sets the user name of this commerce discount.- Specified by:
setUserNamein interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
setUserNamein interfaceCommerceDiscountModel- Parameters:
userName- the user name of this commerce discount
-
setUserUuid
Sets the user uuid of this commerce discount.- Specified by:
setUserUuidin interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
setUserUuidin interfaceCommerceDiscountModel- Parameters:
userUuid- the user uuid of this commerce discount
-
setUuid
Sets the uuid of this commerce discount.- Specified by:
setUuidin interfaceCommerceDiscountModel- Specified by:
setUuidin interfacecom.liferay.portal.kernel.model.StagedModel- Parameters:
uuid- the uuid of this commerce discount
-
toXmlString
- Specified by:
toXmlStringin interfaceCommerceDiscountModel
-
getStagedModelType
public com.liferay.exportimport.kernel.lar.StagedModelType getStagedModelType()- Specified by:
getStagedModelTypein interfacecom.liferay.portal.kernel.model.StagedModel
-
wrap
- Specified by:
wrapin classcom.liferay.portal.kernel.model.wrapper.BaseModelWrapper<CommerceDiscount>
-