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()
           
 Long getId()
           
 OrderItem getOrderItem()
           
 Money getPrice()
           
 int getQuantity()
           
 Money getRetailPrice()
           
 Money getSalePrice()
           
 String getStatus()
           
 List<TaxDetail> getTaxes()
          Gets a list of TaxDetail objects, which are taxes that apply directly to this item.
 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 setQuantity(int quantity)
           
 void setStatus(String status)
           
 void setTaxes(List<TaxDetail> taxes)
          Sets the list of TaxDetail objects, which are taxes that apply directly to this item.
 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()

getStatus

String getStatus()

setStatus

void setStatus(String 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


Copyright © 2013. All Rights Reserved.