Liferay 6.0.3

com.liferay.portlet.shopping.model
Interface ShoppingOrderModel

All Superinterfaces:
BaseModel<ShoppingOrder>, Cloneable, Comparable<ShoppingOrder>, Serializable
All Known Subinterfaces:
ShoppingOrder
All Known Implementing Classes:
ShoppingOrderImpl, ShoppingOrderModelImpl, ShoppingOrderWrapper

public interface ShoppingOrderModel
extends BaseModel<ShoppingOrder>

This interface is a model that represents the ShoppingOrder table in the database.

See Also:
ShoppingOrder, ShoppingOrderImpl, ShoppingOrderModelImpl
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

Method Summary
 Object clone()
          Creates a shallow clone of this model instance.
 int compareTo(ShoppingOrder shoppingOrder)
           
 String getAltShipping()
           
 String getBillingCity()
           
 String getBillingCompany()
           
 String getBillingCountry()
           
 String getBillingEmailAddress()
           
 String getBillingFirstName()
           
 String getBillingLastName()
           
 String getBillingPhone()
           
 String getBillingState()
           
 String getBillingStreet()
           
 String getBillingZip()
           
 int getCcExpMonth()
           
 int getCcExpYear()
           
 String getCcName()
           
 String getCcNumber()
           
 String getCcType()
           
 String getCcVerNumber()
           
 String getComments()
           
 long getCompanyId()
           
 String getCouponCodes()
           
 double getCouponDiscount()
           
 Date getCreateDate()
           
 ExpandoBridge getExpandoBridge()
          Gets the expando bridge for this model instance.
 long getGroupId()
           
 double getInsurance()
           
 boolean getInsure()
           
 Date getModifiedDate()
           
 String getNumber()
           
 long getOrderId()
           
 String getPpPayerEmail()
           
 double getPpPaymentGross()
           
 String getPpPaymentStatus()
           
 String getPpReceiverEmail()
           
 String getPpTxnId()
           
 long getPrimaryKey()
           
 Serializable getPrimaryKeyObj()
          Gets the primary key for this model instance.
 boolean getRequiresShipping()
           
 boolean getSendOrderEmail()
           
 boolean getSendShippingEmail()
           
 double getShipping()
           
 String getShippingCity()
           
 String getShippingCompany()
           
 String getShippingCountry()
           
 String getShippingEmailAddress()
           
 String getShippingFirstName()
           
 String getShippingLastName()
           
 String getShippingPhone()
           
 String getShippingState()
           
 String getShippingStreet()
           
 String getShippingZip()
           
 boolean getShipToBilling()
           
 double getTax()
           
 long getUserId()
           
 String getUserName()
           
 String getUserUuid()
           
 int hashCode()
           
 boolean isCachedModel()
          Determines if this model instance was retrieved from the entity cache.
 boolean isEscapedModel()
          Determines if this model instance has been wrapped with an HTML auto escape handler.
 boolean isInsure()
           
 boolean isNew()
          Determines if this model instance does not yet exist in the database.
 boolean isRequiresShipping()
           
 boolean isSendOrderEmail()
           
 boolean isSendShippingEmail()
           
 boolean isShipToBilling()
           
 void setAltShipping(String altShipping)
           
 void setBillingCity(String billingCity)
           
 void setBillingCompany(String billingCompany)
           
 void setBillingCountry(String billingCountry)
           
 void setBillingEmailAddress(String billingEmailAddress)
           
 void setBillingFirstName(String billingFirstName)
           
 void setBillingLastName(String billingLastName)
           
 void setBillingPhone(String billingPhone)
           
 void setBillingState(String billingState)
           
 void setBillingStreet(String billingStreet)
           
 void setBillingZip(String billingZip)
           
 void setCachedModel(boolean cachedModel)
          Sets whether this model instance was retrieved from the entity cache.
 void setCcExpMonth(int ccExpMonth)
           
 void setCcExpYear(int ccExpYear)
           
 void setCcName(String ccName)
           
 void setCcNumber(String ccNumber)
           
 void setCcType(String ccType)
           
 void setCcVerNumber(String ccVerNumber)
           
 void setComments(String comments)
           
 void setCompanyId(long companyId)
           
 void setCouponCodes(String couponCodes)
           
 void setCouponDiscount(double couponDiscount)
           
 void setCreateDate(Date createDate)
           
 void setEscapedModel(boolean escapedModel)
          Sets whether this model instance has been wrapped with an HTML auto escape handler.
 void setExpandoBridgeAttributes(ServiceContext serviceContext)
          Sets the expando bridge attributes for this model instance to the attributes stored in the service context.
 void setGroupId(long groupId)
           
 void setInsurance(double insurance)
           
 void setInsure(boolean insure)
           
 void setModifiedDate(Date modifiedDate)
           
 void setNew(boolean n)
          Sets whether this model instance does not yet exist in the database.
 void setNumber(String number)
           
 void setOrderId(long orderId)
           
 void setPpPayerEmail(String ppPayerEmail)
           
 void setPpPaymentGross(double ppPaymentGross)
           
 void setPpPaymentStatus(String ppPaymentStatus)
           
 void setPpReceiverEmail(String ppReceiverEmail)
           
 void setPpTxnId(String ppTxnId)
           
 void setPrimaryKey(long pk)
           
 void setRequiresShipping(boolean requiresShipping)
           
 void setSendOrderEmail(boolean sendOrderEmail)
           
 void setSendShippingEmail(boolean sendShippingEmail)
           
 void setShipping(double shipping)
           
 void setShippingCity(String shippingCity)
           
 void setShippingCompany(String shippingCompany)
           
 void setShippingCountry(String shippingCountry)
           
 void setShippingEmailAddress(String shippingEmailAddress)
           
 void setShippingFirstName(String shippingFirstName)
           
 void setShippingLastName(String shippingLastName)
           
 void setShippingPhone(String shippingPhone)
           
 void setShippingState(String shippingState)
           
 void setShippingStreet(String shippingStreet)
           
 void setShippingZip(String shippingZip)
           
 void setShipToBilling(boolean shipToBilling)
           
 void setTax(double tax)
           
 void setUserId(long userId)
           
 void setUserName(String userName)
           
 void setUserUuid(String userUuid)
           
 ShoppingOrder toEscapedModel()
           
 String toString()
           
 String toXmlString()
          Gets the XML representation of this model instance.
 

