string
$serviceId = null
): void
{ $data =
[ 'id' =>
$id,
'name' => 'test',
'typeId' => Defaults::SALES_CHANNEL_TYPE_STOREFRONT,
'accessKey' => AccessKeyHelper::
generateAccessKey('sales-channel'
),
'languageId' => Defaults::LANGUAGE_SYSTEM,
'snippetSetId' =>
$this->
getSnippetSetIdForLocale('en-GB'
),
'currencyId' => Defaults::CURRENCY,
'currencyVersionId' => Defaults::LIVE_VERSION,
'paymentMethodId' =>
$this->
getValidPaymentMethodId(),
'paymentMethodVersionId' => Defaults::LIVE_VERSION,
'shippingMethodId' =>
$this->
getValidShippingMethodId(),
'shippingMethodVersionId' => Defaults::LIVE_VERSION,
'countryId' =>
$this->
getValidCountryId(),
'countryVersionId' => Defaults::LIVE_VERSION,
'navigationCategoryId' =>
$navigationId,
'navigationCategoryVersionId' => Defaults::LIVE_VERSION,
'serviceCategoryId' =>
$serviceId,
'serviceCategoryVersionId' => Defaults::LIVE_VERSION,
'footerCategoryId' =>
$footerId,
'footerCategoryVersionId' => Defaults::LIVE_VERSION,