|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.broadleafcommerce.core.order.domain.FulfillmentGroupItemImpl
@Entity public class FulfillmentGroupItemImpl
| Field Summary | |
|---|---|
protected FulfillmentGroup |
fulfillmentGroup
|
protected Long |
id
|
protected OrderItem |
orderItem
|
protected BigDecimal |
proratedOrderAdjustment
|
protected int |
quantity
|
protected List<TaxDetail> |
taxes
|
protected BigDecimal |
totalItemAmount
|
protected BigDecimal |
totalItemTaxableAmount
|
protected BigDecimal |
totalTax
|
| Constructor Summary | |
|---|---|
FulfillmentGroupItemImpl()
|
|
| Method Summary | |
|---|---|
void |
checkCloneable(FulfillmentGroupItem fulfillmentGroupItem)
|
FulfillmentGroupItem |
clone()
|
protected Money |
convertToMoney(BigDecimal amount)
|
boolean |
equals(Object obj)
|
String |
getCurrencyCode()
|
FulfillmentGroup |
getFulfillmentGroup()
|
boolean |
getHasProratedOrderAdjustments()
Returns true if this item has pro-rated order adjustments. |
Long |
getId()
|
OrderItem |
getOrderItem()
|
Money |
getPrice()
|
Money |
getProratedOrderAdjustmentAmount()
|
int |
getQuantity()
|
Money |
getRetailPrice()
|
Money |
getSalePrice()
|
FulfillmentGroupStatusType |
getStatus()
|
List<TaxDetail> |
getTaxes()
Gets a list of TaxDetail objects, which are taxes that apply directly to this item. |
Money |
getTotalItemAmount()
|
Money |
getTotalItemTaxableAmount()
|
Money |
getTotalTax()
Gets the total tax for this item, which is the sum of all taxes for this item. |
int |
hashCode()
|
void |
removeAssociations()
|
void |
setFulfillmentGroup(FulfillmentGroup fulfillmentGroup)
|
void |
setId(Long id)
|
void |
setOrderItem(OrderItem orderItem)
|
void |
setProratedOrderAdjustmentAmount(Money proratedOrderAdjustment)
|
void |
setQuantity(int quantity)
|
void |
setStatus(FulfillmentGroupStatusType status)
|
void |
setTaxes(List<TaxDetail> taxes)
Sets the list of TaxDetail objects, which are taxes that apply directly to this item. |
void |
setTotalItemAmount(Money amount)
|
void |
setTotalItemTaxableAmount(Money taxableAmount)
|
void |
setTotalTax(Money totalTax)
Sets the total tax for this item, which is the sum of all taxes for this item. |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected Long id
protected FulfillmentGroup fulfillmentGroup
protected OrderItem orderItem
protected int quantity
protected List<TaxDetail> taxes
protected BigDecimal totalTax
protected BigDecimal totalItemAmount
protected BigDecimal totalItemTaxableAmount
protected BigDecimal proratedOrderAdjustment
| Constructor Detail |
|---|
public FulfillmentGroupItemImpl()
| Method Detail |
|---|
public Long getId()
getId in interface FulfillmentGroupItempublic void setId(Long id)
setId in interface FulfillmentGroupItempublic FulfillmentGroup getFulfillmentGroup()
getFulfillmentGroup in interface FulfillmentGroupItempublic void setFulfillmentGroup(FulfillmentGroup fulfillmentGroup)
setFulfillmentGroup in interface FulfillmentGroupItempublic OrderItem getOrderItem()
getOrderItem in interface FulfillmentGroupItempublic void setOrderItem(OrderItem orderItem)
setOrderItem in interface FulfillmentGroupItempublic int getQuantity()
getQuantity in interface FulfillmentGroupItempublic void setQuantity(int quantity)
setQuantity in interface FulfillmentGroupItempublic Money getRetailPrice()
getRetailPrice in interface FulfillmentGroupItempublic Money getSalePrice()
getSalePrice in interface FulfillmentGroupItempublic Money getPrice()
getPrice in interface FulfillmentGroupItemprotected Money convertToMoney(BigDecimal amount)
public Money getTotalItemAmount()
getTotalItemAmount in interface FulfillmentGroupItempublic void setTotalItemAmount(Money amount)
setTotalItemAmount in interface FulfillmentGroupItempublic Money getProratedOrderAdjustmentAmount()
getProratedOrderAdjustmentAmount in interface FulfillmentGroupItempublic void setProratedOrderAdjustmentAmount(Money proratedOrderAdjustment)
setProratedOrderAdjustmentAmount in interface FulfillmentGroupItempublic Money getTotalItemTaxableAmount()
getTotalItemTaxableAmount in interface FulfillmentGroupItempublic void setTotalItemTaxableAmount(Money taxableAmount)
setTotalItemTaxableAmount in interface FulfillmentGroupItempublic FulfillmentGroupStatusType getStatus()
getStatus in interface FulfillmentGroupItempublic void setStatus(FulfillmentGroupStatusType status)
setStatus in interface FulfillmentGroupItempublic void removeAssociations()
removeAssociations in interface FulfillmentGroupItempublic List<TaxDetail> getTaxes()
FulfillmentGroupItem
getTaxes in interface FulfillmentGroupItempublic void setTaxes(List<TaxDetail> taxes)
FulfillmentGroupItem
setTaxes in interface FulfillmentGroupItemtaxes - the list of taxes on this itempublic Money getTotalTax()
FulfillmentGroupItem
getTotalTax in interface FulfillmentGroupItempublic void setTotalTax(Money totalTax)
FulfillmentGroupItem
setTotalTax in interface FulfillmentGroupItemtotalTax - the total tax for this itempublic String getCurrencyCode()
getCurrencyCode in interface CurrencyCodeIdentifiable
public void checkCloneable(FulfillmentGroupItem fulfillmentGroupItem)
throws CloneNotSupportedException,
SecurityException,
NoSuchMethodException
CloneNotSupportedException
SecurityException
NoSuchMethodExceptionpublic FulfillmentGroupItem clone()
clone in interface FulfillmentGroupItemclone in class Objectpublic boolean getHasProratedOrderAdjustments()
FulfillmentGroupItem
getHasProratedOrderAdjustments in interface FulfillmentGroupItempublic boolean equals(Object obj)
equals in class Objectpublic int hashCode()
hashCode in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||