Class TaxRateImpl
java.lang.Object
com.commercetools.importapi.models.prices.TaxRateImpl
- All Implemented Interfaces:
TaxRate
,io.vrap.rmf.base.client.ModelBase
TaxRate
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.vrap.rmf.base.client.ModelBase
io.vrap.rmf.base.client.ModelBase.FilteredRecursiveToStringStyle
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
A two-digit country code as per ISO 3166-1 alpha-2.getId()
getName()
getState()
int
hashCode()
void
set amountvoid
setCountry
(String country) A two-digit country code as per ISO 3166-1 alpha-2.void
set idvoid
setIncludedInPrice
(Boolean includedInPrice) set includedInPricevoid
set namevoid
set statevoid
setSubRates
(SubRate... subRates) set subRatesvoid
setSubRates
(List<SubRate> subRates) set subRatesMethods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.vrap.rmf.base.client.ModelBase
reflectionString, reflectionString
Methods inherited from interface com.commercetools.importapi.models.prices.TaxRate
withTaxRate
-
Constructor Details
-
TaxRateImpl
public TaxRateImpl()create empty instance
-
-
Method Details
-
getId
-
getName
-
getAmount
-
getIncludedInPrice
- Specified by:
getIncludedInPrice
in interfaceTaxRate
- Returns:
- includedInPrice
-
getCountry
A two-digit country code as per ISO 3166-1 alpha-2.
- Specified by:
getCountry
in interfaceTaxRate
- Returns:
- country
-
getState
-
getSubRates
- Specified by:
getSubRates
in interfaceTaxRate
- Returns:
- subRates
-
setId
Description copied from interface:TaxRate
set id -
setName
Description copied from interface:TaxRate
set name -
setAmount
Description copied from interface:TaxRate
set amount -
setIncludedInPrice
Description copied from interface:TaxRate
set includedInPrice- Specified by:
setIncludedInPrice
in interfaceTaxRate
- Parameters:
includedInPrice
- value to be set
-
setCountry
Description copied from interface:TaxRate
A two-digit country code as per ISO 3166-1 alpha-2.
- Specified by:
setCountry
in interfaceTaxRate
- Parameters:
country
- value to be set
-
setState
Description copied from interface:TaxRate
set state -
setSubRates
Description copied from interface:TaxRate
set subRates- Specified by:
setSubRates
in interfaceTaxRate
- Parameters:
subRates
- values to be set
-
setSubRates
Description copied from interface:TaxRate
set subRates- Specified by:
setSubRates
in interfaceTaxRate
- Parameters:
subRates
- values to be set
-
equals
-
hashCode
public int hashCode()
-