@ProviderType public interface ShoppingCouponModel extends com.liferay.portal.kernel.model.BaseModel<ShoppingCoupon>, com.liferay.portal.kernel.model.GroupedModel, com.liferay.portal.kernel.model.ShardedModel
This interface and its corresponding implementation com.liferay.shopping.model.impl.ShoppingCouponModelImpl 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.shopping.model.impl.ShoppingCouponImpl.
ShoppingCoupon,
com.liferay.shopping.model.impl.ShoppingCouponImpl,
com.liferay.shopping.model.impl.ShoppingCouponModelImpl| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
clone() |
int |
compareTo(ShoppingCoupon shoppingCoupon) |
boolean |
getActive()
Returns the active of this shopping coupon.
|
java.lang.String |
getCode()
Returns the code of this shopping coupon.
|
long |
getCompanyId()
Returns the company ID of this shopping coupon.
|
long |
getCouponId()
Returns the coupon ID of this shopping coupon.
|
java.util.Date |
getCreateDate()
Returns the create date of this shopping coupon.
|
java.lang.String |
getDescription()
Returns the description of this shopping coupon.
|
double |
getDiscount()
Returns the discount of this shopping coupon.
|
java.lang.String |
getDiscountType()
Returns the discount type of this shopping coupon.
|
java.util.Date |
getEndDate()
Returns the end date of this shopping coupon.
|
com.liferay.expando.kernel.model.ExpandoBridge |
getExpandoBridge() |
long |
getGroupId()
Returns the group ID of this shopping coupon.
|
java.lang.String |
getLimitCategories()
Returns the limit categories of this shopping coupon.
|
java.lang.String |
getLimitSkus()
Returns the limit skus of this shopping coupon.
|
double |
getMinOrder()
Returns the min order of this shopping coupon.
|
java.util.Date |
getModifiedDate()
Returns the modified date of this shopping coupon.
|
java.lang.String |
getName()
Returns the name of this shopping coupon.
|
long |
getPrimaryKey()
Returns the primary key of this shopping coupon.
|
java.io.Serializable |
getPrimaryKeyObj() |
java.util.Date |
getStartDate()
Returns the start date of this shopping coupon.
|
long |
getUserId()
Returns the user ID of this shopping coupon.
|
java.lang.String |
getUserName()
Returns the user name of this shopping coupon.
|
java.lang.String |
getUserUuid()
Returns the user uuid of this shopping coupon.
|
int |
hashCode() |
boolean |
isActive()
Returns
true if this shopping coupon is active. |
boolean |
isCachedModel() |
boolean |
isEscapedModel() |
boolean |
isNew() |
void |
setActive(boolean active)
Sets whether this shopping coupon is active.
|
void |
setCachedModel(boolean cachedModel) |
void |
setCode(java.lang.String code)
Sets the code of this shopping coupon.
|
void |
setCompanyId(long companyId)
Sets the company ID of this shopping coupon.
|
void |
setCouponId(long couponId)
Sets the coupon ID of this shopping coupon.
|
void |
setCreateDate(java.util.Date createDate)
Sets the create date of this shopping coupon.
|
void |
setDescription(java.lang.String description)
Sets the description of this shopping coupon.
|
void |
setDiscount(double discount)
Sets the discount of this shopping coupon.
|
void |
setDiscountType(java.lang.String discountType)
Sets the discount type of this shopping coupon.
|
void |
setEndDate(java.util.Date endDate)
Sets the end date of this shopping coupon.
|
void |
setExpandoBridgeAttributes(com.liferay.portal.kernel.model.BaseModel<?> baseModel) |
void |
setExpandoBridgeAttributes(com.liferay.expando.kernel.model.ExpandoBridge expandoBridge) |
void |
setExpandoBridgeAttributes(com.liferay.portal.kernel.service.ServiceContext serviceContext) |
void |
setGroupId(long groupId)
Sets the group ID of this shopping coupon.
|
void |
setLimitCategories(java.lang.String limitCategories)
Sets the limit categories of this shopping coupon.
|
void |
setLimitSkus(java.lang.String limitSkus)
Sets the limit skus of this shopping coupon.
|
void |
setMinOrder(double minOrder)
Sets the min order of this shopping coupon.
|
void |
setModifiedDate(java.util.Date modifiedDate)
Sets the modified date of this shopping coupon.
|
void |
setName(java.lang.String name)
Sets the name of this shopping coupon.
|
void |
setNew(boolean n) |
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this shopping coupon.
|
void |
setPrimaryKeyObj(java.io.Serializable primaryKeyObj) |
void |
setStartDate(java.util.Date startDate)
Sets the start date of this shopping coupon.
|
void |
setUserId(long userId)
Sets the user ID of this shopping coupon.
|
void |
setUserName(java.lang.String userName)
Sets the user name of this shopping coupon.
|
void |
setUserUuid(java.lang.String userUuid)
Sets the user uuid of this shopping coupon.
|
com.liferay.portal.kernel.model.CacheModel<ShoppingCoupon> |
toCacheModel() |
ShoppingCoupon |
toEscapedModel() |
java.lang.String |
toString() |
ShoppingCoupon |
toUnescapedModel() |
java.lang.String |
toXmlString() |
long getPrimaryKey()
void setPrimaryKey(long primaryKey)
primaryKey - the primary key of this shopping couponlong getCouponId()
void setCouponId(long couponId)
couponId - the coupon ID of this shopping couponlong getGroupId()
getGroupId in interface com.liferay.portal.kernel.model.GroupedModelvoid setGroupId(long groupId)
setGroupId in interface com.liferay.portal.kernel.model.GroupedModelgroupId - the group ID of this shopping couponlong getCompanyId()
getCompanyId in interface com.liferay.portal.kernel.model.AuditedModelgetCompanyId in interface com.liferay.portal.kernel.model.ShardedModelvoid setCompanyId(long companyId)
setCompanyId in interface com.liferay.portal.kernel.model.AuditedModelsetCompanyId in interface com.liferay.portal.kernel.model.ShardedModelcompanyId - the company ID of this shopping couponlong getUserId()
getUserId in interface com.liferay.portal.kernel.model.AuditedModelvoid setUserId(long userId)
setUserId in interface com.liferay.portal.kernel.model.AuditedModeluserId - the user ID of this shopping couponjava.lang.String getUserUuid()
getUserUuid in interface com.liferay.portal.kernel.model.AuditedModelvoid setUserUuid(java.lang.String userUuid)
setUserUuid in interface com.liferay.portal.kernel.model.AuditedModeluserUuid - the user uuid of this shopping coupon@AutoEscape java.lang.String getUserName()
getUserName in interface com.liferay.portal.kernel.model.AuditedModelvoid setUserName(java.lang.String userName)
setUserName in interface com.liferay.portal.kernel.model.AuditedModeluserName - the user name of this shopping couponjava.util.Date getCreateDate()
getCreateDate in interface com.liferay.portal.kernel.model.AuditedModelvoid setCreateDate(java.util.Date createDate)
setCreateDate in interface com.liferay.portal.kernel.model.AuditedModelcreateDate - the create date of this shopping couponjava.util.Date getModifiedDate()
getModifiedDate in interface com.liferay.portal.kernel.model.AuditedModelvoid setModifiedDate(java.util.Date modifiedDate)
setModifiedDate in interface com.liferay.portal.kernel.model.AuditedModelmodifiedDate - the modified date of this shopping coupon@AutoEscape java.lang.String getCode()
void setCode(java.lang.String code)
code - the code of this shopping coupon@AutoEscape java.lang.String getName()
void setName(java.lang.String name)
name - the name of this shopping coupon@AutoEscape java.lang.String getDescription()
void setDescription(java.lang.String description)
description - the description of this shopping couponjava.util.Date getStartDate()
void setStartDate(java.util.Date startDate)
startDate - the start date of this shopping couponjava.util.Date getEndDate()
void setEndDate(java.util.Date endDate)
endDate - the end date of this shopping couponboolean getActive()
boolean isActive()
true if this shopping coupon is active.true if this shopping coupon is active; false otherwisevoid setActive(boolean active)
active - the active of this shopping coupon@AutoEscape java.lang.String getLimitCategories()
void setLimitCategories(java.lang.String limitCategories)
limitCategories - the limit categories of this shopping coupon@AutoEscape java.lang.String getLimitSkus()
void setLimitSkus(java.lang.String limitSkus)
limitSkus - the limit skus of this shopping coupondouble getMinOrder()
void setMinOrder(double minOrder)
minOrder - the min order of this shopping coupondouble getDiscount()
void setDiscount(double discount)
discount - the discount of this shopping coupon@AutoEscape java.lang.String getDiscountType()
void setDiscountType(java.lang.String discountType)
discountType - the discount type of this shopping couponboolean isNew()
isNew in interface com.liferay.portal.kernel.model.BaseModel<ShoppingCoupon>void setNew(boolean n)
setNew in interface com.liferay.portal.kernel.model.BaseModel<ShoppingCoupon>boolean isCachedModel()
isCachedModel in interface com.liferay.portal.kernel.model.BaseModel<ShoppingCoupon>void setCachedModel(boolean cachedModel)
setCachedModel in interface com.liferay.portal.kernel.model.BaseModel<ShoppingCoupon>boolean isEscapedModel()
isEscapedModel in interface com.liferay.portal.kernel.model.BaseModel<ShoppingCoupon>java.io.Serializable getPrimaryKeyObj()
getPrimaryKeyObj in interface com.liferay.portal.kernel.model.BaseModel<ShoppingCoupon>getPrimaryKeyObj in interface com.liferay.portal.kernel.model.ClassedModelvoid setPrimaryKeyObj(java.io.Serializable primaryKeyObj)
setPrimaryKeyObj in interface com.liferay.portal.kernel.model.BaseModel<ShoppingCoupon>setPrimaryKeyObj in interface com.liferay.portal.kernel.model.ClassedModelcom.liferay.expando.kernel.model.ExpandoBridge getExpandoBridge()
getExpandoBridge in interface com.liferay.portal.kernel.model.BaseModel<ShoppingCoupon>getExpandoBridge in interface com.liferay.portal.kernel.model.ClassedModelvoid setExpandoBridgeAttributes(com.liferay.portal.kernel.model.BaseModel<?> baseModel)
setExpandoBridgeAttributes in interface com.liferay.portal.kernel.model.BaseModel<ShoppingCoupon>void setExpandoBridgeAttributes(com.liferay.expando.kernel.model.ExpandoBridge expandoBridge)
setExpandoBridgeAttributes in interface com.liferay.portal.kernel.model.BaseModel<ShoppingCoupon>void setExpandoBridgeAttributes(com.liferay.portal.kernel.service.ServiceContext serviceContext)
setExpandoBridgeAttributes in interface com.liferay.portal.kernel.model.BaseModel<ShoppingCoupon>java.lang.Object clone()
clone in interface com.liferay.portal.kernel.model.BaseModel<ShoppingCoupon>int compareTo(ShoppingCoupon shoppingCoupon)
compareTo in interface java.lang.Comparable<ShoppingCoupon>int hashCode()
hashCode in class java.lang.Objectcom.liferay.portal.kernel.model.CacheModel<ShoppingCoupon> toCacheModel()
toCacheModel in interface com.liferay.portal.kernel.model.BaseModel<ShoppingCoupon>ShoppingCoupon toEscapedModel()
toEscapedModel in interface com.liferay.portal.kernel.model.BaseModel<ShoppingCoupon>ShoppingCoupon toUnescapedModel()
toUnescapedModel in interface com.liferay.portal.kernel.model.BaseModel<ShoppingCoupon>java.lang.String toString()
toString in class java.lang.Objectjava.lang.String toXmlString()
toXmlString in interface com.liferay.portal.kernel.model.BaseModel<ShoppingCoupon>