Interface ProductVariantChannelAvailabilityMap
public interface ProductVariantChannelAvailabilityMap
JSON object where the key is a supply Channel id
and the value is the ProductVariantChannelAvailability of the InventoryEntry.
Example to create an instance using the builder pattern
ProductVariantChannelAvailabilityMap productVariantChannelAvailabilityMap = ProductVariantChannelAvailabilityMap.builder()
.//(//Builder -> //Builder)
.build()
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for ProductVariantChannelAvailabilityMapbuilder
(ProductVariantChannelAvailabilityMap template) create builder for ProductVariantChannelAvailabilityMap instancedeepCopy
(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) set pattern propertystatic com.fasterxml.jackson.core.type.TypeReference<ProductVariantChannelAvailabilityMap>
gives a TypeReference for usage with Jackson DataBind@NotNull @Valid Map<String,
ProductVariantChannelAvailability> values()
default <T> T
accessor map function
-
Method Details
-
values
- Returns:
- map of the pattern property values
-
setValue
set pattern property- 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
-
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
-