} public function since(): ?string
{ return '6.0.0.0';
} protected function defineFields(): FieldCollection
{ return new FieldCollection([ (new IdField('id', 'id'
))->
addFlags(new ApiAware(),
new PrimaryKey(),
new Required()),
(new FkField('type_id', 'typeId', SalesChannelTypeDefinition::
class))->
addFlags(new Required()),
(new FkField('language_id', 'languageId', LanguageDefinition::
class))->
addFlags(new ApiAware(),
new Required()),
(new FkField('customer_group_id', 'customerGroupId', CustomerGroupDefinition::
class))->
addFlags(new ApiAware(),
new Required()),
(new FkField('currency_id', 'currencyId', CurrencyDefinition::
class))->
addFlags(new ApiAware(),
new Required()),
(new FkField('payment_method_id', 'paymentMethodId', PaymentMethodDefinition::
class))->
addFlags(new ApiAware(),
new Required()),
(new FkField('shipping_method_id', 'shippingMethodId', ShippingMethodDefinition::
class))->
addFlags(new ApiAware(),
new Required()),
(new FkField('country_id', 'countryId', CountryDefinition::
class))->
addFlags(new ApiAware(),
new Required()),
new FkField('analytics_id', 'analyticsId', SalesChannelAnalyticsDefinition::
class),
(new FkField('navigation_category_id', 'navigationCategoryId', CategoryDefinition::
class))->
addFlags(new ApiAware(),
new Required()),
(new ReferenceVersionField(CategoryDefinition::
class, 'navigation_category_version_id'
))->
addFlags(new ApiAware(),
new Required()),
(