Interface TaxCategoryKeyReference
- All Superinterfaces:
KeyReference
Used by the Import API to identify a TaxCategory.
Example to create an instance using the builder pattern
TaxCategoryKeyReference taxCategoryKeyReference = TaxCategoryKeyReference.builder()
.key("{key}")
.build()
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringdiscriminator value for TaxCategoryKeyReference -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder factory method for TaxCategoryKeyReferencebuilder(TaxCategoryKeyReference template) create builder for TaxCategoryKeyReference instancecopyDeep()static TaxCategoryKeyReferencedeepCopy(TaxCategoryKeyReference template) factory method to create a deep copy of TaxCategoryKeyReference@NotNull StringgetKey()User-defined unique identifier of the referenced TaxCategory.static TaxCategoryKeyReferenceof()factory methodstatic TaxCategoryKeyReferenceof(TaxCategoryKeyReference template) factory method to create a shallow copy TaxCategoryKeyReferencevoidUser-defined unique identifier of the referenced TaxCategory.static com.fasterxml.jackson.core.type.TypeReference<TaxCategoryKeyReference>gives a TypeReference for usage with Jackson DataBinddefault <T> Taccessor map functionMethods inherited from interface com.commercetools.importapi.models.common.KeyReference
getTypeId, withKeyReference
-
Field Details
-
TAX_CATEGORY
discriminator value for TaxCategoryKeyReference- See Also:
-
-
Method Details
-
getKey
User-defined unique identifier of the referenced TaxCategory.
- Specified by:
getKeyin interfaceKeyReference- Returns:
- key
-
setKey
User-defined unique identifier of the referenced TaxCategory.
- Specified by:
setKeyin interfaceKeyReference- Parameters:
key- value to be set
-
of
factory method- Returns:
- instance of TaxCategoryKeyReference
-
of
factory method to create a shallow copy TaxCategoryKeyReference- Parameters:
template- instance to be copied- Returns:
- copy instance
-
copyDeep
TaxCategoryKeyReference copyDeep()- Specified by:
copyDeepin interfaceKeyReference
-
deepCopy
factory method to create a deep copy of TaxCategoryKeyReference- Parameters:
template- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for TaxCategoryKeyReference- Returns:
- builder
-
builder
create builder for TaxCategoryKeyReference instance- Parameters:
template- instance with prefilled values for the builder- Returns:
- builder
-
withTaxCategoryKeyReference
accessor map function- Type Parameters:
T- mapped type- Parameters:
helper- function to map the object- Returns:
- mapped value
-
typeReference
gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-