Interface UserProvidedIdentifiers
- All Known Implementing Classes:
UserProvidedIdentifiersImpl
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 instancestatic UserProvidedIdentifiers
deepCopy
(UserProvidedIdentifiers template) factory method to create a deep copy of UserProvidedIdentifiers@Valid ContainerAndKey
Unique 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 LocalizedString
getSlug()
Unique identifier usually used in deep-link URLs for a Product.static UserProvidedIdentifiers
of()
factory methodstatic UserProvidedIdentifiers
of
(UserProvidedIdentifiers template) factory method to create a shallow copy UserProvidedIdentifiersvoid
setContainerAndKey
(ContainerAndKey containerAndKey) Unique identifier of a Custom Object.void
setCustomerNumber
(String customerNumber) User-provided unique identifier of a Customer.void
setExternalId
(String externalId) User-provided unique identifier of the resource.void
User-provided unique identifier of the resource.void
setOrderNumber
(String orderNumber) User-provided unique identifier of an Order.void
Unique SKU of a Product Variant.void
setSlug
(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> T
accessor 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
current
Product 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
current
Product 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
-
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
-