org.broadleafcommerce.core.order.domain
Interface FulfillmentGroupFee

All Superinterfaces:
Serializable
All Known Implementing Classes:
FulfillmentGroupFeeImpl

public interface FulfillmentGroupFee
extends Serializable


Method Summary
 Money getAmount()
           
 FulfillmentGroup getFulfillmentGroup()
           
 Long getId()
           
 String getName()
           
 String getReportingCode()
           
 List<TaxDetail> getTaxes()
          Gets a list of TaxDetail objects, which are taxes that apply directly to this fee.
 Money getTotalTax()
          Gets the total tax for this fee, which is the sum of all taxes for this fee.
 Boolean isTaxable()
          Returns whether or not this fee is taxable.
 void setAmount(Money amount)
           
 void setFulfillmentGroup(FulfillmentGroup fulfillmentGroup)
           
 void setId(Long id)
           
 void setName(String name)
           
 void setReportingCode(String reportingCode)
           
 void setTaxable(Boolean taxable)
          Sets whether or not this fee is taxable
 void setTaxes(List<TaxDetail> taxes)
          Sets the list of TaxDetail objects, which are taxes that apply directly to this fee.
 void setTotalTax(Money totalTax)
          Sets the total tax for this fee, which is the sum of all taxes for this fee.
 

Method Detail

getId

Long getId()

setId

void setId(Long id)

getFulfillmentGroup

FulfillmentGroup getFulfillmentGroup()

setFulfillmentGroup

void setFulfillmentGroup(FulfillmentGroup fulfillmentGroup)

getAmount

Money getAmount()

setAmount

void setAmount(Money amount)

getName

String getName()

setName

void setName(String name)

getReportingCode

String getReportingCode()

setReportingCode

void setReportingCode(String reportingCode)

isTaxable

Boolean isTaxable()
Returns whether or not this fee is taxable. If this flag is not set, it returns true by default

Returns:
the taxable flag. If null, returns true

setTaxable

void setTaxable(Boolean taxable)
Sets whether or not this fee is taxable

Parameters:
taxable -

getTaxes

List<TaxDetail> getTaxes()
Gets a list of TaxDetail objects, which are taxes that apply directly to this fee.

Returns:
a list of taxes that apply to this fee

setTaxes

void setTaxes(List<TaxDetail> taxes)
Sets the list of TaxDetail objects, which are taxes that apply directly to this fee.

Parameters:
taxes - the list of taxes on this fee

getTotalTax

Money getTotalTax()
Gets the total tax for this fee, which is the sum of all taxes for this fee. This total is calculated in the TotalActivity stage of the pricing workflow.

Returns:
the total tax for this fee

setTotalTax

void setTotalTax(Money totalTax)
Sets the total tax for this fee, which is the sum of all taxes for this fee. This total should only be set during the TotalActivity stage of the pricing workflow.

Parameters:
totalTax - the total tax for this fee


Copyright © 2012. All Rights Reserved.