new ReferenceVersionField(CategoryDefinition::
class, 'service_category_version_id'
))->
addFlags(new ApiAware(),
new Required()),
(new FkField('mail_header_footer_id', 'mailHeaderFooterId', MailHeaderFooterDefinition::
class))->
addFlags(new ApiAware()),
(new FkField('hreflang_default_domain_id', 'hreflangDefaultDomainId', SalesChannelDomainDefinition::
class))->
addFlags(new ApiAware()),
(new TranslatedField('name'
))->
addFlags(new ApiAware()),
(new StringField('short_name', 'shortName'
))->
addFlags(new ApiAware()),
(new StringField('tax_calculation_type', 'taxCalculationType'
))->
addFlags(new ApiAware()),
(new StringField('access_key', 'accessKey'
))->
addFlags(new Required()),
(new JsonField('configuration', 'configuration'
))->
addFlags(new ApiAware()),
(new BoolField('active', 'active'
))->
addFlags(new ApiAware()),
(new BoolField('hreflang_active', 'hreflangActive'
))->
addFlags(new ApiAware()),
(new BoolField('maintenance', 'maintenance'
))->
addFlags(new ApiAware()),
new ListField('maintenance_ip_whitelist', 'maintenanceIpWhitelist'
),
(new TranslatedField('customFields'
))->
addFlags(new ApiAware()),
(new TranslationsAssociationField(SalesChannelTranslationDefinition::
class, 'sales_channel_id'
))->
addFlags(new Required()),
new ManyToManyAssociationField('currencies', CurrencyDefinition::
class, SalesChannelCurrencyDefinition::
class, 'sales_channel_id', 'currency_id'
),
new ManyToManyAssociationField('languages', LanguageDefinition::
class, SalesChannelLanguageDefinition::
class, 'sales_channel_id', 'language_id'
),
new ManyToManyAssociationField('countries', CountryDefinition::
class, SalesChannelCountryDefinition::
class, 'sales_channel_id', 'country_id'
),
new ManyToManyAssociationField('paymentMethods', PaymentMethodDefinition::
class, SalesChannelPaymentMethodDefinition::
class, 'sales_channel_id', 'payment_method_id'
),
new ManyToManyIdField('payment_method_ids', 'paymentMethodIds', 'paymentMethods'
),
new ManyToManyAssociationField('shippingMethods', ShippingMethodDefinition::
class, SalesChannelShippingMethodDefinition::
class, 'sales_channel_id', 'shipping_method_id'
),
new ManyToOneAssociationField('type', 'type_id', SalesChannelTypeDefinition::
class, 'id', false
),
(new ManyToOneAssociationField('language', 'language_id', LanguageDefinition::
class, 'id', false
))->
addFlags(new ApiAware()),
new ManyToOneAssociationField('customerGroup', 'customer_group_id', CustomerGroupDefinition::
class, 'id', false
),
(