@Entity public class FulfillmentGroupItemImpl extends java.lang.Object implements FulfillmentGroupItem, java.lang.Cloneable, CurrencyCodeIdentifiable
| Modifier and Type | Field and Description |
|---|---|
protected FulfillmentGroup |
fulfillmentGroup |
protected java.lang.Long |
id |
protected OrderItem |
orderItem |
protected java.math.BigDecimal |
proratedOrderAdjustment |
protected int |
quantity |
protected java.util.List<TaxDetail> |
taxes |
protected java.math.BigDecimal |
totalItemAmount |
protected java.math.BigDecimal |
totalItemTaxableAmount |
protected java.math.BigDecimal |
totalTax |
| Constructor and Description |
|---|
FulfillmentGroupItemImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
checkCloneable(FulfillmentGroupItem fulfillmentGroupItem) |
FulfillmentGroupItem |
clone() |
protected Money |
convertToMoney(java.math.BigDecimal amount) |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getCurrencyCode() |
FulfillmentGroup |
getFulfillmentGroup() |
boolean |
getHasProratedOrderAdjustments()
Returns true if this item has pro-rated order adjustments.
|
java.lang.Long |
getId() |
OrderItem |
getOrderItem() |
Money |
getPrice() |
Money |
getProratedOrderAdjustmentAmount() |
int |
getQuantity() |
Money |
getRetailPrice() |
Money |
getSalePrice() |
FulfillmentGroupStatusType |
getStatus() |
java.util.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(java.lang.Long id) |
void |
setOrderItem(OrderItem orderItem) |
void |
setProratedOrderAdjustmentAmount(Money proratedOrderAdjustment) |
void |
setQuantity(int quantity) |
void |
setStatus(FulfillmentGroupStatusType status) |
void |
setTaxes(java.util.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.
|
protected java.lang.Long id
protected FulfillmentGroup fulfillmentGroup
protected OrderItem orderItem
protected int quantity
protected java.util.List<TaxDetail> taxes
protected java.math.BigDecimal totalTax
protected java.math.BigDecimal totalItemAmount
protected java.math.BigDecimal totalItemTaxableAmount
protected java.math.BigDecimal proratedOrderAdjustment
public java.lang.Long getId()
getId in interface FulfillmentGroupItempublic void setId(java.lang.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(java.math.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 java.util.List<TaxDetail> getTaxes()
FulfillmentGroupItemgetTaxes in interface FulfillmentGroupItempublic void setTaxes(java.util.List<TaxDetail> taxes)
FulfillmentGroupItemsetTaxes in interface FulfillmentGroupItemtaxes - the list of taxes on this itempublic Money getTotalTax()
FulfillmentGroupItemgetTotalTax in interface FulfillmentGroupItempublic void setTotalTax(Money totalTax)
FulfillmentGroupItemsetTotalTax in interface FulfillmentGroupItemtotalTax - the total tax for this itempublic java.lang.String getCurrencyCode()
getCurrencyCode in interface CurrencyCodeIdentifiablepublic void checkCloneable(FulfillmentGroupItem fulfillmentGroupItem) throws java.lang.CloneNotSupportedException, java.lang.SecurityException, java.lang.NoSuchMethodException
java.lang.CloneNotSupportedExceptionjava.lang.SecurityExceptionjava.lang.NoSuchMethodExceptionpublic FulfillmentGroupItem clone()
clone in interface FulfillmentGroupItemclone in class java.lang.Objectpublic boolean getHasProratedOrderAdjustments()
FulfillmentGroupItemgetHasProratedOrderAdjustments in interface FulfillmentGroupItempublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.ObjectCopyright © 2018. All Rights Reserved.