Interface PlatformFormat
- All Superinterfaces:
DeliveryFormat
- All Known Subinterfaces:
DeliveryPlatformFormat
The PlatformFormat uses constructs that are similar to the ones used in the REST API, for example, on the Messages Query HTTP API.
Example to create an instance using the builder pattern
PlatformFormat platformFormat = PlatformFormat.builder()
.build()
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic PlatformFormatBuilder
builder()
builder factory method for PlatformFormatstatic PlatformFormatBuilder
builder
(PlatformFormat template) create builder for PlatformFormat instancestatic PlatformFormat
deepCopy
(PlatformFormat template) factory method to create a deep copy of PlatformFormatstatic PlatformFormat
of()
factory methodstatic PlatformFormat
of
(PlatformFormat template) factory method to create a shallow copy PlatformFormatstatic com.fasterxml.jackson.core.type.TypeReference<PlatformFormat>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
withPlatformFormat
(Function<PlatformFormat, T> helper) accessor map functionMethods inherited from interface com.commercetools.api.models.subscription.DeliveryFormat
getType, withDeliveryFormat
-
Field Details
-
PLATFORM
discriminator value for PlatformFormat- See Also:
-
-
Method Details
-
of
factory method- Returns:
- instance of PlatformFormat
-
of
factory method to create a shallow copy PlatformFormat- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
factory method to create a deep copy of PlatformFormat- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for PlatformFormat- Returns:
- builder
-
builder
create builder for PlatformFormat instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withPlatformFormat
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
-