Interface FulfillmentGroupItem
- All Superinterfaces:
org.broadleafcommerce.common.copy.MultiTenantCloneable<FulfillmentGroupItem>,Serializable
- All Known Implementing Classes:
FulfillmentGroupItemImpl
public interface FulfillmentGroupItem
extends Serializable, org.broadleafcommerce.common.copy.MultiTenantCloneable<FulfillmentGroupItem>
-
Method Summary
Modifier and TypeMethodDescriptionclone()booleanReturns true if this item has pro-rated order adjustments.getId()org.broadleafcommerce.common.money.MoneygetPrice()Deprecated.org.broadleafcommerce.common.money.Moneyintorg.broadleafcommerce.common.money.Moneyorg.broadleafcommerce.common.money.MoneygetTaxes()Gets a list of TaxDetail objects, which are taxes that apply directly to this item.org.broadleafcommerce.common.money.Moneyorg.broadleafcommerce.common.money.Moneyorg.broadleafcommerce.common.money.MoneyGets the total tax for this item, which is the sum of all taxes for this item.voidvoidsetFulfillmentGroup(FulfillmentGroup fulfillmentGroup) voidvoidsetOrderItem(OrderItem orderItem) voidsetProratedOrderAdjustmentAmount(org.broadleafcommerce.common.money.Money amount) voidsetQuantity(int quantity) voidsetStatus(FulfillmentGroupStatusType status) voidSets the list of TaxDetail objects, which are taxes that apply directly to this item.voidsetTotalItemAmount(org.broadleafcommerce.common.money.Money amount) voidsetTotalItemTaxableAmount(org.broadleafcommerce.common.money.Money amount) voidsetTotalTax(org.broadleafcommerce.common.money.Money totalTax) Sets the total tax for this item, which is the sum of all taxes for this item.Methods inherited from interface org.broadleafcommerce.common.copy.MultiTenantCloneable
createOrRetrieveCopyInstance
-
Method Details
-
getId
Long getId() -
setId
-
getFulfillmentGroup
FulfillmentGroup getFulfillmentGroup() -
setFulfillmentGroup
-
getOrderItem
OrderItem getOrderItem() -
setOrderItem
-
getQuantity
int getQuantity() -
setQuantity
void setQuantity(int quantity) -
getRetailPrice
org.broadleafcommerce.common.money.Money getRetailPrice() -
getSalePrice
org.broadleafcommerce.common.money.Money getSalePrice() -
getPrice
org.broadleafcommerce.common.money.Money getPrice()Deprecated. -
getTotalItemAmount
org.broadleafcommerce.common.money.Money getTotalItemAmount() -
setTotalItemAmount
void setTotalItemAmount(org.broadleafcommerce.common.money.Money amount) -
getProratedOrderAdjustmentAmount
org.broadleafcommerce.common.money.Money getProratedOrderAdjustmentAmount() -
setProratedOrderAdjustmentAmount
void setProratedOrderAdjustmentAmount(org.broadleafcommerce.common.money.Money amount) -
getTotalItemTaxableAmount
org.broadleafcommerce.common.money.Money getTotalItemTaxableAmount() -
setTotalItemTaxableAmount
void setTotalItemTaxableAmount(org.broadleafcommerce.common.money.Money amount) -
getStatus
FulfillmentGroupStatusType getStatus() -
setStatus
-
removeAssociations
void removeAssociations() -
clone
FulfillmentGroupItem clone() -
getTaxes
Gets a list of TaxDetail objects, which are taxes that apply directly to this item. The amount in each TaxDetail takes into account the quantity of this item- Returns:
- a list of taxes that apply to this item
-
setTaxes
Sets the list of TaxDetail objects, which are taxes that apply directly to this item. The amount in each TaxDetail must take into account the quantity of this item- Parameters:
taxes- the list of taxes on this item
-
getTotalTax
org.broadleafcommerce.common.money.Money getTotalTax()Gets the total tax for this item, which is the sum of all taxes for this item. This total is calculated in the TotalActivity stage of the pricing workflow.- Returns:
- the total tax for this item
-
setTotalTax
void setTotalTax(org.broadleafcommerce.common.money.Money totalTax) Sets the total tax for this item, which is the sum of all taxes for this item. This total should only be set during the TotalActivity stage of the pricing workflow.- Parameters:
totalTax- the total tax for this item
-
getHasProratedOrderAdjustments
boolean getHasProratedOrderAdjustments()Returns true if this item has pro-rated order adjustments.- Returns:
-
getTotalItemAmount()orgetTotalItemTaxableAmount()