Interface UserProvidedIdentifiers
User-provided identifiers present on the resource for which the Message is created. The value of the identifier stored in the Message corresponds to the one that was set on the resource at the version shown in resourceVersion.
Example to create an instance using the builder pattern
UserProvidedIdentifiers userProvidedIdentifiers = UserProvidedIdentifiers.builder()
.build()
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder factory method for UserProvidedIdentifiersbuilder(UserProvidedIdentifiers template) create builder for UserProvidedIdentifiers instancecopyDeep()static UserProvidedIdentifiersdeepCopy(UserProvidedIdentifiers template) factory method to create a deep copy of UserProvidedIdentifiers@Valid ContainerAndKeyUnique identifier of a Custom Object.User-provided unique identifier of a Customer.User-provided unique identifier of the resource.getKey()User-provided unique identifier of the resource.User-provided unique identifier of an Order.getSku()Unique SKU of a Product Variant.@Valid LocalizedStringgetSlug()Unique identifier usually used in deep-link URLs for a Product.static UserProvidedIdentifiersof()factory methodstatic UserProvidedIdentifiersof(UserProvidedIdentifiers template) factory method to create a shallow copy UserProvidedIdentifiersvoidsetContainerAndKey(ContainerAndKey containerAndKey) Unique identifier of a Custom Object.voidsetCustomerNumber(String customerNumber) User-provided unique identifier of a Customer.voidsetExternalId(String externalId) User-provided unique identifier of the resource.voidUser-provided unique identifier of the resource.voidsetOrderNumber(String orderNumber) User-provided unique identifier of an Order.voidUnique SKU of a Product Variant.voidsetSlug(LocalizedString slug) Unique identifier usually used in deep-link URLs for a Product.static com.fasterxml.jackson.core.type.TypeReference<UserProvidedIdentifiers>gives a TypeReference for usage with Jackson DataBinddefault <T> Taccessor map function
-
Method Details
-
getKey
String getKey()User-provided unique identifier of the resource.
- Returns:
- key
-
getExternalId
String getExternalId()User-provided unique identifier of the resource.
- Returns:
- externalId
-
getOrderNumber
String getOrderNumber()User-provided unique identifier of an Order.
- Returns:
- orderNumber
-
getCustomerNumber
String getCustomerNumber()User-provided unique identifier of a Customer.
- Returns:
- customerNumber
-
getSku
String getSku()Unique SKU of a Product Variant.
- Returns:
- sku
-
getSlug
Unique identifier usually used in deep-link URLs for a Product. The value corresponds to the slug in the
currentProduct Projection.- Returns:
- slug
-
getContainerAndKey
Unique identifier of a Custom Object.
- Returns:
- containerAndKey
-
setKey
User-provided unique identifier of the resource.
- Parameters:
key- value to be set
-
setExternalId
User-provided unique identifier of the resource.
- Parameters:
externalId- value to be set
-
setOrderNumber
User-provided unique identifier of an Order.
- Parameters:
orderNumber- value to be set
-
setCustomerNumber
User-provided unique identifier of a Customer.
- Parameters:
customerNumber- value to be set
-
setSku
Unique SKU of a Product Variant.
- Parameters:
sku- value to be set
-
setSlug
Unique identifier usually used in deep-link URLs for a Product. The value corresponds to the slug in the
currentProduct Projection.- Parameters:
slug- value to be set
-
setContainerAndKey
Unique identifier of a Custom Object.
- Parameters:
containerAndKey- value to be set
-
of
factory method- Returns:
- instance of UserProvidedIdentifiers
-
of
factory method to create a shallow copy UserProvidedIdentifiers- Parameters:
template- instance to be copied- Returns:
- copy instance
-
copyDeep
UserProvidedIdentifiers copyDeep() -
deepCopy
factory method to create a deep copy of UserProvidedIdentifiers- Parameters:
template- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for UserProvidedIdentifiers- Returns:
- builder
-
builder
create builder for UserProvidedIdentifiers instance- Parameters:
template- instance with prefilled values for the builder- Returns:
- builder
-
withUserProvidedIdentifiers
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
-