new NumberRangeField('order_number', 'orderNumber'
))->
addFlags(new ApiAware(),
new SearchRanking(SearchRanking::HIGH_SEARCH_RANKING, false
)),
(new FkField('billing_address_id', 'billingAddressId', OrderAddressDefinition::
class))->
addFlags(new ApiAware(),
new Required(),
new NoConstraint()),
(new ReferenceVersionField(OrderAddressDefinition::
class, 'billing_address_version_id'
))->
addFlags(new ApiAware(),
new Required()),
(new FkField('currency_id', 'currencyId', CurrencyDefinition::
class))->
addFlags(new ApiAware(),
new Required()),
(new FkField('language_id', 'languageId', LanguageDefinition::
class))->
addFlags(new ApiAware(),
new Required()),
(new FkField('sales_channel_id', 'salesChannelId', SalesChannelDefinition::
class))->
addFlags(new ApiAware(),
new Required()),
(new DateTimeField('order_date_time', 'orderDateTime'
))->
addFlags(new ApiAware(),
new Required()),
(new DateField('order_date', 'orderDate'
))->
addFlags(new ApiAware(),
new WriteProtected()),
(new CartPriceField('price', 'price'
))->
addFlags(new ApiAware()),
(new FloatField('amount_total', 'amountTotal'
))->
addFlags(new ApiAware(),
new WriteProtected(),
new SearchRanking(SearchRanking::MIDDLE_SEARCH_RANKING
)),
(new FloatField('amount_net', 'amountNet'
))->
addFlags(new ApiAware(),
new WriteProtected()),
(new FloatField('position_price', 'positionPrice'
))->
addFlags(new ApiAware(),
new WriteProtected()),
(new StringField('tax_status', 'taxStatus'
))->
addFlags(new ApiAware(),
new WriteProtected()),
(new CalculatedPriceField('shipping_costs', 'shippingCosts'
))->
addFlags(new ApiAware()),
(new FloatField('shipping_total', 'shippingTotal'
))->
addFlags(new ApiAware(),
new WriteProtected()),
(new FloatField('currency_factor', 'currencyFactor'
))->
addFlags(new ApiAware(),
new Required()),
(new StringField('deep_link_code', 'deepLinkCode'
))->
addFlags(new ApiAware()),
(new StringField('affiliate_code', 'affiliateCode'
))->
addFlags(new ApiAware()),
(new StringField('campaign_code', 'campaignCode'
))->
addFlags(new ApiAware()),
(