Interface FulfillmentGroupItem
- All Superinterfaces:
MultiTenantCloneable<FulfillmentGroupItem>,Serializable
- All Known Implementing Classes:
FulfillmentGroupItemImpl
public interface FulfillmentGroupItem
extends Serializable, MultiTenantCloneable<FulfillmentGroupItem>
-
Method Summary
Modifier and TypeMethodDescriptionclone()booleanReturns true if this item has pro-rated order adjustments.getId()getPrice()Deprecated.intgetTaxes()Gets a list of TaxDetail objects, which are taxes that apply directly to this item.Gets the total tax for this item, which is the sum of all taxes for this item.voidvoidsetFulfillmentGroup(FulfillmentGroup fulfillmentGroup) voidvoidsetOrderItem(OrderItem orderItem) voidvoidsetQuantity(int quantity) voidsetStatus(FulfillmentGroupStatusType status) voidSets the list of TaxDetail objects, which are taxes that apply directly to this item.voidsetTotalItemAmount(Money amount) voidsetTotalItemTaxableAmount(Money amount) voidsetTotalTax(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
Money getRetailPrice() -
getSalePrice
Money getSalePrice() -
getPrice
Money getPrice()Deprecated. -
getTotalItemAmount
Money getTotalItemAmount() -
setTotalItemAmount
-
getProratedOrderAdjustmentAmount
Money getProratedOrderAdjustmentAmount() -
setProratedOrderAdjustmentAmount
-
getTotalItemTaxableAmount
Money getTotalItemTaxableAmount() -
setTotalItemTaxableAmount
-
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
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
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()