Class FulfillmentItemTaxDetail
java.lang.Object
com.broadleafcommerce.cart.client.domain.FulfillmentItemTaxDetail
- All Implemented Interfaces:
Serializable
Tax information about this fulfillment item. Certain fields may not be used dependending on the
TaxProvider currently in use.
- Author:
- cschneider
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
The 2 digit country code.The tax jurisdiction name.The jurisdiction type, e.g.getRate()
The tax rateThe region that this tax was calculated.javax.money.MonetaryAmount
The amount that was taxable to determine the calculated tax.javax.money.MonetaryAmount
The amount of taxes calculated.The tax name for this tax detail.The transaction ID for this tax detail.int
hashCode()
boolean
isVat()
Declares whether the taxes were included in the provided subtotal.void
setCountry
(String country) The 2 digit country code.void
setJurisdictionName
(String jurisdictionName) The tax jurisdiction name.void
setJurisdictionType
(String jurisdictionType) The jurisdiction type, e.g.void
setRate
(BigDecimal rate) The tax ratevoid
The region that this tax was calculated.void
setTaxableAmount
(javax.money.MonetaryAmount taxableAmount) The amount that was taxable to determine the calculated tax.void
setTaxCalculated
(javax.money.MonetaryAmount taxCalculated) The amount of taxes calculated.void
setTaxName
(String taxName) The tax name for this tax detail.void
setTransactionId
(String transactionId) The transaction ID for this tax detail.void
setVat
(boolean isVat) Declares whether the taxes were included in the provided subtotal.toString()
-
Constructor Details
-
FulfillmentItemTaxDetail
public FulfillmentItemTaxDetail()
-
-
Method Details
-
getTaxCalculated
public javax.money.MonetaryAmount getTaxCalculated()The amount of taxes calculated. -
getTaxableAmount
public javax.money.MonetaryAmount getTaxableAmount()The amount that was taxable to determine the calculated tax. -
getRate
The tax rate -
getJurisdictionType
The jurisdiction type, e.g. city, state, county, etc. -
getJurisdictionName
The tax jurisdiction name. This may be a state, city, county, etc. For example, "California", "New York City", etc. -
getCountry
The 2 digit country code. -
getRegion
The region that this tax was calculated. -
getTaxName
The tax name for this tax detail. Describes the tax (e.g. TX STATE TAX) -
getTransactionId
The transaction ID for this tax detail. Used to reconcile this tax detail with a specific transaction when using an external tax provider. -
isVat
public boolean isVat()Declares whether the taxes were included in the provided subtotal. Note: this is a known misnomer. -
setTaxCalculated
public void setTaxCalculated(javax.money.MonetaryAmount taxCalculated) The amount of taxes calculated. -
setTaxableAmount
public void setTaxableAmount(javax.money.MonetaryAmount taxableAmount) The amount that was taxable to determine the calculated tax. -
setRate
The tax rate -
setJurisdictionType
The jurisdiction type, e.g. city, state, county, etc. -
setJurisdictionName
The tax jurisdiction name. This may be a state, city, county, etc. For example, "California", "New York City", etc. -
setCountry
The 2 digit country code. -
setRegion
The region that this tax was calculated. -
setTaxName
The tax name for this tax detail. Describes the tax (e.g. TX STATE TAX) -
setTransactionId
The transaction ID for this tax detail. Used to reconcile this tax detail with a specific transaction when using an external tax provider. -
setVat
public void setVat(boolean isVat) Declares whether the taxes were included in the provided subtotal. Note: this is a known misnomer. -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-