public class TaxDetailWrapper
extends org.broadleafcommerce.common.rest.api.wrapper.BaseWrapper
implements org.broadleafcommerce.common.rest.api.wrapper.APIWrapper<org.broadleafcommerce.core.order.domain.TaxDetail>
Modifier and Type | Field and Description |
---|---|
protected org.broadleafcommerce.common.money.Money |
amount |
protected String |
country |
protected String |
currency |
protected Long |
id |
protected String |
jurisdictionName |
protected BigDecimal |
rate |
protected String |
region |
protected String |
taxName |
protected BroadleafEnumerationTypeWrapper |
taxType |
Constructor and Description |
---|
TaxDetailWrapper() |
Modifier and Type | Method and Description |
---|---|
org.broadleafcommerce.common.money.Money |
getAmount() |
String |
getCountry() |
String |
getCurrency() |
Long |
getId() |
String |
getJurisdictionName() |
BigDecimal |
getRate() |
String |
getRegion() |
String |
getTaxName() |
BroadleafEnumerationTypeWrapper |
getTaxType() |
void |
setAmount(org.broadleafcommerce.common.money.Money amount) |
void |
setCountry(String country) |
void |
setCurrency(String currency) |
void |
setId(Long id) |
void |
setJurisdictionName(String jurisdictionName) |
void |
setRate(BigDecimal rate) |
void |
setRegion(String region) |
void |
setTaxName(String taxName) |
void |
setTaxType(BroadleafEnumerationTypeWrapper taxType) |
void |
wrapDetails(org.broadleafcommerce.core.order.domain.TaxDetail model,
javax.servlet.http.HttpServletRequest request) |
void |
wrapSummary(org.broadleafcommerce.core.order.domain.TaxDetail model,
javax.servlet.http.HttpServletRequest request) |
protected Long id
protected BroadleafEnumerationTypeWrapper taxType
protected org.broadleafcommerce.common.money.Money amount
protected BigDecimal rate
protected String currency
protected String jurisdictionName
protected String taxName
protected String region
protected String country
public void wrapDetails(org.broadleafcommerce.core.order.domain.TaxDetail model, javax.servlet.http.HttpServletRequest request)
wrapDetails
in interface org.broadleafcommerce.common.rest.api.wrapper.APIWrapper<org.broadleafcommerce.core.order.domain.TaxDetail>
public void wrapSummary(org.broadleafcommerce.core.order.domain.TaxDetail model, javax.servlet.http.HttpServletRequest request)
wrapSummary
in interface org.broadleafcommerce.common.rest.api.wrapper.APIWrapper<org.broadleafcommerce.core.order.domain.TaxDetail>
public Long getId()
public void setId(Long id)
id
- the id to setpublic BroadleafEnumerationTypeWrapper getTaxType()
public void setTaxType(BroadleafEnumerationTypeWrapper taxType)
taxType
- the taxType to setpublic org.broadleafcommerce.common.money.Money getAmount()
public void setAmount(org.broadleafcommerce.common.money.Money amount)
amount
- the amount to setpublic BigDecimal getRate()
public void setRate(BigDecimal rate)
rate
- the rate to setpublic String getCurrency()
public void setCurrency(String currency)
currency
- the currency to setpublic String getJurisdictionName()
public void setJurisdictionName(String jurisdictionName)
jurisdictionName
- the jurisdictionName to setpublic String getTaxName()
public void setTaxName(String taxName)
taxName
- the taxName to setpublic String getRegion()
public void setRegion(String region)
region
- the region to setpublic String getCountry()
public void setCountry(String country)
country
- the country to setCopyright © 2020. All rights reserved.