Interface CommerceDiscountModel

All Superinterfaces:
com.liferay.portal.kernel.model.AuditedModel, com.liferay.portal.kernel.model.BaseModel<CommerceDiscount>, com.liferay.portal.kernel.model.ClassedModel, Cloneable, Comparable<CommerceDiscount>, com.liferay.portal.kernel.model.ExternalReferenceCodeModel, com.liferay.portal.kernel.model.MVCCModel, Serializable, com.liferay.portal.kernel.model.ShardedModel, com.liferay.portal.kernel.model.StagedAuditedModel, com.liferay.portal.kernel.model.StagedModel, com.liferay.portal.kernel.model.WorkflowedModel
All Known Subinterfaces:
CommerceDiscount
All Known Implementing Classes:
CommerceDiscountWrapper

@ProviderType public interface CommerceDiscountModel extends com.liferay.portal.kernel.model.BaseModel<CommerceDiscount>, com.liferay.portal.kernel.model.ExternalReferenceCodeModel, com.liferay.portal.kernel.model.MVCCModel, com.liferay.portal.kernel.model.ShardedModel, com.liferay.portal.kernel.model.StagedAuditedModel, com.liferay.portal.kernel.model.WorkflowedModel
The base model interface for the CommerceDiscount service. Represents a row in the "CommerceDiscount" database table, with each column mapped to a property of this class.

This interface and its corresponding implementation com.liferay.commerce.discount.model.impl.CommerceDiscountModelImpl 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.discount.model.impl.CommerceDiscountImpl.

