Liferay 6.2-ce-ga5

com.liferay.portlet.shopping.model.impl
Class ShoppingCouponCacheModel

java.lang.Object
  extended by com.liferay.portlet.shopping.model.impl.ShoppingCouponCacheModel
All Implemented Interfaces:
CacheModel<ShoppingCoupon>, Externalizable, Serializable

public class ShoppingCouponCacheModel
extends Object
implements CacheModel<ShoppingCoupon>, Externalizable

The cache model class for representing ShoppingCoupon in entity cache.

See Also:
ShoppingCoupon, Serialized Form
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time it is generated.

Field Summary
 boolean active
           
 String code
           
 long companyId
           
 long couponId
           
 long createDate
           
 String description
           
 double discount
           
 String discountType
           
 long endDate
           
 long groupId
           
 String limitCategories
           
 String limitSkus
           
 double minOrder
           
 long modifiedDate
           
 String name
           
 long startDate
           
 long userId
           
 String userName
           
 
Constructor Summary
ShoppingCouponCacheModel()
           
 
Method Summary
 void readExternal(ObjectInput objectInput)
           
 ShoppingCoupon toEntityModel()
           
 String toString()
           
 void writeExternal(ObjectOutput objectOutput)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

couponId

public long couponId

groupId

public long groupId

companyId

public long companyId

userId

public long userId

userName

public String userName

createDate

public long createDate

modifiedDate

public long modifiedDate

code

public String code

name

public String name

description

public String description

startDate

public long startDate

endDate

public long endDate

active

public boolean active

limitCategories

public String limitCategories

limitSkus

public String limitSkus

minOrder

public double minOrder

discount

public double discount

discountType

public String discountType
Constructor Detail

ShoppingCouponCacheModel

public ShoppingCouponCacheModel()
Method Detail

toString

public String toString()
Overrides:
toString in class Object

toEntityModel

public ShoppingCoupon toEntityModel()
Specified by:
toEntityModel in interface CacheModel<ShoppingCoupon>

readExternal

public void readExternal(ObjectInput objectInput)
                  throws IOException
Specified by:
readExternal in interface Externalizable
Throws:
IOException

writeExternal

public void writeExternal(ObjectOutput objectOutput)
                   throws IOException
Specified by:
writeExternal in interface Externalizable
Throws:
IOException

Liferay 6.2-ce-ga5