Interface ProductVariantChannelAvailabilityMap
public interface ProductVariantChannelAvailabilityMap
JSON object where the keys are supply Channel id
, and the values are ProductVariantChannelAvailability.
Example to create an instance using the builder pattern
ProductVariantChannelAvailabilityMap productVariantChannelAvailabilityMap = ProductVariantChannelAvailabilityMap.builder()
./^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/(/^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/Builder -> /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/Builder)
.build()
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for ProductVariantChannelAvailabilityMapbuilder
(ProductVariantChannelAvailabilityMap template) create builder for ProductVariantChannelAvailabilityMap instancecopyDeep()
deepCopy
(ProductVariantChannelAvailabilityMap template) factory method to create a deep copy of ProductVariantChannelAvailabilityMapof()
factory methodof
(ProductVariantChannelAvailabilityMap template) factory method to create a shallow copy ProductVariantChannelAvailabilityMapvoid
setValue
(String key, ProductVariantChannelAvailability value) JSON object where the keys are supply Channelid
, and the values are ProductVariantChannelAvailability.static com.fasterxml.jackson.core.type.TypeReference<ProductVariantChannelAvailabilityMap>
gives a TypeReference for usage with Jackson DataBind@NotNull @Valid Map<String,
ProductVariantChannelAvailability> values()
JSON object where the keys are supply Channelid
, and the values are ProductVariantChannelAvailability.default <T> T
accessor map function
-
Method Details
-
values
JSON object where the keys are supply Channel
id
, and the values are ProductVariantChannelAvailability.- Returns:
- map of the pattern property values
-
setValue
JSON object where the keys are supply Channel
id
, and the values are ProductVariantChannelAvailability.- Parameters:
key
- property namevalue
- property value
-
of
factory method- Returns:
- instance of ProductVariantChannelAvailabilityMap
-
of
factory method to create a shallow copy ProductVariantChannelAvailabilityMap- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
copyDeep
ProductVariantChannelAvailabilityMap copyDeep() -
deepCopy
@Nullable static ProductVariantChannelAvailabilityMap deepCopy(@Nullable ProductVariantChannelAvailabilityMap template) factory method to create a deep copy of ProductVariantChannelAvailabilityMap- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for ProductVariantChannelAvailabilityMap- Returns:
- builder
-
builder
static ProductVariantChannelAvailabilityMapBuilder builder(ProductVariantChannelAvailabilityMap template) create builder for ProductVariantChannelAvailabilityMap instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withProductVariantChannelAvailabilityMap
default <T> T withProductVariantChannelAvailabilityMap(Function<ProductVariantChannelAvailabilityMap, T> helper) accessor map function- Type Parameters:
T
- mapped type- Parameters:
helper
- function to map the object- Returns:
- mapped value
-
typeReference
static com.fasterxml.jackson.core.type.TypeReference<ProductVariantChannelAvailabilityMap> typeReference()gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-