Method Detail

getPrimaryKey

long getPrimaryKey()

setPrimaryKey

void setPrimaryKey(long pk)

getOrderId

long getOrderId()

setOrderId

void setOrderId(long orderId)

getGroupId

long getGroupId()

setGroupId

void setGroupId(long groupId)

getCompanyId

long getCompanyId()

setCompanyId

void setCompanyId(long companyId)

getUserId

long getUserId()

setUserId

void setUserId(long userId)

getUserUuid

String getUserUuid()
                   throws SystemException
Throws:
SystemException

setUserUuid

void setUserUuid(String userUuid)

getUserName

String getUserName()

setUserName

void setUserName(String userName)

getCreateDate

Date getCreateDate()

setCreateDate

void setCreateDate(Date createDate)

getModifiedDate

Date getModifiedDate()

setModifiedDate

void setModifiedDate(Date modifiedDate)

getNumber

String getNumber()

setNumber

void setNumber(String number)

getTax

double getTax()

setTax

void setTax(double tax)

getShipping

double getShipping()

setShipping

void setShipping(double shipping)

getAltShipping

String getAltShipping()

setAltShipping

void setAltShipping(String altShipping)

getRequiresShipping

boolean getRequiresShipping()

isRequiresShipping

boolean isRequiresShipping()

setRequiresShipping

void setRequiresShipping(boolean requiresShipping)

getInsure

boolean getInsure()

isInsure

boolean isInsure()

setInsure

void setInsure(boolean insure)

getInsurance

double getInsurance()

setInsurance

void setInsurance(double insurance)

getCouponCodes

String getCouponCodes()

setCouponCodes

void setCouponCodes(String couponCodes)

