org.broadleafcommerce.core.order.domain
Interface FulfillmentGroupItem

All Superinterfaces:
Serializable
All Known Implementing Classes:
FulfillmentGroupItemImpl

public interface FulfillmentGroupItem
extends Serializable


Method Summary
 FulfillmentGroupItem clone()
           
 FulfillmentGroup getFulfillmentGroup()
           
 boolean getHasProratedOrderAdjustments()
          Returns true if this item has pro-rated order adjustments.
 Long getId()
           
 OrderItem getOrderItem()
           
 Money getPrice()
          Deprecated. Use getTotalItemAmount() or getTotalItemTaxableAmount()
 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.
 void removeAssociations()
           
 void setFulfillmentGroup(FulfillmentGroup fulfillmentGroup)
           
 void setId(Long id)
           
 void setOrderItem(OrderItem orderItem)
           
 void setProratedOrderAdjustmentAmount(Money amount)
           
 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 amount)
           
 void setTotalTax(Money totalTax)
          Sets the total tax for this item, which is the sum of all taxes for this item.
 

Method Detail

getId

Long getId()

setId

void setId(Long id)

getFulfillmentGroup

FulfillmentGroup getFulfillmentGroup()

setFulfillmentGroup

void setFulfillmentGroup(FulfillmentGroup fulfillmentGroup)

getOrderItem

OrderItem getOrderItem()

setOrderItem

void setOrderItem(OrderItem orderItem)

getQuantity

int getQuantity()

setQuantity

void setQuantity(int quantity)

getRetailPrice

Money getRetailPrice()

getSalePrice

Money getSalePrice()

getPrice

Money getPrice()
Deprecated. Use getTotalItemAmount() or getTotalItemTaxableAmount()


getTotalItemAmount

Money getTotalItemAmount()

setTotalItemAmount

void setTotalItemAmount(Money amount)

getProratedOrderAdjustmentAmount

Money getProratedOrderAdjustmentAmount()

setProratedOrderAdjustmentAmount

void setProratedOrderAdjustmentAmount(Money amount)

getTotalItemTaxableAmount

Money getTotalItemTaxableAmount()

setTotalItemTaxableAmount

void setTotalItemTaxableAmount(Money amount)

getStatus

FulfillmentGroupStatusType getStatus()

setStatus

void setStatus(FulfillmentGroupStatusType status)

removeAssociations

void removeAssociations()

clone

FulfillmentGroupItem clone()

getTaxes

List<TaxDetail> 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

void setTaxes(List<TaxDetail> taxes)
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

void setTotalTax(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:


Copyright © 2013. All Rights Reserved.