Available strategies

Currently SDK only allows to define one mutation strategy - “ReceiverLanguage”.

To set the strategy, start building the channel with this strategy. ChannelBuilder will set up datastandard for you. Below is an example how to set up the “ReceiverLanguage” strategy.

ChannelBuilder.hierarchicalChannel("google-demo-channel", "google-merchant-adapter",
    "Google merchant center - shopping", 
    "https://en.wikipedia.org/wiki/File:Google_2015_logo.svg",
    ChannelHierarchyMutationStrategy.SINGLE_LEVEL_RECEIVER, 
    DatastandardMutationStrategy.RECEIVER_LANGUAGE)

This will create following datastandard version configuration:

"hierarchyMutationStrategies": [
    "ReceiverLanguage"
],