getCouponDiscount

double getCouponDiscount()

setCouponDiscount

void setCouponDiscount(double couponDiscount)

getBillingFirstName

String getBillingFirstName()

setBillingFirstName

void setBillingFirstName(String billingFirstName)

getBillingLastName

String getBillingLastName()

setBillingLastName

void setBillingLastName(String billingLastName)

getBillingEmailAddress

String getBillingEmailAddress()

setBillingEmailAddress

void setBillingEmailAddress(String billingEmailAddress)

getBillingCompany

String getBillingCompany()

setBillingCompany

void setBillingCompany(String billingCompany)

getBillingStreet

String getBillingStreet()

setBillingStreet

void setBillingStreet(String billingStreet)

getBillingCity

String getBillingCity()

setBillingCity

void setBillingCity(String billingCity)

getBillingState

String getBillingState()

setBillingState

void setBillingState(String billingState)

getBillingZip

String getBillingZip()

setBillingZip

void setBillingZip(String billingZip)

getBillingCountry

String getBillingCountry()

setBillingCountry

void setBillingCountry(String billingCountry)

getBillingPhone

String getBillingPhone()

setBillingPhone

void setBillingPhone(String billingPhone)

getShipToBilling

boolean getShipToBilling()

isShipToBilling

boolean isShipToBilling()

setShipToBilling

void setShipToBilling(boolean shipToBilling)

getShippingFirstName

String getShippingFirstName()

setShippingFirstName

void setShippingFirstName(String shippingFirstName)

getShippingLastName

String getShippingLastName()

setShippingLastName

void setShippingLastName(String shippingLastName)

getShippingEmailAddress

String getShippingEmailAddress()

setShippingEmailAddress

void setShippingEmailAddress(String shippingEmailAddress)

getShippingCompany

String getShippingCompany()

setShippingCompany

void setShippingCompany(String shippingCompany)

getShippingStreet

String getShippingStreet()

setShippingStreet

void setShippingStreet(String shippingStreet)

getShippingCity

String getShippingCity()

setShippingCity

void setShippingCity(String shippingCity)

getShippingState

String getShippingState()

setShippingState

void setShippingState(String shippingState)

getShippingZip

String getShippingZip()

setShippingZip

void setShippingZip(String shippingZip)

getShippingCountry

String getShippingCountry()

setShippingCountry

void setShippingCountry(String shippingCountry)

getShippingPhone

String getShippingPhone()

setShippingPhone

void setShippingPhone(String shippingPhone)

getCcName

String getCcName()

setCcName

void setCcName(String ccName)

getCcType

String getCcType()

setCcType

void setCcType(String ccType)

getCcNumber

String getCcNumber()

setCcNumber

void setCcNumber(String ccNumber)

getCcExpMonth

int getCcExpMonth()

setCcExpMonth

void setCcExpMonth(int ccExpMonth)

getCcExpYear

int getCcExpYear()

setCcExpYear

void setCcExpYear(int ccExpYear)

getCcVerNumber

String getCcVerNumber()

setCcVerNumber

void setCcVerNumber(String ccVerNumber)

getComments

String getComments()

setComments

void setComments(String comments)

getPpTxnId

String getPpTxnId()

setPpTxnId

void setPpTxnId(String ppTxnId)

getPpPaymentStatus

String getPpPaymentStatus()

setPpPaymentStatus

void setPpPaymentStatus(String ppPaymentStatus)

getPpPaymentGross

double getPpPaymentGross()

setPpPaymentGross

void setPpPaymentGross(double ppPaymentGross)

getPpReceiverEmail

String getPpReceiverEmail()

setPpReceiverEmail

void setPpReceiverEmail(String ppReceiverEmail)

getPpPayerEmail

String getPpPayerEmail()

setPpPayerEmail

void setPpPayerEmail(String ppPayerEmail)

getSendOrderEmail

boolean getSendOrderEmail()

isSendOrderEmail

boolean isSendOrderEmail()

setSendOrderEmail

void setSendOrderEmail(boolean sendOrderEmail)

