Interface FulfillmentGroupFee
- All Superinterfaces:
org.broadleafcommerce.common.copy.MultiTenantCloneable<FulfillmentGroupFee>,Serializable
- All Known Implementing Classes:
FulfillmentGroupFeeImpl
public interface FulfillmentGroupFee
extends Serializable, org.broadleafcommerce.common.copy.MultiTenantCloneable<FulfillmentGroupFee>
-
Method Summary
Modifier and TypeMethodDescriptionorg.broadleafcommerce.common.money.MoneygetId()getName()getTaxes()Gets a list of TaxDetail objects, which are taxes that apply directly to this fee.org.broadleafcommerce.common.money.MoneyGets the total tax for this fee, which is the sum of all taxes for this fee.Returns whether or not this fee is taxable.voidsetAmount(org.broadleafcommerce.common.money.Money amount) voidsetFulfillmentGroup(FulfillmentGroup fulfillmentGroup) voidvoidvoidsetReportingCode(String reportingCode) voidsetTaxable(Boolean taxable) Sets whether or not this fee is taxablevoidSets the list of TaxDetail objects, which are taxes that apply directly to this fee.voidsetTotalTax(org.broadleafcommerce.common.money.Money totalTax) Sets the total tax for this fee, which is the sum of all taxes for this fee.Methods inherited from interface org.broadleafcommerce.common.copy.MultiTenantCloneable
createOrRetrieveCopyInstance
-
Method Details
-
getId
Long getId() -
setId
-
getFulfillmentGroup
FulfillmentGroup getFulfillmentGroup() -
setFulfillmentGroup
-
getAmount
org.broadleafcommerce.common.money.Money getAmount() -
setAmount
void setAmount(org.broadleafcommerce.common.money.Money amount) -
getName
String getName() -
setName
-
getReportingCode
String getReportingCode() -
setReportingCode
-
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
Sets whether or not this fee is taxable- Parameters:
taxable-
-
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
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
org.broadleafcommerce.common.money.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(org.broadleafcommerce.common.money.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
-