Class TaxDetailWrapper

java.lang.Object
org.broadleafcommerce.common.rest.api.wrapper.BaseWrapper
com.broadleafcommerce.rest.api.wrapper.TaxDetailWrapper
All Implemented Interfaces:
Serializable, org.broadleafcommerce.common.rest.api.wrapper.APIWrapper<org.broadleafcommerce.core.order.domain.TaxDetail>, org.springframework.beans.factory.Aware, org.springframework.context.ApplicationContextAware

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>
See Also:
  • Field Details

    • id

      protected Long id
    • taxType

    • amount

      protected org.broadleafcommerce.common.money.Money amount
    • rate

      protected BigDecimal rate
    • currency

      protected String currency
    • jurisdictionName

      protected String jurisdictionName
    • taxName

      protected String taxName
    • region

      protected String region
    • country

      protected String country
  • Constructor Details

    • TaxDetailWrapper

      public TaxDetailWrapper()
  • Method Details

    • wrapDetails

      public void wrapDetails(org.broadleafcommerce.core.order.domain.TaxDetail model, jakarta.servlet.http.HttpServletRequest request)
      Specified by:
      wrapDetails in interface org.broadleafcommerce.common.rest.api.wrapper.APIWrapper<org.broadleafcommerce.core.order.domain.TaxDetail>
    • wrapSummary

      public void wrapSummary(org.broadleafcommerce.core.order.domain.TaxDetail model, jakarta.servlet.http.HttpServletRequest request)
      Specified by:
      wrapSummary in interface org.broadleafcommerce.common.rest.api.wrapper.APIWrapper<org.broadleafcommerce.core.order.domain.TaxDetail>
    • getId

      public Long getId()
      Returns:
      the id
    • setId

      public void setId(Long id)
      Parameters:
      id - the id to set
    • getTaxType

      public BroadleafEnumerationTypeWrapper getTaxType()
      Returns:
      the taxType
    • setTaxType

      public void setTaxType(BroadleafEnumerationTypeWrapper taxType)
      Parameters:
      taxType - the taxType to set
    • getAmount

      public org.broadleafcommerce.common.money.Money getAmount()
      Returns:
      the amount
    • setAmount

      public void setAmount(org.broadleafcommerce.common.money.Money amount)
      Parameters:
      amount - the amount to set
    • getRate

      public BigDecimal getRate()
      Returns:
      the rate
    • setRate

      public void setRate(BigDecimal rate)
      Parameters:
      rate - the rate to set
    • getCurrency

      public String getCurrency()
      Returns:
      the currency
    • setCurrency

      public void setCurrency(String currency)
      Parameters:
      currency - the currency to set
    • getJurisdictionName

      public String getJurisdictionName()
      Returns:
      the jurisdictionName
    • setJurisdictionName

      public void setJurisdictionName(String jurisdictionName)
      Parameters:
      jurisdictionName - the jurisdictionName to set
    • getTaxName

      public String getTaxName()
      Returns:
      the taxName
    • setTaxName

      public void setTaxName(String taxName)
      Parameters:
      taxName - the taxName to set
    • getRegion

      public String getRegion()
      Returns:
      the region
    • setRegion

      public void setRegion(String region)
      Parameters:
      region - the region to set
    • getCountry

      public String getCountry()
      Returns:
      the country
    • setCountry

      public void setCountry(String country)
      Parameters:
      country - the country to set