@ProviderType public interface ShoppingItemPriceModel extends com.liferay.portal.kernel.model.BaseModel<ShoppingItemPrice>, com.liferay.portal.kernel.model.ShardedModel
This interface and its corresponding implementation com.liferay.shopping.model.impl.ShoppingItemPriceModelImpl 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.ShoppingItemPriceImpl.
ShoppingItemPrice,
com.liferay.shopping.model.impl.ShoppingItemPriceImpl,
com.liferay.shopping.model.impl.ShoppingItemPriceModelImpl| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
clone() |
int |
compareTo(ShoppingItemPrice shoppingItemPrice) |
long |
getCompanyId()
Returns the company ID of this shopping item price.
|
double |
getDiscount()
Returns the discount of this shopping item price.
|
com.liferay.expando.kernel.model.ExpandoBridge |
getExpandoBridge() |
long |
getItemId()
Returns the item ID of this shopping item price.
|
long |
getItemPriceId()
Returns the item price ID of this shopping item price.
|
int |
getMaxQuantity()
Returns the max quantity of this shopping item price.
|
int |
getMinQuantity()
Returns the min quantity of this shopping item price.
|
double |
getPrice()
Returns the price of this shopping item price.
|
long |
getPrimaryKey()
Returns the primary key of this shopping item price.
|
java.io.Serializable |
getPrimaryKeyObj() |
double |
getShipping()
Returns the shipping of this shopping item price.
|
int |
getStatus()
Returns the status of this shopping item price.
|
boolean |
getTaxable()
Returns the taxable of this shopping item price.
|
boolean |
getUseShippingFormula()
Returns the use shipping formula of this shopping item price.
|
int |
hashCode() |
boolean |
isCachedModel() |
boolean |
isEscapedModel() |
boolean |
isNew() |
boolean |
isTaxable()
Returns
true if this shopping item price is taxable. |
boolean |
isUseShippingFormula()
Returns
true if this shopping item price is use shipping formula. |
void |
setCachedModel(boolean cachedModel) |
void |
setCompanyId(long companyId)
Sets the company ID of this shopping item price.
|
void |
setDiscount(double discount)
Sets the discount of this shopping item price.
|
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 |
setItemId(long itemId)
Sets the item ID of this shopping item price.
|
void |
setItemPriceId(long itemPriceId)
Sets the item price ID of this shopping item price.
|
void |
setMaxQuantity(int maxQuantity)
Sets the max quantity of this shopping item price.
|
void |
setMinQuantity(int minQuantity)
Sets the min quantity of this shopping item price.
|
void |
setNew(boolean n) |
void |
setPrice(double price)
Sets the price of this shopping item price.
|
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this shopping item price.
|
void |
setPrimaryKeyObj(java.io.Serializable primaryKeyObj) |
void |
setShipping(double shipping)
Sets the shipping of this shopping item price.
|
void |
setStatus(int status)
Sets the status of this shopping item price.
|
void |
setTaxable(boolean taxable)
Sets whether this shopping item price is taxable.
|
void |
setUseShippingFormula(boolean useShippingFormula)
Sets whether this shopping item price is use shipping formula.
|
com.liferay.portal.kernel.model.CacheModel<ShoppingItemPrice> |
toCacheModel() |
ShoppingItemPrice |
toEscapedModel() |
java.lang.String |
toString() |
ShoppingItemPrice |
toUnescapedModel() |
java.lang.String |
toXmlString() |
long getPrimaryKey()
void setPrimaryKey(long primaryKey)
primaryKey - the primary key of this shopping item pricelong getItemPriceId()
void setItemPriceId(long itemPriceId)
itemPriceId - the item price ID of this shopping item pricelong getCompanyId()
getCompanyId in interface com.liferay.portal.kernel.model.ShardedModelvoid setCompanyId(long companyId)
setCompanyId in interface com.liferay.portal.kernel.model.ShardedModelcompanyId - the company ID of this shopping item pricelong getItemId()
void setItemId(long itemId)
itemId - the item ID of this shopping item priceint getMinQuantity()
void setMinQuantity(int minQuantity)
minQuantity - the min quantity of this shopping item priceint getMaxQuantity()
void setMaxQuantity(int maxQuantity)
maxQuantity - the max quantity of this shopping item pricedouble getPrice()
void setPrice(double price)
price - the price of this shopping item pricedouble getDiscount()
void setDiscount(double discount)
discount - the discount of this shopping item priceboolean getTaxable()
boolean isTaxable()
true if this shopping item price is taxable.true if this shopping item price is taxable; false otherwisevoid setTaxable(boolean taxable)
taxable - the taxable of this shopping item pricedouble getShipping()
void setShipping(double shipping)
shipping - the shipping of this shopping item priceboolean getUseShippingFormula()
boolean isUseShippingFormula()
true if this shopping item price is use shipping formula.true if this shopping item price is use shipping formula; false otherwisevoid setUseShippingFormula(boolean useShippingFormula)
useShippingFormula - the use shipping formula of this shopping item priceint getStatus()
void setStatus(int status)
status - the status of this shopping item priceboolean isNew()
isNew in interface com.liferay.portal.kernel.model.BaseModel<ShoppingItemPrice>void setNew(boolean n)
setNew in interface com.liferay.portal.kernel.model.BaseModel<ShoppingItemPrice>boolean isCachedModel()
isCachedModel in interface com.liferay.portal.kernel.model.BaseModel<ShoppingItemPrice>void setCachedModel(boolean cachedModel)
setCachedModel in interface com.liferay.portal.kernel.model.BaseModel<ShoppingItemPrice>boolean isEscapedModel()
isEscapedModel in interface com.liferay.portal.kernel.model.BaseModel<ShoppingItemPrice>java.io.Serializable getPrimaryKeyObj()
getPrimaryKeyObj in interface com.liferay.portal.kernel.model.BaseModel<ShoppingItemPrice>getPrimaryKeyObj in interface com.liferay.portal.kernel.model.ClassedModelvoid setPrimaryKeyObj(java.io.Serializable primaryKeyObj)
setPrimaryKeyObj in interface com.liferay.portal.kernel.model.BaseModel<ShoppingItemPrice>setPrimaryKeyObj in interface com.liferay.portal.kernel.model.ClassedModelcom.liferay.expando.kernel.model.ExpandoBridge getExpandoBridge()
getExpandoBridge in interface com.liferay.portal.kernel.model.BaseModel<ShoppingItemPrice>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<ShoppingItemPrice>void setExpandoBridgeAttributes(com.liferay.expando.kernel.model.ExpandoBridge expandoBridge)
setExpandoBridgeAttributes in interface com.liferay.portal.kernel.model.BaseModel<ShoppingItemPrice>void setExpandoBridgeAttributes(com.liferay.portal.kernel.service.ServiceContext serviceContext)
setExpandoBridgeAttributes in interface com.liferay.portal.kernel.model.BaseModel<ShoppingItemPrice>java.lang.Object clone()
clone in interface com.liferay.portal.kernel.model.BaseModel<ShoppingItemPrice>int compareTo(ShoppingItemPrice shoppingItemPrice)
compareTo in interface java.lang.Comparable<ShoppingItemPrice>int hashCode()
hashCode in class java.lang.Objectcom.liferay.portal.kernel.model.CacheModel<ShoppingItemPrice> toCacheModel()
toCacheModel in interface com.liferay.portal.kernel.model.BaseModel<ShoppingItemPrice>ShoppingItemPrice toEscapedModel()
toEscapedModel in interface com.liferay.portal.kernel.model.BaseModel<ShoppingItemPrice>ShoppingItemPrice toUnescapedModel()
toUnescapedModel in interface com.liferay.portal.kernel.model.BaseModel<ShoppingItemPrice>java.lang.String toString()
toString in class java.lang.Objectjava.lang.String toXmlString()
toXmlString in interface com.liferay.portal.kernel.model.BaseModel<ShoppingItemPrice>