Interface StoreCreatedMessagePayload
- All Superinterfaces:
MessagePayload
,MessagePayloadMixin
Generated after a successful Create Store request.
Example to create an instance using the builder pattern
StoreCreatedMessagePayload storeCreatedMessagePayload = StoreCreatedMessagePayload.builder()
.plusDistributionChannels(distributionChannelsBuilder -> distributionChannelsBuilder)
.plusSupplyChannels(supplyChannelsBuilder -> supplyChannelsBuilder)
.plusProductSelections(productSelectionsBuilder -> productSelectionsBuilder)
.build()
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
discriminator value for StoreCreatedMessagePayload -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for StoreCreatedMessagePayloadbuilder
(StoreCreatedMessagePayload template) create builder for StoreCreatedMessagePayload instancestatic StoreCreatedMessagePayload
deepCopy
(StoreCreatedMessagePayload template) factory method to create a deep copy of StoreCreatedMessagePayload@Valid List<StoreCountry>
Countries of the Store that was created.@Valid CustomFields
Custom Fields on the Store that was created.@NotNull @Valid List<ChannelReference>
Distribution Channels of the Store that was created.Languages of the Store that was created.@Valid LocalizedString
getName()
Thename
of the Store that was created.@NotNull @Valid List<ProductSelectionSetting>
ProductSelectionSettings of the Store that was created.@NotNull @Valid List<ChannelReference>
Supply Channels of the Store that was created.static StoreCreatedMessagePayload
of()
factory methodstatic StoreCreatedMessagePayload
of
(StoreCreatedMessagePayload template) factory method to create a shallow copy StoreCreatedMessagePayloadvoid
setCountries
(StoreCountry... countries) Countries of the Store that was created.void
setCountries
(List<StoreCountry> countries) Countries of the Store that was created.void
setCustom
(CustomFields custom) Custom Fields on the Store that was created.void
setDistributionChannels
(ChannelReference... distributionChannels) Distribution Channels of the Store that was created.void
setDistributionChannels
(List<ChannelReference> distributionChannels) Distribution Channels of the Store that was created.void
setLanguages
(String... languages) Languages of the Store that was created.void
setLanguages
(List<String> languages) Languages of the Store that was created.void
setName
(LocalizedString name) Thename
of the Store that was created.void
setProductSelections
(ProductSelectionSetting... productSelections) ProductSelectionSettings of the Store that was created.void
setProductSelections
(List<ProductSelectionSetting> productSelections) ProductSelectionSettings of the Store that was created.void
setSupplyChannels
(ChannelReference... supplyChannels) Supply Channels of the Store that was created.void
setSupplyChannels
(List<ChannelReference> supplyChannels) Supply Channels of the Store that was created.static com.fasterxml.jackson.core.type.TypeReference<StoreCreatedMessagePayload>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
accessor map functionMethods inherited from interface com.commercetools.api.models.message.MessagePayload
getType, withMessagePayload
Methods inherited from interface com.commercetools.api.models.message.MessagePayloadMixin
as
-
Field Details
-
STORE_CREATED
discriminator value for StoreCreatedMessagePayload- See Also:
-
-
Method Details
-
getName
The
name
of the Store that was created.- Returns:
- name
-
getLanguages
Languages of the Store that was created. Languages are represented as IETF language tags.
- Returns:
- languages
-
getCountries
Countries of the Store that was created.
- Returns:
- countries
-
getDistributionChannels
Distribution Channels of the Store that was created.
- Returns:
- distributionChannels
-
getSupplyChannels
Supply Channels of the Store that was created.
- Returns:
- supplyChannels
-
getProductSelections
ProductSelectionSettings of the Store that was created.
- Returns:
- productSelections
-
getCustom
Custom Fields on the Store that was created.
- Returns:
- custom
-
setName
The
name
of the Store that was created.- Parameters:
name
- value to be set
-
setLanguages
Languages of the Store that was created. Languages are represented as IETF language tags.
- Parameters:
languages
- values to be set
-
setLanguages
Languages of the Store that was created. Languages are represented as IETF language tags.
- Parameters:
languages
- values to be set
-
setCountries
Countries of the Store that was created.
- Parameters:
countries
- values to be set
-
setCountries
Countries of the Store that was created.
- Parameters:
countries
- values to be set
-
setDistributionChannels
Distribution Channels of the Store that was created.
- Parameters:
distributionChannels
- values to be set
-
setDistributionChannels
Distribution Channels of the Store that was created.
- Parameters:
distributionChannels
- values to be set
-
setSupplyChannels
Supply Channels of the Store that was created.
- Parameters:
supplyChannels
- values to be set
-
setSupplyChannels
Supply Channels of the Store that was created.
- Parameters:
supplyChannels
- values to be set
-
setProductSelections
ProductSelectionSettings of the Store that was created.
- Parameters:
productSelections
- values to be set
-
setProductSelections
ProductSelectionSettings of the Store that was created.
- Parameters:
productSelections
- values to be set
-
setCustom
Custom Fields on the Store that was created.
- Parameters:
custom
- value to be set
-
of
factory method- Returns:
- instance of StoreCreatedMessagePayload
-
of
factory method to create a shallow copy StoreCreatedMessagePayload- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
factory method to create a deep copy of StoreCreatedMessagePayload- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for StoreCreatedMessagePayload- Returns:
- builder
-
builder
create builder for StoreCreatedMessagePayload instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withStoreCreatedMessagePayload
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
-