Class TaxCategoryImpl
- All Implemented Interfaces:
BaseResource
,DomainResource<TaxCategory>
,Identifiable<TaxCategory>
,Referencable<TaxCategory>
,ResourceIdentifiable<TaxCategory>
,TaxCategory
,TaxCategoryMixin
,Versioned<TaxCategory>
,WithKey
,io.vrap.rmf.base.client.ModelBase
-
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
Date and time (UTC) the TaxCategory was initially created.Present on resources created after 1 February 2019 except for events not tracked.Description of the TaxCategory.getId()
Unique identifier of the TaxCategory.getKey()
User-defined unique identifier of the TaxCategory.Date and time (UTC) the TaxCategory was last updated.Present on resources created after 1 February 2019 except for events not tracked.getName()
Name of the TaxCategory.getRates()
Tax rates and subrates of states and countries.Current version of the TaxCategory.int
hashCode()
void
setCreatedAt
(ZonedDateTime createdAt) Date and time (UTC) the TaxCategory was initially created.void
setCreatedBy
(CreatedBy createdBy) Present on resources created after 1 February 2019 except for events not tracked.void
setDescription
(String description) Description of the TaxCategory.void
Unique identifier of the TaxCategory.void
User-defined unique identifier of the TaxCategory.void
setLastModifiedAt
(ZonedDateTime lastModifiedAt) Date and time (UTC) the TaxCategory was last updated.void
setLastModifiedBy
(LastModifiedBy lastModifiedBy) Present on resources created after 1 February 2019 except for events not tracked.void
Name of the TaxCategory.void
Tax rates and subrates of states and countries.void
Tax rates and subrates of states and countries.void
setVersion
(Long version) Current version of the TaxCategory.Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.commercetools.api.models.common.BaseResource
withBaseResource
Methods inherited from interface com.commercetools.api.models.DomainResource
get
Methods inherited from interface io.vrap.rmf.base.client.ModelBase
reflectionString, reflectionString
Methods inherited from interface com.commercetools.api.models.tax_category.TaxCategory
withTaxCategory
Methods inherited from interface com.commercetools.api.models.tax_category.TaxCategoryMixin
toReference, toResourceIdentifier
-
Constructor Details
-
TaxCategoryImpl
public TaxCategoryImpl()create empty instance
-
-
Method Details
-
getId
Unique identifier of the TaxCategory.
- Specified by:
getId
in interfaceBaseResource
- Specified by:
getId
in interfaceDomainResource<TaxCategory>
- Specified by:
getId
in interfaceIdentifiable<TaxCategory>
- Specified by:
getId
in interfaceTaxCategory
- Specified by:
getId
in interfaceVersioned<TaxCategory>
- Returns:
- id
-
getVersion
Current version of the TaxCategory.
- Specified by:
getVersion
in interfaceBaseResource
- Specified by:
getVersion
in interfaceDomainResource<TaxCategory>
- Specified by:
getVersion
in interfaceTaxCategory
- Specified by:
getVersion
in interfaceVersioned<TaxCategory>
- Returns:
- version
-
getCreatedAt
Date and time (UTC) the TaxCategory was initially created.
- Specified by:
getCreatedAt
in interfaceBaseResource
- Specified by:
getCreatedAt
in interfaceTaxCategory
- Returns:
- createdAt
-
getLastModifiedAt
Date and time (UTC) the TaxCategory was last updated.
- Specified by:
getLastModifiedAt
in interfaceBaseResource
- Specified by:
getLastModifiedAt
in interfaceTaxCategory
- Returns:
- lastModifiedAt
-
getLastModifiedBy
Present on resources created after 1 February 2019 except for events not tracked.
- Specified by:
getLastModifiedBy
in interfaceTaxCategory
- Returns:
- lastModifiedBy
-
getCreatedBy
Present on resources created after 1 February 2019 except for events not tracked.
- Specified by:
getCreatedBy
in interfaceTaxCategory
- Returns:
- createdBy
-
getName
Name of the TaxCategory.
- Specified by:
getName
in interfaceTaxCategory
- Returns:
- name
-
getDescription
Description of the TaxCategory.
- Specified by:
getDescription
in interfaceTaxCategory
- Returns:
- description
-
getRates
Tax rates and subrates of states and countries. Each TaxRate in the array has a unique ID.
- Specified by:
getRates
in interfaceTaxCategory
- Returns:
- rates
-
getKey
User-defined unique identifier of the TaxCategory.
- Specified by:
getKey
in interfaceTaxCategory
- Specified by:
getKey
in interfaceWithKey
- Returns:
- key
-
setId
Description copied from interface:TaxCategory
Unique identifier of the TaxCategory.
- Specified by:
setId
in interfaceBaseResource
- Specified by:
setId
in interfaceTaxCategory
- Parameters:
id
- value to be set
-
setVersion
Description copied from interface:TaxCategory
Current version of the TaxCategory.
- Specified by:
setVersion
in interfaceBaseResource
- Specified by:
setVersion
in interfaceTaxCategory
- Parameters:
version
- value to be set
-
setCreatedAt
Description copied from interface:TaxCategory
Date and time (UTC) the TaxCategory was initially created.
- Specified by:
setCreatedAt
in interfaceBaseResource
- Specified by:
setCreatedAt
in interfaceTaxCategory
- Parameters:
createdAt
- value to be set
-
setLastModifiedAt
Description copied from interface:TaxCategory
Date and time (UTC) the TaxCategory was last updated.
- Specified by:
setLastModifiedAt
in interfaceBaseResource
- Specified by:
setLastModifiedAt
in interfaceTaxCategory
- Parameters:
lastModifiedAt
- value to be set
-
setLastModifiedBy
Description copied from interface:TaxCategory
Present on resources created after 1 February 2019 except for events not tracked.
- Specified by:
setLastModifiedBy
in interfaceTaxCategory
- Parameters:
lastModifiedBy
- value to be set
-
setCreatedBy
Description copied from interface:TaxCategory
Present on resources created after 1 February 2019 except for events not tracked.
- Specified by:
setCreatedBy
in interfaceTaxCategory
- Parameters:
createdBy
- value to be set
-
setName
Description copied from interface:TaxCategory
Name of the TaxCategory.
- Specified by:
setName
in interfaceTaxCategory
- Parameters:
name
- value to be set
-
setDescription
Description copied from interface:TaxCategory
Description of the TaxCategory.
- Specified by:
setDescription
in interfaceTaxCategory
- Parameters:
description
- value to be set
-
setRates
Description copied from interface:TaxCategory
Tax rates and subrates of states and countries. Each TaxRate in the array has a unique ID.
- Specified by:
setRates
in interfaceTaxCategory
- Parameters:
rates
- values to be set
-
setRates
Description copied from interface:TaxCategory
Tax rates and subrates of states and countries. Each TaxRate in the array has a unique ID.
- Specified by:
setRates
in interfaceTaxCategory
- Parameters:
rates
- values to be set
-
setKey
Description copied from interface:TaxCategory
User-defined unique identifier of the TaxCategory.
- Specified by:
setKey
in interfaceTaxCategory
- Parameters:
key
- value to be set
-
equals
-
hashCode
-