public class ShoppingCart extends org.beigesoft.model.AEditableHasVersion implements org.beigesoft.model.IHasId<OnlineBuyer>
Model of average buyer rating.
| Constructor and Description |
|---|
ShoppingCart() |
| Modifier and Type | Method and Description |
|---|---|
OnlineBuyer |
getBuyer()
Getter for buyer.
|
OnlineBuyer |
getItsId()
Usually it's simple getter that return model ID.
|
List<CartItem> |
getItsItems()
Getter for itsItems.
|
BigDecimal |
getItsTotal()
Getter for itsTotal.
|
String |
getRecipientAddress1()
Getter for recipientAddress1.
|
String |
getRecipientAddress2()
Getter for recipientAddress2.
|
String |
getRecipientCity()
Getter for recipientCity.
|
String |
getRecipientCountry()
Getter for recipientCountry.
|
String |
getRecipientName()
Getter for recipientName.
|
String |
getRecipientPhone()
Getter for recipientPhone.
|
String |
getRecipientState()
Getter for recipientState.
|
String |
getRecipientZip()
Getter for recipientZip.
|
List<CartTaxLine> |
getTaxes()
Getter for taxes.
|
Integer |
getTotalItems()
Getter for totalItems.
|
void |
setBuyer(OnlineBuyer pBuyer)
Setter for buyer.
|
void |
setItsId(OnlineBuyer pItsId)
Usually it's simple setter for model ID.
|
void |
setItsItems(List<CartItem> pItsItems)
Setter for itsItems.
|
void |
setItsTotal(BigDecimal pItsTotal)
Setter for itsTotal.
|
void |
setRecipientAddress1(String pRecipientAddress1)
Setter for recipientAddress1.
|
void |
setRecipientAddress2(String pRecipientAddress2)
Setter for recipientAddress2.
|
void |
setRecipientCity(String pRecipientCity)
Setter for recipientCity.
|
void |
setRecipientCountry(String pRecipientCountry)
Setter for recipientCountry.
|
void |
setRecipientName(String pRecipientName)
Setter for recipientName.
|
void |
setRecipientPhone(String pRecipientPhone)
Setter for recipientPhone.
|
void |
setRecipientState(String pRecipientState)
Setter for recipientState.
|
void |
setRecipientZip(String pRecipientZip)
Setter for recipientZip.
|
void |
setTaxes(List<CartTaxLine> pTaxes)
Setter for taxes.
|
void |
setTotalItems(Integer pTotalItems)
Setter for totalItems.
|
public final OnlineBuyer getItsId()
Usually it's simple getter that return model ID.
getItsId in interface org.beigesoft.model.IHasId<OnlineBuyer>public final void setItsId(OnlineBuyer pItsId)
Usually it's simple setter for model ID.
setItsId in interface org.beigesoft.model.IHasId<OnlineBuyer>pId - model IDpublic final void setBuyer(OnlineBuyer pBuyer)
Setter for buyer.
pBuyer - referencepublic final OnlineBuyer getBuyer()
Getter for buyer.
public final BigDecimal getItsTotal()
Getter for itsTotal.
public final void setItsTotal(BigDecimal pItsTotal)
Setter for itsTotal.
pItsTotal - referencepublic final Integer getTotalItems()
Getter for totalItems.
public final void setTotalItems(Integer pTotalItems)
Setter for totalItems.
pTotalItems - referencepublic final String getRecipientName()
Getter for recipientName.
public final void setRecipientName(String pRecipientName)
Setter for recipientName.
pRecipientName - referencepublic final String getRecipientAddress1()
Getter for recipientAddress1.
public final void setRecipientAddress1(String pRecipientAddress1)
Setter for recipientAddress1.
pRecipientAddress1 - referencepublic final String getRecipientAddress2()
Getter for recipientAddress2.
public final void setRecipientAddress2(String pRecipientAddress2)
Setter for recipientAddress2.
pRecipientAddress2 - referencepublic final String getRecipientZip()
Getter for recipientZip.
public final void setRecipientZip(String pRecipientZip)
Setter for recipientZip.
pRecipientZip - referencepublic final String getRecipientCountry()
Getter for recipientCountry.
public final void setRecipientCountry(String pRecipientCountry)
Setter for recipientCountry.
pRecipientCountry - referencepublic final String getRecipientState()
Getter for recipientState.
public final void setRecipientState(String pRecipientState)
Setter for recipientState.
pRecipientState - referencepublic final String getRecipientCity()
Getter for recipientCity.
public final void setRecipientCity(String pRecipientCity)
Setter for recipientCity.
pRecipientCity - referencepublic final String getRecipientPhone()
Getter for recipientPhone.
public final void setRecipientPhone(String pRecipientPhone)
Setter for recipientPhone.
pRecipientPhone - referencepublic final void setItsItems(List<CartItem> pItsItems)
Setter for itsItems.
pItsItems - referencepublic final List<CartTaxLine> getTaxes()
Getter for taxes.
public final void setTaxes(List<CartTaxLine> pTaxes)
Setter for taxes.
pTaxes - referenceCopyright © 2017–2018. All rights reserved.