Package com.broadleafcommerce.tax.domain
Class TaxCalculationGroup
- java.lang.Object
-
- com.broadleafcommerce.tax.domain.TaxCalculationGroup
-
- All Implemented Interfaces:
Serializable
public class TaxCalculationGroup extends Object implements Serializable
- Author:
- Kelly Tisdell (ktisdell)
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TaxCalculationGroup()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
canEqual(Object other)
boolean
equals(Object o)
Map<String,Object>
getAttributes()
Additional attributes for this tax group.TaxAddress
getFromAddress()
The address that the items will be shipped from.String
getFulfillmentGroupReferenceNumber()
The fulfillment group reference number.List<TaxItem>
getTaxItems()
The list of items to be taxed.TaxAddress
getToAddress()
The address that the items will be shipped to.int
hashCode()
void
setAttributes(Map<String,Object> attributes)
Additional attributes for this tax group.void
setFromAddress(TaxAddress fromAddress)
The address that the items will be shipped from.void
setFulfillmentGroupReferenceNumber(String fulfillmentGroupReferenceNumber)
The fulfillment group reference number.void
setTaxItems(List<TaxItem> taxItems)
The list of items to be taxed.void
setToAddress(TaxAddress toAddress)
The address that the items will be shipped to.String
toString()
-
-
-
Method Detail
-
getFulfillmentGroupReferenceNumber
public String getFulfillmentGroupReferenceNumber()
The fulfillment group reference number.- Returns:
- The fulfillment group reference number
-
getTaxItems
public List<TaxItem> getTaxItems()
The list of items to be taxed.- Returns:
- The list of items to be taxed.
-
getFromAddress
public TaxAddress getFromAddress()
The address that the items will be shipped from.- Returns:
- The address that the items will be shipped from.
-
getToAddress
public TaxAddress getToAddress()
The address that the items will be shipped to.- Returns:
- The address that the items will be shipped to.
-
getAttributes
public Map<String,Object> getAttributes()
Additional attributes for this tax group.- Returns:
- Additional attributes for this tax group.
-
setFulfillmentGroupReferenceNumber
public void setFulfillmentGroupReferenceNumber(String fulfillmentGroupReferenceNumber)
The fulfillment group reference number.- Parameters:
fulfillmentGroupReferenceNumber
- The fulfillment group reference number
-
setTaxItems
public void setTaxItems(List<TaxItem> taxItems)
The list of items to be taxed.- Parameters:
taxItems
- The list of items to be taxed.
-
setFromAddress
public void setFromAddress(TaxAddress fromAddress)
The address that the items will be shipped from.- Parameters:
fromAddress
- The address that the items will be shipped from.
-
setToAddress
public void setToAddress(TaxAddress toAddress)
The address that the items will be shipped to.- Parameters:
toAddress
- The address that the items will be shipped to.
-
setAttributes
public void setAttributes(Map<String,Object> attributes)
Additional attributes for this tax group.- Parameters:
attributes
- Additional attributes for this tax group.
-
canEqual
protected boolean canEqual(Object other)
-
-