'typeId' => Defaults::SALES_CHANNEL_TYPE_STOREFRONT,
'name' => 'store front',
'accessKey' => AccessKeyHelper::
generateAccessKey('sales-channel'
),
'languageId' => Defaults::LANGUAGE_SYSTEM,
'snippetSetId' =>
$snippetSetId,
'currencyId' => Defaults::CURRENCY,
'currencyVersionId' => Defaults::LIVE_VERSION,
'paymentMethodId' =>
$paymentMethodId,
'paymentMethodVersionId' => Defaults::LIVE_VERSION,
'shippingMethodId' =>
$shippingMethodId,
'shippingMethodVersionId' => Defaults::LIVE_VERSION,
'navigationCategoryId' =>
$this->
getValidCategoryId(),
'navigationCategoryVersionId' => Defaults::LIVE_VERSION,
'countryId' =>
$countryId,
'countryVersionId' => Defaults::LIVE_VERSION,
'currencies' =>
[['id' => Defaults::CURRENCY
]],
'languages' =>
[['id' => Defaults::LANGUAGE_SYSTEM
]],
'paymentMethods' =>
[['id' =>
$paymentMethodId]],
'shippingMethods' =>
[['id' =>
$shippingMethodId]],
'countries' =>
[['id' =>
$countryId]],
'domains' =>
[ ['url' => 'http://test.com/' . Uuid::
randomHex(), 'currencyId' => Defaults::CURRENCY, 'languageId' => Defaults::LANGUAGE_SYSTEM, 'snippetSetId' =>
$snippetSetId],
],
];