getSendShippingEmail

boolean getSendShippingEmail()

isSendShippingEmail

boolean isSendShippingEmail()

setSendShippingEmail

void setSendShippingEmail(boolean sendShippingEmail)

toEscapedModel

ShoppingOrder toEscapedModel()

isNew

boolean isNew()
Description copied from interface: BaseModel
Determines if this model instance does not yet exist in the database.

Specified by:
isNew in interface BaseModel<ShoppingOrder>
Returns:
true if this model instance does not yet exist in the database; false otherwise

setNew

void setNew(boolean n)
Description copied from interface: BaseModel
Sets whether this model instance does not yet exist in the database.

Specified by:
setNew in interface BaseModel<ShoppingOrder>
Parameters:
n - whether this model instance does not yet exist in the database

isCachedModel

boolean isCachedModel()
Description copied from interface: BaseModel
Determines if this model instance was retrieved from the entity cache.

Specified by:
isCachedModel in interface BaseModel<ShoppingOrder>
Returns:
true if this model instance was retrieved from the entity cache; false otherwise
See Also:
BaseModel.setCachedModel(boolean)

setCachedModel

void setCachedModel(boolean cachedModel)
Description copied from interface: BaseModel
Sets whether this model instance was retrieved from the entity cache.

Specified by:
setCachedModel in interface BaseModel<ShoppingOrder>
Parameters:
cachedModel - whether this model instance was retrieved from the entity cache
See Also:
EntityCache

isEscapedModel

boolean isEscapedModel()
Description copied from interface: BaseModel
Determines if this model instance has been wrapped with an HTML auto escape handler.

Specified by:
isEscapedModel in interface BaseModel<ShoppingOrder>
Returns:
true if this model instance has been wrapped with an HTML auto escape handler; false otherwise
See Also:
BaseModel.setEscapedModel(boolean)

setEscapedModel

void setEscapedModel(boolean escapedModel)
Description copied from interface: BaseModel
Sets whether this model instance has been wrapped with an HTML auto escape handler.

A model instance can be wrapped with an HTML auto escape handler using its toEscapedModel method. For example, UserModel.toEscapedModel().

Specified by:
setEscapedModel in interface BaseModel<ShoppingOrder>
Parameters:
escapedModel - whether this model instance has been wrapped with an HTML auto escape handler
See Also:
AutoEscapeBeanHandler

getPrimaryKeyObj

Serializable getPrimaryKeyObj()
Description copied from interface: BaseModel
Gets the primary key for this model instance.

Specified by:
getPrimaryKeyObj in interface BaseModel<ShoppingOrder>
Returns:
the primary key

getExpandoBridge

ExpandoBridge getExpandoBridge()
Description copied from interface: BaseModel
Gets the expando bridge for this model instance.

Specified by:
getExpandoBridge in interface BaseModel<ShoppingOrder>
Returns:
the expando bridge

setExpandoBridgeAttributes

void setExpandoBridgeAttributes(ServiceContext serviceContext)
Description copied from interface: BaseModel
Sets the expando bridge attributes for this model instance to the attributes stored in the service context.

Specified by:
setExpandoBridgeAttributes in interface BaseModel<ShoppingOrder>
Parameters:
serviceContext - the service context to retrieve the expando bridge attributes from
See Also:
ServiceContext.getExpandoBridgeAttributes( )

clone

Object clone()
Description copied from interface: BaseModel
Creates a shallow clone of this model instance.

Specified by:
clone in interface BaseModel<ShoppingOrder>
Returns:
the clone

compareTo

int compareTo(ShoppingOrder shoppingOrder)
Specified by:
compareTo in interface Comparable<ShoppingOrder>

hashCode

int hashCode()
Overrides:
hashCode in class Object

toString

String toString()
Overrides:
toString in class Object

toXmlString

String toXmlString()
Description copied from interface: BaseModel
Gets the XML representation of this model instance.

Specified by:
toXmlString in interface BaseModel<ShoppingOrder>
Returns:
the XML representation of this model instance

Liferay 6.0.3