See Also:
Generated:
  • Method Summary

    Modifier and Type
    Method
    Description
     
    boolean
    Returns the active of this commerce discount.
    long
    Returns the commerce discount ID of this commerce discount.
    long
    Returns 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.
    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.
    int
    Returns the limitation times of this commerce discount.
    int
    Returns 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.
    long
    Returns the mvcc version of this commerce discount.
    int
    Returns the number of use of this commerce discount.
    long
    Returns the primary key of this commerce discount.
    boolean
    Returns the rules conjunction of this commerce discount.
    int
    Returns the status of this commerce discount.
    long
    Returns 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.
    Returns the title of this commerce discount.
    boolean
    Returns the use coupon code of this commerce discount.
    boolean
    Returns the use percentage of this commerce discount.
    long
    Returns the user ID of this commerce discount.
    Returns the user name of this commerce discount.
    Returns the user uuid of this commerce discount.
    Returns the uuid of this commerce discount.
    boolean
    Returns true if this commerce discount is active.
    boolean
    Returns true if this commerce discount is approved.
    boolean
    Returns true if this commerce discount is denied.
    boolean
    Returns true if this commerce discount is a draft.
    boolean
    Returns true if this commerce discount is expired.
    boolean
    Returns true if this commerce discount is inactive.
    boolean
    Returns true if this commerce discount is incomplete.
    boolean
    Returns true if this commerce discount is pending.
    boolean
    Returns true if this commerce discount is rules conjunction.
    boolean
    Returns true if this commerce discount is scheduled.
    boolean
    Returns true if this commerce discount is use coupon code.
    boolean
    Returns true if this commerce discount is use percentage.
    void
    setActive(boolean active)
    Sets whether this commerce discount is active.
    void
    setCommerceDiscountId(long commerceDiscountId)
    Sets the commerce discount ID of this commerce discount.
    void
    setCompanyId(long companyId)
    Sets the company ID of this commerce discount.
    void
    setCouponCode(String couponCode)
    Sets the coupon code of this commerce discount.
    void
    setCreateDate(Date createDate)
    Sets the create date of this commerce discount.
    void
    setDisplayDate(Date displayDate)
    Sets the display date of this commerce discount.
    void
    setExpirationDate(Date expirationDate)
    Sets the expiration date of this commerce discount.
    void
    setExternalReferenceCode(String externalReferenceCode)
    Sets the external reference code of this commerce discount.
    void
    setLastPublishDate(Date lastPublishDate)
    Sets the last publish date of this commerce discount.
    void
    Sets the level of this commerce discount.
    void
    Sets the level1 of this commerce discount.
    void
    Sets the level2 of this commerce discount.
    void
    Sets the level3 of this commerce discount.
    void
    Sets the level4 of this commerce discount.
    void
    setLimitationTimes(int limitationTimes)
    Sets the limitation times of this commerce discount.
    void
    setLimitationTimesPerAccount(int limitationTimesPerAccount)
    Sets the limitation times per account of this commerce discount.
    void
    setLimitationType(String limitationType)
    Sets the limitation type of this commerce discount.
    void
    setMaximumDiscountAmount(BigDecimal maximumDiscountAmount)
    Sets the maximum discount amount of this commerce discount.
    void
    setModifiedDate(Date modifiedDate)
    Sets the modified date of this commerce discount.
    void
    setMvccVersion(long mvccVersion)
    Sets the mvcc version of this commerce discount.
    void
    setNumberOfUse(int numberOfUse)
    Sets the number of use of this commerce discount.
    void
    setPrimaryKey(long primaryKey)
    Sets the primary key of this commerce discount.
    void
    setRulesConjunction(boolean rulesConjunction)
    Sets whether this commerce discount is rules conjunction.
    void
    setStatus(int status)
    Sets the status of this commerce discount.
    void
    setStatusByUserId(long statusByUserId)
    Sets the status by user ID of this commerce discount.
    void
    setStatusByUserName(String statusByUserName)
    Sets the status by user name of this commerce discount.
    void
    setStatusByUserUuid(String statusByUserUuid)
    Sets the status by user uuid of this commerce discount.
    void
    setStatusDate(Date statusDate)
    Sets the status date of this commerce discount.
    void
    setTarget(String target)
    Sets the target of this commerce discount.
    void
    Sets the title of this commerce discount.
    void
    setUseCouponCode(boolean useCouponCode)
    Sets whether this commerce discount is use coupon code.
    void
    setUsePercentage(boolean usePercentage)
    Sets whether this commerce discount is use percentage.
    void
    setUserId(long userId)
    Sets the user ID of this commerce discount.
    void
    setUserName(String userName)
    Sets the user name of this commerce discount.
    void
    setUserUuid(String userUuid)
    Sets the user uuid of this commerce discount.
    void
    Sets the uuid of this commerce discount.
    default String
     

    Methods inherited from interface com.liferay.portal.kernel.model.BaseModel

    clone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getModelAttributes, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setModelAttributes, 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.StagedModel

    clone, getStagedModelType
  • Method Details

    • getPrimaryKey

      long getPrimaryKey()
      Returns the primary key of this commerce discount.
      Returns:
      the primary key of this commerce discount
    • setPrimaryKey

      void setPrimaryKey(long primaryKey)
      Sets the primary key of this commerce discount.
      Parameters:
      primaryKey - the primary key of this commerce discount
    • getMvccVersion

      long getMvccVersion()
      Returns the mvcc version of this commerce discount.
      Specified by:
      getMvccVersion in interface com.liferay.portal.kernel.model.MVCCModel
      Returns:
      the mvcc version of this commerce discount
    • setMvccVersion

      void setMvccVersion(long mvccVersion)
      Sets the mvcc version of this commerce discount.
      Specified by:
      setMvccVersion in interface com.liferay.portal.kernel.model.MVCCModel
      Parameters:
      mvccVersion - the mvcc version of this commerce discount
    • getUuid

      @AutoEscape String getUuid()
      Returns the uuid of this commerce discount.
      Specified by:
      getUuid in interface com.liferay.portal.kernel.model.StagedModel
      Returns:
      the uuid of this commerce discount
    • setUuid

      void setUuid(String uuid)
      Sets the uuid of this commerce discount.
      Specified by:
      setUuid in interface com.liferay.portal.kernel.model.StagedModel
      Parameters:
      uuid - the uuid of this commerce discount
    • getExternalReferenceCode

      @AutoEscape String getExternalReferenceCode()
      Returns the external reference code of this commerce discount.
      Specified by:
      getExternalReferenceCode in interface com.liferay.portal.kernel.model.ExternalReferenceCodeModel
      Returns:
      the external reference code of this commerce discount
    • setExternalReferenceCode

      void setExternalReferenceCode(String externalReferenceCode)
      Sets the external reference code of this commerce discount.
      Specified by:
      setExternalReferenceCode in interface com.liferay.portal.kernel.model.ExternalReferenceCodeModel
      Parameters:
      externalReferenceCode - the external reference code of this commerce discount
    • getCommerceDiscountId

      long getCommerceDiscountId()
      Returns the commerce discount ID of this commerce discount.
      Returns:
      the commerce discount ID of this commerce discount
    • setCommerceDiscountId

      void setCommerceDiscountId(long commerceDiscountId)
      Sets the commerce discount ID of this commerce discount.
      Parameters:
      commerceDiscountId - the commerce discount ID of this commerce discount
    • getCompanyId

      long getCompanyId()
      Returns the company ID of this commerce discount.
      Specified by:
      getCompanyId in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getCompanyId in interface com.liferay.portal.kernel.model.ShardedModel
      Specified by:
      getCompanyId in interface com.liferay.portal.kernel.model.StagedModel
      Returns:
      the company ID of this commerce discount
    • setCompanyId

      void setCompanyId(long companyId)
      Sets the company ID of this commerce discount.
      Specified by:
      setCompanyId in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      setCompanyId in interface com.liferay.portal.kernel.model.ShardedModel
      Specified by:
      setCompanyId in interface com.liferay.portal.kernel.model.StagedModel
      Parameters:
      companyId - the company ID of this commerce discount
    • getUserId

      long getUserId()
      Returns the user ID of this commerce discount.
      Specified by:
      getUserId in interface com.liferay.portal.kernel.model.AuditedModel
      Returns:
      the user ID of this commerce discount
    • setUserId

      void setUserId(long userId)
      Sets the user ID of this commerce discount.
      Specified by:
      setUserId in interface com.liferay.portal.kernel.model.AuditedModel
      Parameters:
      userId - the user ID of this commerce discount
    • getUserUuid

      String getUserUuid()
      Returns the user uuid of this commerce discount.
      Specified by:
      getUserUuid in interface com.liferay.portal.kernel.model.AuditedModel
      Returns:
      the user uuid of this commerce discount
    • setUserUuid

      void setUserUuid(String userUuid)
      Sets the user uuid of this commerce discount.
      Specified by:
      setUserUuid in interface com.liferay.portal.kernel.model.AuditedModel
      Parameters:
      userUuid - the user uuid of this commerce discount
    • getUserName

      @AutoEscape String getUserName()
      Returns the user name of this commerce discount.
      Specified by:
      getUserName in interface com.liferay.portal.kernel.model.AuditedModel
      Returns:
      the user name of this commerce discount
    • setUserName

      void setUserName(String userName)
      Sets the user name of this commerce discount.
      Specified by:
      setUserName in interface com.liferay.portal.kernel.model.AuditedModel
      Parameters:
      userName - the user name of this commerce discount
    • getCreateDate

      Date getCreateDate()
      Returns the create date of this commerce discount.
      Specified by:
      getCreateDate in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getCreateDate in interface com.liferay.portal.kernel.model.StagedModel
      Returns:
      the create date of this commerce discount
    • setCreateDate

      void setCreateDate(Date createDate)
      Sets the create date of this commerce discount.
      Specified by:
      setCreateDate in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      setCreateDate in interface com.liferay.portal.kernel.model.StagedModel
      Parameters:
      createDate - the create date of this commerce discount
    • getModifiedDate

      Date getModifiedDate()
      Returns the modified date of this commerce discount.
      Specified by:
      getModifiedDate in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getModifiedDate in interface com.liferay.portal.kernel.model.StagedModel
      Returns:
      the modified date of this commerce discount
    • setModifiedDate

      void setModifiedDate(Date modifiedDate)
      Sets the modified date of this commerce discount.
      Specified by:
      setModifiedDate in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      setModifiedDate in interface com.liferay.portal.kernel.model.StagedModel
      Parameters:
      modifiedDate - the modified date of this commerce discount
    • getTitle

      @AutoEscape String getTitle()
      Returns the title of this commerce discount.
      Returns:
      the title of this commerce discount
    • setTitle

      void setTitle(String title)
      Sets the title of this commerce discount.
      Parameters:
      title - the title of this commerce discount
    • getTarget

      @AutoEscape String getTarget()
      Returns the target of this commerce discount.
      Returns:
      the target of this commerce discount
    • setTarget

      void setTarget(String target)
      Sets the target of this commerce discount.
      Parameters:
      target - the target of this commerce discount
    • getUseCouponCode

      boolean getUseCouponCode()
      Returns the use coupon code of this commerce discount.
      Returns:
      the use coupon code of this commerce discount
    • isUseCouponCode

      boolean isUseCouponCode()
      Returns true if this commerce discount is use coupon code.
      Returns:
      true if this commerce discount is use coupon code; false otherwise
    • setUseCouponCode

      void setUseCouponCode(boolean useCouponCode)
      Sets whether this commerce discount is use coupon code.
      Parameters:
      useCouponCode - the use coupon code of this commerce discount
    • getCouponCode

      @AutoEscape String getCouponCode()
      Returns the coupon code of this commerce discount.
      Returns:
      the coupon code of this commerce discount
    • setCouponCode

      void setCouponCode(String couponCode)
      Sets the coupon code of this commerce discount.
      Parameters:
      couponCode - the coupon code of this commerce discount
    • getUsePercentage

      boolean getUsePercentage()
      Returns the use percentage of this commerce discount.
      Returns:
      the use percentage of this commerce discount
    • isUsePercentage

      boolean isUsePercentage()
      Returns true if this commerce discount is use percentage.
      Returns:
      true if this commerce discount is use percentage; false otherwise
    • setUsePercentage

      void setUsePercentage(boolean usePercentage)
      Sets whether this commerce discount is use percentage.
      Parameters:
      usePercentage - the use percentage of this commerce discount
    • getMaximumDiscountAmount

      BigDecimal getMaximumDiscountAmount()
      Returns the maximum discount amount of this commerce discount.
      Returns:
      the maximum discount amount of this commerce discount
    • setMaximumDiscountAmount

      void setMaximumDiscountAmount(BigDecimal maximumDiscountAmount)
      Sets the maximum discount amount of this commerce discount.
      Parameters:
      maximumDiscountAmount - the maximum discount amount of this commerce discount
    • getLevel

      @AutoEscape String getLevel()
      Returns the level of this commerce discount.
      Returns:
      the level of this commerce discount
    • setLevel

      void setLevel(String level)
      Sets the level of this commerce discount.
      Parameters:
      level - the level of this commerce discount
    • getLevel1

      BigDecimal getLevel1()
      Returns the level1 of this commerce discount.
      Returns:
      the level1 of this commerce discount
    • setLevel1

      void setLevel1(BigDecimal level1)
      Sets the level1 of this commerce discount.
      Parameters:
      level1 - the level1 of this commerce discount
    • getLevel2

      BigDecimal getLevel2()
      Returns the level2 of this commerce discount.
      Returns:
      the level2 of this commerce discount
    • setLevel2

      void setLevel2(BigDecimal level2)
      Sets the level2 of this commerce discount.
      Parameters:
      level2 - the level2 of this commerce discount
    • getLevel3

      BigDecimal getLevel3()
      Returns the level3 of this commerce discount.
      Returns:
      the level3 of this commerce discount
    • setLevel3

      void setLevel3(BigDecimal level3)
      Sets the level3 of this commerce discount.
      Parameters:
      level3 - the level3 of this commerce discount
    • getLevel4

      BigDecimal getLevel4()
      Returns the level4 of this commerce discount.
      Returns:
      the level4 of this commerce discount
    • setLevel4

      void setLevel4(BigDecimal level4)
      Sets the level4 of this commerce discount.
      Parameters:
      level4 - the level4 of this commerce discount
    • getLimitationType

      @AutoEscape String getLimitationType()
      Returns the limitation type of this commerce discount.
      Returns:
      the limitation type of this commerce discount
    • setLimitationType

      void setLimitationType(String limitationType)
      Sets the limitation type of this commerce discount.
      Parameters:
      limitationType - the limitation type of this commerce discount
    • getLimitationTimes

      int getLimitationTimes()
      Returns the limitation times of this commerce discount.
      Returns:
      the limitation times of this commerce discount
    • setLimitationTimes

      void setLimitationTimes(int limitationTimes)
      Sets the limitation times of this commerce discount.
      Parameters:
      limitationTimes - the limitation times of this commerce discount
    • getLimitationTimesPerAccount

      int getLimitationTimesPerAccount()
      Returns the limitation times per account of this commerce discount.
      Returns:
      the limitation times per account of this commerce discount
    • setLimitationTimesPerAccount

      void setLimitationTimesPerAccount(int limitationTimesPerAccount)
      Sets the limitation times per account of this commerce discount.
      Parameters:
      limitationTimesPerAccount - the limitation times per account of this commerce discount
    • getNumberOfUse

      int getNumberOfUse()
      Returns the number of use of this commerce discount.
      Returns:
      the number of use of this commerce discount
    • setNumberOfUse

      void setNumberOfUse(int numberOfUse)
      Sets the number of use of this commerce discount.
      Parameters:
      numberOfUse - the number of use of this commerce discount
    • getRulesConjunction

      boolean getRulesConjunction()
      Returns the rules conjunction of this commerce discount.
      Returns:
      the rules conjunction of this commerce discount
    • isRulesConjunction

      boolean isRulesConjunction()
      Returns true if this commerce discount is rules conjunction.
      Returns:
      true if this commerce discount is rules conjunction; false otherwise
    • setRulesConjunction

      void setRulesConjunction(boolean rulesConjunction)
      Sets whether this commerce discount is rules conjunction.
      Parameters:
      rulesConjunction - the rules conjunction of this commerce discount
    • getActive

      boolean getActive()
      Returns the active of this commerce discount.
      Returns:
      the active of this commerce discount
    • isActive

      boolean isActive()
      Returns true if this commerce discount is active.
      Returns:
      true if this commerce discount is active; false otherwise
    • setActive

      void setActive(boolean active)
      Sets whether this commerce discount is active.
      Parameters:
      active - the active of this commerce discount
    • getDisplayDate

      Date getDisplayDate()
      Returns the display date of this commerce discount.
      Returns:
      the display date of this commerce discount
    • setDisplayDate

      void setDisplayDate(Date displayDate)
      Sets the display date of this commerce discount.
      Parameters:
      displayDate - the display date of this commerce discount
    • getExpirationDate

      Date getExpirationDate()
      Returns the expiration date of this commerce discount.
      Returns:
      the expiration date of this commerce discount
    • setExpirationDate

      void setExpirationDate(Date expirationDate)
      Sets the expiration date of this commerce discount.
      Parameters:
      expirationDate - the expiration date of this commerce discount
    • getLastPublishDate

      Date getLastPublishDate()
      Returns the last publish date of this commerce discount.
      Returns:
      the last publish date of this commerce discount
    • setLastPublishDate

      void setLastPublishDate(Date lastPublishDate)
      Sets the last publish date of this commerce discount.
      Parameters:
      lastPublishDate - the last publish date of this commerce discount
    • getStatus

      int getStatus()
      Returns the status of this commerce discount.
      Specified by:
      getStatus in interface com.liferay.portal.kernel.model.WorkflowedModel
      Returns:
      the status of this commerce discount
    • setStatus

      void setStatus(int status)
      Sets the status of this commerce discount.
      Specified by:
      setStatus in interface com.liferay.portal.kernel.model.WorkflowedModel
      Parameters:
      status - the status of this commerce discount
    • getStatusByUserId

      long getStatusByUserId()
      Returns the status by user ID of this commerce discount.
      Specified by:
      getStatusByUserId in interface com.liferay.portal.kernel.model.WorkflowedModel
      Returns:
      the status by user ID of this commerce discount
    • setStatusByUserId

      void setStatusByUserId(long statusByUserId)
      Sets the status by user ID of this commerce discount.
      Specified by:
      setStatusByUserId in interface com.liferay.portal.kernel.model.WorkflowedModel
      Parameters:
      statusByUserId - the status by user ID of this commerce discount
    • getStatusByUserUuid

      String getStatusByUserUuid()
      Returns the status by user uuid of this commerce discount.
      Specified by:
      getStatusByUserUuid in interface com.liferay.portal.kernel.model.WorkflowedModel
      Returns:
      the status by user uuid of this commerce discount
    • setStatusByUserUuid

      void setStatusByUserUuid(String statusByUserUuid)
      Sets the status by user uuid of this commerce discount.
      Specified by:
      setStatusByUserUuid in interface com.liferay.portal.kernel.model.WorkflowedModel
      Parameters:
      statusByUserUuid - the status by user uuid of this commerce discount
    • getStatusByUserName

      @AutoEscape String getStatusByUserName()
      Returns the status by user name of this commerce discount.
      Specified by:
      getStatusByUserName in interface com.liferay.portal.kernel.model.WorkflowedModel
      Returns:
      the status by user name of this commerce discount
    • setStatusByUserName

      void setStatusByUserName(String statusByUserName)
      Sets the status by user name of this commerce discount.
      Specified by:
      setStatusByUserName in interface com.liferay.portal.kernel.model.WorkflowedModel
      Parameters:
      statusByUserName - the status by user name of this commerce discount
    • getStatusDate

      Date getStatusDate()
      Returns the status date of this commerce discount.
      Specified by:
      getStatusDate in interface com.liferay.portal.kernel.model.WorkflowedModel
      Returns:
      the status date of this commerce discount
    • setStatusDate

      void setStatusDate(Date statusDate)
      Sets the status date of this commerce discount.
      Specified by:
      setStatusDate in interface com.liferay.portal.kernel.model.WorkflowedModel
      Parameters:
      statusDate - the status date of this commerce discount
    • isApproved

      boolean isApproved()
      Returns true if this commerce discount is approved.
      Specified by:
      isApproved in interface com.liferay.portal.kernel.model.WorkflowedModel
      Returns:
      true if this commerce discount is approved; false otherwise
    • isDenied

      boolean isDenied()
      Returns true if this commerce discount is denied.
      Specified by:
      isDenied in interface com.liferay.portal.kernel.model.WorkflowedModel
      Returns:
      true if this commerce discount is denied; false otherwise
    • isDraft

      boolean isDraft()
      Returns true if this commerce discount is a draft.
      Specified by:
      isDraft in interface com.liferay.portal.kernel.model.WorkflowedModel
      Returns:
      true if this commerce discount is a draft; false otherwise
    • isExpired

      boolean isExpired()
      Returns true if this commerce discount is expired.
      Specified by:
      isExpired in interface com.liferay.portal.kernel.model.WorkflowedModel
      Returns:
      true if this commerce discount is expired; false otherwise
    • isInactive

      boolean isInactive()
      Returns true if this commerce discount is inactive.
      Specified by:
      isInactive in interface com.liferay.portal.kernel.model.WorkflowedModel
      Returns:
      true if this commerce discount is inactive; false otherwise
    • isIncomplete

      boolean isIncomplete()
      Returns true if this commerce discount is incomplete.
      Specified by:
      isIncomplete in interface com.liferay.portal.kernel.model.WorkflowedModel
      Returns:
      true if this commerce discount is incomplete; false otherwise
    • isPending

      boolean isPending()
      Returns true if this commerce discount is pending.
      Specified by:
      isPending in interface com.liferay.portal.kernel.model.WorkflowedModel
      Returns:
      true if this commerce discount is pending; false otherwise
    • isScheduled

      boolean isScheduled()
      Returns true if this commerce discount is scheduled.
      Specified by:
      isScheduled in interface com.liferay.portal.kernel.model.WorkflowedModel
      Returns:
      true if this commerce discount is scheduled; false otherwise
    • cloneWithOriginalValues

      CommerceDiscount cloneWithOriginalValues()
      Specified by:
      cloneWithOriginalValues in interface com.liferay.portal.kernel.model.BaseModel<CommerceDiscount>
    • toXmlString

      default String toXmlString()