From af5095f0769a4c28c56f8fff8e40c9c6b85e15cb Mon Sep 17 00:00:00 2001 From: trueboroda Date: Fri, 23 Oct 2020 16:06:03 +0300 Subject: [PATCH 01/21] VP-5616: Regenerate Api for Cart Api. Configured groups cahnges. --- .../AutoRestClients/CartModuleApi.cs | 168 +++++++++++++++++- 1 file changed, 163 insertions(+), 5 deletions(-) diff --git a/VirtoCommerce.Storefront/AutoRestClients/CartModuleApi.cs b/VirtoCommerce.Storefront/AutoRestClients/CartModuleApi.cs index a54b6914..9a8e71b8 100644 --- a/VirtoCommerce.Storefront/AutoRestClients/CartModuleApi.cs +++ b/VirtoCommerce.Storefront/AutoRestClients/CartModuleApi.cs @@ -4669,6 +4669,158 @@ public PaymentMethod() // regenerated. // +namespace VirtoCommerce.Storefront.AutoRestClients.CartModuleApi.Models +{ + using Microsoft.Rest; + using Microsoft.Rest.Serialization; + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + using System.Net; + using System.Net.Http; + using System.Threading; + using System.Threading.Tasks; + + public partial class DemoCartConfiguredGroup + { + /// + /// Initializes a new instance of the DemoCartConfiguredGroup class. + /// + public DemoCartConfiguredGroup() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the DemoCartConfiguredGroup class. + /// + public DemoCartConfiguredGroup(string productId = default(string), IList itemIds = default(IList), int? quantity = default(int?), string currency = default(string), double? extendedPrice = default(double?), double? extendedPriceWithTax = default(double?), double? listPrice = default(double?), double? listPriceWithTax = default(double?), double? salePrice = default(double?), double? salePriceWithTax = default(double?), double? placedPrice = default(double?), double? placedPriceWithTax = default(double?), double? taxTotal = default(double?), System.DateTime? createdDate = default(System.DateTime?), System.DateTime? modifiedDate = default(System.DateTime?), string createdBy = default(string), string modifiedBy = default(string), string id = default(string)) + { + ProductId = productId; + ItemIds = itemIds; + Quantity = quantity; + Currency = currency; + ExtendedPrice = extendedPrice; + ExtendedPriceWithTax = extendedPriceWithTax; + ListPrice = listPrice; + ListPriceWithTax = listPriceWithTax; + SalePrice = salePrice; + SalePriceWithTax = salePriceWithTax; + PlacedPrice = placedPrice; + PlacedPriceWithTax = placedPriceWithTax; + TaxTotal = taxTotal; + CreatedDate = createdDate; + ModifiedDate = modifiedDate; + CreatedBy = createdBy; + ModifiedBy = modifiedBy; + Id = id; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// + [JsonProperty(PropertyName = "productId")] + public string ProductId { get; set; } + + /// + /// + [JsonProperty(PropertyName = "itemIds")] + public IList ItemIds { get; set; } + + /// + /// + [JsonProperty(PropertyName = "quantity")] + public int? Quantity { get; set; } + + /// + /// + [JsonProperty(PropertyName = "currency")] + public string Currency { get; set; } + + /// + /// + [JsonProperty(PropertyName = "extendedPrice")] + public double? ExtendedPrice { get; set; } + + /// + /// + [JsonProperty(PropertyName = "extendedPriceWithTax")] + public double? ExtendedPriceWithTax { get; set; } + + /// + /// + [JsonProperty(PropertyName = "listPrice")] + public double? ListPrice { get; set; } + + /// + /// + [JsonProperty(PropertyName = "listPriceWithTax")] + public double? ListPriceWithTax { get; set; } + + /// + /// + [JsonProperty(PropertyName = "salePrice")] + public double? SalePrice { get; set; } + + /// + /// + [JsonProperty(PropertyName = "salePriceWithTax")] + public double? SalePriceWithTax { get; set; } + + /// + /// + [JsonProperty(PropertyName = "placedPrice")] + public double? PlacedPrice { get; set; } + + /// + /// + [JsonProperty(PropertyName = "placedPriceWithTax")] + public double? PlacedPriceWithTax { get; set; } + + /// + /// + [JsonProperty(PropertyName = "taxTotal")] + public double? TaxTotal { get; set; } + + /// + /// + [JsonProperty(PropertyName = "createdDate")] + public System.DateTime? CreatedDate { get; set; } + + /// + /// + [JsonProperty(PropertyName = "modifiedDate")] + public System.DateTime? ModifiedDate { get; set; } + + /// + /// + [JsonProperty(PropertyName = "createdBy")] + public string CreatedBy { get; set; } + + /// + /// + [JsonProperty(PropertyName = "modifiedBy")] + public string ModifiedBy { get; set; } + + /// + /// + [JsonProperty(PropertyName = "id")] + public string Id { get; set; } + + } +} +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + namespace VirtoCommerce.Storefront.AutoRestClients.CartModuleApi.Models { using Microsoft.Rest; @@ -5796,9 +5948,9 @@ public CartLineItem() /// /// Initializes a new instance of the CartLineItem class. /// - public CartLineItem(string configuredProductId = default(string), string productId = default(string), string catalogId = default(string), string categoryId = default(string), string sku = default(string), string productType = default(string), string name = default(string), int? quantity = default(int?), string fulfillmentCenterId = default(string), string fulfillmentCenterName = default(string), string fulfillmentLocationCode = default(string), string shipmentMethodCode = default(string), bool? requiredShipping = default(bool?), string thumbnailImageUrl = default(string), string imageUrl = default(string), bool? isGift = default(bool?), string currency = default(string), string languageCode = default(string), string note = default(string), bool? isReccuring = default(bool?), bool? taxIncluded = default(bool?), double? volumetricWeight = default(double?), string weightUnit = default(string), double? weight = default(double?), string measureUnit = default(string), double? height = default(double?), double? length = default(double?), double? width = default(double?), string validationType = default(string), bool? isReadOnly = default(bool?), string priceId = default(string), Price price = default(Price), double? listPrice = default(double?), double? listPriceWithTax = default(double?), double? salePrice = default(double?), double? salePriceWithTax = default(double?), double? placedPrice = default(double?), double? placedPriceWithTax = default(double?), double? extendedPrice = default(double?), double? extendedPriceWithTax = default(double?), double? discountAmount = default(double?), double? discountAmountWithTax = default(double?), double? discountTotal = default(double?), double? discountTotalWithTax = default(double?), double? fee = default(double?), double? feeWithTax = default(double?), IList discounts = default(IList), string taxType = default(string), double? taxTotal = default(double?), double? taxPercentRate = default(double?), IList taxDetails = default(IList), string objectType = default(string), IList dynamicProperties = default(IList), System.DateTime? createdDate = default(System.DateTime?), System.DateTime? modifiedDate = default(System.DateTime?), string createdBy = default(string), string modifiedBy = default(string), string id = default(string)) + public CartLineItem(string configuredGroupId = default(string), string productId = default(string), string catalogId = default(string), string categoryId = default(string), string sku = default(string), string productType = default(string), string name = default(string), int? quantity = default(int?), string fulfillmentCenterId = default(string), string fulfillmentCenterName = default(string), string fulfillmentLocationCode = default(string), string shipmentMethodCode = default(string), bool? requiredShipping = default(bool?), string thumbnailImageUrl = default(string), string imageUrl = default(string), bool? isGift = default(bool?), string currency = default(string), string languageCode = default(string), string note = default(string), bool? isReccuring = default(bool?), bool? taxIncluded = default(bool?), double? volumetricWeight = default(double?), string weightUnit = default(string), double? weight = default(double?), string measureUnit = default(string), double? height = default(double?), double? length = default(double?), double? width = default(double?), string validationType = default(string), bool? isReadOnly = default(bool?), string priceId = default(string), Price price = default(Price), double? listPrice = default(double?), double? listPriceWithTax = default(double?), double? salePrice = default(double?), double? salePriceWithTax = default(double?), double? placedPrice = default(double?), double? placedPriceWithTax = default(double?), double? extendedPrice = default(double?), double? extendedPriceWithTax = default(double?), double? discountAmount = default(double?), double? discountAmountWithTax = default(double?), double? discountTotal = default(double?), double? discountTotalWithTax = default(double?), double? fee = default(double?), double? feeWithTax = default(double?), IList discounts = default(IList), string taxType = default(string), double? taxTotal = default(double?), double? taxPercentRate = default(double?), IList taxDetails = default(IList), string objectType = default(string), IList dynamicProperties = default(IList), System.DateTime? createdDate = default(System.DateTime?), System.DateTime? modifiedDate = default(System.DateTime?), string createdBy = default(string), string modifiedBy = default(string), string id = default(string)) { - ConfiguredProductId = configuredProductId; + ConfiguredGroupId = configuredGroupId; ProductId = productId; CatalogId = catalogId; CategoryId = categoryId; @@ -5866,8 +6018,8 @@ public CartLineItem() /// /// - [JsonProperty(PropertyName = "configuredProductId")] - public string ConfiguredProductId { get; set; } + [JsonProperty(PropertyName = "configuredGroupId")] + public string ConfiguredGroupId { get; set; } /// /// @@ -6722,8 +6874,9 @@ public ShoppingCart() /// /// Initializes a new instance of the ShoppingCart class. /// - public ShoppingCart(string name = default(string), string storeId = default(string), string channelId = default(string), bool? isAnonymous = default(bool?), string customerId = default(string), string customerName = default(string), string organizationId = default(string), string currency = default(string), string languageCode = default(string), bool? taxIncluded = default(bool?), bool? isRecuring = default(bool?), string comment = default(string), string status = default(string), string purchaseOrderNumber = default(string), string weightUnit = default(string), double? weight = default(double?), string validationType = default(string), string type = default(string), double? volumetricWeight = default(double?), double? total = default(double?), double? subTotal = default(double?), double? subTotalWithTax = default(double?), double? subTotalDiscount = default(double?), double? subTotalDiscountWithTax = default(double?), double? shippingTotal = default(double?), double? shippingTotalWithTax = default(double?), double? shippingSubTotal = default(double?), double? shippingSubTotalWithTax = default(double?), double? shippingDiscountTotal = default(double?), double? shippingDiscountTotalWithTax = default(double?), double? paymentTotal = default(double?), double? paymentTotalWithTax = default(double?), double? paymentSubTotal = default(double?), double? paymentSubTotalWithTax = default(double?), double? paymentDiscountTotal = default(double?), double? paymentDiscountTotalWithTax = default(double?), double? handlingTotal = default(double?), double? handlingTotalWithTax = default(double?), double? discountAmount = default(double?), double? discountAmountWithTax = default(double?), double? discountTotal = default(double?), double? discountTotalWithTax = default(double?), double? fee = default(double?), double? feeWithTax = default(double?), double? feeTotal = default(double?), double? feeTotalWithTax = default(double?), IList addresses = default(IList), IList items = default(IList), IList payments = default(IList), IList shipments = default(IList), IList coupons = default(IList), string coupon = default(string), IList discounts = default(IList), string taxType = default(string), double? taxTotal = default(double?), double? taxPercentRate = default(double?), IList taxDetails = default(IList), string objectType = default(string), IList dynamicProperties = default(IList), System.DateTime? createdDate = default(System.DateTime?), System.DateTime? modifiedDate = default(System.DateTime?), string createdBy = default(string), string modifiedBy = default(string), string id = default(string)) + public ShoppingCart(IList configuredGroups = default(IList), string name = default(string), string storeId = default(string), string channelId = default(string), bool? isAnonymous = default(bool?), string customerId = default(string), string customerName = default(string), string organizationId = default(string), string currency = default(string), string languageCode = default(string), bool? taxIncluded = default(bool?), bool? isRecuring = default(bool?), string comment = default(string), string status = default(string), string purchaseOrderNumber = default(string), string weightUnit = default(string), double? weight = default(double?), string validationType = default(string), string type = default(string), double? volumetricWeight = default(double?), double? total = default(double?), double? subTotal = default(double?), double? subTotalWithTax = default(double?), double? subTotalDiscount = default(double?), double? subTotalDiscountWithTax = default(double?), double? shippingTotal = default(double?), double? shippingTotalWithTax = default(double?), double? shippingSubTotal = default(double?), double? shippingSubTotalWithTax = default(double?), double? shippingDiscountTotal = default(double?), double? shippingDiscountTotalWithTax = default(double?), double? paymentTotal = default(double?), double? paymentTotalWithTax = default(double?), double? paymentSubTotal = default(double?), double? paymentSubTotalWithTax = default(double?), double? paymentDiscountTotal = default(double?), double? paymentDiscountTotalWithTax = default(double?), double? handlingTotal = default(double?), double? handlingTotalWithTax = default(double?), double? discountAmount = default(double?), double? discountAmountWithTax = default(double?), double? discountTotal = default(double?), double? discountTotalWithTax = default(double?), double? fee = default(double?), double? feeWithTax = default(double?), double? feeTotal = default(double?), double? feeTotalWithTax = default(double?), IList addresses = default(IList), IList items = default(IList), IList payments = default(IList), IList shipments = default(IList), IList coupons = default(IList), string coupon = default(string), IList discounts = default(IList), string taxType = default(string), double? taxTotal = default(double?), double? taxPercentRate = default(double?), IList taxDetails = default(IList), string objectType = default(string), IList dynamicProperties = default(IList), System.DateTime? createdDate = default(System.DateTime?), System.DateTime? modifiedDate = default(System.DateTime?), string createdBy = default(string), string modifiedBy = default(string), string id = default(string)) { + ConfiguredGroups = configuredGroups; Name = name; StoreId = storeId; ChannelId = channelId; @@ -6796,6 +6949,11 @@ public ShoppingCart() /// partial void CustomInit(); + /// + /// + [JsonProperty(PropertyName = "configuredGroups")] + public IList ConfiguredGroups { get; set; } + /// /// [JsonProperty(PropertyName = "name")] From 2768ea7f12f0646ca9b4bb24bde60cd1d8ff37df Mon Sep 17 00:00:00 2001 From: trueboroda Date: Fri, 23 Oct 2020 17:54:49 +0300 Subject: [PATCH 02/21] VP-5616: Change Cart models. Change cart converters. --- .../Cart/Demo/ConfiguredGroup.cs | 70 ++++++++++++++++ .../Cart/Demo/ConfiguredItem.cs | 17 ---- .../Cart/Demo/LineItem.cs | 2 +- .../Cart/Demo/ShoppingCart.cs | 3 +- .../Domain/Cart/CartConverter.cs | 11 ++- .../Domain/Cart/Demo/CartConverter.cs | 81 +++++++++++++++++++ .../Domain/Cart/Demo/DemoCartBuilder.cs | 16 ++-- .../Domain/Cart/Demo/DemoCartService.cs | 6 +- 8 files changed, 173 insertions(+), 33 deletions(-) create mode 100644 VirtoCommerce.Storefront.Model/Cart/Demo/ConfiguredGroup.cs delete mode 100644 VirtoCommerce.Storefront.Model/Cart/Demo/ConfiguredItem.cs create mode 100644 VirtoCommerce.Storefront/Domain/Cart/Demo/CartConverter.cs diff --git a/VirtoCommerce.Storefront.Model/Cart/Demo/ConfiguredGroup.cs b/VirtoCommerce.Storefront.Model/Cart/Demo/ConfiguredGroup.cs new file mode 100644 index 00000000..3af1260e --- /dev/null +++ b/VirtoCommerce.Storefront.Model/Cart/Demo/ConfiguredGroup.cs @@ -0,0 +1,70 @@ +using System; +using System.Collections.Generic; +using Newtonsoft.Json; +using VirtoCommerce.Storefront.Model.Catalog; +using VirtoCommerce.Storefront.Model.Common; + +namespace VirtoCommerce.Storefront.Model.Cart.Demo +{ + public class ConfiguredGroup : Entity + { + public ConfiguredGroup(int quantity, Currency currency, Money extendedPrice, + Money extendedPriceWithTax, Money taxTotal) + { + Quantity = quantity; + Currency = currency; + ExtendedPrice = extendedPrice; + ExtendedPriceWithTax = extendedPriceWithTax; + TaxTotal = taxTotal; + } + + + public DateTime CreatedDate { get; set; } + + public DateTime? ModifiedDate { get; set; } + + public string CreatedBy { get; set; } + + public string ModifiedBy { get; set; } + + [JsonRequired] + public virtual IList Items { get; set; } = new List(); + + [JsonRequired] + public int Quantity { get; set; } + + #region Pricing + + [JsonRequired] + public Currency Currency { get; set; } + + public Money ListPrice { get; set; } + + public Money ListPriceWithTax { get; set; } + + public Money SalePrice { get; set; } + + public Money SalePriceWithTax { get; set; } + + public Money PlacedPrice { get; set; } + + public Money PlacedPriceWithTax { get; set; } + + [JsonRequired] + public Money ExtendedPrice { get; set; } + + [JsonRequired] + public Money ExtendedPriceWithTax { get; set; } + + #endregion + + #region Taxation + + [JsonRequired] + public Money TaxTotal { get; set; } + + #endregion + + public ICollection Parts { get; set; } = new List(); + } +} diff --git a/VirtoCommerce.Storefront.Model/Cart/Demo/ConfiguredItem.cs b/VirtoCommerce.Storefront.Model/Cart/Demo/ConfiguredItem.cs deleted file mode 100644 index 764904ca..00000000 --- a/VirtoCommerce.Storefront.Model/Cart/Demo/ConfiguredItem.cs +++ /dev/null @@ -1,17 +0,0 @@ -using System.Collections.Generic; -using VirtoCommerce.Storefront.Model.Catalog; - -namespace VirtoCommerce.Storefront.Model.Cart.Demo -{ - public class ConfiguredItem - { - public ConfiguredItem() - { - Parts = new List(); - } - - public LineItem ConfiguredLineItem { get; set; } - - public ICollection Parts { get; set; } - } -} diff --git a/VirtoCommerce.Storefront.Model/Cart/Demo/LineItem.cs b/VirtoCommerce.Storefront.Model/Cart/Demo/LineItem.cs index 60b2ef6b..43c29f2c 100644 --- a/VirtoCommerce.Storefront.Model/Cart/Demo/LineItem.cs +++ b/VirtoCommerce.Storefront.Model/Cart/Demo/LineItem.cs @@ -2,6 +2,6 @@ namespace VirtoCommerce.Storefront.Model.Cart { public partial class LineItem { - public string ConfiguredProductId { get; set; } + public string ConfiguredGropupId { get; set; } } } diff --git a/VirtoCommerce.Storefront.Model/Cart/Demo/ShoppingCart.cs b/VirtoCommerce.Storefront.Model/Cart/Demo/ShoppingCart.cs index e23c9dc2..3b4ecc4b 100644 --- a/VirtoCommerce.Storefront.Model/Cart/Demo/ShoppingCart.cs +++ b/VirtoCommerce.Storefront.Model/Cart/Demo/ShoppingCart.cs @@ -5,7 +5,6 @@ namespace VirtoCommerce.Storefront.Model.Cart { public partial class ShoppingCart { - - public ICollection ConfiguredItems { get; set; } = new List(); + public ICollection ConfiguredGroups { get; set; } = new List(); } } diff --git a/VirtoCommerce.Storefront/Domain/Cart/CartConverter.cs b/VirtoCommerce.Storefront/Domain/Cart/CartConverter.cs index 4d85ff9e..cea523b5 100644 --- a/VirtoCommerce.Storefront/Domain/Cart/CartConverter.cs +++ b/VirtoCommerce.Storefront/Domain/Cart/CartConverter.cs @@ -496,6 +496,11 @@ public static ShoppingCart ToShoppingCart(this cartDto.ShoppingCart cartDto, Cur result.VolumetricWeight = (decimal)(cartDto.VolumetricWeight ?? 0); result.Weight = (decimal)(cartDto.Weight ?? 0); + if (cartDto.ConfiguredGroups != null) + { + result.ConfiguredGroups = cartDto.ConfiguredGroups.Select(x => x.ToConfiguredGroup(result)).ToList(); + } + return result; } @@ -536,6 +541,8 @@ public static cartDto.ShoppingCart ToShoppingCartDto(this ShoppingCart cart) result.VolumetricWeight = (double)cart.VolumetricWeight; result.Weight = (double)cart.Weight; + result.ConfiguredGroups = cart.ConfiguredGroups.Select(x => x.ToConfiguredGroup()).ToList(); + return result; } @@ -682,7 +689,7 @@ public static LineItem ToLineItem(this cartDto.CartLineItem lineItemDto, Currenc Width = (decimal?)lineItemDto.Width, Length = (decimal?)lineItemDto.Length, Height = (decimal?)lineItemDto.Height, - ConfiguredProductId = lineItemDto.ConfiguredProductId, + ConfiguredGropupId = lineItemDto.ConfiguredGroupId, }; @@ -768,7 +775,7 @@ public static cartDto.CartLineItem ToLineItemDto(this LineItem lineItem) DynamicProperties = lineItem.DynamicProperties.Select(ToCartDynamicPropertyDto).ToList(), VolumetricWeight = (double)(lineItem.VolumetricWeight ?? 0), - ConfiguredProductId = lineItem.ConfiguredProductId, + ConfiguredGroupId = lineItem.ConfiguredGropupId, }; retVal.Weight = (double?)lineItem.Weight; retVal.Width = (double?)lineItem.Width; diff --git a/VirtoCommerce.Storefront/Domain/Cart/Demo/CartConverter.cs b/VirtoCommerce.Storefront/Domain/Cart/Demo/CartConverter.cs new file mode 100644 index 00000000..3fb6924a --- /dev/null +++ b/VirtoCommerce.Storefront/Domain/Cart/Demo/CartConverter.cs @@ -0,0 +1,81 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using VirtoCommerce.Storefront.Common; +using VirtoCommerce.Storefront.Model; +using VirtoCommerce.Storefront.Model.Cart; +using VirtoCommerce.Storefront.Model.Cart.Demo; +using VirtoCommerce.Storefront.Model.Catalog; +using VirtoCommerce.Storefront.Model.Common; +using VirtoCommerce.Storefront.Model.Marketing; +using VirtoCommerce.Storefront.Model.Security; +using VirtoCommerce.Storefront.Model.Stores; +using VirtoCommerce.Storefront.Model.Tax; +using cartDto = VirtoCommerce.Storefront.AutoRestClients.CartModuleApi.Models; + + +namespace VirtoCommerce.Storefront.Domain +{ + + public static partial class CartConverter + { + public static cartDto.DemoCartConfiguredGroup ToConfiguredGroup(this ConfiguredGroup group) + { + foreach (var lineItem in group.Items) + { + lineItem.Id = lineItem.Id ?? Guid.NewGuid().ToString("N"); + } + + return new cartDto.DemoCartConfiguredGroup + { + Id = group.Id ?? Guid.NewGuid().ToString("N"), + ItemIds = group.Items.Select(x => x.Id).ToList(), + CreatedBy = group.CreatedBy, + CreatedDate = group.CreatedDate, + ModifiedBy = group.ModifiedBy, + ModifiedDate = group.ModifiedDate, + Currency = group.Currency.Code, + ExtendedPrice = (double)group.ExtendedPrice.InternalAmount, + ExtendedPriceWithTax = (double)group.ExtendedPriceWithTax.InternalAmount, + ListPrice = (double)group.ListPrice.InternalAmount, + ListPriceWithTax = (double)group.ListPriceWithTax.InternalAmount, + PlacedPrice = (double)group.PlacedPrice.InternalAmount, + PlacedPriceWithTax = (double)group.PlacedPriceWithTax.InternalAmount, + SalePrice = (double)group.SalePrice.InternalAmount, + SalePriceWithTax = (double)group.SalePriceWithTax.InternalAmount, + TaxTotal = (double)group.TaxTotal.InternalAmount, + Quantity = group.Quantity + }; + } + + public static ConfiguredGroup ToConfiguredGroup(this cartDto.DemoCartConfiguredGroup group, ShoppingCart cart) + { + var result = new ConfiguredGroup( + group.Quantity ?? 0, cart.Currency, new Money(group.ExtendedPrice ?? 0, cart.Currency), + new Money(group.ExtendedPriceWithTax ?? 0, cart.Currency), + new Money(group.TaxTotal ?? 0, cart.Currency)) + { + Id = group.Id, + CreatedBy = group.CreatedBy, + CreatedDate = group.CreatedDate ?? DateTime.UtcNow, + ModifiedBy = group.ModifiedBy, + ModifiedDate = group.ModifiedDate, + ListPrice = new Money(group.ListPrice ?? 0, cart.Currency), + ListPriceWithTax = new Money(group.ListPriceWithTax ?? 0, cart.Currency), + SalePrice = new Money(group.SalePrice ?? 0, cart.Currency), + SalePriceWithTax = new Money(group.SalePriceWithTax ?? 0, cart.Currency), + PlacedPrice = new Money(group.PlacedPrice ?? 0, cart.Currency), + PlacedPriceWithTax = new Money(group.PlacedPriceWithTax ?? 0, cart.Currency), + Currency = cart.Currency, + + }; + + foreach (var item in group.ItemIds.Select(id => cart.Items.First(x => x.Id == id))) + { + result.Items.Add(item); + } + + return result; + } + } +} diff --git a/VirtoCommerce.Storefront/Domain/Cart/Demo/DemoCartBuilder.cs b/VirtoCommerce.Storefront/Domain/Cart/Demo/DemoCartBuilder.cs index ef5c49b5..5a1ae1aa 100644 --- a/VirtoCommerce.Storefront/Domain/Cart/Demo/DemoCartBuilder.cs +++ b/VirtoCommerce.Storefront/Domain/Cart/Demo/DemoCartBuilder.cs @@ -34,18 +34,18 @@ public override Task RemoveItemAsync(string lineItemId) { EnsureCartExists(); - var configureLineItem = Cart.ConfiguredItems.FirstOrDefault(x => x.ConfiguredLineItem?.ProductId.Equals(lineItemId, StringComparison.InvariantCulture) ?? false); + var configureLineItem = Cart.ConfiguredGroups.FirstOrDefault(x => x.ConfiguredLineItem?.ProductId.Equals(lineItemId, StringComparison.InvariantCulture) ?? false); if (configureLineItem != null) { - var configurablePieces = Cart.Items.Where(x => x.ConfiguredProductId?.Equals(lineItemId, StringComparison.InvariantCulture) ?? false).ToArray(); + var configurablePieces = Cart.Items.Where(x => x.ConfiguredGropupId?.Equals(lineItemId, StringComparison.InvariantCulture) ?? false).ToArray(); foreach (var configuirablePieceLineItem in configurablePieces) { Cart.Items.Remove(configuirablePieceLineItem); } - Cart.ConfiguredItems.Remove(configureLineItem); + Cart.ConfiguredGroups.Remove(configureLineItem); } return base.RemoveItemAsync(lineItemId); @@ -55,7 +55,7 @@ public override Task ChangeItemQuantityAsync(ChangeCartItemQty changeItemQty) { EnsureCartExists(); - var configuredProduct = Cart.ConfiguredItems?.FirstOrDefault(x => + var configuredProduct = Cart.ConfiguredGroups?.FirstOrDefault(x => x.ConfiguredLineItem?.ProductId.Equals(changeItemQty.LineItemId, StringComparison.InvariantCulture) ?? false); if (configuredProduct != null) @@ -63,8 +63,8 @@ public override Task ChangeItemQuantityAsync(ChangeCartItemQty changeItemQty) foreach (var lineItem in Cart .Items .Where(x => - !string.IsNullOrEmpty(x.ConfiguredProductId) && - x.ConfiguredProductId.Equals(configuredProduct.ConfiguredLineItem.ProductId) + !string.IsNullOrEmpty(x.ConfiguredGropupId) && + x.ConfiguredGropupId.Equals(configuredProduct.ConfiguredLineItem.ProductId) ) ) { @@ -85,7 +85,7 @@ public override async Task AddItemAsync(AddCartItem addCartItem) { var lineItem = addCartItem.Product.ToLineItem(Cart.Language, addCartItem.Quantity); lineItem.Product = addCartItem.Product; - lineItem.ConfiguredProductId = addCartItem.ConfiguredProductId; + lineItem.ConfiguredGropupId = addCartItem.ConfiguredProductId; if (addCartItem.Price != null) { @@ -116,7 +116,7 @@ public override async Task AddItemAsync(AddCartItem addCartItem) protected override async Task AddLineItemAsync(LineItem lineItem) { - if (!string.IsNullOrEmpty(lineItem.ConfiguredProductId)) + if (!string.IsNullOrEmpty(lineItem.ConfiguredGropupId)) { lineItem.Id = null; Cart.Items.Add(lineItem); diff --git a/VirtoCommerce.Storefront/Domain/Cart/Demo/DemoCartService.cs b/VirtoCommerce.Storefront/Domain/Cart/Demo/DemoCartService.cs index afdfb58d..72798101 100644 --- a/VirtoCommerce.Storefront/Domain/Cart/Demo/DemoCartService.cs +++ b/VirtoCommerce.Storefront/Domain/Cart/Demo/DemoCartService.cs @@ -77,13 +77,13 @@ public override async Task> SearchCartsAsync(CartSearch protected virtual async Task AddConfiguredItemsToCartAsync(ShoppingCart cart, Language language, Currency currency) { - foreach (var grouping in cart.Items.Where(x => !x.ConfiguredProductId.IsNullOrEmpty()).GroupBy(x => x.ConfiguredProductId)) + foreach (var grouping in cart.Items.Where(x => !x.ConfiguredGropupId.IsNullOrEmpty()).GroupBy(x => x.ConfiguredGropupId)) { var configuredProductId = grouping.Key; var configuredProductItems = grouping.AsEnumerable().ToArray(); var configuredProductQuantity = configuredProductItems.FirstOrDefault()?.Quantity ?? 1; - var configuredItem = new ConfiguredItem(); + var configuredItem = new ConfiguredGroup(); var product = (await _catalogService.GetProductsAsync(new[] {configuredProductId}, ItemResponseGroup.None)).FirstOrDefault(); configuredItem.ConfiguredLineItem = product?.ToLineItem(language, configuredProductQuantity); @@ -109,7 +109,7 @@ protected virtual async Task AddConfiguredItemsToCartAsync(ShoppingCart cart, La .OrderBy(x => x.Name) ); - cart.ConfiguredItems.Add(configuredItem); + cart.ConfiguredGroups.Add(configuredItem); } } } From 82a0bdcd64b9a6be9e1f39db28d79e7587a4f20c Mon Sep 17 00:00:00 2001 From: Dmitry Pushnitsa Date: Fri, 23 Oct 2020 19:56:31 +0200 Subject: [PATCH 03/21] 1.3.0 --- Directory.Build.props | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Directory.Build.props b/Directory.Build.props index 5e351ff8..29d71e57 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -7,7 +7,7 @@ VirtoCommerce - 1.2.0 + 1.3.0 $(VersionSuffix)-$(BuildNumber) From 6b4af0ba64757cd1d35f9a18ba1693128e64c3e0 Mon Sep 17 00:00:00 2001 From: trueboroda Date: Tue, 27 Oct 2020 12:02:12 +0300 Subject: [PATCH 04/21] VP-5616: Extend Shopping cart with Configured Groups Implement the logic of group`s adding , changing, removing. Include into the group data the info about the product and configured product parts. --- .../Cart/Demo/AddCartItem.cs | 5 +++ .../Cart/Demo/ConfiguredGroup.cs | 10 +++-- .../Cart/Demo/ShoppingCart.cs | 13 ++++++ .../Controllers/Api/ApiCartDemoController.cs | 35 ++++++++++++--- .../Controllers/CartController.cs | 2 +- .../Domain/Cart/CartConverter.cs | 2 - .../Domain/Cart/Demo/CartConverter.cs | 17 ++----- .../Domain/Cart/Demo/DemoCartBuilder.cs | 44 +++++++++---------- .../Domain/Cart/Demo/DemoCartService.cs | 37 ++++++---------- 9 files changed, 96 insertions(+), 69 deletions(-) diff --git a/VirtoCommerce.Storefront.Model/Cart/Demo/AddCartItem.cs b/VirtoCommerce.Storefront.Model/Cart/Demo/AddCartItem.cs index 87836ac8..6efe5032 100644 --- a/VirtoCommerce.Storefront.Model/Cart/Demo/AddCartItem.cs +++ b/VirtoCommerce.Storefront.Model/Cart/Demo/AddCartItem.cs @@ -1,7 +1,12 @@ +using Newtonsoft.Json; + namespace VirtoCommerce.Storefront.Model.Cart { partial class AddCartItem { public string ConfiguredProductId { get; set; } + + [JsonIgnore] + public string ConfiguredGroupId { get; set; } } } diff --git a/VirtoCommerce.Storefront.Model/Cart/Demo/ConfiguredGroup.cs b/VirtoCommerce.Storefront.Model/Cart/Demo/ConfiguredGroup.cs index 3af1260e..436dd4b9 100644 --- a/VirtoCommerce.Storefront.Model/Cart/Demo/ConfiguredGroup.cs +++ b/VirtoCommerce.Storefront.Model/Cart/Demo/ConfiguredGroup.cs @@ -11,13 +11,17 @@ public class ConfiguredGroup : Entity public ConfiguredGroup(int quantity, Currency currency, Money extendedPrice, Money extendedPriceWithTax, Money taxTotal) { + Id = Guid.NewGuid().ToString("N"); Quantity = quantity; Currency = currency; ExtendedPrice = extendedPrice; ExtendedPriceWithTax = extendedPriceWithTax; - TaxTotal = taxTotal; + TaxTotal = taxTotal; } + public string ProductId { get; set; } + + public Product Product { get; set; } public DateTime CreatedDate { get; set; } @@ -56,14 +60,14 @@ public ConfiguredGroup(int quantity, Currency currency, Money extendedPrice, [JsonRequired] public Money ExtendedPriceWithTax { get; set; } - #endregion + #endregion Pricing #region Taxation [JsonRequired] public Money TaxTotal { get; set; } - #endregion + #endregion Taxation public ICollection Parts { get; set; } = new List(); } diff --git a/VirtoCommerce.Storefront.Model/Cart/Demo/ShoppingCart.cs b/VirtoCommerce.Storefront.Model/Cart/Demo/ShoppingCart.cs index 3b4ecc4b..ccba982e 100644 --- a/VirtoCommerce.Storefront.Model/Cart/Demo/ShoppingCart.cs +++ b/VirtoCommerce.Storefront.Model/Cart/Demo/ShoppingCart.cs @@ -1,10 +1,23 @@ using System.Collections.Generic; +using System.Linq; +using Newtonsoft.Json; using VirtoCommerce.Storefront.Model.Cart.Demo; namespace VirtoCommerce.Storefront.Model.Cart { public partial class ShoppingCart { + [JsonRequired] + public LineItem[] UsualItems + { + get + { + var result = Items.Where(x => !ConfiguredGroups.Any(y => y.Items.Contains(x))).ToArray(); + + return result; + } + } + public ICollection ConfiguredGroups { get; set; } = new List(); } } diff --git a/VirtoCommerce.Storefront/Controllers/Api/ApiCartDemoController.cs b/VirtoCommerce.Storefront/Controllers/Api/ApiCartDemoController.cs index 4cbf05a0..b8967edf 100644 --- a/VirtoCommerce.Storefront/Controllers/Api/ApiCartDemoController.cs +++ b/VirtoCommerce.Storefront/Controllers/Api/ApiCartDemoController.cs @@ -1,7 +1,8 @@ +using System; using System.Linq; using System.Threading.Tasks; -using Microsoft.AspNetCore.Mvc; using FluentValidation; +using Microsoft.AspNetCore.Mvc; using VirtoCommerce.Storefront.Infrastructure; using VirtoCommerce.Storefront.Model; using VirtoCommerce.Storefront.Model.Cart; @@ -11,7 +12,6 @@ using VirtoCommerce.Storefront.Model.Common.Exceptions; using VirtoCommerce.Storefront.Model.Services; - namespace VirtoCommerce.Storefront.Controllers.Api { [StorefrontApiRoute("cartdemo")] @@ -19,7 +19,8 @@ namespace VirtoCommerce.Storefront.Controllers.Api public class ApiCartDemoController : StorefrontControllerBase { private readonly ICartBuilder _cartBuilder; - private readonly ICatalogService _catalogService; + private readonly ICatalogService _catalogService; + public ApiCartDemoController(IWorkContextAccessor workContextAccessor, ICatalogService catalogService, ICartBuilder cartBuilder, IStorefrontUrlBuilder urlBuilder) : base(workContextAccessor, urlBuilder) @@ -28,24 +29,48 @@ public ApiCartDemoController(IWorkContextAccessor workContextAccessor, ICatalogS _catalogService = catalogService; } - // POST: storefrontapi/cart/items/bulk [HttpPost("items/bulk")] [ValidateAntiForgeryToken] public async Task> AddItemsToCart([FromBody] AddCartItem[] items) { + if (items.IsNullOrEmpty()) + { + throw new ArgumentException("Items should not be null or empty"); + } + EnsureCartExists(); //Need lock to prevent concurrent access to same cart using (await AsyncLock.GetLockByKey(WorkContext.CurrentCart.Value.GetCacheKey()).LockAsync()) { var productIds = items.Select(x => x.Id).ToArray(); - var products = await _catalogService.GetProductsAsync(productIds, Model.Catalog.ItemResponseGroup.ItemSmall | Model.Catalog.ItemResponseGroup.ItemWithPrices | Model.Catalog.ItemResponseGroup.Inventory); + var products = await _catalogService.GetProductsAsync(productIds, Model.Catalog.ItemResponseGroup.ItemSmall | Model.Catalog.ItemResponseGroup.ItemWithPrices | Model.Catalog.ItemResponseGroup.Inventory); var cartBuilder = await LoadOrCreateCartAsync(); var cart = _cartBuilder.Cart; + var currency = WorkContext.CurrentCurrency; + + var firstItem = items.First(); + + var configuredProductId = firstItem.ConfiguredProductId; + + var configuredGroup = cart.ConfiguredGroups?.FirstOrDefault(x => (x.ProductId == configuredProductId) + && x.Items.OrderBy(x => x.ProductId).Select(x => x.ProductId).SequenceEqual(items.OrderBy(i => i.ProductId).Select(i => i.ProductId).ToArray()) + ); + + if (configuredGroup == null) + { + configuredGroup = new Model.Cart.Demo.ConfiguredGroup(firstItem.Quantity, WorkContext.CurrentCurrency, new Money(0m, currency), new Money(0m, currency), new Money(0m, currency)); + cart.ConfiguredGroups.Add(configuredGroup); + } + else + { + configuredGroup.Quantity = configuredGroup.Quantity + Math.Max(1, firstItem.Quantity); + } foreach (var item in items) { + item.ConfiguredGroupId = configuredGroup?.Id; item.Product = products.First(x => x.Id == item.ProductId); await cartBuilder.AddItemAsync(item); } diff --git a/VirtoCommerce.Storefront/Controllers/CartController.cs b/VirtoCommerce.Storefront/Controllers/CartController.cs index 20bd39a5..6b1cd698 100644 --- a/VirtoCommerce.Storefront/Controllers/CartController.cs +++ b/VirtoCommerce.Storefront/Controllers/CartController.cs @@ -1,7 +1,7 @@ -using Microsoft.AspNetCore.Mvc; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; +using Microsoft.AspNetCore.Mvc; using VirtoCommerce.Storefront.AutoRestClients.OrdersModuleApi; using VirtoCommerce.Storefront.Infrastructure; using VirtoCommerce.Storefront.Model; diff --git a/VirtoCommerce.Storefront/Domain/Cart/CartConverter.cs b/VirtoCommerce.Storefront/Domain/Cart/CartConverter.cs index cea523b5..7ac1bab5 100644 --- a/VirtoCommerce.Storefront/Domain/Cart/CartConverter.cs +++ b/VirtoCommerce.Storefront/Domain/Cart/CartConverter.cs @@ -692,8 +692,6 @@ public static LineItem ToLineItem(this cartDto.CartLineItem lineItemDto, Currenc ConfiguredGropupId = lineItemDto.ConfiguredGroupId, }; - - result.ImageUrl = lineItemDto.ImageUrl.RemoveLeadingUriScheme(); if (lineItemDto.TaxDetails != null) diff --git a/VirtoCommerce.Storefront/Domain/Cart/Demo/CartConverter.cs b/VirtoCommerce.Storefront/Domain/Cart/Demo/CartConverter.cs index 3fb6924a..e79cd43c 100644 --- a/VirtoCommerce.Storefront/Domain/Cart/Demo/CartConverter.cs +++ b/VirtoCommerce.Storefront/Domain/Cart/Demo/CartConverter.cs @@ -1,22 +1,12 @@ using System; -using System.Collections.Generic; using System.Linq; -using VirtoCommerce.Storefront.Common; -using VirtoCommerce.Storefront.Model; using VirtoCommerce.Storefront.Model.Cart; using VirtoCommerce.Storefront.Model.Cart.Demo; -using VirtoCommerce.Storefront.Model.Catalog; using VirtoCommerce.Storefront.Model.Common; -using VirtoCommerce.Storefront.Model.Marketing; -using VirtoCommerce.Storefront.Model.Security; -using VirtoCommerce.Storefront.Model.Stores; -using VirtoCommerce.Storefront.Model.Tax; using cartDto = VirtoCommerce.Storefront.AutoRestClients.CartModuleApi.Models; - namespace VirtoCommerce.Storefront.Domain { - public static partial class CartConverter { public static cartDto.DemoCartConfiguredGroup ToConfiguredGroup(this ConfiguredGroup group) @@ -29,7 +19,8 @@ public static cartDto.DemoCartConfiguredGroup ToConfiguredGroup(this ConfiguredG return new cartDto.DemoCartConfiguredGroup { Id = group.Id ?? Guid.NewGuid().ToString("N"), - ItemIds = group.Items.Select(x => x.Id).ToList(), + ProductId = group.ProductId, + ItemIds = group.Items.Select(x => x.Id).ToList(), CreatedBy = group.CreatedBy, CreatedDate = group.CreatedDate, ModifiedBy = group.ModifiedBy, @@ -43,7 +34,7 @@ public static cartDto.DemoCartConfiguredGroup ToConfiguredGroup(this ConfiguredG PlacedPriceWithTax = (double)group.PlacedPriceWithTax.InternalAmount, SalePrice = (double)group.SalePrice.InternalAmount, SalePriceWithTax = (double)group.SalePriceWithTax.InternalAmount, - TaxTotal = (double)group.TaxTotal.InternalAmount, + TaxTotal = (double)group.TaxTotal.InternalAmount, Quantity = group.Quantity }; } @@ -56,6 +47,7 @@ public static ConfiguredGroup ToConfiguredGroup(this cartDto.DemoCartConfiguredG new Money(group.TaxTotal ?? 0, cart.Currency)) { Id = group.Id, + ProductId = group.ProductId, CreatedBy = group.CreatedBy, CreatedDate = group.CreatedDate ?? DateTime.UtcNow, ModifiedBy = group.ModifiedBy, @@ -67,7 +59,6 @@ public static ConfiguredGroup ToConfiguredGroup(this cartDto.DemoCartConfiguredG PlacedPrice = new Money(group.PlacedPrice ?? 0, cart.Currency), PlacedPriceWithTax = new Money(group.PlacedPriceWithTax ?? 0, cart.Currency), Currency = cart.Currency, - }; foreach (var item in group.ItemIds.Select(id => cart.Items.First(x => x.Id == id))) diff --git a/VirtoCommerce.Storefront/Domain/Cart/Demo/DemoCartBuilder.cs b/VirtoCommerce.Storefront/Domain/Cart/Demo/DemoCartBuilder.cs index 5a1ae1aa..7804c9b1 100644 --- a/VirtoCommerce.Storefront/Domain/Cart/Demo/DemoCartBuilder.cs +++ b/VirtoCommerce.Storefront/Domain/Cart/Demo/DemoCartBuilder.cs @@ -34,18 +34,19 @@ public override Task RemoveItemAsync(string lineItemId) { EnsureCartExists(); - var configureLineItem = Cart.ConfiguredGroups.FirstOrDefault(x => x.ConfiguredLineItem?.ProductId.Equals(lineItemId, StringComparison.InvariantCulture) ?? false); + var configuredGroup = Cart.ConfiguredGroups?.FirstOrDefault(x => x.Id.Equals(lineItemId, StringComparison.InvariantCulture)); - if (configureLineItem != null) + if (configuredGroup != null) { - var configurablePieces = Cart.Items.Where(x => x.ConfiguredGropupId?.Equals(lineItemId, StringComparison.InvariantCulture) ?? false).ToArray(); + var groupItems = Cart.Items.Where(x => !string.IsNullOrEmpty(x.ConfiguredGropupId) && + x.ConfiguredGropupId.Equals(configuredGroup.Id)).ToArray(); - foreach (var configuirablePieceLineItem in configurablePieces) + foreach (var lineItem in groupItems) { - Cart.Items.Remove(configuirablePieceLineItem); + Cart.Items.Remove(lineItem); } - Cart.ConfiguredGroups.Remove(configureLineItem); + Cart.ConfiguredGroups.Remove(configuredGroup); } return base.RemoveItemAsync(lineItemId); @@ -55,18 +56,13 @@ public override Task ChangeItemQuantityAsync(ChangeCartItemQty changeItemQty) { EnsureCartExists(); - var configuredProduct = Cart.ConfiguredGroups?.FirstOrDefault(x => - x.ConfiguredLineItem?.ProductId.Equals(changeItemQty.LineItemId, StringComparison.InvariantCulture) ?? false); + var configuredGroup = Cart.ConfiguredGroups?.FirstOrDefault(x => x.Id.Equals(changeItemQty.LineItemId, StringComparison.InvariantCulture)); - if (configuredProduct != null) + if (configuredGroup != null) { - foreach (var lineItem in Cart - .Items - .Where(x => - !string.IsNullOrEmpty(x.ConfiguredGropupId) && - x.ConfiguredGropupId.Equals(configuredProduct.ConfiguredLineItem.ProductId) - ) - ) + var groupItems = Cart.Items.Where(x => !string.IsNullOrEmpty(x.ConfiguredGropupId) && + x.ConfiguredGropupId.Equals(configuredGroup.Id)).ToArray(); + foreach (var lineItem in groupItems) { lineItem.Quantity = changeItemQty.Quantity; } @@ -83,9 +79,9 @@ public override async Task AddItemAsync(AddCartItem addCartItem) if (result.IsValid) { - var lineItem = addCartItem.Product.ToLineItem(Cart.Language, addCartItem.Quantity); + var lineItem = addCartItem.Product.ToLineItem(Cart.Language, addCartItem.Quantity); lineItem.Product = addCartItem.Product; - lineItem.ConfiguredGropupId = addCartItem.ConfiguredProductId; + lineItem.ConfiguredGropupId = addCartItem.ConfiguredGroupId; if (addCartItem.Price != null) { @@ -116,14 +112,18 @@ public override async Task AddItemAsync(AddCartItem addCartItem) protected override async Task AddLineItemAsync(LineItem lineItem) { - if (!string.IsNullOrEmpty(lineItem.ConfiguredGropupId)) + var existingLineItem = Cart.Items.FirstOrDefault(li => li.ProductId == lineItem.ProductId && li.ConfiguredGropupId == lineItem.ConfiguredGropupId); + if (existingLineItem != null) { - lineItem.Id = null; - Cart.Items.Add(lineItem); + await ChangeItemQuantityAsync(existingLineItem, existingLineItem.Quantity + Math.Max(1, lineItem.Quantity)); + await ChangeItemPriceAsync(existingLineItem, new ChangeCartItemPrice() { LineItemId = existingLineItem.Id, NewPrice = lineItem.ListPrice.Amount }); + existingLineItem.Comment = lineItem.Comment; + existingLineItem.DynamicProperties = lineItem.DynamicProperties; } else { - await base.AddLineItemAsync(lineItem); + lineItem.Id = null; + Cart.Items.Add(lineItem); } } } diff --git a/VirtoCommerce.Storefront/Domain/Cart/Demo/DemoCartService.cs b/VirtoCommerce.Storefront/Domain/Cart/Demo/DemoCartService.cs index 72798101..fbde97c6 100644 --- a/VirtoCommerce.Storefront/Domain/Cart/Demo/DemoCartService.cs +++ b/VirtoCommerce.Storefront/Domain/Cart/Demo/DemoCartService.cs @@ -66,7 +66,7 @@ public override async Task> SearchCartsAsync(CartSearch var cart = cartDto.ToShoppingCart(currency, language, user); - await AddConfiguredItemsToCartAsync(cart, language, currency); + await FillProductPartsOfGroups(cart, language, currency); result.Add(cart); } @@ -74,30 +74,22 @@ public override async Task> SearchCartsAsync(CartSearch }); } - - protected virtual async Task AddConfiguredItemsToCartAsync(ShoppingCart cart, Language language, Currency currency) + protected virtual async Task FillProductPartsOfGroups(ShoppingCart cart, Language language, Currency currency) { - foreach (var grouping in cart.Items.Where(x => !x.ConfiguredGropupId.IsNullOrEmpty()).GroupBy(x => x.ConfiguredGropupId)) + if(cart.ConfiguredGroups.IsNullOrEmpty()) { - var configuredProductId = grouping.Key; - var configuredProductItems = grouping.AsEnumerable().ToArray(); - var configuredProductQuantity = configuredProductItems.FirstOrDefault()?.Quantity ?? 1; - - var configuredItem = new ConfiguredGroup(); - var product = (await _catalogService.GetProductsAsync(new[] {configuredProductId}, ItemResponseGroup.None)).FirstOrDefault(); + return; + } - configuredItem.ConfiguredLineItem = product?.ToLineItem(language, configuredProductQuantity); + var groupProductsIds = cart.ConfiguredGroups.Select(x => x.ProductId).ToArray(); + var groupProducts = await _catalogService.GetProductsAsync(groupProductsIds, ItemResponseGroup.None); - if (configuredItem.ConfiguredLineItem != null) - { - configuredItem.ConfiguredLineItem.PlacedPrice = new Money(configuredProductItems.Sum(x => x.PlacedPrice.Amount), currency); - configuredItem.ConfiguredLineItem.ExtendedPrice = new Money(configuredProductItems.Sum(x => x.ExtendedPrice.Amount), currency); - } + foreach (var group in cart.ConfiguredGroups) + { + var product = groupProducts.FirstOrDefault(x=>x.Id == group.ProductId); + group.Product = product; - configuredItem - .Parts - .AddRange( - configuredProductItems + var productParts = group.Items .Select(x => { var result = _demoCatalogService.TryGetProductPartByCategoryId(x.CategoryId); @@ -106,10 +98,9 @@ protected virtual async Task AddConfiguredItemsToCartAsync(ShoppingCart cart, La return result; }) - .OrderBy(x => x.Name) - ); + .OrderBy(x => x.Name).ToArray(); - cart.ConfiguredGroups.Add(configuredItem); + group.Parts.AddRange(productParts); } } } From 937bada6f7e96f32e82b3bf9dab95ea06e869ef6 Mon Sep 17 00:00:00 2001 From: trueboroda Date: Tue, 27 Oct 2020 16:19:23 +0300 Subject: [PATCH 05/21] VP-5616: Debug cart's configured groups cases --- .../Cart/Demo/ConfiguredGroup.cs | 18 +++++++++++++----- .../Controllers/Api/ApiCartDemoController.cs | 2 +- .../Domain/Cart/Demo/CartConverter.cs | 13 +++++++------ .../Domain/Cart/Demo/DemoCartBuilder.cs | 3 +++ 4 files changed, 24 insertions(+), 12 deletions(-) diff --git a/VirtoCommerce.Storefront.Model/Cart/Demo/ConfiguredGroup.cs b/VirtoCommerce.Storefront.Model/Cart/Demo/ConfiguredGroup.cs index 436dd4b9..c86347b0 100644 --- a/VirtoCommerce.Storefront.Model/Cart/Demo/ConfiguredGroup.cs +++ b/VirtoCommerce.Storefront.Model/Cart/Demo/ConfiguredGroup.cs @@ -8,15 +8,23 @@ namespace VirtoCommerce.Storefront.Model.Cart.Demo { public class ConfiguredGroup : Entity { - public ConfiguredGroup(int quantity, Currency currency, Money extendedPrice, - Money extendedPriceWithTax, Money taxTotal) + public ConfiguredGroup(int quantity, Currency currency, string productId) { Id = Guid.NewGuid().ToString("N"); + ProductId = productId; Quantity = quantity; Currency = currency; - ExtendedPrice = extendedPrice; - ExtendedPriceWithTax = extendedPriceWithTax; - TaxTotal = taxTotal; + + ExtendedPrice = new Money(currency); + ExtendedPriceWithTax = new Money(currency); + TaxTotal = new Money(currency); + + ListPrice = new Money(currency); + ListPriceWithTax = new Money(currency); + SalePrice = new Money(currency); + SalePriceWithTax = new Money(currency); + PlacedPrice = new Money(currency); + PlacedPriceWithTax = new Money(currency); } public string ProductId { get; set; } diff --git a/VirtoCommerce.Storefront/Controllers/Api/ApiCartDemoController.cs b/VirtoCommerce.Storefront/Controllers/Api/ApiCartDemoController.cs index b8967edf..8e3f5d34 100644 --- a/VirtoCommerce.Storefront/Controllers/Api/ApiCartDemoController.cs +++ b/VirtoCommerce.Storefront/Controllers/Api/ApiCartDemoController.cs @@ -60,7 +60,7 @@ public async Task> AddItemsToCart([FromBody] if (configuredGroup == null) { - configuredGroup = new Model.Cart.Demo.ConfiguredGroup(firstItem.Quantity, WorkContext.CurrentCurrency, new Money(0m, currency), new Money(0m, currency), new Money(0m, currency)); + configuredGroup = new Model.Cart.Demo.ConfiguredGroup(firstItem.Quantity, WorkContext.CurrentCurrency, configuredProductId); cart.ConfiguredGroups.Add(configuredGroup); } else diff --git a/VirtoCommerce.Storefront/Domain/Cart/Demo/CartConverter.cs b/VirtoCommerce.Storefront/Domain/Cart/Demo/CartConverter.cs index e79cd43c..7851e542 100644 --- a/VirtoCommerce.Storefront/Domain/Cart/Demo/CartConverter.cs +++ b/VirtoCommerce.Storefront/Domain/Cart/Demo/CartConverter.cs @@ -41,17 +41,18 @@ public static cartDto.DemoCartConfiguredGroup ToConfiguredGroup(this ConfiguredG public static ConfiguredGroup ToConfiguredGroup(this cartDto.DemoCartConfiguredGroup group, ShoppingCart cart) { - var result = new ConfiguredGroup( - group.Quantity ?? 0, cart.Currency, new Money(group.ExtendedPrice ?? 0, cart.Currency), - new Money(group.ExtendedPriceWithTax ?? 0, cart.Currency), - new Money(group.TaxTotal ?? 0, cart.Currency)) + var result = new ConfiguredGroup(group.Quantity ?? 0, cart.Currency, group.ProductId) { - Id = group.Id, - ProductId = group.ProductId, + Id = group.Id, CreatedBy = group.CreatedBy, CreatedDate = group.CreatedDate ?? DateTime.UtcNow, ModifiedBy = group.ModifiedBy, ModifiedDate = group.ModifiedDate, + + ExtendedPrice = new Money(group.ExtendedPrice ?? 0, cart.Currency), + ExtendedPriceWithTax = new Money(group.ExtendedPriceWithTax ?? 0, cart.Currency), + TaxTotal = new Money(group.TaxTotal ?? 0, cart.Currency), + ListPrice = new Money(group.ListPrice ?? 0, cart.Currency), ListPriceWithTax = new Money(group.ListPriceWithTax ?? 0, cart.Currency), SalePrice = new Money(group.SalePrice ?? 0, cart.Currency), diff --git a/VirtoCommerce.Storefront/Domain/Cart/Demo/DemoCartBuilder.cs b/VirtoCommerce.Storefront/Domain/Cart/Demo/DemoCartBuilder.cs index 7804c9b1..a0323fa5 100644 --- a/VirtoCommerce.Storefront/Domain/Cart/Demo/DemoCartBuilder.cs +++ b/VirtoCommerce.Storefront/Domain/Cart/Demo/DemoCartBuilder.cs @@ -60,8 +60,11 @@ public override Task ChangeItemQuantityAsync(ChangeCartItemQty changeItemQty) if (configuredGroup != null) { + configuredGroup.Quantity = changeItemQty.Quantity; + var groupItems = Cart.Items.Where(x => !string.IsNullOrEmpty(x.ConfiguredGropupId) && x.ConfiguredGropupId.Equals(configuredGroup.Id)).ToArray(); + foreach (var lineItem in groupItems) { lineItem.Quantity = changeItemQty.Quantity; From c39e782c7e9b9cb4cb423e32c8c8ace92d3a0479 Mon Sep 17 00:00:00 2001 From: trueboroda Date: Wed, 28 Oct 2020 14:16:45 +0300 Subject: [PATCH 06/21] VP-5616: Take into account PR notes --- .../Cart/Demo/ConfiguredGroup.cs | 4 +- .../Cart/Demo/LineItem.cs | 2 +- .../Controllers/Api/ApiCartDemoController.cs | 105 +++++++++--------- .../Domain/Cart/CartConverter.cs | 4 +- .../Domain/Cart/Demo/CartConverter.cs | 8 +- .../Domain/Cart/Demo/DemoCartBuilder.cs | 16 +-- .../Domain/Cart/Demo/DemoCartService.cs | 42 ++++--- 7 files changed, 98 insertions(+), 83 deletions(-) diff --git a/VirtoCommerce.Storefront.Model/Cart/Demo/ConfiguredGroup.cs b/VirtoCommerce.Storefront.Model/Cart/Demo/ConfiguredGroup.cs index c86347b0..20c80744 100644 --- a/VirtoCommerce.Storefront.Model/Cart/Demo/ConfiguredGroup.cs +++ b/VirtoCommerce.Storefront.Model/Cart/Demo/ConfiguredGroup.cs @@ -25,6 +25,8 @@ public ConfiguredGroup(int quantity, Currency currency, string productId) SalePriceWithTax = new Money(currency); PlacedPrice = new Money(currency); PlacedPriceWithTax = new Money(currency); + + Items = new List(); } public string ProductId { get; set; } @@ -40,7 +42,7 @@ public ConfiguredGroup(int quantity, Currency currency, string productId) public string ModifiedBy { get; set; } [JsonRequired] - public virtual IList Items { get; set; } = new List(); + public virtual IList Items { get; set; } [JsonRequired] public int Quantity { get; set; } diff --git a/VirtoCommerce.Storefront.Model/Cart/Demo/LineItem.cs b/VirtoCommerce.Storefront.Model/Cart/Demo/LineItem.cs index 43c29f2c..6f449c62 100644 --- a/VirtoCommerce.Storefront.Model/Cart/Demo/LineItem.cs +++ b/VirtoCommerce.Storefront.Model/Cart/Demo/LineItem.cs @@ -2,6 +2,6 @@ namespace VirtoCommerce.Storefront.Model.Cart { public partial class LineItem { - public string ConfiguredGropupId { get; set; } + public string ConfiguredGroupId { get; set; } } } diff --git a/VirtoCommerce.Storefront/Controllers/Api/ApiCartDemoController.cs b/VirtoCommerce.Storefront/Controllers/Api/ApiCartDemoController.cs index 8e3f5d34..6f1124c7 100644 --- a/VirtoCommerce.Storefront/Controllers/Api/ApiCartDemoController.cs +++ b/VirtoCommerce.Storefront/Controllers/Api/ApiCartDemoController.cs @@ -32,64 +32,69 @@ public ApiCartDemoController(IWorkContextAccessor workContextAccessor, ICatalogS // POST: storefrontapi/cart/items/bulk [HttpPost("items/bulk")] [ValidateAntiForgeryToken] - public async Task> AddItemsToCart([FromBody] AddCartItem[] items) + public Task> AddItemsToCart([FromBody] AddCartItem[] items) { if (items.IsNullOrEmpty()) { - throw new ArgumentException("Items should not be null or empty"); + throw new ArgumentNullException(nameof(items)); } - - EnsureCartExists(); - - //Need lock to prevent concurrent access to same cart - using (await AsyncLock.GetLockByKey(WorkContext.CurrentCart.Value.GetCacheKey()).LockAsync()) + + async Task> InternalAddItemsToCart() { - var productIds = items.Select(x => x.Id).ToArray(); - var products = await _catalogService.GetProductsAsync(productIds, Model.Catalog.ItemResponseGroup.ItemSmall | Model.Catalog.ItemResponseGroup.ItemWithPrices | Model.Catalog.ItemResponseGroup.Inventory); - var cartBuilder = await LoadOrCreateCartAsync(); - var cart = _cartBuilder.Cart; - var currency = WorkContext.CurrentCurrency; - - var firstItem = items.First(); - - var configuredProductId = firstItem.ConfiguredProductId; - - var configuredGroup = cart.ConfiguredGroups?.FirstOrDefault(x => (x.ProductId == configuredProductId) - && x.Items.OrderBy(x => x.ProductId).Select(x => x.ProductId).SequenceEqual(items.OrderBy(i => i.ProductId).Select(i => i.ProductId).ToArray()) - ); - - if (configuredGroup == null) - { - configuredGroup = new Model.Cart.Demo.ConfiguredGroup(firstItem.Quantity, WorkContext.CurrentCurrency, configuredProductId); - cart.ConfiguredGroups.Add(configuredGroup); - } - else - { - configuredGroup.Quantity = configuredGroup.Quantity + Math.Max(1, firstItem.Quantity); - } + EnsureCartExists(); - foreach (var item in items) + //Need lock to prevent concurrent access to same cart + using (await AsyncLock.GetLockByKey(WorkContext.CurrentCart.Value.GetCacheKey()).LockAsync()) { - item.ConfiguredGroupId = configuredGroup?.Id; - item.Product = products.First(x => x.Id == item.ProductId); - await cartBuilder.AddItemAsync(item); - } - - var validationResult = await new CartDemoValidator().ValidateAsync(cart, ruleSet: "default,strict"); - - if (validationResult.IsValid) - { - await cartBuilder.SaveAsync(); - } - - var result = new AddItemsToCartResult - { - IsSuccess = validationResult.IsValid, - ErrorCodes = validationResult.Errors.Select(x => x.ErrorCode).Distinct().ToArray() - }; - - return result; + var productIds = items.Select(x => x.Id).ToArray(); + var products = await _catalogService.GetProductsAsync(productIds, Model.Catalog.ItemResponseGroup.ItemSmall | Model.Catalog.ItemResponseGroup.ItemWithPrices | Model.Catalog.ItemResponseGroup.Inventory); + var cartBuilder = await LoadOrCreateCartAsync(); + var cart = _cartBuilder.Cart; + var currency = WorkContext.CurrentCurrency; + + var firstItem = items.First(); + + var configuredProductId = firstItem.ConfiguredProductId; + + var configuredGroup = cart.ConfiguredGroups?.FirstOrDefault(x => (x.ProductId == configuredProductId) + && x.Items.OrderBy(x => x.ProductId).Select(x => x.ProductId).SequenceEqual(items.OrderBy(i => i.ProductId).Select(i => i.ProductId).ToArray()) + ); + + if (configuredGroup == null) + { + configuredGroup = new Model.Cart.Demo.ConfiguredGroup(firstItem.Quantity, currency, configuredProductId); + cart.ConfiguredGroups.Add(configuredGroup); + } + else + { + configuredGroup.Quantity += Math.Max(1, firstItem.Quantity); + } + + foreach (var item in items) + { + item.ConfiguredGroupId = configuredGroup?.Id; + item.Product = products.First(x => x.Id == item.ProductId); + await cartBuilder.AddItemAsync(item); + } + + var validationResult = await new CartDemoValidator().ValidateAsync(cart, ruleSet: "default,strict"); + + if (validationResult.IsValid) + { + await cartBuilder.SaveAsync(); + } + + var result = new AddItemsToCartResult + { + IsSuccess = validationResult.IsValid, + ErrorCodes = validationResult.Errors.Select(x => x.ErrorCode).Distinct().ToArray() + }; + + return result; + } } + + return InternalAddItemsToCart(); } private void EnsureCartExists() diff --git a/VirtoCommerce.Storefront/Domain/Cart/CartConverter.cs b/VirtoCommerce.Storefront/Domain/Cart/CartConverter.cs index 7ac1bab5..ff4dbef4 100644 --- a/VirtoCommerce.Storefront/Domain/Cart/CartConverter.cs +++ b/VirtoCommerce.Storefront/Domain/Cart/CartConverter.cs @@ -689,7 +689,7 @@ public static LineItem ToLineItem(this cartDto.CartLineItem lineItemDto, Currenc Width = (decimal?)lineItemDto.Width, Length = (decimal?)lineItemDto.Length, Height = (decimal?)lineItemDto.Height, - ConfiguredGropupId = lineItemDto.ConfiguredGroupId, + ConfiguredGroupId = lineItemDto.ConfiguredGroupId, }; result.ImageUrl = lineItemDto.ImageUrl.RemoveLeadingUriScheme(); @@ -773,7 +773,7 @@ public static cartDto.CartLineItem ToLineItemDto(this LineItem lineItem) DynamicProperties = lineItem.DynamicProperties.Select(ToCartDynamicPropertyDto).ToList(), VolumetricWeight = (double)(lineItem.VolumetricWeight ?? 0), - ConfiguredGroupId = lineItem.ConfiguredGropupId, + ConfiguredGroupId = lineItem.ConfiguredGroupId, }; retVal.Weight = (double?)lineItem.Weight; retVal.Width = (double?)lineItem.Width; diff --git a/VirtoCommerce.Storefront/Domain/Cart/Demo/CartConverter.cs b/VirtoCommerce.Storefront/Domain/Cart/Demo/CartConverter.cs index 7851e542..2f5f9087 100644 --- a/VirtoCommerce.Storefront/Domain/Cart/Demo/CartConverter.cs +++ b/VirtoCommerce.Storefront/Domain/Cart/Demo/CartConverter.cs @@ -3,20 +3,20 @@ using VirtoCommerce.Storefront.Model.Cart; using VirtoCommerce.Storefront.Model.Cart.Demo; using VirtoCommerce.Storefront.Model.Common; -using cartDto = VirtoCommerce.Storefront.AutoRestClients.CartModuleApi.Models; +using cartApiDto = VirtoCommerce.Storefront.AutoRestClients.CartModuleApi.Models; namespace VirtoCommerce.Storefront.Domain { public static partial class CartConverter { - public static cartDto.DemoCartConfiguredGroup ToConfiguredGroup(this ConfiguredGroup group) + public static cartApiDto.DemoCartConfiguredGroup ToConfiguredGroup(this ConfiguredGroup group) { foreach (var lineItem in group.Items) { lineItem.Id = lineItem.Id ?? Guid.NewGuid().ToString("N"); } - return new cartDto.DemoCartConfiguredGroup + return new cartApiDto.DemoCartConfiguredGroup { Id = group.Id ?? Guid.NewGuid().ToString("N"), ProductId = group.ProductId, @@ -39,7 +39,7 @@ public static cartDto.DemoCartConfiguredGroup ToConfiguredGroup(this ConfiguredG }; } - public static ConfiguredGroup ToConfiguredGroup(this cartDto.DemoCartConfiguredGroup group, ShoppingCart cart) + public static ConfiguredGroup ToConfiguredGroup(this cartApiDto.DemoCartConfiguredGroup group, ShoppingCart cart) { var result = new ConfiguredGroup(group.Quantity ?? 0, cart.Currency, group.ProductId) { diff --git a/VirtoCommerce.Storefront/Domain/Cart/Demo/DemoCartBuilder.cs b/VirtoCommerce.Storefront/Domain/Cart/Demo/DemoCartBuilder.cs index a0323fa5..310b1a98 100644 --- a/VirtoCommerce.Storefront/Domain/Cart/Demo/DemoCartBuilder.cs +++ b/VirtoCommerce.Storefront/Domain/Cart/Demo/DemoCartBuilder.cs @@ -38,8 +38,8 @@ public override Task RemoveItemAsync(string lineItemId) if (configuredGroup != null) { - var groupItems = Cart.Items.Where(x => !string.IsNullOrEmpty(x.ConfiguredGropupId) && - x.ConfiguredGropupId.Equals(configuredGroup.Id)).ToArray(); + var groupItems = Cart.Items.Where(x => !string.IsNullOrEmpty(x.ConfiguredGroupId) && + x.ConfiguredGroupId.Equals(configuredGroup.Id, StringComparison.InvariantCulture)).ToArray(); foreach (var lineItem in groupItems) { @@ -62,8 +62,8 @@ public override Task ChangeItemQuantityAsync(ChangeCartItemQty changeItemQty) { configuredGroup.Quantity = changeItemQty.Quantity; - var groupItems = Cart.Items.Where(x => !string.IsNullOrEmpty(x.ConfiguredGropupId) && - x.ConfiguredGropupId.Equals(configuredGroup.Id)).ToArray(); + var groupItems = Cart.Items.Where(x => !string.IsNullOrEmpty(x.ConfiguredGroupId) && + x.ConfiguredGroupId.Equals(configuredGroup.Id, StringComparison.InvariantCulture)).ToArray(); foreach (var lineItem in groupItems) { @@ -84,7 +84,7 @@ public override async Task AddItemAsync(AddCartItem addCartItem) { var lineItem = addCartItem.Product.ToLineItem(Cart.Language, addCartItem.Quantity); lineItem.Product = addCartItem.Product; - lineItem.ConfiguredGropupId = addCartItem.ConfiguredGroupId; + lineItem.ConfiguredGroupId = addCartItem.ConfiguredGroupId; if (addCartItem.Price != null) { @@ -115,11 +115,13 @@ public override async Task AddItemAsync(AddCartItem addCartItem) protected override async Task AddLineItemAsync(LineItem lineItem) { - var existingLineItem = Cart.Items.FirstOrDefault(li => li.ProductId == lineItem.ProductId && li.ConfiguredGropupId == lineItem.ConfiguredGropupId); + var existingLineItem = Cart.Items.FirstOrDefault(li => li.ProductId.Equals(lineItem.ProductId, StringComparison.InvariantCulture) + && li.ConfiguredGroupId.Equals(lineItem.ConfiguredGroupId, StringComparison.InvariantCulture)); + if (existingLineItem != null) { await ChangeItemQuantityAsync(existingLineItem, existingLineItem.Quantity + Math.Max(1, lineItem.Quantity)); - await ChangeItemPriceAsync(existingLineItem, new ChangeCartItemPrice() { LineItemId = existingLineItem.Id, NewPrice = lineItem.ListPrice.Amount }); + await ChangeItemPriceAsync(existingLineItem, new ChangeCartItemPrice { LineItemId = existingLineItem.Id, NewPrice = lineItem.ListPrice.Amount }); existingLineItem.Comment = lineItem.Comment; existingLineItem.DynamicProperties = lineItem.DynamicProperties; } diff --git a/VirtoCommerce.Storefront/Domain/Cart/Demo/DemoCartService.cs b/VirtoCommerce.Storefront/Domain/Cart/Demo/DemoCartService.cs index fbde97c6..37a5c634 100644 --- a/VirtoCommerce.Storefront/Domain/Cart/Demo/DemoCartService.cs +++ b/VirtoCommerce.Storefront/Domain/Cart/Demo/DemoCartService.cs @@ -45,33 +45,39 @@ public DemoCartService( _catalogService = catalogService; } - public override async Task> SearchCartsAsync(CartSearchCriteria criteria) + public override Task> SearchCartsAsync(CartSearchCriteria criteria) { if (criteria == null) { throw new ArgumentNullException(nameof(criteria)); } - var cacheKey = CacheKey.With(GetType(), "SearchCartsAsync", criteria.GetCacheKey()); - return await _memoryCache.GetOrCreateExclusiveAsync(cacheKey, async cacheEntry => - { - cacheEntry.AddExpirationToken(CartCacheRegion.CreateCustomerChangeToken(criteria.Customer?.Id)); - var resultDto = await _cartApi.SearchShoppingCartAsync(criteria.ToSearchCriteriaDto()); - var result = new List(); - foreach (var cartDto in resultDto.Results) + async Task> IntertallSearchCartsAsync() + { + var cacheKey = CacheKey.With(GetType(), "SearchCartsAsync", criteria.GetCacheKey()); + return await _memoryCache.GetOrCreateExclusiveAsync(cacheKey, async cacheEntry => { - var currency = _workContextAccessor.WorkContext.AllCurrencies.FirstOrDefault(x => x.Equals(cartDto.Currency)); - var language = string.IsNullOrEmpty(cartDto.LanguageCode) ? Language.InvariantLanguage : new Language(cartDto.LanguageCode); - var user = await _userManager.FindByIdAsync(cartDto.CustomerId) ?? criteria.Customer; + cacheEntry.AddExpirationToken(CartCacheRegion.CreateCustomerChangeToken(criteria.Customer?.Id)); + + var resultDto = await _cartApi.SearchShoppingCartAsync(criteria.ToSearchCriteriaDto()); + var result = new List(); + foreach (var cartDto in resultDto.Results) + { + var currency = _workContextAccessor.WorkContext.AllCurrencies.FirstOrDefault(x => x.Equals(cartDto.Currency)); + var language = string.IsNullOrEmpty(cartDto.LanguageCode) ? Language.InvariantLanguage : new Language(cartDto.LanguageCode); + var user = await _userManager.FindByIdAsync(cartDto.CustomerId) ?? criteria.Customer; - var cart = cartDto.ToShoppingCart(currency, language, user); + var cart = cartDto.ToShoppingCart(currency, language, user); - await FillProductPartsOfGroups(cart, language, currency); + await FillProductPartsOfGroups(cart, language, currency); + + result.Add(cart); + } + return new StaticPagedList(result, criteria.PageNumber, criteria.PageSize, resultDto.TotalCount.Value); + }); + } - result.Add(cart); - } - return new StaticPagedList(result, criteria.PageNumber, criteria.PageSize, resultDto.TotalCount.Value); - }); + return IntertallSearchCartsAsync(); } protected virtual async Task FillProductPartsOfGroups(ShoppingCart cart, Language language, Currency currency) @@ -86,7 +92,7 @@ protected virtual async Task FillProductPartsOfGroups(ShoppingCart cart, Languag foreach (var group in cart.ConfiguredGroups) { - var product = groupProducts.FirstOrDefault(x=>x.Id == group.ProductId); + var product = groupProducts.FirstOrDefault(x=>x.Id.Equals(group.ProductId, StringComparison.InvariantCulture)); group.Product = product; var productParts = group.Items From 6e27e4853504b5e6e4d002fa4c985d8e7c703d0e Mon Sep 17 00:00:00 2001 From: trueboroda Date: Wed, 28 Oct 2020 14:18:09 +0300 Subject: [PATCH 07/21] VP-5616: Code cleanup --- .../Controllers/Api/ApiCartDemoController.cs | 4 ++-- VirtoCommerce.Storefront/Domain/Cart/Demo/CartConverter.cs | 2 +- VirtoCommerce.Storefront/Domain/Cart/Demo/DemoCartService.cs | 5 ++--- 3 files changed, 5 insertions(+), 6 deletions(-) diff --git a/VirtoCommerce.Storefront/Controllers/Api/ApiCartDemoController.cs b/VirtoCommerce.Storefront/Controllers/Api/ApiCartDemoController.cs index 6f1124c7..aa8c02d1 100644 --- a/VirtoCommerce.Storefront/Controllers/Api/ApiCartDemoController.cs +++ b/VirtoCommerce.Storefront/Controllers/Api/ApiCartDemoController.cs @@ -38,7 +38,7 @@ public Task> AddItemsToCart([FromBody] AddCar { throw new ArgumentNullException(nameof(items)); } - + async Task> InternalAddItemsToCart() { EnsureCartExists(); @@ -91,7 +91,7 @@ async Task> InternalAddItemsToCart() }; return result; - } + } } return InternalAddItemsToCart(); diff --git a/VirtoCommerce.Storefront/Domain/Cart/Demo/CartConverter.cs b/VirtoCommerce.Storefront/Domain/Cart/Demo/CartConverter.cs index 2f5f9087..cdca1cfc 100644 --- a/VirtoCommerce.Storefront/Domain/Cart/Demo/CartConverter.cs +++ b/VirtoCommerce.Storefront/Domain/Cart/Demo/CartConverter.cs @@ -43,7 +43,7 @@ public static ConfiguredGroup ToConfiguredGroup(this cartApiDto.DemoCartConfigur { var result = new ConfiguredGroup(group.Quantity ?? 0, cart.Currency, group.ProductId) { - Id = group.Id, + Id = group.Id, CreatedBy = group.CreatedBy, CreatedDate = group.CreatedDate ?? DateTime.UtcNow, ModifiedBy = group.ModifiedBy, diff --git a/VirtoCommerce.Storefront/Domain/Cart/Demo/DemoCartService.cs b/VirtoCommerce.Storefront/Domain/Cart/Demo/DemoCartService.cs index 37a5c634..5945685d 100644 --- a/VirtoCommerce.Storefront/Domain/Cart/Demo/DemoCartService.cs +++ b/VirtoCommerce.Storefront/Domain/Cart/Demo/DemoCartService.cs @@ -9,7 +9,6 @@ using VirtoCommerce.Storefront.Model; using VirtoCommerce.Storefront.Model.Caching; using VirtoCommerce.Storefront.Model.Cart; -using VirtoCommerce.Storefront.Model.Cart.Demo; using VirtoCommerce.Storefront.Model.Catalog; using VirtoCommerce.Storefront.Model.Catalog.Services; using VirtoCommerce.Storefront.Model.Common; @@ -82,7 +81,7 @@ async Task> IntertallSearchCartsAsync() protected virtual async Task FillProductPartsOfGroups(ShoppingCart cart, Language language, Currency currency) { - if(cart.ConfiguredGroups.IsNullOrEmpty()) + if (cart.ConfiguredGroups.IsNullOrEmpty()) { return; } @@ -92,7 +91,7 @@ protected virtual async Task FillProductPartsOfGroups(ShoppingCart cart, Languag foreach (var group in cart.ConfiguredGroups) { - var product = groupProducts.FirstOrDefault(x=>x.Id.Equals(group.ProductId, StringComparison.InvariantCulture)); + var product = groupProducts.FirstOrDefault(x => x.Id.Equals(group.ProductId, StringComparison.InvariantCulture)); group.Product = product; var productParts = group.Items From 9bfc293d5ccc4b85e72c23be47a8b9d037b27d75 Mon Sep 17 00:00:00 2001 From: Aleksandr Vishniakov Date: Wed, 28 Oct 2020 16:16:53 +0200 Subject: [PATCH 08/21] VP-4989: Configurable products in order --- .../Cart/Demo/ShoppingCart.cs | 2 +- .../Cart/Services/ICartBuilder.cs | 6 +- .../Cart/Services/ICartService.cs | 10 +- .../Cart/ShoppingCart.cs | 6 +- .../Cart/ShoppingCartSearchResult.cs | 2 +- .../Cart/Validators/AddCartItemValidator.cs | 2 +- .../Cart/Validators/CartDemoValidator.cs | 2 +- .../Validators/CartLineItemDemoValidator.cs | 2 +- .../Cart/Validators/CartLineItemValidator.cs | 2 +- .../Cart/Validators/CartShipmentValidator.cs | 2 +- .../Cart/Validators/CartValidator.cs | 2 +- .../ChangeCartItemPriceValidator.cs | 2 +- .../Marketing/PromotionEvaluationContext.cs | 2 +- .../Order/Demo/ConfiguredGroup.cs | 76 + .../Order/Demo/CustomerOrder.cs | 23 + .../Order/Demo/LineItem.cs | 11 + .../Services/IDemoCustomerOrderService.cs | 11 + .../Order/Events/OrderPlacedEvent.cs | 4 +- VirtoCommerce.Storefront.Model/WorkContext.cs | 8 +- .../ShoppingCart/CartValidationTests.cs | 18 +- .../AutoRestClients/OrdersModuleApi.cs | 2491 +- .../AutoRestClients/code-model-v1 | 25185 ++++++++++++++++ .../Controllers/Api/ApiCartController.cs | 4 +- .../Controllers/Api/ApiListsController.cs | 4 +- .../Controllers/Api/ApiOrderController.cs | 16 +- .../Domain/Cart/CartBuilder.cs | 16 +- .../Domain/Cart/CartCacheRegion.cs | 4 +- .../Domain/Cart/CartConverter.cs | 22 +- .../Domain/Cart/CartService.cs | 16 +- .../Cart/CartWorkContextBuilderExtensions.cs | 6 +- .../Domain/Cart/Demo/CartConverter.cs | 4 +- .../Domain/Cart/Demo/DemoCartService.cs | 8 +- .../Domain/Order/CustomerOrderService.cs | 4 +- .../Order/Demo/DemoCustomerOrderService.cs | 88 + .../Domain/Order/Demo/OrderConverter.cs | 69 + .../Domain/Order/OrderConverter.cs | 8 +- VirtoCommerce.Storefront/Startup.cs | 4 +- 37 files changed, 27030 insertions(+), 1112 deletions(-) create mode 100644 VirtoCommerce.Storefront.Model/Order/Demo/ConfiguredGroup.cs create mode 100644 VirtoCommerce.Storefront.Model/Order/Demo/CustomerOrder.cs create mode 100644 VirtoCommerce.Storefront.Model/Order/Demo/LineItem.cs create mode 100644 VirtoCommerce.Storefront.Model/Order/Demo/Services/IDemoCustomerOrderService.cs create mode 100644 VirtoCommerce.Storefront/AutoRestClients/code-model-v1 create mode 100644 VirtoCommerce.Storefront/Domain/Order/Demo/DemoCustomerOrderService.cs create mode 100644 VirtoCommerce.Storefront/Domain/Order/Demo/OrderConverter.cs diff --git a/VirtoCommerce.Storefront.Model/Cart/Demo/ShoppingCart.cs b/VirtoCommerce.Storefront.Model/Cart/Demo/ShoppingCart.cs index ccba982e..ac4c67a1 100644 --- a/VirtoCommerce.Storefront.Model/Cart/Demo/ShoppingCart.cs +++ b/VirtoCommerce.Storefront.Model/Cart/Demo/ShoppingCart.cs @@ -5,7 +5,7 @@ namespace VirtoCommerce.Storefront.Model.Cart { - public partial class ShoppingCart + public partial class CustomerOrder { [JsonRequired] public LineItem[] UsualItems diff --git a/VirtoCommerce.Storefront.Model/Cart/Services/ICartBuilder.cs b/VirtoCommerce.Storefront.Model/Cart/Services/ICartBuilder.cs index b0890816..ff5dc260 100644 --- a/VirtoCommerce.Storefront.Model/Cart/Services/ICartBuilder.cs +++ b/VirtoCommerce.Storefront.Model/Cart/Services/ICartBuilder.cs @@ -15,14 +15,14 @@ namespace VirtoCommerce.Storefront.Model.Cart.Services /// public interface ICartBuilder { - ShoppingCart Cart { get; } + CustomerOrder Cart { get; } /// /// Capture cart and all next changes will be implemented on it /// /// /// - Task TakeCartAsync(ShoppingCart cart); + Task TakeCartAsync(CustomerOrder cart); /// /// Update shopping cart comment @@ -133,7 +133,7 @@ public interface ICartBuilder /// /// /// - Task MergeWithCartAsync(ShoppingCart cart); + Task MergeWithCartAsync(CustomerOrder cart); /// /// Remove cart from service diff --git a/VirtoCommerce.Storefront.Model/Cart/Services/ICartService.cs b/VirtoCommerce.Storefront.Model/Cart/Services/ICartService.cs index 99ef0f87..ea2e41c4 100644 --- a/VirtoCommerce.Storefront.Model/Cart/Services/ICartService.cs +++ b/VirtoCommerce.Storefront.Model/Cart/Services/ICartService.cs @@ -6,13 +6,13 @@ namespace VirtoCommerce.Storefront.Model.Cart.Services { public interface ICartService { - Task> SearchCartsAsync(CartSearchCriteria criteria); - Task SaveChanges(ShoppingCart cart); - Task GetByIdAsync(string cartId); + Task> SearchCartsAsync(CartSearchCriteria criteria); + Task SaveChanges(CustomerOrder cart); + Task GetByIdAsync(string cartId); Task DeleteCartByIdAsync(string cartId); - Task> GetAvailableShippingMethodsAsync(ShoppingCart cart); - Task> GetAvailablePaymentMethodsAsync(ShoppingCart cart); + Task> GetAvailableShippingMethodsAsync(CustomerOrder cart); + Task> GetAvailablePaymentMethodsAsync(CustomerOrder cart); } } diff --git a/VirtoCommerce.Storefront.Model/Cart/ShoppingCart.cs b/VirtoCommerce.Storefront.Model/Cart/ShoppingCart.cs index a8371b25..3aba54a8 100644 --- a/VirtoCommerce.Storefront.Model/Cart/ShoppingCart.cs +++ b/VirtoCommerce.Storefront.Model/Cart/ShoppingCart.cs @@ -10,9 +10,9 @@ namespace VirtoCommerce.Storefront.Model.Cart { - public partial class ShoppingCart : Entity, IDiscountable, IValidatable, IHasLanguage, ITaxable, ICacheKey + public partial class CustomerOrder : Entity, IDiscountable, IValidatable, IHasLanguage, ITaxable, ICacheKey { - public ShoppingCart(Currency currency, Language language) + public CustomerOrder(Currency currency, Language language) { Currency = currency; Language = language; @@ -476,7 +476,7 @@ public override string ToString() public override object Clone() { - var result = base.Clone() as ShoppingCart; + var result = base.Clone() as CustomerOrder; result.HandlingTotal = HandlingTotal?.Clone() as Money; result.HandlingTotalWithTax = HandlingTotalWithTax?.Clone() as Money; diff --git a/VirtoCommerce.Storefront.Model/Cart/ShoppingCartSearchResult.cs b/VirtoCommerce.Storefront.Model/Cart/ShoppingCartSearchResult.cs index d20c7e58..19b2be88 100644 --- a/VirtoCommerce.Storefront.Model/Cart/ShoppingCartSearchResult.cs +++ b/VirtoCommerce.Storefront.Model/Cart/ShoppingCartSearchResult.cs @@ -2,7 +2,7 @@ namespace VirtoCommerce.Storefront.Model.Cart { - public class ShoppingCartSearchResult : GenericSearchResult + public class ShoppingCartSearchResult : GenericSearchResult { } } diff --git a/VirtoCommerce.Storefront.Model/Cart/Validators/AddCartItemValidator.cs b/VirtoCommerce.Storefront.Model/Cart/Validators/AddCartItemValidator.cs index d9f6e599..0e690cd1 100644 --- a/VirtoCommerce.Storefront.Model/Cart/Validators/AddCartItemValidator.cs +++ b/VirtoCommerce.Storefront.Model/Cart/Validators/AddCartItemValidator.cs @@ -11,7 +11,7 @@ namespace VirtoCommerce.Storefront.Model.Cart.Validators { public class AddCartItemValidator : AbstractValidator { - public AddCartItemValidator(ShoppingCart cart) + public AddCartItemValidator(CustomerOrder cart) { RuleFor(x => x.Quantity).GreaterThan(0); RuleFor(x => x.Product).NotNull(); diff --git a/VirtoCommerce.Storefront.Model/Cart/Validators/CartDemoValidator.cs b/VirtoCommerce.Storefront.Model/Cart/Validators/CartDemoValidator.cs index c06e8ca7..9f76407a 100644 --- a/VirtoCommerce.Storefront.Model/Cart/Validators/CartDemoValidator.cs +++ b/VirtoCommerce.Storefront.Model/Cart/Validators/CartDemoValidator.cs @@ -2,7 +2,7 @@ namespace VirtoCommerce.Storefront.Model.Cart.Validators { - public class CartDemoValidator : AbstractValidator + public class CartDemoValidator : AbstractValidator { public CartDemoValidator() { diff --git a/VirtoCommerce.Storefront.Model/Cart/Validators/CartLineItemDemoValidator.cs b/VirtoCommerce.Storefront.Model/Cart/Validators/CartLineItemDemoValidator.cs index d70ee883..57451804 100644 --- a/VirtoCommerce.Storefront.Model/Cart/Validators/CartLineItemDemoValidator.cs +++ b/VirtoCommerce.Storefront.Model/Cart/Validators/CartLineItemDemoValidator.cs @@ -7,7 +7,7 @@ namespace VirtoCommerce.Storefront.Model.Cart.Validators { public class CartLineItemDemoValidator : AbstractValidator { - public CartLineItemDemoValidator(ShoppingCart cart) + public CartLineItemDemoValidator(CustomerOrder cart) { RuleSet("strict", () => { diff --git a/VirtoCommerce.Storefront.Model/Cart/Validators/CartLineItemValidator.cs b/VirtoCommerce.Storefront.Model/Cart/Validators/CartLineItemValidator.cs index 4eb889ac..0df43d60 100644 --- a/VirtoCommerce.Storefront.Model/Cart/Validators/CartLineItemValidator.cs +++ b/VirtoCommerce.Storefront.Model/Cart/Validators/CartLineItemValidator.cs @@ -7,7 +7,7 @@ namespace VirtoCommerce.Storefront.Model.Cart.Validators { public class CartLineItemValidator : AbstractValidator { - public CartLineItemValidator(ShoppingCart cart) + public CartLineItemValidator(CustomerOrder cart) { RuleSet("strict", () => { diff --git a/VirtoCommerce.Storefront.Model/Cart/Validators/CartShipmentValidator.cs b/VirtoCommerce.Storefront.Model/Cart/Validators/CartShipmentValidator.cs index 0f02a233..dfce6a90 100644 --- a/VirtoCommerce.Storefront.Model/Cart/Validators/CartShipmentValidator.cs +++ b/VirtoCommerce.Storefront.Model/Cart/Validators/CartShipmentValidator.cs @@ -8,7 +8,7 @@ namespace VirtoCommerce.Storefront.Model.Cart.Validators { public class CartShipmentValidator : AbstractValidator { - public CartShipmentValidator(ShoppingCart cart, ICartService cartService) + public CartShipmentValidator(CustomerOrder cart, ICartService cartService) { RuleSet("strict", () => { diff --git a/VirtoCommerce.Storefront.Model/Cart/Validators/CartValidator.cs b/VirtoCommerce.Storefront.Model/Cart/Validators/CartValidator.cs index 6558fb23..6d1259d4 100644 --- a/VirtoCommerce.Storefront.Model/Cart/Validators/CartValidator.cs +++ b/VirtoCommerce.Storefront.Model/Cart/Validators/CartValidator.cs @@ -3,7 +3,7 @@ namespace VirtoCommerce.Storefront.Model.Cart.Validators { - public class CartValidator : AbstractValidator + public class CartValidator : AbstractValidator { public CartValidator(ICartService cartService) { diff --git a/VirtoCommerce.Storefront.Model/Cart/Validators/ChangeCartItemPriceValidator.cs b/VirtoCommerce.Storefront.Model/Cart/Validators/ChangeCartItemPriceValidator.cs index c81d890f..257d6a1d 100644 --- a/VirtoCommerce.Storefront.Model/Cart/Validators/ChangeCartItemPriceValidator.cs +++ b/VirtoCommerce.Storefront.Model/Cart/Validators/ChangeCartItemPriceValidator.cs @@ -10,7 +10,7 @@ namespace VirtoCommerce.Storefront.Model.Cart.Validators { public class ChangeCartItemPriceValidator : AbstractValidator { - public ChangeCartItemPriceValidator(ShoppingCart cart) + public ChangeCartItemPriceValidator(CustomerOrder cart) { RuleFor(x => x.NewPrice).GreaterThanOrEqualTo(0); RuleFor(x => x.LineItemId).NotNull().NotEmpty(); diff --git a/VirtoCommerce.Storefront.Model/Marketing/PromotionEvaluationContext.cs b/VirtoCommerce.Storefront.Model/Marketing/PromotionEvaluationContext.cs index 42cb1ade..ce706dc2 100644 --- a/VirtoCommerce.Storefront.Model/Marketing/PromotionEvaluationContext.cs +++ b/VirtoCommerce.Storefront.Model/Marketing/PromotionEvaluationContext.cs @@ -14,7 +14,7 @@ public PromotionEvaluationContext(Language language, Currency currency) { } - public Cart.ShoppingCart Cart { get; set; } + public Cart.CustomerOrder Cart { get; set; } public IList Products { get; set; } = new List(); public Product Product { get; set; } diff --git a/VirtoCommerce.Storefront.Model/Order/Demo/ConfiguredGroup.cs b/VirtoCommerce.Storefront.Model/Order/Demo/ConfiguredGroup.cs new file mode 100644 index 00000000..d766ac8a --- /dev/null +++ b/VirtoCommerce.Storefront.Model/Order/Demo/ConfiguredGroup.cs @@ -0,0 +1,76 @@ +using System; +using System.Collections.Generic; +using Newtonsoft.Json; +using VirtoCommerce.Storefront.Model.Catalog; +using VirtoCommerce.Storefront.Model.Common; + +namespace VirtoCommerce.Storefront.Model.Order.Demo +{ + public class ConfiguredGroup : Entity + { + public ConfiguredGroup(int quantity, Currency currency, string productId) + { + Id = Guid.NewGuid().ToString("N"); + ProductId = productId; + Quantity = quantity; + Currency = currency; + + ExtendedPrice = new Money(currency); + ExtendedPriceWithTax = new Money(currency); + TaxTotal = new Money(currency); + + Price = new Money(currency); + PriceWithTax = new Money(currency); + PlacedPrice = new Money(currency); + PlacedPriceWithTax = new Money(currency); + } + + public string ProductId { get; set; } + + public Product Product { get; set; } + + public DateTime CreatedDate { get; set; } + + public DateTime? ModifiedDate { get; set; } + + public string CreatedBy { get; set; } + + public string ModifiedBy { get; set; } + + [JsonRequired] + public virtual IList Items { get; set; } = new List(); + + [JsonRequired] + public int Quantity { get; set; } + + #region Pricing + + [JsonRequired] + public Currency Currency { get; set; } + + public Money Price { get; set; } + + public Money PriceWithTax { get; set; } + + public Money PlacedPrice { get; set; } + + public Money PlacedPriceWithTax { get; set; } + + [JsonRequired] + public Money ExtendedPrice { get; set; } + + [JsonRequired] + public Money ExtendedPriceWithTax { get; set; } + + #endregion Pricing + + #region Taxation + + [JsonRequired] + public Money TaxTotal { get; set; } + + #endregion Taxation + + public ICollection Parts { get; set; } = new List(); + } +} diff --git a/VirtoCommerce.Storefront.Model/Order/Demo/CustomerOrder.cs b/VirtoCommerce.Storefront.Model/Order/Demo/CustomerOrder.cs new file mode 100644 index 00000000..0d25f821 --- /dev/null +++ b/VirtoCommerce.Storefront.Model/Order/Demo/CustomerOrder.cs @@ -0,0 +1,23 @@ +using System.Collections.Generic; +using System.Linq; +using Newtonsoft.Json; +using VirtoCommerce.Storefront.Model.Order.Demo; + +namespace VirtoCommerce.Storefront.Model.Order +{ + public partial class CustomerOrder + { + [JsonRequired] + public LineItem[] UsualItems + { + get + { + var result = Items.Where(x => !ConfiguredGroups.Any(y => y.Items.Contains(x))).ToArray(); + + return result; + } + } + + public ICollection ConfiguredGroups { get; set; } = new List(); + } +} diff --git a/VirtoCommerce.Storefront.Model/Order/Demo/LineItem.cs b/VirtoCommerce.Storefront.Model/Order/Demo/LineItem.cs new file mode 100644 index 00000000..ebff55ba --- /dev/null +++ b/VirtoCommerce.Storefront.Model/Order/Demo/LineItem.cs @@ -0,0 +1,11 @@ +using VirtoCommerce.Storefront.Model.Catalog; + +namespace VirtoCommerce.Storefront.Model.Order +{ + public partial class LineItem + { + public string ConfiguredGropupId { get; set; } + + public Product Product { get; set; } + } +} diff --git a/VirtoCommerce.Storefront.Model/Order/Demo/Services/IDemoCustomerOrderService.cs b/VirtoCommerce.Storefront.Model/Order/Demo/Services/IDemoCustomerOrderService.cs new file mode 100644 index 00000000..1234f6ea --- /dev/null +++ b/VirtoCommerce.Storefront.Model/Order/Demo/Services/IDemoCustomerOrderService.cs @@ -0,0 +1,11 @@ +using System.Threading.Tasks; + +namespace VirtoCommerce.Storefront.Model.Order.Services +{ + public interface IDemoCustomerOrderService + { + Task LoadProductsAsync(params CustomerOrder[] orders); + + void SelectConfiguredProductParts(params CustomerOrder[] orders); + } +} diff --git a/VirtoCommerce.Storefront.Model/Order/Events/OrderPlacedEvent.cs b/VirtoCommerce.Storefront.Model/Order/Events/OrderPlacedEvent.cs index 932707b7..26d8bdcd 100644 --- a/VirtoCommerce.Storefront.Model/Order/Events/OrderPlacedEvent.cs +++ b/VirtoCommerce.Storefront.Model/Order/Events/OrderPlacedEvent.cs @@ -13,14 +13,14 @@ namespace VirtoCommerce.Storefront.Model.Order.Events /// public class OrderPlacedEvent : DomainEvent { - public OrderPlacedEvent(WorkContext workContext, CustomerOrder order, ShoppingCart cart) + public OrderPlacedEvent(WorkContext workContext, CustomerOrder order, Cart.CustomerOrder cart) { WorkContext = workContext; Cart = cart; Order = order; } public WorkContext WorkContext { get; set; } - public ShoppingCart Cart { get; set; } + public Cart.CustomerOrder Cart { get; set; } public CustomerOrder Order { get; set; } } diff --git a/VirtoCommerce.Storefront.Model/WorkContext.cs b/VirtoCommerce.Storefront.Model/WorkContext.cs index 6c98d1d5..cd508939 100644 --- a/VirtoCommerce.Storefront.Model/WorkContext.cs +++ b/VirtoCommerce.Storefront.Model/WorkContext.cs @@ -90,8 +90,8 @@ public WorkContext() /// /// Gets or sets the current shopping cart /// - public Lazy CurrentCart { get; set; } - public ShoppingCart Cart => (CurrentCart?.IsValueCreated ?? false) ? CurrentCart.Value : null; + public Lazy CurrentCart { get; set; } + public Cart.CustomerOrder Cart => (CurrentCart?.IsValueCreated ?? false) ? CurrentCart.Value : null; /// @@ -228,8 +228,8 @@ public DateTime StorefrontUtcNow public IList AllCountries { get; set; } - public CustomerOrder CurrentOrder { get; set; } - public CustomerOrder Order => CurrentOrder; + public Order.CustomerOrder CurrentOrder { get; set; } + public Order.CustomerOrder Order => CurrentOrder; public StorefrontNotification StorefrontNotification { get; set; } diff --git a/VirtoCommerce.Storefront.Tests/ShoppingCart/CartValidationTests.cs b/VirtoCommerce.Storefront.Tests/ShoppingCart/CartValidationTests.cs index 2a11a846..83ff89b2 100644 --- a/VirtoCommerce.Storefront.Tests/ShoppingCart/CartValidationTests.cs +++ b/VirtoCommerce.Storefront.Tests/ShoppingCart/CartValidationTests.cs @@ -82,7 +82,7 @@ public async Task ValidateShipment_RuleSetStrict_Valid() { //Arrange var cartService = new Moq.Mock(); - cartService.Setup(x => x.GetAvailableShippingMethodsAsync(It.IsAny())).Returns(Task.FromResult(ShippingMethods)); + cartService.Setup(x => x.GetAvailableShippingMethodsAsync(It.IsAny())).Returns(Task.FromResult(ShippingMethods)); var cart = GetValidCart(); //Act @@ -101,7 +101,7 @@ public async Task ValidateShipment_RuleSetStrict_UnavailableMethodError() { //Arrange var cartService = new Moq.Mock(); - cartService.Setup(x => x.GetAvailableShippingMethodsAsync(It.IsAny())).Returns(Task.FromResult(ShippingMethods)); + cartService.Setup(x => x.GetAvailableShippingMethodsAsync(It.IsAny())).Returns(Task.FromResult(ShippingMethods)); var cart = GetValidCart(); var testShipments = new Faker() @@ -137,7 +137,7 @@ public async Task ValidateShipment_RuleSetStrict_PriceError() { //Arrange var cartService = new Moq.Mock(); - cartService.Setup(x => x.GetAvailableShippingMethodsAsync(It.IsAny())).Returns(Task.FromResult(ShippingMethods)); + cartService.Setup(x => x.GetAvailableShippingMethodsAsync(It.IsAny())).Returns(Task.FromResult(ShippingMethods)); var cart = GetValidCart(); var shipment = Faker.PickRandom( cart.Shipments ); shipment.Price = new Money(shipment.Price.Amount+1m, Usd); @@ -488,7 +488,7 @@ public async Task ValidateCartLineItem_RuleSetStrict_PriceError() } - private ShoppingCart GetValidCart() + private CustomerOrder GetValidCart() { var testItems = new Faker() .CustomInstantiator(f => new LineItem(Usd, Language.InvariantLanguage)) @@ -505,8 +505,8 @@ private ShoppingCart GetValidCart() .RuleFor(s => s.ShipmentMethodOption, (f, s) => ShippingMethods.FirstOrDefault(x=>x.ShipmentMethodCode == s.ShipmentMethodCode).OptionName) .RuleFor(s => s.Price, (f,s) => ShippingMethods.FirstOrDefault(x => x.ShipmentMethodCode == s.ShipmentMethodCode).Price); - var testCart = new Faker() - .CustomInstantiator(f => new ShoppingCart(Usd, Language.InvariantLanguage)) + var testCart = new Faker() + .CustomInstantiator(f => new CustomerOrder(Usd, Language.InvariantLanguage)) .RuleFor(c => c.Name, f => CART_NAME) .RuleFor(c => c.CustomerId, f => Guid.NewGuid().ToString()) .RuleFor(c => c.CustomerName, f => f.Name.FullName()) @@ -517,10 +517,10 @@ private ShoppingCart GetValidCart() return cart; } - private ShoppingCart GetInvalidCart() + private CustomerOrder GetInvalidCart() { - var testCart = new Faker() - .CustomInstantiator(f => new ShoppingCart(Usd, Language.InvariantLanguage)) + var testCart = new Faker() + .CustomInstantiator(f => new CustomerOrder(Usd, Language.InvariantLanguage)) .RuleFor(c => c.Name, f => null) .RuleFor(c => c.CustomerId, f => null); diff --git a/VirtoCommerce.Storefront/AutoRestClients/OrdersModuleApi.cs b/VirtoCommerce.Storefront/AutoRestClients/OrdersModuleApi.cs index 567ef57a..d779ffaf 100644 --- a/VirtoCommerce.Storefront/AutoRestClients/OrdersModuleApi.cs +++ b/VirtoCommerce.Storefront/AutoRestClients/OrdersModuleApi.cs @@ -6,11 +6,16 @@ namespace VirtoCommerce.Storefront.AutoRestClients.OrdersModuleApi { - using System.Collections.Generic; - using System.Net.Http; using Microsoft.Rest; using Microsoft.Rest.Serialization; + using Models; using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Net; + using System.Net.Http; + using System.Threading; + using System.Threading.Tasks; public partial class OrdersModuleClient : ServiceClient, IOrdersModuleClient { @@ -296,7 +301,7 @@ private void Initialize() NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore, ReferenceLoopHandling = Newtonsoft.Json.ReferenceLoopHandling.Serialize, ContractResolver = new ReadOnlyJsonContractResolver(), - Converters = new List + Converters = new List { new Iso8601TimeSpanConverter() } @@ -326,7 +331,15 @@ private void Initialize() namespace VirtoCommerce.Storefront.AutoRestClients.OrdersModuleApi { using Microsoft.Rest; + using Microsoft.Rest.Serialization; + using Models; using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Net; + using System.Net.Http; + using System.Threading; + using System.Threading.Tasks; /// /// @@ -374,16 +387,18 @@ public partial interface IOrdersModuleClient : System.IDisposable namespace VirtoCommerce.Storefront.AutoRestClients.OrdersModuleApi { + using Microsoft.Rest; + using Microsoft.Rest.Serialization; + using Models; + using Newtonsoft.Json; + using System.Collections; using System.Collections.Generic; using System.IO; + using System.Linq; using System.Net; using System.Net.Http; using System.Threading; using System.Threading.Tasks; - using Microsoft.Rest; - using Microsoft.Rest.Serialization; - using Models; - using Newtonsoft.Json; /// /// OrderModule operations. @@ -460,7 +475,7 @@ public OrderModule(OrdersModuleClient client) if (customHeaders != null) { - foreach (var _header in customHeaders) + foreach(var _header in customHeaders) { if (_httpRequest.Headers.Contains(_header.Key)) { @@ -472,11 +487,11 @@ public OrderModule(OrdersModuleClient client) // Serialize Request string _requestContent = null; - if (body != null) + if(body != null) { _requestContent = SafeJsonConvert.SerializeObject(body, Client.SerializationSettings); _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json-patch+json; charset=utf-8"); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json-patch+json; charset=utf-8"); } // Set Credentials if (Client.Credentials != null) @@ -501,12 +516,10 @@ public OrderModule(OrdersModuleClient client) if ((int)_statusCode != 200 && (int)_statusCode != 401 && (int)_statusCode != 403) { var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - if (_httpResponse.Content != null) - { + if (_httpResponse.Content != null) { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); } - else - { + else { _responseContent = string.Empty; } ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); @@ -621,7 +634,7 @@ public OrderModule(OrdersModuleClient client) if (customHeaders != null) { - foreach (var _header in customHeaders) + foreach(var _header in customHeaders) { if (_httpRequest.Headers.Contains(_header.Key)) { @@ -656,12 +669,10 @@ public OrderModule(OrdersModuleClient client) if ((int)_statusCode != 200 && (int)_statusCode != 401 && (int)_statusCode != 403) { var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - if (_httpResponse.Content != null) - { + if (_httpResponse.Content != null) { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); } - else - { + else { _responseContent = string.Empty; } ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); @@ -776,7 +787,7 @@ public OrderModule(OrdersModuleClient client) if (customHeaders != null) { - foreach (var _header in customHeaders) + foreach(var _header in customHeaders) { if (_httpRequest.Headers.Contains(_header.Key)) { @@ -811,12 +822,10 @@ public OrderModule(OrdersModuleClient client) if ((int)_statusCode != 200 && (int)_statusCode != 401 && (int)_statusCode != 403) { var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - if (_httpResponse.Content != null) - { + if (_httpResponse.Content != null) { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); } - else - { + else { _responseContent = string.Empty; } ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); @@ -911,7 +920,7 @@ public OrderModule(OrdersModuleClient client) if (customHeaders != null) { - foreach (var _header in customHeaders) + foreach(var _header in customHeaders) { if (_httpRequest.Headers.Contains(_header.Key)) { @@ -923,11 +932,11 @@ public OrderModule(OrdersModuleClient client) // Serialize Request string _requestContent = null; - if (body != null) + if(body != null) { _requestContent = SafeJsonConvert.SerializeObject(body, Client.SerializationSettings); _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json-patch+json; charset=utf-8"); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json-patch+json; charset=utf-8"); } // Set Credentials if (Client.Credentials != null) @@ -952,12 +961,10 @@ public OrderModule(OrdersModuleClient client) if ((int)_statusCode != 200 && (int)_statusCode != 401 && (int)_statusCode != 403) { var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - if (_httpResponse.Content != null) - { + if (_httpResponse.Content != null) { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); } - else - { + else { _responseContent = string.Empty; } ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); @@ -1076,7 +1083,7 @@ public OrderModule(OrdersModuleClient client) if (customHeaders != null) { - foreach (var _header in customHeaders) + foreach(var _header in customHeaders) { if (_httpRequest.Headers.Contains(_header.Key)) { @@ -1088,11 +1095,11 @@ public OrderModule(OrdersModuleClient client) // Serialize Request string _requestContent = null; - if (body != null) + if(body != null) { _requestContent = SafeJsonConvert.SerializeObject(body, Client.SerializationSettings); _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); } // Set Credentials if (Client.Credentials != null) @@ -1117,12 +1124,10 @@ public OrderModule(OrdersModuleClient client) if ((int)_statusCode != 200 && (int)_statusCode != 401 && (int)_statusCode != 403) { var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - if (_httpResponse.Content != null) - { + if (_httpResponse.Content != null) { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); } - else - { + else { _responseContent = string.Empty; } ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); @@ -1225,7 +1230,7 @@ public OrderModule(OrdersModuleClient client) if (customHeaders != null) { - foreach (var _header in customHeaders) + foreach(var _header in customHeaders) { if (_httpRequest.Headers.Contains(_header.Key)) { @@ -1260,12 +1265,10 @@ public OrderModule(OrdersModuleClient client) if ((int)_statusCode != 200 && (int)_statusCode != 401 && (int)_statusCode != 403) { var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - if (_httpResponse.Content != null) - { + if (_httpResponse.Content != null) { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); } - else - { + else { _responseContent = string.Empty; } ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); @@ -1357,7 +1360,7 @@ public OrderModule(OrdersModuleClient client) if (customHeaders != null) { - foreach (var _header in customHeaders) + foreach(var _header in customHeaders) { if (_httpRequest.Headers.Contains(_header.Key)) { @@ -1369,11 +1372,11 @@ public OrderModule(OrdersModuleClient client) // Serialize Request string _requestContent = null; - if (body != null) + if(body != null) { _requestContent = SafeJsonConvert.SerializeObject(body, Client.SerializationSettings); _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json-patch+json; charset=utf-8"); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json-patch+json; charset=utf-8"); } // Set Credentials if (Client.Credentials != null) @@ -1398,12 +1401,10 @@ public OrderModule(OrdersModuleClient client) if ((int)_statusCode != 200 && (int)_statusCode != 401 && (int)_statusCode != 403) { var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - if (_httpResponse.Content != null) - { + if (_httpResponse.Content != null) { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); } - else - { + else { _responseContent = string.Empty; } ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); @@ -1492,7 +1493,7 @@ public OrderModule(OrdersModuleClient client) if (customHeaders != null) { - foreach (var _header in customHeaders) + foreach(var _header in customHeaders) { if (_httpRequest.Headers.Contains(_header.Key)) { @@ -1504,11 +1505,11 @@ public OrderModule(OrdersModuleClient client) // Serialize Request string _requestContent = null; - if (body != null) + if(body != null) { _requestContent = SafeJsonConvert.SerializeObject(body, Client.SerializationSettings); _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json-patch+json; charset=utf-8"); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json-patch+json; charset=utf-8"); } // Set Credentials if (Client.Credentials != null) @@ -1533,12 +1534,10 @@ public OrderModule(OrdersModuleClient client) if ((int)_statusCode != 204 && (int)_statusCode != 401 && (int)_statusCode != 403) { var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - if (_httpResponse.Content != null) - { + if (_httpResponse.Content != null) { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); } - else - { + else { _responseContent = string.Empty; } ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); @@ -1618,7 +1617,7 @@ public OrderModule(OrdersModuleClient client) if (customHeaders != null) { - foreach (var _header in customHeaders) + foreach(var _header in customHeaders) { if (_httpRequest.Headers.Contains(_header.Key)) { @@ -1653,12 +1652,10 @@ public OrderModule(OrdersModuleClient client) if ((int)_statusCode != 204 && (int)_statusCode != 401 && (int)_statusCode != 403) { var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - if (_httpResponse.Content != null) - { + if (_httpResponse.Content != null) { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); } - else - { + else { _responseContent = string.Empty; } ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); @@ -1746,7 +1743,7 @@ public OrderModule(OrdersModuleClient client) if (customHeaders != null) { - foreach (var _header in customHeaders) + foreach(var _header in customHeaders) { if (_httpRequest.Headers.Contains(_header.Key)) { @@ -1781,12 +1778,10 @@ public OrderModule(OrdersModuleClient client) if ((int)_statusCode != 200 && (int)_statusCode != 401 && (int)_statusCode != 403) { var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - if (_httpResponse.Content != null) - { + if (_httpResponse.Content != null) { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); } - else - { + else { _responseContent = string.Empty; } ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); @@ -1892,7 +1887,7 @@ public OrderModule(OrdersModuleClient client) if (customHeaders != null) { - foreach (var _header in customHeaders) + foreach(var _header in customHeaders) { if (_httpRequest.Headers.Contains(_header.Key)) { @@ -1927,12 +1922,10 @@ public OrderModule(OrdersModuleClient client) if ((int)_statusCode != 200 && (int)_statusCode != 401 && (int)_statusCode != 403) { var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - if (_httpResponse.Content != null) - { + if (_httpResponse.Content != null) { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); } - else - { + else { _responseContent = string.Empty; } ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); @@ -2041,7 +2034,7 @@ public OrderModule(OrdersModuleClient client) if (customHeaders != null) { - foreach (var _header in customHeaders) + foreach(var _header in customHeaders) { if (_httpRequest.Headers.Contains(_header.Key)) { @@ -2076,12 +2069,10 @@ public OrderModule(OrdersModuleClient client) if ((int)_statusCode != 200 && (int)_statusCode != 401 && (int)_statusCode != 403) { var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - if (_httpResponse.Content != null) - { + if (_httpResponse.Content != null) { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); } - else - { + else { _responseContent = string.Empty; } ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); @@ -2174,7 +2165,7 @@ public OrderModule(OrdersModuleClient client) if (customHeaders != null) { - foreach (var _header in customHeaders) + foreach(var _header in customHeaders) { if (_httpRequest.Headers.Contains(_header.Key)) { @@ -2186,11 +2177,11 @@ public OrderModule(OrdersModuleClient client) // Serialize Request string _requestContent = null; - if (body != null) + if(body != null) { _requestContent = SafeJsonConvert.SerializeObject(body, Client.SerializationSettings); _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json-patch+json; charset=utf-8"); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json-patch+json; charset=utf-8"); } // Set Credentials if (Client.Credentials != null) @@ -2215,12 +2206,10 @@ public OrderModule(OrdersModuleClient client) if ((int)_statusCode != 200 && (int)_statusCode != 401 && (int)_statusCode != 403) { var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - if (_httpResponse.Content != null) - { + if (_httpResponse.Content != null) { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); } - else - { + else { _responseContent = string.Empty; } ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); @@ -2288,7 +2277,7 @@ public OrderModule(OrdersModuleClient client) /// /// A response object containing the response body and response headers. /// - public async Task> GetInvoicePdfWithHttpMessagesAsync(string orderNumber, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> GetInvoicePdfWithHttpMessagesAsync(string orderNumber, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (orderNumber == null) { @@ -2319,7 +2308,7 @@ public OrderModule(OrdersModuleClient client) if (customHeaders != null) { - foreach (var _header in customHeaders) + foreach(var _header in customHeaders) { if (_httpRequest.Headers.Contains(_header.Key)) { @@ -2343,7 +2332,7 @@ public OrderModule(OrdersModuleClient client) ServiceClientTracing.SendRequest(_invocationId, _httpRequest); } cancellationToken.ThrowIfCancellationRequested(); - _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, cancellationToken).ConfigureAwait(false); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); if (_shouldTrace) { ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); @@ -2354,12 +2343,10 @@ public OrderModule(OrdersModuleClient client) if ((int)_statusCode != 200 && (int)_statusCode != 401 && (int)_statusCode != 403) { var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - if (_httpResponse.Content != null) - { + if (_httpResponse.Content != null) { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); } - else - { + else { _responseContent = string.Empty; } ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); @@ -2376,13 +2363,26 @@ public OrderModule(OrdersModuleClient client) throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response if ((int)_statusCode == 200) { - _result.Body = await _httpResponse.Content.ReadAsStreamAsync().ConfigureAwait(false); + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } } if (_shouldTrace) { @@ -2391,7 +2391,6 @@ public OrderModule(OrdersModuleClient client) return _result; } - /// /// /// @@ -2446,7 +2445,7 @@ public OrderModule(OrdersModuleClient client) if (customHeaders != null) { - foreach (var _header in customHeaders) + foreach(var _header in customHeaders) { if (_httpRequest.Headers.Contains(_header.Key)) { @@ -2481,12 +2480,10 @@ public OrderModule(OrdersModuleClient client) if ((int)_statusCode != 200 && (int)_statusCode != 401 && (int)_statusCode != 403) { var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - if (_httpResponse.Content != null) - { + if (_httpResponse.Content != null) { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); } - else - { + else { _responseContent = string.Empty; } ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); @@ -2574,7 +2571,7 @@ public OrderModule(OrdersModuleClient client) if (customHeaders != null) { - foreach (var _header in customHeaders) + foreach(var _header in customHeaders) { if (_httpRequest.Headers.Contains(_header.Key)) { @@ -2586,11 +2583,11 @@ public OrderModule(OrdersModuleClient client) // Serialize Request string _requestContent = null; - if (body != null) + if(body != null) { _requestContent = SafeJsonConvert.SerializeObject(body, Client.SerializationSettings); _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json-patch+json; charset=utf-8"); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json-patch+json; charset=utf-8"); } // Set Credentials if (Client.Credentials != null) @@ -2615,12 +2612,10 @@ public OrderModule(OrdersModuleClient client) if ((int)_statusCode != 200 && (int)_statusCode != 401 && (int)_statusCode != 403) { var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - if (_httpResponse.Content != null) - { + if (_httpResponse.Content != null) { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); } - else - { + else { _responseContent = string.Empty; } ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); @@ -2675,12 +2670,16 @@ public OrderModule(OrdersModuleClient client) namespace VirtoCommerce.Storefront.AutoRestClients.OrdersModuleApi { + using Microsoft.Rest; + using Microsoft.Rest.Serialization; + using Models; + using Newtonsoft.Json; + using System.Collections; using System.Collections.Generic; - using System.IO; + using System.Net; + using System.Net.Http; using System.Threading; using System.Threading.Tasks; - using Microsoft.Rest; - using Models; /// /// OrderModule operations. @@ -3000,7 +2999,7 @@ public partial interface IOrderModule /// /// Thrown when a required parameter is null /// - Task> GetInvoicePdfWithHttpMessagesAsync(string orderNumber, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> GetInvoicePdfWithHttpMessagesAsync(string orderNumber, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// /// @@ -3044,654 +3043,663 @@ public partial interface IOrderModule namespace VirtoCommerce.Storefront.AutoRestClients.OrdersModuleApi { + using Microsoft.Rest; + using Microsoft.Rest.Serialization; + using Models; + using Newtonsoft.Json; + using System.Collections; using System.Collections.Generic; - using System.IO; + using System.Net; + using System.Net.Http; using System.Threading; using System.Threading.Tasks; - using Models; /// /// Extension methods for OrderModule. /// public static partial class OrderModuleExtensions { - /// - /// Search customer orders by given criteria - /// - /// - /// The operations group for this extension method. - /// - /// - /// criteria - /// - public static CustomerOrderSearchResult SearchCustomerOrder(this IOrderModule operations, CustomerOrderSearchCriteria body = default(CustomerOrderSearchCriteria)) - { - return operations.SearchCustomerOrderAsync(body).GetAwaiter().GetResult(); - } + /// + /// Search customer orders by given criteria + /// + /// + /// The operations group for this extension method. + /// + /// + /// criteria + /// + public static CustomerOrderSearchResult SearchCustomerOrder(this IOrderModule operations, CustomerOrderSearchCriteria body = default(CustomerOrderSearchCriteria)) + { + return operations.SearchCustomerOrderAsync(body).GetAwaiter().GetResult(); + } + + /// + /// Search customer orders by given criteria + /// + /// + /// The operations group for this extension method. + /// + /// + /// criteria + /// + /// + /// The cancellation token. + /// + public static async Task SearchCustomerOrderAsync(this IOrderModule operations, CustomerOrderSearchCriteria body = default(CustomerOrderSearchCriteria), CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.SearchCustomerOrderWithHttpMessagesAsync(body, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// Find customer order by number + /// + /// + /// Return a single customer order with all nested documents or null if order + /// was not found + /// + /// + /// The operations group for this extension method. + /// + /// + /// customer order number + /// + /// + /// + public static CustomerOrder GetByNumber(this IOrderModule operations, string number, string respGroup) + { + return operations.GetByNumberAsync(number, respGroup).GetAwaiter().GetResult(); + } + + /// + /// Find customer order by number + /// + /// + /// Return a single customer order with all nested documents or null if order + /// was not found + /// + /// + /// The operations group for this extension method. + /// + /// + /// customer order number + /// + /// + /// + /// + /// The cancellation token. + /// + public static async Task GetByNumberAsync(this IOrderModule operations, string number, string respGroup, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.GetByNumberWithHttpMessagesAsync(number, respGroup, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// Find customer order by id + /// + /// + /// Return a single customer order with all nested documents or null if order + /// was not found + /// + /// + /// The operations group for this extension method. + /// + /// + /// customer order id + /// + /// + /// + public static CustomerOrder GetById(this IOrderModule operations, string id, string respGroup) + { + return operations.GetByIdAsync(id, respGroup).GetAwaiter().GetResult(); + } + + /// + /// Find customer order by id + /// + /// + /// Return a single customer order with all nested documents or null if order + /// was not found + /// + /// + /// The operations group for this extension method. + /// + /// + /// customer order id + /// + /// + /// + /// + /// The cancellation token. + /// + public static async Task GetByIdAsync(this IOrderModule operations, string id, string respGroup, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.GetByIdWithHttpMessagesAsync(id, respGroup, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// Calculate order totals after changes + /// + /// + /// Return order with recalculated totals + /// + /// + /// The operations group for this extension method. + /// + /// + /// Customer order + /// + public static CustomerOrder CalculateTotals(this IOrderModule operations, CustomerOrder body = default(CustomerOrder)) + { + return operations.CalculateTotalsAsync(body).GetAwaiter().GetResult(); + } + + /// + /// Calculate order totals after changes + /// + /// + /// Return order with recalculated totals + /// + /// + /// The operations group for this extension method. + /// + /// + /// Customer order + /// + /// + /// The cancellation token. + /// + public static async Task CalculateTotalsAsync(this IOrderModule operations, CustomerOrder body = default(CustomerOrder), CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.CalculateTotalsWithHttpMessagesAsync(body, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// Register customer order payment in external payment system + /// + /// + /// Used in storefront checkout or manual order payment registration + /// + /// + /// The operations group for this extension method. + /// + /// + /// customer order id + /// + /// + /// payment id + /// + /// + /// banking card information + /// + public static ProcessPaymentRequestResult ProcessOrderPayments(this IOrderModule operations, string orderId, string paymentId, BankCardInfo body = default(BankCardInfo)) + { + return operations.ProcessOrderPaymentsAsync(orderId, paymentId, body).GetAwaiter().GetResult(); + } + + /// + /// Register customer order payment in external payment system + /// + /// + /// Used in storefront checkout or manual order payment registration + /// + /// + /// The operations group for this extension method. + /// + /// + /// customer order id + /// + /// + /// payment id + /// + /// + /// banking card information + /// + /// + /// The cancellation token. + /// + public static async Task ProcessOrderPaymentsAsync(this IOrderModule operations, string orderId, string paymentId, BankCardInfo body = default(BankCardInfo), CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.ProcessOrderPaymentsWithHttpMessagesAsync(orderId, paymentId, body, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// Create new customer order based on shopping cart. + /// + /// + /// The operations group for this extension method. + /// + /// + /// shopping cart id + /// + public static CustomerOrder CreateOrderFromCart(this IOrderModule operations, string cartId) + { + return operations.CreateOrderFromCartAsync(cartId).GetAwaiter().GetResult(); + } + + /// + /// Create new customer order based on shopping cart. + /// + /// + /// The operations group for this extension method. + /// + /// + /// shopping cart id + /// + /// + /// The cancellation token. + /// + public static async Task CreateOrderFromCartAsync(this IOrderModule operations, string cartId, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.CreateOrderFromCartWithHttpMessagesAsync(cartId, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// Add new customer order to system + /// + /// + /// The operations group for this extension method. + /// + /// + /// customer order + /// + public static CustomerOrder CreateOrder(this IOrderModule operations, CustomerOrder body = default(CustomerOrder)) + { + return operations.CreateOrderAsync(body).GetAwaiter().GetResult(); + } + + /// + /// Add new customer order to system + /// + /// + /// The operations group for this extension method. + /// + /// + /// customer order + /// + /// + /// The cancellation token. + /// + public static async Task CreateOrderAsync(this IOrderModule operations, CustomerOrder body = default(CustomerOrder), CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.CreateOrderWithHttpMessagesAsync(body, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// Update a existing customer order + /// + /// + /// The operations group for this extension method. + /// + /// + /// customer order + /// + public static void UpdateOrder(this IOrderModule operations, CustomerOrder body = default(CustomerOrder)) + { + operations.UpdateOrderAsync(body).GetAwaiter().GetResult(); + } + + /// + /// Update a existing customer order + /// + /// + /// The operations group for this extension method. + /// + /// + /// customer order + /// + /// + /// The cancellation token. + /// + public static async Task UpdateOrderAsync(this IOrderModule operations, CustomerOrder body = default(CustomerOrder), CancellationToken cancellationToken = default(CancellationToken)) + { + (await operations.UpdateOrderWithHttpMessagesAsync(body, null, cancellationToken).ConfigureAwait(false)).Dispose(); + } + + /// + /// Delete a whole customer orders + /// + /// + /// The operations group for this extension method. + /// + /// + /// customer order ids for delete + /// + public static void DeleteOrdersByIds(this IOrderModule operations, IList ids = default(IList)) + { + operations.DeleteOrdersByIdsAsync(ids).GetAwaiter().GetResult(); + } + + /// + /// Delete a whole customer orders + /// + /// + /// The operations group for this extension method. + /// + /// + /// customer order ids for delete + /// + /// + /// The cancellation token. + /// + public static async Task DeleteOrdersByIdsAsync(this IOrderModule operations, IList ids = default(IList), CancellationToken cancellationToken = default(CancellationToken)) + { + (await operations.DeleteOrdersByIdsWithHttpMessagesAsync(ids, null, cancellationToken).ConfigureAwait(false)).Dispose(); + } + + /// + /// Get new shipment for specified customer order + /// + /// + /// Return new shipment document with populates all required properties. + /// + /// + /// The operations group for this extension method. + /// + /// + /// customer order id + /// + public static OrderShipment GetNewShipment(this IOrderModule operations, string id) + { + return operations.GetNewShipmentAsync(id).GetAwaiter().GetResult(); + } + + /// + /// Get new shipment for specified customer order + /// + /// + /// Return new shipment document with populates all required properties. + /// + /// + /// The operations group for this extension method. + /// + /// + /// customer order id + /// + /// + /// The cancellation token. + /// + public static async Task GetNewShipmentAsync(this IOrderModule operations, string id, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.GetNewShipmentWithHttpMessagesAsync(id, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// Get new payment for specified customer order + /// + /// + /// Return new payment document with populates all required properties. + /// + /// + /// The operations group for this extension method. + /// + /// + /// customer order id + /// + public static PaymentIn GetNewPayment(this IOrderModule operations, string id) + { + return operations.GetNewPaymentAsync(id).GetAwaiter().GetResult(); + } + + /// + /// Get new payment for specified customer order + /// + /// + /// Return new payment document with populates all required properties. + /// + /// + /// The operations group for this extension method. + /// + /// + /// customer order id + /// + /// + /// The cancellation token. + /// + public static async Task GetNewPaymentAsync(this IOrderModule operations, string id, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.GetNewPaymentWithHttpMessagesAsync(id, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// Get a some order statistic information for Commerce manager dashboard + /// + /// + /// The operations group for this extension method. + /// + /// + /// start interval date + /// + /// + /// end interval date + /// + public static DashboardStatisticsResult GetDashboardStatisticsAsync(this IOrderModule operations, System.DateTime? start = default(System.DateTime?), System.DateTime? end = default(System.DateTime?)) + { + return operations.GetDashboardStatisticsAsyncAsync(start, end).GetAwaiter().GetResult(); + } + + /// + /// Get a some order statistic information for Commerce manager dashboard + /// + /// + /// The operations group for this extension method. + /// + /// + /// start interval date + /// + /// + /// end interval date + /// + /// + /// The cancellation token. + /// + public static async Task GetDashboardStatisticsAsyncAsync(this IOrderModule operations, System.DateTime? start = default(System.DateTime?), System.DateTime? end = default(System.DateTime?), CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.GetDashboardStatisticsAsyncWithHttpMessagesAsync(start, end, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// Payment callback operation used by external payment services to inform post + /// process payment in our system + /// + /// + /// The operations group for this extension method. + /// + /// + /// payment callback parameters + /// + public static PostProcessPaymentRequestResult PostProcessPayment(this IOrderModule operations, PaymentCallbackParameters body = default(PaymentCallbackParameters)) + { + return operations.PostProcessPaymentAsync(body).GetAwaiter().GetResult(); + } - /// - /// Search customer orders by given criteria - /// - /// - /// The operations group for this extension method. - /// - /// - /// criteria - /// - /// - /// The cancellation token. - /// - public static async Task SearchCustomerOrderAsync(this IOrderModule operations, CustomerOrderSearchCriteria body = default(CustomerOrderSearchCriteria), CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.SearchCustomerOrderWithHttpMessagesAsync(body, null, cancellationToken).ConfigureAwait(false)) + /// + /// Payment callback operation used by external payment services to inform post + /// process payment in our system + /// + /// + /// The operations group for this extension method. + /// + /// + /// payment callback parameters + /// + /// + /// The cancellation token. + /// + public static async Task PostProcessPaymentAsync(this IOrderModule operations, PaymentCallbackParameters body = default(PaymentCallbackParameters), CancellationToken cancellationToken = default(CancellationToken)) { - return _result.Body; + using (var _result = await operations.PostProcessPaymentWithHttpMessagesAsync(body, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } } - } - /// - /// Find customer order by number - /// - /// - /// Return a single customer order with all nested documents or null if order - /// was not found - /// - /// - /// The operations group for this extension method. - /// - /// - /// customer order number - /// - /// - /// - public static CustomerOrder GetByNumber(this IOrderModule operations, string number, string respGroup) - { - return operations.GetByNumberAsync(number, respGroup).GetAwaiter().GetResult(); - } + /// + /// The operations group for this extension method. + /// + /// + /// + public static string GetInvoicePdf(this IOrderModule operations, string orderNumber) + { + return operations.GetInvoicePdfAsync(orderNumber).GetAwaiter().GetResult(); + } - /// - /// Find customer order by number - /// - /// - /// Return a single customer order with all nested documents or null if order - /// was not found - /// - /// - /// The operations group for this extension method. - /// - /// - /// customer order number - /// - /// - /// - /// - /// The cancellation token. - /// - public static async Task GetByNumberAsync(this IOrderModule operations, string number, string respGroup, CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.GetByNumberWithHttpMessagesAsync(number, respGroup, null, cancellationToken).ConfigureAwait(false)) + /// + /// The operations group for this extension method. + /// + /// + /// + /// + /// The cancellation token. + /// + public static async Task GetInvoicePdfAsync(this IOrderModule operations, string orderNumber, CancellationToken cancellationToken = default(CancellationToken)) { - return _result.Body; + using (var _result = await operations.GetInvoicePdfWithHttpMessagesAsync(orderNumber, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } } - } - /// - /// Find customer order by id - /// - /// - /// Return a single customer order with all nested documents or null if order - /// was not found - /// - /// - /// The operations group for this extension method. - /// - /// - /// customer order id - /// - /// - /// - public static CustomerOrder GetById(this IOrderModule operations, string id, string respGroup) - { - return operations.GetByIdAsync(id, respGroup).GetAwaiter().GetResult(); - } + /// + /// The operations group for this extension method. + /// + /// + /// + public static IList GetOrderChanges(this IOrderModule operations, string id) + { + return operations.GetOrderChangesAsync(id).GetAwaiter().GetResult(); + } + + /// + /// The operations group for this extension method. + /// + /// + /// + /// + /// The cancellation token. + /// + public static async Task> GetOrderChangesAsync(this IOrderModule operations, string id, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.GetOrderChangesWithHttpMessagesAsync(id, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// The operations group for this extension method. + /// + /// + /// + public static ChangeLogSearchResult SearchOrderChanges(this IOrderModule operations, CustomerOrderHistorySearchCriteria body = default(CustomerOrderHistorySearchCriteria)) + { + return operations.SearchOrderChangesAsync(body).GetAwaiter().GetResult(); + } + + /// + /// The operations group for this extension method. + /// + /// + /// + /// + /// The cancellation token. + /// + public static async Task SearchOrderChangesAsync(this IOrderModule operations, CustomerOrderHistorySearchCriteria body = default(CustomerOrderHistorySearchCriteria), CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.SearchOrderChangesWithHttpMessagesAsync(body, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + } +} +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace VirtoCommerce.Storefront.AutoRestClients.OrdersModuleApi +{ + using Microsoft.Rest; + using Microsoft.Rest.Serialization; + using Models; + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.IO; + using System.Linq; + using System.Net; + using System.Net.Http; + using System.Threading; + using System.Threading.Tasks; + /// + /// OrderModulePayments operations. + /// + public partial class OrderModulePayments : IServiceOperations, IOrderModulePayments + { /// - /// Find customer order by id + /// Initializes a new instance of the OrderModulePayments class. /// - /// - /// Return a single customer order with all nested documents or null if order - /// was not found - /// - /// - /// The operations group for this extension method. - /// - /// - /// customer order id - /// - /// - /// - /// - /// The cancellation token. + /// + /// Reference to the service client. /// - public static async Task GetByIdAsync(this IOrderModule operations, string id, string respGroup, CancellationToken cancellationToken = default(CancellationToken)) + /// + /// Thrown when a required parameter is null + /// + public OrderModulePayments(OrdersModuleClient client) { - using (var _result = await operations.GetByIdWithHttpMessagesAsync(id, respGroup, null, cancellationToken).ConfigureAwait(false)) + if (client == null) { - return _result.Body; + throw new System.ArgumentNullException("client"); } + Client = client; } /// - /// Calculate order totals after changes + /// Gets a reference to the OrdersModuleClient /// - /// - /// Return order with recalculated totals - /// - /// - /// The operations group for this extension method. - /// - /// - /// Customer order - /// - public static CustomerOrder CalculateTotals(this IOrderModule operations, CustomerOrder body = default(CustomerOrder)) - { - return operations.CalculateTotalsAsync(body).GetAwaiter().GetResult(); - } + public OrdersModuleClient Client { get; private set; } /// - /// Calculate order totals after changes + /// Search order payments by given criteria /// - /// - /// Return order with recalculated totals - /// - /// - /// The operations group for this extension method. - /// /// - /// Customer order - /// - /// - /// The cancellation token. - /// - public static async Task CalculateTotalsAsync(this IOrderModule operations, CustomerOrder body = default(CustomerOrder), CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.CalculateTotalsWithHttpMessagesAsync(body, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// Register customer order payment in external payment system - /// - /// - /// Used in storefront checkout or manual order payment registration - /// - /// - /// The operations group for this extension method. - /// - /// - /// customer order id - /// - /// - /// payment id - /// - /// - /// banking card information - /// - public static ProcessPaymentRequestResult ProcessOrderPayments(this IOrderModule operations, string orderId, string paymentId, BankCardInfo body = default(BankCardInfo)) - { - return operations.ProcessOrderPaymentsAsync(orderId, paymentId, body).GetAwaiter().GetResult(); - } - - /// - /// Register customer order payment in external payment system - /// - /// - /// Used in storefront checkout or manual order payment registration - /// - /// - /// The operations group for this extension method. - /// - /// - /// customer order id - /// - /// - /// payment id - /// - /// - /// banking card information - /// - /// - /// The cancellation token. - /// - public static async Task ProcessOrderPaymentsAsync(this IOrderModule operations, string orderId, string paymentId, BankCardInfo body = default(BankCardInfo), CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.ProcessOrderPaymentsWithHttpMessagesAsync(orderId, paymentId, body, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// Create new customer order based on shopping cart. - /// - /// - /// The operations group for this extension method. - /// - /// - /// shopping cart id - /// - public static CustomerOrder CreateOrderFromCart(this IOrderModule operations, string cartId) - { - return operations.CreateOrderFromCartAsync(cartId).GetAwaiter().GetResult(); - } - - /// - /// Create new customer order based on shopping cart. - /// - /// - /// The operations group for this extension method. - /// - /// - /// shopping cart id - /// - /// - /// The cancellation token. - /// - public static async Task CreateOrderFromCartAsync(this IOrderModule operations, string cartId, CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.CreateOrderFromCartWithHttpMessagesAsync(cartId, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// Add new customer order to system - /// - /// - /// The operations group for this extension method. - /// - /// - /// customer order - /// - public static CustomerOrder CreateOrder(this IOrderModule operations, CustomerOrder body = default(CustomerOrder)) - { - return operations.CreateOrderAsync(body).GetAwaiter().GetResult(); - } - - /// - /// Add new customer order to system - /// - /// - /// The operations group for this extension method. - /// - /// - /// customer order - /// - /// - /// The cancellation token. - /// - public static async Task CreateOrderAsync(this IOrderModule operations, CustomerOrder body = default(CustomerOrder), CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.CreateOrderWithHttpMessagesAsync(body, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// Update a existing customer order - /// - /// - /// The operations group for this extension method. - /// - /// - /// customer order - /// - public static void UpdateOrder(this IOrderModule operations, CustomerOrder body = default(CustomerOrder)) - { - operations.UpdateOrderAsync(body).GetAwaiter().GetResult(); - } - - /// - /// Update a existing customer order - /// - /// - /// The operations group for this extension method. - /// - /// - /// customer order - /// - /// - /// The cancellation token. - /// - public static async Task UpdateOrderAsync(this IOrderModule operations, CustomerOrder body = default(CustomerOrder), CancellationToken cancellationToken = default(CancellationToken)) - { - (await operations.UpdateOrderWithHttpMessagesAsync(body, null, cancellationToken).ConfigureAwait(false)).Dispose(); - } - - /// - /// Delete a whole customer orders - /// - /// - /// The operations group for this extension method. - /// - /// - /// customer order ids for delete - /// - public static void DeleteOrdersByIds(this IOrderModule operations, IList ids = default(IList)) - { - operations.DeleteOrdersByIdsAsync(ids).GetAwaiter().GetResult(); - } - - /// - /// Delete a whole customer orders - /// - /// - /// The operations group for this extension method. - /// - /// - /// customer order ids for delete - /// - /// - /// The cancellation token. - /// - public static async Task DeleteOrdersByIdsAsync(this IOrderModule operations, IList ids = default(IList), CancellationToken cancellationToken = default(CancellationToken)) - { - (await operations.DeleteOrdersByIdsWithHttpMessagesAsync(ids, null, cancellationToken).ConfigureAwait(false)).Dispose(); - } - - /// - /// Get new shipment for specified customer order - /// - /// - /// Return new shipment document with populates all required properties. - /// - /// - /// The operations group for this extension method. - /// - /// - /// customer order id - /// - public static OrderShipment GetNewShipment(this IOrderModule operations, string id) - { - return operations.GetNewShipmentAsync(id).GetAwaiter().GetResult(); - } - - /// - /// Get new shipment for specified customer order - /// - /// - /// Return new shipment document with populates all required properties. - /// - /// - /// The operations group for this extension method. - /// - /// - /// customer order id - /// - /// - /// The cancellation token. - /// - public static async Task GetNewShipmentAsync(this IOrderModule operations, string id, CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.GetNewShipmentWithHttpMessagesAsync(id, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// Get new payment for specified customer order - /// - /// - /// Return new payment document with populates all required properties. - /// - /// - /// The operations group for this extension method. - /// - /// - /// customer order id - /// - public static PaymentIn GetNewPayment(this IOrderModule operations, string id) - { - return operations.GetNewPaymentAsync(id).GetAwaiter().GetResult(); - } - - /// - /// Get new payment for specified customer order - /// - /// - /// Return new payment document with populates all required properties. - /// - /// - /// The operations group for this extension method. - /// - /// - /// customer order id - /// - /// - /// The cancellation token. - /// - public static async Task GetNewPaymentAsync(this IOrderModule operations, string id, CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.GetNewPaymentWithHttpMessagesAsync(id, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// Get a some order statistic information for Commerce manager dashboard - /// - /// - /// The operations group for this extension method. - /// - /// - /// start interval date - /// - /// - /// end interval date - /// - public static DashboardStatisticsResult GetDashboardStatisticsAsync(this IOrderModule operations, System.DateTime? start = default(System.DateTime?), System.DateTime? end = default(System.DateTime?)) - { - return operations.GetDashboardStatisticsAsyncAsync(start, end).GetAwaiter().GetResult(); - } - - /// - /// Get a some order statistic information for Commerce manager dashboard - /// - /// - /// The operations group for this extension method. - /// - /// - /// start interval date - /// - /// - /// end interval date - /// - /// - /// The cancellation token. - /// - public static async Task GetDashboardStatisticsAsyncAsync(this IOrderModule operations, System.DateTime? start = default(System.DateTime?), System.DateTime? end = default(System.DateTime?), CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.GetDashboardStatisticsAsyncWithHttpMessagesAsync(start, end, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// Payment callback operation used by external payment services to inform post - /// process payment in our system - /// - /// - /// The operations group for this extension method. - /// - /// - /// payment callback parameters - /// - public static PostProcessPaymentRequestResult PostProcessPayment(this IOrderModule operations, PaymentCallbackParameters body = default(PaymentCallbackParameters)) - { - return operations.PostProcessPaymentAsync(body).GetAwaiter().GetResult(); - } - - /// - /// Payment callback operation used by external payment services to inform post - /// process payment in our system - /// - /// - /// The operations group for this extension method. - /// - /// - /// payment callback parameters - /// - /// - /// The cancellation token. - /// - public static async Task PostProcessPaymentAsync(this IOrderModule operations, PaymentCallbackParameters body = default(PaymentCallbackParameters), CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.PostProcessPaymentWithHttpMessagesAsync(body, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// The operations group for this extension method. - /// - /// - /// - public static Stream GetInvoicePdf(this IOrderModule operations, string orderNumber) - { - return operations.GetInvoicePdfAsync(orderNumber).GetAwaiter().GetResult(); - } - - /// - /// The operations group for this extension method. - /// - /// - /// - /// - /// The cancellation token. - /// - public static async Task GetInvoicePdfAsync(this IOrderModule operations, string orderNumber, CancellationToken cancellationToken = default(CancellationToken)) - { - var _result = await operations.GetInvoicePdfWithHttpMessagesAsync(orderNumber, null, cancellationToken).ConfigureAwait(false); - _result.Request.Dispose(); - return _result.Body; - } - - /// - /// The operations group for this extension method. - /// - /// - /// - public static IList GetOrderChanges(this IOrderModule operations, string id) - { - return operations.GetOrderChangesAsync(id).GetAwaiter().GetResult(); - } - - /// - /// The operations group for this extension method. - /// - /// - /// - /// - /// The cancellation token. - /// - public static async Task> GetOrderChangesAsync(this IOrderModule operations, string id, CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.GetOrderChangesWithHttpMessagesAsync(id, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// The operations group for this extension method. - /// - /// - /// - public static ChangeLogSearchResult SearchOrderChanges(this IOrderModule operations, CustomerOrderHistorySearchCriteria body = default(CustomerOrderHistorySearchCriteria)) - { - return operations.SearchOrderChangesAsync(body).GetAwaiter().GetResult(); - } - - /// - /// The operations group for this extension method. - /// - /// - /// - /// - /// The cancellation token. - /// - public static async Task SearchOrderChangesAsync(this IOrderModule operations, CustomerOrderHistorySearchCriteria body = default(CustomerOrderHistorySearchCriteria), CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.SearchOrderChangesWithHttpMessagesAsync(body, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - } -} -// -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is -// regenerated. -// - -namespace VirtoCommerce.Storefront.AutoRestClients.OrdersModuleApi -{ - using System.Collections.Generic; - using System.Net; - using System.Net.Http; - using System.Threading; - using System.Threading.Tasks; - using Microsoft.Rest; - using Microsoft.Rest.Serialization; - using Models; - using Newtonsoft.Json; - - /// - /// OrderModulePayments operations. - /// - public partial class OrderModulePayments : IServiceOperations, IOrderModulePayments - { - /// - /// Initializes a new instance of the OrderModulePayments class. - /// - /// - /// Reference to the service client. - /// - /// - /// Thrown when a required parameter is null - /// - public OrderModulePayments(OrdersModuleClient client) - { - if (client == null) - { - throw new System.ArgumentNullException("client"); - } - Client = client; - } - - /// - /// Gets a reference to the OrdersModuleClient - /// - public OrdersModuleClient Client { get; private set; } - - /// - /// Search order payments by given criteria - /// - /// - /// criteria - /// - /// - /// Headers that will be added to request. + /// criteria + /// + /// + /// Headers that will be added to request. /// /// /// The cancellation token. @@ -3731,7 +3739,7 @@ public OrderModulePayments(OrdersModuleClient client) if (customHeaders != null) { - foreach (var _header in customHeaders) + foreach(var _header in customHeaders) { if (_httpRequest.Headers.Contains(_header.Key)) { @@ -3743,11 +3751,11 @@ public OrderModulePayments(OrdersModuleClient client) // Serialize Request string _requestContent = null; - if (body != null) + if(body != null) { _requestContent = SafeJsonConvert.SerializeObject(body, Client.SerializationSettings); _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json-patch+json; charset=utf-8"); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json-patch+json; charset=utf-8"); } // Set Credentials if (Client.Credentials != null) @@ -3772,12 +3780,10 @@ public OrderModulePayments(OrdersModuleClient client) if ((int)_statusCode != 200 && (int)_statusCode != 401 && (int)_statusCode != 403) { var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - if (_httpResponse.Content != null) - { + if (_httpResponse.Content != null) { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); } - else - { + else { _responseContent = string.Empty; } ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); @@ -3892,7 +3898,7 @@ public OrderModulePayments(OrdersModuleClient client) if (customHeaders != null) { - foreach (var _header in customHeaders) + foreach(var _header in customHeaders) { if (_httpRequest.Headers.Contains(_header.Key)) { @@ -3927,12 +3933,10 @@ public OrderModulePayments(OrdersModuleClient client) if ((int)_statusCode != 200 && (int)_statusCode != 401 && (int)_statusCode != 403) { var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - if (_httpResponse.Content != null) - { + if (_httpResponse.Content != null) { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); } - else - { + else { _responseContent = string.Empty; } ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); @@ -4024,7 +4028,7 @@ public OrderModulePayments(OrdersModuleClient client) if (customHeaders != null) { - foreach (var _header in customHeaders) + foreach(var _header in customHeaders) { if (_httpRequest.Headers.Contains(_header.Key)) { @@ -4036,11 +4040,11 @@ public OrderModulePayments(OrdersModuleClient client) // Serialize Request string _requestContent = null; - if (body != null) + if(body != null) { _requestContent = SafeJsonConvert.SerializeObject(body, Client.SerializationSettings); _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json-patch+json; charset=utf-8"); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json-patch+json; charset=utf-8"); } // Set Credentials if (Client.Credentials != null) @@ -4065,12 +4069,10 @@ public OrderModulePayments(OrdersModuleClient client) if ((int)_statusCode != 200 && (int)_statusCode != 401 && (int)_statusCode != 403) { var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - if (_httpResponse.Content != null) - { + if (_httpResponse.Content != null) { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); } - else - { + else { _responseContent = string.Empty; } ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); @@ -4158,7 +4160,7 @@ public OrderModulePayments(OrdersModuleClient client) if (customHeaders != null) { - foreach (var _header in customHeaders) + foreach(var _header in customHeaders) { if (_httpRequest.Headers.Contains(_header.Key)) { @@ -4170,11 +4172,11 @@ public OrderModulePayments(OrdersModuleClient client) // Serialize Request string _requestContent = null; - if (body != null) + if(body != null) { _requestContent = SafeJsonConvert.SerializeObject(body, Client.SerializationSettings); _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json-patch+json; charset=utf-8"); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json-patch+json; charset=utf-8"); } // Set Credentials if (Client.Credentials != null) @@ -4199,12 +4201,10 @@ public OrderModulePayments(OrdersModuleClient client) if ((int)_statusCode != 200 && (int)_statusCode != 401 && (int)_statusCode != 403) { var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - if (_httpResponse.Content != null) - { + if (_httpResponse.Content != null) { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); } - else - { + else { _responseContent = string.Empty; } ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); @@ -4302,7 +4302,7 @@ public OrderModulePayments(OrdersModuleClient client) if (customHeaders != null) { - foreach (var _header in customHeaders) + foreach(var _header in customHeaders) { if (_httpRequest.Headers.Contains(_header.Key)) { @@ -4337,12 +4337,10 @@ public OrderModulePayments(OrdersModuleClient client) if ((int)_statusCode != 200 && (int)_statusCode != 401 && (int)_statusCode != 403) { var ex = new HttpOperationException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - if (_httpResponse.Content != null) - { + if (_httpResponse.Content != null) { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); } - else - { + else { _responseContent = string.Empty; } ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); @@ -4379,11 +4377,16 @@ public OrderModulePayments(OrdersModuleClient client) namespace VirtoCommerce.Storefront.AutoRestClients.OrdersModuleApi { + using Microsoft.Rest; + using Microsoft.Rest.Serialization; + using Models; + using Newtonsoft.Json; + using System.Collections; using System.Collections.Generic; + using System.Net; + using System.Net.Http; using System.Threading; using System.Threading.Tasks; - using Microsoft.Rest; - using Models; /// /// OrderModulePayments operations. @@ -4424,259 +4427,265 @@ public partial interface IOrderModulePayments /// /// The headers that will be added to request. /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// Thrown when a required parameter is null - /// - Task> GetByIdWithHttpMessagesAsync(string id, string respGroup, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - /// - /// Create or update order payment - /// - /// - /// payment - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - Task> CreatePaymentWithHttpMessagesAsync(PaymentIn body = default(PaymentIn), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - /// - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - Task> UpdatePaymentWithHttpMessagesAsync(PaymentIn body = default(PaymentIn), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - /// - /// Delete an order payment - /// - /// - /// order payment ids - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - Task DeleteOrderPaymentsByIdsWithHttpMessagesAsync(IList ids = default(IList), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - } -} -// -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is -// regenerated. -// - -namespace VirtoCommerce.Storefront.AutoRestClients.OrdersModuleApi -{ - using System.Collections.Generic; - using System.Threading; - using System.Threading.Tasks; - using Models; - - /// - /// Extension methods for OrderModulePayments. - /// - public static partial class OrderModulePaymentsExtensions - { - /// - /// Search order payments by given criteria - /// - /// - /// The operations group for this extension method. - /// - /// - /// criteria - /// - public static PaymentSearchResult SearchOrderPayments(this IOrderModulePayments operations, PaymentSearchCriteria body = default(PaymentSearchCriteria)) - { - return operations.SearchOrderPaymentsAsync(body).GetAwaiter().GetResult(); - } - - /// - /// Search order payments by given criteria - /// - /// - /// The operations group for this extension method. - /// - /// - /// criteria - /// - /// - /// The cancellation token. - /// - public static async Task SearchOrderPaymentsAsync(this IOrderModulePayments operations, PaymentSearchCriteria body = default(PaymentSearchCriteria), CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.SearchOrderPaymentsWithHttpMessagesAsync(body, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// Find order payment by id - /// - /// - /// Return a single order payment with all nested documents or null if payment - /// was not found - /// - /// - /// The operations group for this extension method. - /// - /// - /// order payment id - /// - /// - /// - public static PaymentIn GetById(this IOrderModulePayments operations, string id, string respGroup) - { - return operations.GetByIdAsync(id, respGroup).GetAwaiter().GetResult(); - } - - /// - /// Find order payment by id - /// - /// - /// Return a single order payment with all nested documents or null if payment - /// was not found - /// - /// - /// The operations group for this extension method. - /// - /// - /// order payment id - /// - /// - /// - /// - /// The cancellation token. - /// - public static async Task GetByIdAsync(this IOrderModulePayments operations, string id, string respGroup, CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.GetByIdWithHttpMessagesAsync(id, respGroup, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// Create or update order payment - /// - /// - /// The operations group for this extension method. - /// - /// - /// payment + /// + /// The cancellation token. /// - public static CustomerOrder CreatePayment(this IOrderModulePayments operations, PaymentIn body = default(PaymentIn)) - { - return operations.CreatePaymentAsync(body).GetAwaiter().GetResult(); - } - + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + Task> GetByIdWithHttpMessagesAsync(string id, string respGroup, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// Create or update order payment /// - /// - /// The operations group for this extension method. - /// /// /// payment /// + /// + /// The headers that will be added to request. + /// /// /// The cancellation token. /// - public static async Task CreatePaymentAsync(this IOrderModulePayments operations, PaymentIn body = default(PaymentIn), CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.CreatePaymentWithHttpMessagesAsync(body, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// The operations group for this extension method. - /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + Task> CreatePaymentWithHttpMessagesAsync(PaymentIn body = default(PaymentIn), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// - public static CustomerOrder UpdatePayment(this IOrderModulePayments operations, PaymentIn body = default(PaymentIn)) - { - return operations.UpdatePaymentAsync(body).GetAwaiter().GetResult(); - } - - /// - /// The operations group for this extension method. - /// - /// + /// + /// The headers that will be added to request. /// /// /// The cancellation token. /// - public static async Task UpdatePaymentAsync(this IOrderModulePayments operations, PaymentIn body = default(PaymentIn), CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.UpdatePaymentWithHttpMessagesAsync(body, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + Task> UpdatePaymentWithHttpMessagesAsync(PaymentIn body = default(PaymentIn), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// Delete an order payment /// - /// - /// The operations group for this extension method. - /// /// /// order payment ids /// - public static void DeleteOrderPaymentsByIds(this IOrderModulePayments operations, IList ids = default(IList)) - { - operations.DeleteOrderPaymentsByIdsAsync(ids).GetAwaiter().GetResult(); - } - - /// - /// Delete an order payment - /// - /// - /// The operations group for this extension method. - /// - /// - /// order payment ids + /// + /// The headers that will be added to request. /// /// /// The cancellation token. /// - public static async Task DeleteOrderPaymentsByIdsAsync(this IOrderModulePayments operations, IList ids = default(IList), CancellationToken cancellationToken = default(CancellationToken)) - { - (await operations.DeleteOrderPaymentsByIdsWithHttpMessagesAsync(ids, null, cancellationToken).ConfigureAwait(false)).Dispose(); - } + /// + /// Thrown when the operation returned an invalid status code + /// + Task DeleteOrderPaymentsByIdsWithHttpMessagesAsync(IList ids = default(IList), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + } +} +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace VirtoCommerce.Storefront.AutoRestClients.OrdersModuleApi +{ + using Microsoft.Rest; + using Microsoft.Rest.Serialization; + using Models; + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Net; + using System.Net.Http; + using System.Threading; + using System.Threading.Tasks; + + /// + /// Extension methods for OrderModulePayments. + /// + public static partial class OrderModulePaymentsExtensions + { + /// + /// Search order payments by given criteria + /// + /// + /// The operations group for this extension method. + /// + /// + /// criteria + /// + public static PaymentSearchResult SearchOrderPayments(this IOrderModulePayments operations, PaymentSearchCriteria body = default(PaymentSearchCriteria)) + { + return operations.SearchOrderPaymentsAsync(body).GetAwaiter().GetResult(); + } + + /// + /// Search order payments by given criteria + /// + /// + /// The operations group for this extension method. + /// + /// + /// criteria + /// + /// + /// The cancellation token. + /// + public static async Task SearchOrderPaymentsAsync(this IOrderModulePayments operations, PaymentSearchCriteria body = default(PaymentSearchCriteria), CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.SearchOrderPaymentsWithHttpMessagesAsync(body, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// Find order payment by id + /// + /// + /// Return a single order payment with all nested documents or null if payment + /// was not found + /// + /// + /// The operations group for this extension method. + /// + /// + /// order payment id + /// + /// + /// + public static PaymentIn GetById(this IOrderModulePayments operations, string id, string respGroup) + { + return operations.GetByIdAsync(id, respGroup).GetAwaiter().GetResult(); + } + + /// + /// Find order payment by id + /// + /// + /// Return a single order payment with all nested documents or null if payment + /// was not found + /// + /// + /// The operations group for this extension method. + /// + /// + /// order payment id + /// + /// + /// + /// + /// The cancellation token. + /// + public static async Task GetByIdAsync(this IOrderModulePayments operations, string id, string respGroup, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.GetByIdWithHttpMessagesAsync(id, respGroup, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// Create or update order payment + /// + /// + /// The operations group for this extension method. + /// + /// + /// payment + /// + public static CustomerOrder CreatePayment(this IOrderModulePayments operations, PaymentIn body = default(PaymentIn)) + { + return operations.CreatePaymentAsync(body).GetAwaiter().GetResult(); + } + + /// + /// Create or update order payment + /// + /// + /// The operations group for this extension method. + /// + /// + /// payment + /// + /// + /// The cancellation token. + /// + public static async Task CreatePaymentAsync(this IOrderModulePayments operations, PaymentIn body = default(PaymentIn), CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.CreatePaymentWithHttpMessagesAsync(body, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// The operations group for this extension method. + /// + /// + /// + public static CustomerOrder UpdatePayment(this IOrderModulePayments operations, PaymentIn body = default(PaymentIn)) + { + return operations.UpdatePaymentAsync(body).GetAwaiter().GetResult(); + } + + /// + /// The operations group for this extension method. + /// + /// + /// + /// + /// The cancellation token. + /// + public static async Task UpdatePaymentAsync(this IOrderModulePayments operations, PaymentIn body = default(PaymentIn), CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.UpdatePaymentWithHttpMessagesAsync(body, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// Delete an order payment + /// + /// + /// The operations group for this extension method. + /// + /// + /// order payment ids + /// + public static void DeleteOrderPaymentsByIds(this IOrderModulePayments operations, IList ids = default(IList)) + { + operations.DeleteOrderPaymentsByIdsAsync(ids).GetAwaiter().GetResult(); + } + + /// + /// Delete an order payment + /// + /// + /// The operations group for this extension method. + /// + /// + /// order payment ids + /// + /// + /// The cancellation token. + /// + public static async Task DeleteOrderPaymentsByIdsAsync(this IOrderModulePayments operations, IList ids = default(IList), CancellationToken cancellationToken = default(CancellationToken)) + { + (await operations.DeleteOrderPaymentsByIdsWithHttpMessagesAsync(ids, null, cancellationToken).ConfigureAwait(false)).Dispose(); + } } } @@ -4688,7 +4697,16 @@ public static PaymentIn GetById(this IOrderModulePayments operations, string id, namespace VirtoCommerce.Storefront.AutoRestClients.OrdersModuleApi.Models { + using Microsoft.Rest; + using Microsoft.Rest.Serialization; using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + using System.Net; + using System.Net.Http; + using System.Threading; + using System.Threading.Tasks; public partial class OperationLog { @@ -4781,7 +4799,16 @@ public OperationLog() namespace VirtoCommerce.Storefront.AutoRestClients.OrdersModuleApi.Models { + using Microsoft.Rest; + using Microsoft.Rest.Serialization; using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + using System.Net; + using System.Net.Http; + using System.Threading; + using System.Threading.Tasks; public partial class SortInfo { @@ -4831,8 +4858,16 @@ public SortInfo() namespace VirtoCommerce.Storefront.AutoRestClients.OrdersModuleApi.Models { - using System.Collections.Generic; + using Microsoft.Rest; + using Microsoft.Rest.Serialization; using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + using System.Net; + using System.Net.Http; + using System.Threading; + using System.Threading.Tasks; public partial class CustomerOrderSearchCriteria { @@ -5048,7 +5083,156 @@ public CustomerOrderSearchCriteria() namespace VirtoCommerce.Storefront.AutoRestClients.OrdersModuleApi.Models { + using Microsoft.Rest; + using Microsoft.Rest.Serialization; + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + using System.Net; + using System.Net.Http; + using System.Threading; + using System.Threading.Tasks; + + public partial class DemoOrderConfiguredGroup + { + /// + /// Initializes a new instance of the DemoOrderConfiguredGroup class. + /// + public DemoOrderConfiguredGroup() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the DemoOrderConfiguredGroup class. + /// + public DemoOrderConfiguredGroup(string productId = default(string), IList itemIds = default(IList), int? quantity = default(int?), string currency = default(string), double? extendedPrice = default(double?), double? extendedPriceWithTax = default(double?), double? price = default(double?), double? priceWithTax = default(double?), double? placedPrice = default(double?), double? placedPriceWithTax = default(double?), double? taxTotal = default(double?), System.DateTime? createdDate = default(System.DateTime?), System.DateTime? modifiedDate = default(System.DateTime?), string createdBy = default(string), string modifiedBy = default(string), string id = default(string)) + { + ProductId = productId; + ItemIds = itemIds; + Quantity = quantity; + Currency = currency; + ExtendedPrice = extendedPrice; + ExtendedPriceWithTax = extendedPriceWithTax; + Price = price; + PriceWithTax = priceWithTax; + PlacedPrice = placedPrice; + PlacedPriceWithTax = placedPriceWithTax; + TaxTotal = taxTotal; + CreatedDate = createdDate; + ModifiedDate = modifiedDate; + CreatedBy = createdBy; + ModifiedBy = modifiedBy; + Id = id; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// + [JsonProperty(PropertyName = "productId")] + public string ProductId { get; set; } + + /// + /// + [JsonProperty(PropertyName = "itemIds")] + public IList ItemIds { get; set; } + + /// + /// + [JsonProperty(PropertyName = "quantity")] + public int? Quantity { get; set; } + + /// + /// + [JsonProperty(PropertyName = "currency")] + public string Currency { get; set; } + + /// + /// + [JsonProperty(PropertyName = "extendedPrice")] + public double? ExtendedPrice { get; set; } + + /// + /// + [JsonProperty(PropertyName = "extendedPriceWithTax")] + public double? ExtendedPriceWithTax { get; set; } + + /// + /// + [JsonProperty(PropertyName = "price")] + public double? Price { get; set; } + + /// + /// + [JsonProperty(PropertyName = "priceWithTax")] + public double? PriceWithTax { get; set; } + + /// + /// + [JsonProperty(PropertyName = "placedPrice")] + public double? PlacedPrice { get; set; } + + /// + /// + [JsonProperty(PropertyName = "placedPriceWithTax")] + public double? PlacedPriceWithTax { get; set; } + + /// + /// + [JsonProperty(PropertyName = "taxTotal")] + public double? TaxTotal { get; set; } + + /// + /// + [JsonProperty(PropertyName = "createdDate")] + public System.DateTime? CreatedDate { get; set; } + + /// + /// + [JsonProperty(PropertyName = "modifiedDate")] + public System.DateTime? ModifiedDate { get; set; } + + /// + /// + [JsonProperty(PropertyName = "createdBy")] + public string CreatedBy { get; set; } + + /// + /// + [JsonProperty(PropertyName = "modifiedBy")] + public string ModifiedBy { get; set; } + + /// + /// + [JsonProperty(PropertyName = "id")] + public string Id { get; set; } + + } +} +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace VirtoCommerce.Storefront.AutoRestClients.OrdersModuleApi.Models +{ + using Microsoft.Rest; + using Microsoft.Rest.Serialization; using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + using System.Net; + using System.Net.Http; + using System.Threading; + using System.Threading.Tasks; public partial class OrderAddress { @@ -5195,8 +5379,16 @@ public OrderAddress() namespace VirtoCommerce.Storefront.AutoRestClients.OrdersModuleApi.Models { - using System.Collections.Generic; + using Microsoft.Rest; + using Microsoft.Rest.Serialization; using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + using System.Net; + using System.Net.Http; + using System.Threading; + using System.Threading.Tasks; public partial class ObjectSettingEntry { @@ -5214,7 +5406,7 @@ public ObjectSettingEntry() /// Possible values include: 'ShortText', /// 'LongText', 'Integer', 'Decimal', 'DateTime', 'Boolean', /// 'SecureString', 'Json' - public ObjectSettingEntry(bool? itHasValues = default(bool?), string objectId = default(string), string objectType = default(string), object value = default(object), bool? restartRequired = default(bool?), string moduleId = default(string), string groupName = default(string), string name = default(string), string valueType = default(string), IList allowedValues = default(IList), object defaultValue = default(object), bool? isDictionary = default(bool?)) + public ObjectSettingEntry(bool? itHasValues = default(bool?), string objectId = default(string), string objectType = default(string), object value = default(object), bool? restartRequired = default(bool?), string moduleId = default(string), string groupName = default(string), string name = default(string), bool? isHidden = default(bool?), string valueType = default(string), IList allowedValues = default(IList), object defaultValue = default(object), bool? isDictionary = default(bool?)) { ItHasValues = itHasValues; ObjectId = objectId; @@ -5224,6 +5416,7 @@ public ObjectSettingEntry() ModuleId = moduleId; GroupName = groupName; Name = name; + IsHidden = isHidden; ValueType = valueType; AllowedValues = allowedValues; DefaultValue = defaultValue; @@ -5276,6 +5469,11 @@ public ObjectSettingEntry() [JsonProperty(PropertyName = "name")] public string Name { get; set; } + /// + /// + [JsonProperty(PropertyName = "isHidden")] + public bool? IsHidden { get; set; } + /// /// Gets or sets possible values include: 'ShortText', 'LongText', /// 'Integer', 'Decimal', 'DateTime', 'Boolean', 'SecureString', 'Json' @@ -5308,7 +5506,16 @@ public ObjectSettingEntry() namespace VirtoCommerce.Storefront.AutoRestClients.OrdersModuleApi.Models { + using Microsoft.Rest; + using Microsoft.Rest.Serialization; using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + using System.Net; + using System.Net.Http; + using System.Threading; + using System.Threading.Tasks; public partial class TaxDetail { @@ -5361,8 +5568,16 @@ public TaxDetail() namespace VirtoCommerce.Storefront.AutoRestClients.OrdersModuleApi.Models { - using System.Collections.Generic; + using Microsoft.Rest; + using Microsoft.Rest.Serialization; using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + using System.Net; + using System.Net.Http; + using System.Threading; + using System.Threading.Tasks; public partial class PaymentMethod { @@ -5543,7 +5758,16 @@ public PaymentMethod() namespace VirtoCommerce.Storefront.AutoRestClients.OrdersModuleApi.Models { + using Microsoft.Rest; + using Microsoft.Rest.Serialization; using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + using System.Net; + using System.Net.Http; + using System.Threading; + using System.Threading.Tasks; public partial class ProcessPaymentRequestResult { @@ -5628,7 +5852,16 @@ public ProcessPaymentRequestResult() namespace VirtoCommerce.Storefront.AutoRestClients.OrdersModuleApi.Models { + using Microsoft.Rest; + using Microsoft.Rest.Serialization; using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + using System.Net; + using System.Net.Http; + using System.Threading; + using System.Threading.Tasks; public partial class Discount { @@ -5705,7 +5938,16 @@ public Discount() namespace VirtoCommerce.Storefront.AutoRestClients.OrdersModuleApi.Models { + using Microsoft.Rest; + using Microsoft.Rest.Serialization; using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + using System.Net; + using System.Net.Http; + using System.Threading; + using System.Threading.Tasks; public partial class PaymentGatewayTransaction { @@ -5874,8 +6116,16 @@ public PaymentGatewayTransaction() namespace VirtoCommerce.Storefront.AutoRestClients.OrdersModuleApi.Models { - using System.Collections.Generic; + using Microsoft.Rest; + using Microsoft.Rest.Serialization; using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + using System.Net; + using System.Net.Http; + using System.Threading; + using System.Threading.Tasks; public partial class IOperation { @@ -5964,7 +6214,16 @@ public IOperation() namespace VirtoCommerce.Storefront.AutoRestClients.OrdersModuleApi.Models { + using Microsoft.Rest; + using Microsoft.Rest.Serialization; using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + using System.Net; + using System.Net.Http; + using System.Threading; + using System.Threading.Tasks; public partial class DynamicPropertyObjectValue { @@ -6053,7 +6312,16 @@ public DynamicPropertyObjectValue() namespace VirtoCommerce.Storefront.AutoRestClients.OrdersModuleApi.Models { + using Microsoft.Rest; + using Microsoft.Rest.Serialization; using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + using System.Net; + using System.Net.Http; + using System.Threading; + using System.Threading.Tasks; public partial class DynamicPropertyName { @@ -6100,8 +6368,16 @@ public DynamicPropertyName() namespace VirtoCommerce.Storefront.AutoRestClients.OrdersModuleApi.Models { - using System.Collections.Generic; + using Microsoft.Rest; + using Microsoft.Rest.Serialization; using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + using System.Net; + using System.Net.Http; + using System.Threading; + using System.Threading.Tasks; public partial class DynamicObjectProperty { @@ -6244,8 +6520,16 @@ public DynamicObjectProperty() namespace VirtoCommerce.Storefront.AutoRestClients.OrdersModuleApi.Models { - using System.Collections.Generic; + using Microsoft.Rest; + using Microsoft.Rest.Serialization; using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + using System.Net; + using System.Net.Http; + using System.Threading; + using System.Threading.Tasks; public partial class PaymentIn { @@ -6265,7 +6549,7 @@ public PaymentIn() /// 'Pending', 'Authorized', 'Paid', 'PartiallyRefunded', 'Refunded', /// 'Voided', 'Custom', 'Cancelled', 'Declined', 'Error' /// Tax category or type - public PaymentIn(string orderId = default(string), string purpose = default(string), string gatewayCode = default(string), PaymentMethod paymentMethod = default(PaymentMethod), string organizationId = default(string), string organizationName = default(string), string customerId = default(string), string customerName = default(string), System.DateTime? incomingDate = default(System.DateTime?), OrderAddress billingAddress = default(OrderAddress), string paymentStatus = default(string), System.DateTime? authorizedDate = default(System.DateTime?), System.DateTime? capturedDate = default(System.DateTime?), System.DateTime? voidedDate = default(System.DateTime?), ProcessPaymentRequestResult processPaymentResult = default(ProcessPaymentRequestResult), double? price = default(double?), double? priceWithTax = default(double?), double? total = default(double?), double? totalWithTax = default(double?), double? discountAmount = default(double?), double? discountAmountWithTax = default(double?), string objectType = default(string), string taxType = default(string), double? taxTotal = default(double?), double? taxPercentRate = default(double?), IList taxDetails = default(IList), IList discounts = default(IList), IList transactions = default(IList), string operationType = default(string), string parentOperationId = default(string), string number = default(string), bool? isApproved = default(bool?), string status = default(string), string comment = default(string), string currency = default(string), double? sum = default(double?), string outerId = default(string), string purchaseOrderNumber = default(string), bool? isCancelled = default(bool?), System.DateTime? cancelledDate = default(System.DateTime?), string cancelReason = default(string), IList dynamicProperties = default(IList), IList operationsLog = default(IList), System.DateTime? createdDate = default(System.DateTime?), System.DateTime? modifiedDate = default(System.DateTime?), string createdBy = default(string), string modifiedBy = default(string), string id = default(string)) + public PaymentIn(string orderId = default(string), string purpose = default(string), string gatewayCode = default(string), PaymentMethod paymentMethod = default(PaymentMethod), string organizationId = default(string), string organizationName = default(string), string customerId = default(string), string customerName = default(string), System.DateTime? incomingDate = default(System.DateTime?), OrderAddress billingAddress = default(OrderAddress), string paymentStatus = default(string), System.DateTime? authorizedDate = default(System.DateTime?), System.DateTime? capturedDate = default(System.DateTime?), System.DateTime? voidedDate = default(System.DateTime?), ProcessPaymentRequestResult processPaymentResult = default(ProcessPaymentRequestResult), double? price = default(double?), double? priceWithTax = default(double?), double? total = default(double?), double? totalWithTax = default(double?), double? discountAmount = default(double?), double? discountAmountWithTax = default(double?), string objectType = default(string), string taxType = default(string), double? taxTotal = default(double?), double? taxPercentRate = default(double?), IList taxDetails = default(IList), IList discounts = default(IList), IList transactions = default(IList), string operationType = default(string), string parentOperationId = default(string), string number = default(string), bool? isApproved = default(bool?), string status = default(string), string comment = default(string), string currency = default(string), double? sum = default(double?), string outerId = default(string), bool? isCancelled = default(bool?), System.DateTime? cancelledDate = default(System.DateTime?), string cancelReason = default(string), IList dynamicProperties = default(IList), IList operationsLog = default(IList), System.DateTime? createdDate = default(System.DateTime?), System.DateTime? modifiedDate = default(System.DateTime?), string createdBy = default(string), string modifiedBy = default(string), string id = default(string)) { OrderId = orderId; Purpose = purpose; @@ -6304,7 +6588,6 @@ public PaymentIn() Currency = currency; Sum = sum; OuterId = outerId; - PurchaseOrderNumber = purchaseOrderNumber; IsCancelled = isCancelled; CancelledDate = cancelledDate; CancelReason = cancelReason; @@ -6513,11 +6796,6 @@ public PaymentIn() [JsonProperty(PropertyName = "outerId")] public string OuterId { get; set; } - /// - /// - [JsonProperty(PropertyName = "purchaseOrderNumber")] - public string PurchaseOrderNumber { get; set; } - /// /// [JsonProperty(PropertyName = "isCancelled")] @@ -6578,8 +6856,16 @@ public PaymentIn() namespace VirtoCommerce.Storefront.AutoRestClients.OrdersModuleApi.Models { - using System.Collections.Generic; + using Microsoft.Rest; + using Microsoft.Rest.Serialization; using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + using System.Net; + using System.Net.Http; + using System.Threading; + using System.Threading.Tasks; public partial class OrderLineItem { @@ -6602,8 +6888,9 @@ public OrderLineItem() /// item discount amount /// Tax category or type /// Reserve quantity - public OrderLineItem(string priceId = default(string), string currency = default(string), double? price = default(double?), double? priceWithTax = default(double?), double? placedPrice = default(double?), double? placedPriceWithTax = default(double?), double? extendedPrice = default(double?), double? extendedPriceWithTax = default(double?), double? discountAmount = default(double?), double? discountAmountWithTax = default(double?), double? discountTotal = default(double?), double? discountTotalWithTax = default(double?), double? fee = default(double?), double? feeWithTax = default(double?), string taxType = default(string), double? taxTotal = default(double?), double? taxPercentRate = default(double?), int? reserveQuantity = default(int?), int? quantity = default(int?), string productId = default(string), string sku = default(string), string productType = default(string), string catalogId = default(string), string categoryId = default(string), string name = default(string), string comment = default(string), string imageUrl = default(string), bool? isGift = default(bool?), string shippingMethodCode = default(string), string fulfillmentLocationCode = default(string), string fulfillmentCenterId = default(string), string fulfillmentCenterName = default(string), string outerId = default(string), string weightUnit = default(string), double? weight = default(double?), string measureUnit = default(string), double? height = default(double?), double? length = default(double?), double? width = default(double?), bool? isCancelled = default(bool?), System.DateTime? cancelledDate = default(System.DateTime?), string cancelReason = default(string), string objectType = default(string), IList dynamicProperties = default(IList), IList discounts = default(IList), IList taxDetails = default(IList), System.DateTime? createdDate = default(System.DateTime?), System.DateTime? modifiedDate = default(System.DateTime?), string createdBy = default(string), string modifiedBy = default(string), string id = default(string)) + public OrderLineItem(string configuredGroupId = default(string), string priceId = default(string), string currency = default(string), double? price = default(double?), double? priceWithTax = default(double?), double? placedPrice = default(double?), double? placedPriceWithTax = default(double?), double? extendedPrice = default(double?), double? extendedPriceWithTax = default(double?), double? discountAmount = default(double?), double? discountAmountWithTax = default(double?), double? discountTotal = default(double?), double? discountTotalWithTax = default(double?), double? fee = default(double?), double? feeWithTax = default(double?), string taxType = default(string), double? taxTotal = default(double?), double? taxPercentRate = default(double?), int? reserveQuantity = default(int?), int? quantity = default(int?), string productId = default(string), string sku = default(string), string productType = default(string), string catalogId = default(string), string categoryId = default(string), string name = default(string), string comment = default(string), string imageUrl = default(string), bool? isGift = default(bool?), string shippingMethodCode = default(string), string fulfillmentLocationCode = default(string), string fulfillmentCenterId = default(string), string fulfillmentCenterName = default(string), string outerId = default(string), string weightUnit = default(string), double? weight = default(double?), string measureUnit = default(string), double? height = default(double?), double? length = default(double?), double? width = default(double?), bool? isCancelled = default(bool?), System.DateTime? cancelledDate = default(System.DateTime?), string cancelReason = default(string), string objectType = default(string), IList dynamicProperties = default(IList), IList discounts = default(IList), IList taxDetails = default(IList), System.DateTime? createdDate = default(System.DateTime?), System.DateTime? modifiedDate = default(System.DateTime?), string createdBy = default(string), string modifiedBy = default(string), string id = default(string)) { + ConfiguredGroupId = configuredGroupId; PriceId = priceId; Currency = currency; Price = price; @@ -6663,6 +6950,11 @@ public OrderLineItem() /// partial void CustomInit(); + /// + /// + [JsonProperty(PropertyName = "configuredGroupId")] + public string ConfiguredGroupId { get; set; } + /// /// Gets or sets price id /// @@ -6934,8 +7226,16 @@ public OrderLineItem() namespace VirtoCommerce.Storefront.AutoRestClients.OrdersModuleApi.Models { - using System.Collections.Generic; + using Microsoft.Rest; + using Microsoft.Rest.Serialization; using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + using System.Net; + using System.Net.Http; + using System.Threading; + using System.Threading.Tasks; public partial class ShippingMethod { @@ -7030,7 +7330,16 @@ public ShippingMethod() namespace VirtoCommerce.Storefront.AutoRestClients.OrdersModuleApi.Models { + using Microsoft.Rest; + using Microsoft.Rest.Serialization; using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + using System.Net; + using System.Net.Http; + using System.Threading; + using System.Threading.Tasks; public partial class OrderShipmentItem { @@ -7125,8 +7434,16 @@ public OrderShipmentItem() namespace VirtoCommerce.Storefront.AutoRestClients.OrdersModuleApi.Models { - using System.Collections.Generic; + using Microsoft.Rest; + using Microsoft.Rest.Serialization; using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + using System.Net; + using System.Net.Http; + using System.Threading; + using System.Threading.Tasks; public partial class ShipmentPackage { @@ -7245,8 +7562,16 @@ public ShipmentPackage() namespace VirtoCommerce.Storefront.AutoRestClients.OrdersModuleApi.Models { - using System.Collections.Generic; + using Microsoft.Rest; + using Microsoft.Rest.Serialization; using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + using System.Net; + using System.Net.Http; + using System.Threading; + using System.Threading.Tasks; public partial class CustomerOrder { @@ -7265,6 +7590,8 @@ public CustomerOrder() /// the order was created /// Flag determines that the order is the /// prototype + /// Internal number of order provided + /// by customer /// Number for subscription /// associated with this order /// Identifier for subscription @@ -7279,8 +7606,9 @@ public CustomerOrder() /// $100). /// Grand order total /// Tax category or type - public CustomerOrder(string customerId = default(string), string customerName = default(string), string channelId = default(string), string storeId = default(string), string storeName = default(string), string organizationId = default(string), string organizationName = default(string), string employeeId = default(string), string employeeName = default(string), string shoppingCartId = default(string), bool? isPrototype = default(bool?), string subscriptionNumber = default(string), string subscriptionId = default(string), string objectType = default(string), IList addresses = default(IList), IList inPayments = default(IList), IList items = default(IList), IList shipments = default(IList), IList discounts = default(IList), double? discountAmount = default(double?), IList taxDetails = default(IList), IList scopes = default(IList), double? total = default(double?), double? subTotal = default(double?), double? subTotalWithTax = default(double?), double? subTotalDiscount = default(double?), double? subTotalDiscountWithTax = default(double?), double? subTotalTaxTotal = default(double?), double? shippingTotal = default(double?), double? shippingTotalWithTax = default(double?), double? shippingSubTotal = default(double?), double? shippingSubTotalWithTax = default(double?), double? shippingDiscountTotal = default(double?), double? shippingDiscountTotalWithTax = default(double?), double? shippingTaxTotal = default(double?), double? paymentTotal = default(double?), double? paymentTotalWithTax = default(double?), double? paymentSubTotal = default(double?), double? paymentSubTotalWithTax = default(double?), double? paymentDiscountTotal = default(double?), double? paymentDiscountTotalWithTax = default(double?), double? paymentTaxTotal = default(double?), double? discountTotal = default(double?), double? discountTotalWithTax = default(double?), double? fee = default(double?), double? feeWithTax = default(double?), double? feeTotal = default(double?), double? feeTotalWithTax = default(double?), string taxType = default(string), double? taxTotal = default(double?), double? taxPercentRate = default(double?), string languageCode = default(string), string operationType = default(string), string parentOperationId = default(string), string number = default(string), bool? isApproved = default(bool?), string status = default(string), string comment = default(string), string currency = default(string), double? sum = default(double?), string outerId = default(string), string purchaseOrderNumber = default(string), bool? isCancelled = default(bool?), System.DateTime? cancelledDate = default(System.DateTime?), string cancelReason = default(string), IList dynamicProperties = default(IList), IList operationsLog = default(IList), System.DateTime? createdDate = default(System.DateTime?), System.DateTime? modifiedDate = default(System.DateTime?), string createdBy = default(string), string modifiedBy = default(string), string id = default(string)) + public CustomerOrder(IList configuredGroups = default(IList), string customerId = default(string), string customerName = default(string), string channelId = default(string), string storeId = default(string), string storeName = default(string), string organizationId = default(string), string organizationName = default(string), string employeeId = default(string), string employeeName = default(string), string shoppingCartId = default(string), bool? isPrototype = default(bool?), string purchaseOrderNumber = default(string), string subscriptionNumber = default(string), string subscriptionId = default(string), string objectType = default(string), IList addresses = default(IList), IList inPayments = default(IList), IList items = default(IList), IList shipments = default(IList), IList discounts = default(IList), double? discountAmount = default(double?), IList taxDetails = default(IList), IList scopes = default(IList), double? total = default(double?), double? subTotal = default(double?), double? subTotalWithTax = default(double?), double? subTotalDiscount = default(double?), double? subTotalDiscountWithTax = default(double?), double? subTotalTaxTotal = default(double?), double? shippingTotal = default(double?), double? shippingTotalWithTax = default(double?), double? shippingSubTotal = default(double?), double? shippingSubTotalWithTax = default(double?), double? shippingDiscountTotal = default(double?), double? shippingDiscountTotalWithTax = default(double?), double? shippingTaxTotal = default(double?), double? paymentTotal = default(double?), double? paymentTotalWithTax = default(double?), double? paymentSubTotal = default(double?), double? paymentSubTotalWithTax = default(double?), double? paymentDiscountTotal = default(double?), double? paymentDiscountTotalWithTax = default(double?), double? paymentTaxTotal = default(double?), double? discountTotal = default(double?), double? discountTotalWithTax = default(double?), double? fee = default(double?), double? feeWithTax = default(double?), double? feeTotal = default(double?), double? feeTotalWithTax = default(double?), string taxType = default(string), double? taxTotal = default(double?), double? taxPercentRate = default(double?), string languageCode = default(string), string operationType = default(string), string parentOperationId = default(string), string number = default(string), bool? isApproved = default(bool?), string status = default(string), string comment = default(string), string currency = default(string), double? sum = default(double?), string outerId = default(string), bool? isCancelled = default(bool?), System.DateTime? cancelledDate = default(System.DateTime?), string cancelReason = default(string), IList dynamicProperties = default(IList), IList operationsLog = default(IList), System.DateTime? createdDate = default(System.DateTime?), System.DateTime? modifiedDate = default(System.DateTime?), string createdBy = default(string), string modifiedBy = default(string), string id = default(string)) { + ConfiguredGroups = configuredGroups; CustomerId = customerId; CustomerName = customerName; ChannelId = channelId; @@ -7292,6 +7620,7 @@ public CustomerOrder() EmployeeName = employeeName; ShoppingCartId = shoppingCartId; IsPrototype = isPrototype; + PurchaseOrderNumber = purchaseOrderNumber; SubscriptionNumber = subscriptionNumber; SubscriptionId = subscriptionId; ObjectType = objectType; @@ -7342,7 +7671,6 @@ public CustomerOrder() Currency = currency; Sum = sum; OuterId = outerId; - PurchaseOrderNumber = purchaseOrderNumber; IsCancelled = isCancelled; CancelledDate = cancelledDate; CancelReason = cancelReason; @@ -7361,6 +7689,11 @@ public CustomerOrder() /// partial void CustomInit(); + /// + /// + [JsonProperty(PropertyName = "configuredGroups")] + public IList ConfiguredGroups { get; set; } + /// /// [JsonProperty(PropertyName = "customerId")] @@ -7419,6 +7752,12 @@ public CustomerOrder() [JsonProperty(PropertyName = "isPrototype")] public bool? IsPrototype { get; set; } + /// + /// Gets or sets internal number of order provided by customer + /// + [JsonProperty(PropertyName = "purchaseOrderNumber")] + public string PurchaseOrderNumber { get; set; } + /// /// Gets or sets number for subscription associated with this order /// @@ -7680,11 +8019,6 @@ public CustomerOrder() [JsonProperty(PropertyName = "outerId")] public string OuterId { get; set; } - /// - /// - [JsonProperty(PropertyName = "purchaseOrderNumber")] - public string PurchaseOrderNumber { get; set; } - /// /// [JsonProperty(PropertyName = "isCancelled")] @@ -7745,8 +8079,16 @@ public CustomerOrder() namespace VirtoCommerce.Storefront.AutoRestClients.OrdersModuleApi.Models { - using System.Collections.Generic; + using Microsoft.Rest; + using Microsoft.Rest.Serialization; using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + using System.Net; + using System.Net.Http; + using System.Threading; + using System.Threading.Tasks; public partial class OrderShipment { @@ -7766,7 +8108,7 @@ public OrderShipment() /// Current shipment option /// code /// Tax category or type - public OrderShipment(string organizationId = default(string), string organizationName = default(string), string fulfillmentCenterId = default(string), string fulfillmentCenterName = default(string), string employeeId = default(string), string employeeName = default(string), string shipmentMethodCode = default(string), string shipmentMethodOption = default(string), ShippingMethod shippingMethod = default(ShippingMethod), string customerOrderId = default(string), CustomerOrder customerOrder = default(CustomerOrder), IList items = default(IList), IList packages = default(IList), IList inPayments = default(IList), string weightUnit = default(string), double? weight = default(double?), string measureUnit = default(string), double? height = default(double?), double? length = default(double?), double? width = default(double?), IList discounts = default(IList), OrderAddress deliveryAddress = default(OrderAddress), double? price = default(double?), double? priceWithTax = default(double?), double? total = default(double?), double? totalWithTax = default(double?), double? discountAmount = default(double?), double? discountAmountWithTax = default(double?), double? fee = default(double?), double? feeWithTax = default(double?), string objectType = default(string), string taxType = default(string), double? taxTotal = default(double?), double? taxPercentRate = default(double?), IList taxDetails = default(IList), string operationType = default(string), string parentOperationId = default(string), string number = default(string), bool? isApproved = default(bool?), string status = default(string), string comment = default(string), string currency = default(string), double? sum = default(double?), string outerId = default(string), string purchaseOrderNumber = default(string), bool? isCancelled = default(bool?), System.DateTime? cancelledDate = default(System.DateTime?), string cancelReason = default(string), IList dynamicProperties = default(IList), IList operationsLog = default(IList), System.DateTime? createdDate = default(System.DateTime?), System.DateTime? modifiedDate = default(System.DateTime?), string createdBy = default(string), string modifiedBy = default(string), string id = default(string)) + public OrderShipment(string organizationId = default(string), string organizationName = default(string), string fulfillmentCenterId = default(string), string fulfillmentCenterName = default(string), string employeeId = default(string), string employeeName = default(string), string shipmentMethodCode = default(string), string shipmentMethodOption = default(string), ShippingMethod shippingMethod = default(ShippingMethod), string customerOrderId = default(string), CustomerOrder customerOrder = default(CustomerOrder), IList items = default(IList), IList packages = default(IList), IList inPayments = default(IList), string weightUnit = default(string), double? weight = default(double?), string measureUnit = default(string), double? height = default(double?), double? length = default(double?), double? width = default(double?), IList discounts = default(IList), OrderAddress deliveryAddress = default(OrderAddress), double? price = default(double?), double? priceWithTax = default(double?), double? total = default(double?), double? totalWithTax = default(double?), double? discountAmount = default(double?), double? discountAmountWithTax = default(double?), double? fee = default(double?), double? feeWithTax = default(double?), string objectType = default(string), string taxType = default(string), double? taxTotal = default(double?), double? taxPercentRate = default(double?), IList taxDetails = default(IList), string operationType = default(string), string parentOperationId = default(string), string number = default(string), bool? isApproved = default(bool?), string status = default(string), string comment = default(string), string currency = default(string), double? sum = default(double?), string outerId = default(string), bool? isCancelled = default(bool?), System.DateTime? cancelledDate = default(System.DateTime?), string cancelReason = default(string), IList dynamicProperties = default(IList), IList operationsLog = default(IList), System.DateTime? createdDate = default(System.DateTime?), System.DateTime? modifiedDate = default(System.DateTime?), string createdBy = default(string), string modifiedBy = default(string), string id = default(string)) { OrganizationId = organizationId; OrganizationName = organizationName; @@ -7812,7 +8154,6 @@ public OrderShipment() Currency = currency; Sum = sum; OuterId = outerId; - PurchaseOrderNumber = purchaseOrderNumber; IsCancelled = isCancelled; CancelledDate = cancelledDate; CancelReason = cancelReason; @@ -8054,11 +8395,6 @@ public OrderShipment() [JsonProperty(PropertyName = "outerId")] public string OuterId { get; set; } - /// - /// - [JsonProperty(PropertyName = "purchaseOrderNumber")] - public string PurchaseOrderNumber { get; set; } - /// /// [JsonProperty(PropertyName = "isCancelled")] @@ -8119,8 +8455,16 @@ public OrderShipment() namespace VirtoCommerce.Storefront.AutoRestClients.OrdersModuleApi.Models { - using System.Collections.Generic; + using Microsoft.Rest; + using Microsoft.Rest.Serialization; using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + using System.Net; + using System.Net.Http; + using System.Threading; + using System.Threading.Tasks; public partial class CustomerOrderSearchResult { @@ -8173,7 +8517,16 @@ public CustomerOrderSearchResult() namespace VirtoCommerce.Storefront.AutoRestClients.OrdersModuleApi.Models { + using Microsoft.Rest; + using Microsoft.Rest.Serialization; using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + using System.Net; + using System.Net.Http; + using System.Threading; + using System.Threading.Tasks; public partial class BankCardInfo { @@ -8244,7 +8597,16 @@ public BankCardInfo() namespace VirtoCommerce.Storefront.AutoRestClients.OrdersModuleApi.Models { + using Microsoft.Rest; + using Microsoft.Rest.Serialization; using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + using System.Net; + using System.Net.Http; + using System.Threading; + using System.Threading.Tasks; public partial class Money { @@ -8291,7 +8653,16 @@ public Money() namespace VirtoCommerce.Storefront.AutoRestClients.OrdersModuleApi.Models { + using Microsoft.Rest; + using Microsoft.Rest.Serialization; using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + using System.Net; + using System.Net.Http; + using System.Threading; + using System.Threading.Tasks; public partial class QuarterPeriodMoney { @@ -8350,8 +8721,16 @@ public QuarterPeriodMoney() namespace VirtoCommerce.Storefront.AutoRestClients.OrdersModuleApi.Models { - using System.Collections.Generic; + using Microsoft.Rest; + using Microsoft.Rest.Serialization; using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + using System.Net; + using System.Net.Http; + using System.Threading; + using System.Threading.Tasks; public partial class DashboardStatisticsResult { @@ -8452,7 +8831,16 @@ public DashboardStatisticsResult() namespace VirtoCommerce.Storefront.AutoRestClients.OrdersModuleApi.Models { + using Microsoft.Rest; + using Microsoft.Rest.Serialization; using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + using System.Net; + using System.Net.Http; + using System.Threading; + using System.Threading.Tasks; public partial class KeyValuePair { @@ -8499,8 +8887,16 @@ public KeyValuePair() namespace VirtoCommerce.Storefront.AutoRestClients.OrdersModuleApi.Models { - using System.Collections.Generic; + using Microsoft.Rest; + using Microsoft.Rest.Serialization; using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + using System.Net; + using System.Net.Http; + using System.Threading; + using System.Threading.Tasks; public partial class PaymentCallbackParameters { @@ -8541,7 +8937,16 @@ public PaymentCallbackParameters() namespace VirtoCommerce.Storefront.AutoRestClients.OrdersModuleApi.Models { + using Microsoft.Rest; + using Microsoft.Rest.Serialization; using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + using System.Net; + using System.Net.Http; + using System.Threading; + using System.Threading.Tasks; public partial class PostProcessPaymentRequestResult { @@ -8626,8 +9031,16 @@ public PostProcessPaymentRequestResult() namespace VirtoCommerce.Storefront.AutoRestClients.OrdersModuleApi.Models { - using System.Collections.Generic; + using Microsoft.Rest; + using Microsoft.Rest.Serialization; using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + using System.Net; + using System.Net.Http; + using System.Threading; + using System.Threading.Tasks; public partial class CustomerOrderHistorySearchCriteria { @@ -8736,8 +9149,16 @@ public CustomerOrderHistorySearchCriteria() namespace VirtoCommerce.Storefront.AutoRestClients.OrdersModuleApi.Models { - using System.Collections.Generic; + using Microsoft.Rest; + using Microsoft.Rest.Serialization; using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + using System.Net; + using System.Net.Http; + using System.Threading; + using System.Threading.Tasks; public partial class ChangeLogSearchResult { @@ -8784,8 +9205,16 @@ public ChangeLogSearchResult() namespace VirtoCommerce.Storefront.AutoRestClients.OrdersModuleApi.Models { - using System.Collections.Generic; + using Microsoft.Rest; + using Microsoft.Rest.Serialization; using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + using System.Net; + using System.Net.Http; + using System.Threading; + using System.Threading.Tasks; public partial class PaymentSearchCriteria { @@ -8986,8 +9415,16 @@ public PaymentSearchCriteria() namespace VirtoCommerce.Storefront.AutoRestClients.OrdersModuleApi.Models { - using System.Collections.Generic; + using Microsoft.Rest; + using Microsoft.Rest.Serialization; using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + using System.Net; + using System.Net.Http; + using System.Threading; + using System.Threading.Tasks; public partial class PaymentSearchResult { diff --git a/VirtoCommerce.Storefront/AutoRestClients/code-model-v1 b/VirtoCommerce.Storefront/AutoRestClients/code-model-v1 new file mode 100644 index 00000000..1078fe64 --- /dev/null +++ b/VirtoCommerce.Storefront/AutoRestClients/code-model-v1 @@ -0,0 +1,25185 @@ +{ + "$id": "1", + "modelTypes": [ + { + "$id": "2", + "$type": "CompositeType", + "properties": [ + { + "$id": "3", + "isReadOnly": false, + "realPath": [ + "objectType" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "4", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "5", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "6", + "fixed": false, + "raw": "objectType" + }, + "serializedName": "objectType", + "modelType": { + "$id": "7", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "8", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + }, + { + "$id": "9", + "isReadOnly": false, + "realPath": [ + "objectId" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "10", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "11", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "12", + "fixed": false, + "raw": "objectId" + }, + "serializedName": "objectId", + "modelType": { + "$id": "13", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "14", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + }, + { + "$id": "15", + "isReadOnly": false, + "realPath": [ + "operationType" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "16", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "17", + "fixed": false + }, + "extensions": { + "x-ms-metadata": { + "apiVersions": [ + "v1" + ], + "filename": [ + "mem:///104?oai3.shaken.json" + ], + "name": "EntryState", + "originalLocations": [ + "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/schemas/EntryState" + ] + } + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "18", + "fixed": false, + "raw": "operationType" + }, + "serializedName": "operationType", + "modelType": { + "$id": "19", + "$type": "EnumType", + "values": [ + { + "$id": "20", + "name": "Detached", + "serializedName": "Detached" + }, + { + "$id": "21", + "name": "Unchanged", + "serializedName": "Unchanged" + }, + { + "$id": "22", + "name": "Added", + "serializedName": "Added" + }, + { + "$id": "23", + "name": "Deleted", + "serializedName": "Deleted" + }, + { + "$id": "24", + "name": "Modified", + "serializedName": "Modified" + } + ], + "oldModelAsString": false, + "modelAsString": true, + "underlyingType": { + "$id": "25", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "26", + "fixed": false, + "raw": "String" + }, + "deprecated": false + }, + "name": { + "$id": "27", + "fixed": false, + "raw": "" + }, + "deprecated": false + } + }, + { + "$id": "28", + "isReadOnly": false, + "realPath": [ + "detail" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "29", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "30", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "31", + "fixed": false, + "raw": "detail" + }, + "serializedName": "detail", + "modelType": { + "$id": "32", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "33", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + }, + { + "$id": "34", + "isReadOnly": false, + "realPath": [ + "createdDate" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "35", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "36", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "37", + "fixed": false, + "raw": "createdDate" + }, + "serializedName": "createdDate", + "modelType": { + "$id": "38", + "$type": "PrimaryType", + "format": "date-time", + "knownPrimaryType": "dateTime", + "name": { + "$id": "39", + "fixed": false, + "raw": "DateTime" + }, + "deprecated": false + } + }, + { + "$id": "40", + "isReadOnly": false, + "realPath": [ + "modifiedDate" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "41", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "42", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "43", + "fixed": false, + "raw": "modifiedDate" + }, + "serializedName": "modifiedDate", + "modelType": { + "$id": "44", + "$type": "PrimaryType", + "format": "date-time", + "knownPrimaryType": "dateTime", + "name": { + "$id": "45", + "fixed": false, + "raw": "DateTime" + }, + "deprecated": false + } + }, + { + "$id": "46", + "isReadOnly": false, + "realPath": [ + "createdBy" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "47", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "48", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "49", + "fixed": false, + "raw": "createdBy" + }, + "serializedName": "createdBy", + "modelType": { + "$id": "50", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "51", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + }, + { + "$id": "52", + "isReadOnly": false, + "realPath": [ + "modifiedBy" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "53", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "54", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "55", + "fixed": false, + "raw": "modifiedBy" + }, + "serializedName": "modifiedBy", + "modelType": { + "$id": "56", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "57", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + }, + { + "$id": "58", + "isReadOnly": false, + "realPath": [ + "id" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "59", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "60", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "61", + "fixed": false, + "raw": "id" + }, + "serializedName": "id", + "modelType": { + "$id": "62", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "63", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + } + ], + "serializedName": "OperationLog", + "containsConstantProperties": false, + "name": { + "$id": "64", + "fixed": false, + "raw": "OperationLog" + }, + "extensions": { + "x-ms-metadata": { + "apiVersions": [ + "v1" + ], + "filename": [ + "mem:///104?oai3.shaken.json" + ], + "name": "OperationLog", + "originalLocations": [ + "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/schemas/OperationLog" + ] + } + }, + "deprecated": false + }, + { + "$id": "65", + "$type": "CompositeType", + "properties": [ + { + "$id": "66", + "isReadOnly": false, + "realPath": [ + "sortColumn" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "67", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "68", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "69", + "fixed": false, + "raw": "sortColumn" + }, + "serializedName": "sortColumn", + "modelType": { + "$id": "70", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "71", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + }, + { + "$id": "72", + "isReadOnly": false, + "realPath": [ + "sortDirection" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "73", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "74", + "fixed": false + }, + "extensions": { + "x-ms-metadata": { + "apiVersions": [ + "v1" + ], + "filename": [ + "mem:///104?oai3.shaken.json" + ], + "name": "SortDirection", + "originalLocations": [ + "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/schemas/SortDirection" + ] + } + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "75", + "fixed": false, + "raw": "sortDirection" + }, + "serializedName": "sortDirection", + "modelType": { + "$id": "76", + "$type": "EnumType", + "values": [ + { + "$id": "77", + "name": "Ascending", + "serializedName": "Ascending" + }, + { + "$id": "78", + "name": "Descending", + "serializedName": "Descending" + } + ], + "oldModelAsString": false, + "modelAsString": true, + "underlyingType": { + "$id": "79", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "80", + "fixed": false, + "raw": "String" + }, + "deprecated": false + }, + "name": { + "$id": "81", + "fixed": false, + "raw": "" + }, + "deprecated": false + } + } + ], + "serializedName": "SortInfo", + "containsConstantProperties": false, + "name": { + "$id": "82", + "fixed": false, + "raw": "SortInfo" + }, + "extensions": { + "x-ms-metadata": { + "apiVersions": [ + "v1" + ], + "filename": [ + "mem:///104?oai3.shaken.json" + ], + "name": "SortInfo", + "originalLocations": [ + "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/schemas/SortInfo" + ] + } + }, + "deprecated": false + }, + { + "$id": "83", + "$type": "CompositeType", + "properties": [ + { + "$id": "84", + "isReadOnly": false, + "realPath": [ + "withPrototypes" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "85", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "86", + "fixed": false, + "raw": "Search orders with flag IsPrototype" + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "87", + "fixed": false, + "raw": "withPrototypes" + }, + "serializedName": "withPrototypes", + "modelType": { + "$id": "88", + "$type": "PrimaryType", + "knownPrimaryType": "boolean", + "name": { + "$id": "89", + "fixed": false, + "raw": "Boolean" + }, + "deprecated": false + } + }, + { + "$id": "90", + "isReadOnly": false, + "realPath": [ + "onlyRecurring" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "91", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "92", + "fixed": false, + "raw": "Search only recurring orders created by subscription" + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "93", + "fixed": false, + "raw": "onlyRecurring" + }, + "serializedName": "onlyRecurring", + "modelType": { + "$id": "94", + "$type": "PrimaryType", + "knownPrimaryType": "boolean", + "name": { + "$id": "95", + "fixed": false, + "raw": "Boolean" + }, + "deprecated": false + } + }, + { + "$id": "96", + "isReadOnly": false, + "realPath": [ + "subscriptionId" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "97", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "98", + "fixed": false, + "raw": "Search orders with given subscription" + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "99", + "fixed": false, + "raw": "subscriptionId" + }, + "serializedName": "subscriptionId", + "modelType": { + "$id": "100", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "101", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + }, + { + "$id": "102", + "isReadOnly": false, + "realPath": [ + "subscriptionIds" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "103", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "104", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "105", + "fixed": false, + "raw": "subscriptionIds" + }, + "serializedName": "subscriptionIds", + "modelType": { + "$id": "106", + "$type": "SequenceType", + "elementType": { + "$id": "107", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "108", + "fixed": false, + "raw": "String" + }, + "deprecated": false + }, + "name": { + "$id": "109", + "fixed": false + }, + "deprecated": false + } + }, + { + "$id": "110", + "isReadOnly": false, + "realPath": [ + "operationId" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "111", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "112", + "fixed": false, + "raw": "It used to limit search within an operation (customer order for example)" + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "113", + "fixed": false, + "raw": "operationId" + }, + "serializedName": "operationId", + "modelType": { + "$id": "114", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "115", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + }, + { + "$id": "116", + "isReadOnly": false, + "realPath": [ + "customerId" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "117", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "118", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "119", + "fixed": false, + "raw": "customerId" + }, + "serializedName": "customerId", + "modelType": { + "$id": "120", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "121", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + }, + { + "$id": "122", + "isReadOnly": false, + "realPath": [ + "customerIds" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "123", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "124", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "125", + "fixed": false, + "raw": "customerIds" + }, + "serializedName": "customerIds", + "modelType": { + "$id": "126", + "$type": "SequenceType", + "elementType": { + "$id": "127", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "128", + "fixed": false, + "raw": "String" + }, + "deprecated": false + }, + "name": { + "$id": "129", + "fixed": false + }, + "deprecated": false + } + }, + { + "$id": "130", + "isReadOnly": false, + "realPath": [ + "ids" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "131", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "132", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "133", + "fixed": false, + "raw": "ids" + }, + "serializedName": "ids", + "modelType": { + "$id": "134", + "$type": "SequenceType", + "elementType": { + "$id": "135", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "136", + "fixed": false, + "raw": "String" + }, + "deprecated": false + }, + "name": { + "$id": "137", + "fixed": false + }, + "deprecated": false + } + }, + { + "$id": "138", + "isReadOnly": false, + "realPath": [ + "employeeId" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "139", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "140", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "141", + "fixed": false, + "raw": "employeeId" + }, + "serializedName": "employeeId", + "modelType": { + "$id": "142", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "143", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + }, + { + "$id": "144", + "isReadOnly": false, + "realPath": [ + "storeIds" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "145", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "146", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "147", + "fixed": false, + "raw": "storeIds" + }, + "serializedName": "storeIds", + "modelType": { + "$id": "148", + "$type": "SequenceType", + "elementType": { + "$id": "149", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "150", + "fixed": false, + "raw": "String" + }, + "deprecated": false + }, + "name": { + "$id": "151", + "fixed": false + }, + "deprecated": false + } + }, + { + "$id": "152", + "isReadOnly": false, + "realPath": [ + "status" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "153", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "154", + "fixed": false, + "raw": "Search by status" + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "155", + "fixed": false, + "raw": "status" + }, + "serializedName": "status", + "modelType": { + "$id": "156", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "157", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + }, + { + "$id": "158", + "isReadOnly": false, + "realPath": [ + "statuses" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "159", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "160", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "161", + "fixed": false, + "raw": "statuses" + }, + "serializedName": "statuses", + "modelType": { + "$id": "162", + "$type": "SequenceType", + "elementType": { + "$id": "163", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "164", + "fixed": false, + "raw": "String" + }, + "deprecated": false + }, + "name": { + "$id": "165", + "fixed": false + }, + "deprecated": false + } + }, + { + "$id": "166", + "isReadOnly": false, + "realPath": [ + "number" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "167", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "168", + "fixed": false, + "raw": "Search by numbers" + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "169", + "fixed": false, + "raw": "number" + }, + "serializedName": "number", + "modelType": { + "$id": "170", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "171", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + }, + { + "$id": "172", + "isReadOnly": false, + "realPath": [ + "numbers" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "173", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "174", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "175", + "fixed": false, + "raw": "numbers" + }, + "serializedName": "numbers", + "modelType": { + "$id": "176", + "$type": "SequenceType", + "elementType": { + "$id": "177", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "178", + "fixed": false, + "raw": "String" + }, + "deprecated": false + }, + "name": { + "$id": "179", + "fixed": false + }, + "deprecated": false + } + }, + { + "$id": "180", + "isReadOnly": false, + "realPath": [ + "startDate" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "181", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "182", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "183", + "fixed": false, + "raw": "startDate" + }, + "serializedName": "startDate", + "modelType": { + "$id": "184", + "$type": "PrimaryType", + "format": "date-time", + "knownPrimaryType": "dateTime", + "name": { + "$id": "185", + "fixed": false, + "raw": "DateTime" + }, + "deprecated": false + } + }, + { + "$id": "186", + "isReadOnly": false, + "realPath": [ + "endDate" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "187", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "188", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "189", + "fixed": false, + "raw": "endDate" + }, + "serializedName": "endDate", + "modelType": { + "$id": "190", + "$type": "PrimaryType", + "format": "date-time", + "knownPrimaryType": "dateTime", + "name": { + "$id": "191", + "fixed": false, + "raw": "DateTime" + }, + "deprecated": false + } + }, + { + "$id": "192", + "isReadOnly": false, + "realPath": [ + "responseGroup" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "193", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "194", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "195", + "fixed": false, + "raw": "responseGroup" + }, + "serializedName": "responseGroup", + "modelType": { + "$id": "196", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "197", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + }, + { + "$id": "198", + "isReadOnly": false, + "realPath": [ + "objectType" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "199", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "200", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "201", + "fixed": false, + "raw": "objectType" + }, + "serializedName": "objectType", + "modelType": { + "$id": "202", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "203", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + }, + { + "$id": "204", + "isReadOnly": false, + "realPath": [ + "objectTypes" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "205", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "206", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "207", + "fixed": false, + "raw": "objectTypes" + }, + "serializedName": "objectTypes", + "modelType": { + "$id": "208", + "$type": "SequenceType", + "elementType": { + "$id": "209", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "210", + "fixed": false, + "raw": "String" + }, + "deprecated": false + }, + "name": { + "$id": "211", + "fixed": false + }, + "deprecated": false + } + }, + { + "$id": "212", + "isReadOnly": false, + "realPath": [ + "objectIds" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "213", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "214", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "215", + "fixed": false, + "raw": "objectIds" + }, + "serializedName": "objectIds", + "modelType": { + "$id": "216", + "$type": "SequenceType", + "elementType": { + "$id": "217", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "218", + "fixed": false, + "raw": "String" + }, + "deprecated": false + }, + "name": { + "$id": "219", + "fixed": false + }, + "deprecated": false + } + }, + { + "$id": "220", + "isReadOnly": false, + "realPath": [ + "keyword" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "221", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "222", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "223", + "fixed": false, + "raw": "keyword" + }, + "serializedName": "keyword", + "modelType": { + "$id": "224", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "225", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + }, + { + "$id": "226", + "isReadOnly": false, + "realPath": [ + "searchPhrase" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "227", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "228", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "229", + "fixed": false, + "raw": "searchPhrase" + }, + "serializedName": "searchPhrase", + "modelType": { + "$id": "230", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "231", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + }, + { + "$id": "232", + "isReadOnly": false, + "realPath": [ + "languageCode" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "233", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "234", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "235", + "fixed": false, + "raw": "languageCode" + }, + "serializedName": "languageCode", + "modelType": { + "$id": "236", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "237", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + }, + { + "$id": "238", + "isReadOnly": false, + "realPath": [ + "sort" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "239", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "240", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "241", + "fixed": false, + "raw": "sort" + }, + "serializedName": "sort", + "modelType": { + "$id": "242", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "243", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + }, + { + "$id": "244", + "isReadOnly": true, + "realPath": [ + "sortInfos" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "245", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "246", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "247", + "fixed": false, + "raw": "sortInfos" + }, + "serializedName": "sortInfos", + "modelType": { + "$id": "248", + "$type": "SequenceType", + "elementType": { + "$ref": "65" + }, + "name": { + "$id": "249", + "fixed": false + }, + "deprecated": false + } + }, + { + "$id": "250", + "isReadOnly": false, + "realPath": [ + "skip" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "251", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "252", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "253", + "fixed": false, + "raw": "skip" + }, + "serializedName": "skip", + "modelType": { + "$id": "254", + "$type": "PrimaryType", + "format": "int32", + "knownPrimaryType": "int", + "name": { + "$id": "255", + "fixed": false, + "raw": "Int" + }, + "deprecated": false + } + }, + { + "$id": "256", + "isReadOnly": false, + "realPath": [ + "take" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "257", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "258", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "259", + "fixed": false, + "raw": "take" + }, + "serializedName": "take", + "modelType": { + "$id": "260", + "$type": "PrimaryType", + "format": "int32", + "knownPrimaryType": "int", + "name": { + "$id": "261", + "fixed": false, + "raw": "Int" + }, + "deprecated": false + } + } + ], + "serializedName": "CustomerOrderSearchCriteria", + "containsConstantProperties": false, + "name": { + "$id": "262", + "fixed": false, + "raw": "CustomerOrderSearchCriteria" + }, + "extensions": { + "x-ms-metadata": { + "apiVersions": [ + "v1" + ], + "filename": [ + "mem:///104?oai3.shaken.json" + ], + "name": "CustomerOrderSearchCriteria", + "originalLocations": [ + "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/schemas/CustomerOrderSearchCriteria" + ] + } + }, + "deprecated": false + }, + { + "$id": "263", + "$type": "CompositeType", + "properties": [ + { + "$id": "264", + "isReadOnly": false, + "realPath": [ + "productId" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "265", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "266", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "267", + "fixed": false, + "raw": "productId" + }, + "serializedName": "productId", + "modelType": { + "$id": "268", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "269", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + }, + { + "$id": "270", + "isReadOnly": false, + "realPath": [ + "itemIds" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "271", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "272", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "273", + "fixed": false, + "raw": "itemIds" + }, + "serializedName": "itemIds", + "modelType": { + "$id": "274", + "$type": "SequenceType", + "elementType": { + "$id": "275", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "276", + "fixed": false, + "raw": "String" + }, + "deprecated": false + }, + "name": { + "$id": "277", + "fixed": false + }, + "deprecated": false + } + }, + { + "$id": "278", + "isReadOnly": false, + "realPath": [ + "quantity" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "279", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "280", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "281", + "fixed": false, + "raw": "quantity" + }, + "serializedName": "quantity", + "modelType": { + "$id": "282", + "$type": "PrimaryType", + "format": "int32", + "knownPrimaryType": "int", + "name": { + "$id": "283", + "fixed": false, + "raw": "Int" + }, + "deprecated": false + } + }, + { + "$id": "284", + "isReadOnly": false, + "realPath": [ + "currency" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "285", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "286", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "287", + "fixed": false, + "raw": "currency" + }, + "serializedName": "currency", + "modelType": { + "$id": "288", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "289", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + }, + { + "$id": "290", + "isReadOnly": false, + "realPath": [ + "extendedPrice" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "291", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "292", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "293", + "fixed": false, + "raw": "extendedPrice" + }, + "serializedName": "extendedPrice", + "modelType": { + "$id": "294", + "$type": "PrimaryType", + "format": "double", + "knownPrimaryType": "double", + "name": { + "$id": "295", + "fixed": false, + "raw": "Double" + }, + "deprecated": false + } + }, + { + "$id": "296", + "isReadOnly": false, + "realPath": [ + "extendedPriceWithTax" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "297", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "298", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "299", + "fixed": false, + "raw": "extendedPriceWithTax" + }, + "serializedName": "extendedPriceWithTax", + "modelType": { + "$id": "300", + "$type": "PrimaryType", + "format": "double", + "knownPrimaryType": "double", + "name": { + "$id": "301", + "fixed": false, + "raw": "Double" + }, + "deprecated": false + } + }, + { + "$id": "302", + "isReadOnly": false, + "realPath": [ + "price" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "303", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "304", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "305", + "fixed": false, + "raw": "price" + }, + "serializedName": "price", + "modelType": { + "$id": "306", + "$type": "PrimaryType", + "format": "double", + "knownPrimaryType": "double", + "name": { + "$id": "307", + "fixed": false, + "raw": "Double" + }, + "deprecated": false + } + }, + { + "$id": "308", + "isReadOnly": false, + "realPath": [ + "priceWithTax" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "309", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "310", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "311", + "fixed": false, + "raw": "priceWithTax" + }, + "serializedName": "priceWithTax", + "modelType": { + "$id": "312", + "$type": "PrimaryType", + "format": "double", + "knownPrimaryType": "double", + "name": { + "$id": "313", + "fixed": false, + "raw": "Double" + }, + "deprecated": false + } + }, + { + "$id": "314", + "isReadOnly": false, + "realPath": [ + "placedPrice" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "315", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "316", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "317", + "fixed": false, + "raw": "placedPrice" + }, + "serializedName": "placedPrice", + "modelType": { + "$id": "318", + "$type": "PrimaryType", + "format": "double", + "knownPrimaryType": "double", + "name": { + "$id": "319", + "fixed": false, + "raw": "Double" + }, + "deprecated": false + } + }, + { + "$id": "320", + "isReadOnly": false, + "realPath": [ + "placedPriceWithTax" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "321", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "322", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "323", + "fixed": false, + "raw": "placedPriceWithTax" + }, + "serializedName": "placedPriceWithTax", + "modelType": { + "$id": "324", + "$type": "PrimaryType", + "format": "double", + "knownPrimaryType": "double", + "name": { + "$id": "325", + "fixed": false, + "raw": "Double" + }, + "deprecated": false + } + }, + { + "$id": "326", + "isReadOnly": false, + "realPath": [ + "taxTotal" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "327", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "328", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "329", + "fixed": false, + "raw": "taxTotal" + }, + "serializedName": "taxTotal", + "modelType": { + "$id": "330", + "$type": "PrimaryType", + "format": "double", + "knownPrimaryType": "double", + "name": { + "$id": "331", + "fixed": false, + "raw": "Double" + }, + "deprecated": false + } + }, + { + "$id": "332", + "isReadOnly": false, + "realPath": [ + "createdDate" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "333", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "334", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "335", + "fixed": false, + "raw": "createdDate" + }, + "serializedName": "createdDate", + "modelType": { + "$id": "336", + "$type": "PrimaryType", + "format": "date-time", + "knownPrimaryType": "dateTime", + "name": { + "$id": "337", + "fixed": false, + "raw": "DateTime" + }, + "deprecated": false + } + }, + { + "$id": "338", + "isReadOnly": false, + "realPath": [ + "modifiedDate" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "339", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "340", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "341", + "fixed": false, + "raw": "modifiedDate" + }, + "serializedName": "modifiedDate", + "modelType": { + "$id": "342", + "$type": "PrimaryType", + "format": "date-time", + "knownPrimaryType": "dateTime", + "name": { + "$id": "343", + "fixed": false, + "raw": "DateTime" + }, + "deprecated": false + } + }, + { + "$id": "344", + "isReadOnly": false, + "realPath": [ + "createdBy" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "345", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "346", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "347", + "fixed": false, + "raw": "createdBy" + }, + "serializedName": "createdBy", + "modelType": { + "$id": "348", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "349", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + }, + { + "$id": "350", + "isReadOnly": false, + "realPath": [ + "modifiedBy" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "351", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "352", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "353", + "fixed": false, + "raw": "modifiedBy" + }, + "serializedName": "modifiedBy", + "modelType": { + "$id": "354", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "355", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + }, + { + "$id": "356", + "isReadOnly": false, + "realPath": [ + "id" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "357", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "358", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "359", + "fixed": false, + "raw": "id" + }, + "serializedName": "id", + "modelType": { + "$id": "360", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "361", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + } + ], + "serializedName": "DemoOrderConfiguredGroup", + "containsConstantProperties": false, + "name": { + "$id": "362", + "fixed": false, + "raw": "DemoOrderConfiguredGroup" + }, + "extensions": { + "x-ms-metadata": { + "apiVersions": [ + "v1" + ], + "filename": [ + "mem:///104?oai3.shaken.json" + ], + "name": "DemoOrderConfiguredGroup", + "originalLocations": [ + "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/schemas/DemoOrderConfiguredGroup" + ] + } + }, + "deprecated": false + }, + { + "$id": "363", + "$type": "CompositeType", + "properties": [ + { + "$id": "364", + "isReadOnly": false, + "realPath": [ + "addressType" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "365", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "366", + "fixed": false + }, + "extensions": { + "x-ms-metadata": { + "apiVersions": [ + "v1" + ], + "filename": [ + "mem:///104?oai3.shaken.json" + ], + "name": "AddressType", + "originalLocations": [ + "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/schemas/AddressType" + ] + } + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "367", + "fixed": false, + "raw": "addressType" + }, + "serializedName": "addressType", + "modelType": { + "$id": "368", + "$type": "EnumType", + "values": [ + { + "$id": "369", + "name": "Billing", + "serializedName": "Billing" + }, + { + "$id": "370", + "name": "Shipping", + "serializedName": "Shipping" + }, + { + "$id": "371", + "name": "BillingAndShipping", + "serializedName": "BillingAndShipping" + }, + { + "$id": "372", + "name": "Pickup", + "serializedName": "Pickup" + } + ], + "oldModelAsString": false, + "modelAsString": true, + "underlyingType": { + "$id": "373", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "374", + "fixed": false, + "raw": "String" + }, + "deprecated": false + }, + "name": { + "$id": "375", + "fixed": false, + "raw": "" + }, + "deprecated": false + } + }, + { + "$id": "376", + "isReadOnly": false, + "realPath": [ + "key" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "377", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "378", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "379", + "fixed": false, + "raw": "key" + }, + "serializedName": "key", + "modelType": { + "$id": "380", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "381", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + }, + { + "$id": "382", + "isReadOnly": false, + "realPath": [ + "name" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "383", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "384", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "385", + "fixed": false, + "raw": "name" + }, + "serializedName": "name", + "modelType": { + "$id": "386", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "387", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + }, + { + "$id": "388", + "isReadOnly": false, + "realPath": [ + "organization" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "389", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "390", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "391", + "fixed": false, + "raw": "organization" + }, + "serializedName": "organization", + "modelType": { + "$id": "392", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "393", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + }, + { + "$id": "394", + "isReadOnly": false, + "realPath": [ + "countryCode" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "395", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "396", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "397", + "fixed": false, + "raw": "countryCode" + }, + "serializedName": "countryCode", + "modelType": { + "$id": "398", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "399", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + }, + { + "$id": "400", + "isReadOnly": false, + "realPath": [ + "countryName" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "401", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "402", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "403", + "fixed": false, + "raw": "countryName" + }, + "serializedName": "countryName", + "modelType": { + "$id": "404", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "405", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + }, + { + "$id": "406", + "isReadOnly": false, + "realPath": [ + "city" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "407", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "408", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "409", + "fixed": false, + "raw": "city" + }, + "serializedName": "city", + "modelType": { + "$id": "410", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "411", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + }, + { + "$id": "412", + "isReadOnly": false, + "realPath": [ + "postalCode" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "413", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "414", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "415", + "fixed": false, + "raw": "postalCode" + }, + "serializedName": "postalCode", + "modelType": { + "$id": "416", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "417", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + }, + { + "$id": "418", + "isReadOnly": false, + "realPath": [ + "zip" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "419", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "420", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "421", + "fixed": false, + "raw": "zip" + }, + "serializedName": "zip", + "modelType": { + "$id": "422", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "423", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + }, + { + "$id": "424", + "isReadOnly": false, + "realPath": [ + "line1" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "425", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "426", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "427", + "fixed": false, + "raw": "line1" + }, + "serializedName": "line1", + "modelType": { + "$id": "428", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "429", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + }, + { + "$id": "430", + "isReadOnly": false, + "realPath": [ + "line2" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "431", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "432", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "433", + "fixed": false, + "raw": "line2" + }, + "serializedName": "line2", + "modelType": { + "$id": "434", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "435", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + }, + { + "$id": "436", + "isReadOnly": false, + "realPath": [ + "regionId" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "437", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "438", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "439", + "fixed": false, + "raw": "regionId" + }, + "serializedName": "regionId", + "modelType": { + "$id": "440", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "441", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + }, + { + "$id": "442", + "isReadOnly": false, + "realPath": [ + "regionName" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "443", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "444", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "445", + "fixed": false, + "raw": "regionName" + }, + "serializedName": "regionName", + "modelType": { + "$id": "446", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "447", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + }, + { + "$id": "448", + "isReadOnly": false, + "realPath": [ + "firstName" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "449", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "450", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "451", + "fixed": false, + "raw": "firstName" + }, + "serializedName": "firstName", + "modelType": { + "$id": "452", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "453", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + }, + { + "$id": "454", + "isReadOnly": false, + "realPath": [ + "middleName" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "455", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "456", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "457", + "fixed": false, + "raw": "middleName" + }, + "serializedName": "middleName", + "modelType": { + "$id": "458", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "459", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + }, + { + "$id": "460", + "isReadOnly": false, + "realPath": [ + "lastName" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "461", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "462", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "463", + "fixed": false, + "raw": "lastName" + }, + "serializedName": "lastName", + "modelType": { + "$id": "464", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "465", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + }, + { + "$id": "466", + "isReadOnly": false, + "realPath": [ + "phone" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "467", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "468", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "469", + "fixed": false, + "raw": "phone" + }, + "serializedName": "phone", + "modelType": { + "$id": "470", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "471", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + }, + { + "$id": "472", + "isReadOnly": false, + "realPath": [ + "email" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "473", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "474", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "475", + "fixed": false, + "raw": "email" + }, + "serializedName": "email", + "modelType": { + "$id": "476", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "477", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + } + ], + "serializedName": "OrderAddress", + "containsConstantProperties": false, + "name": { + "$id": "478", + "fixed": false, + "raw": "OrderAddress" + }, + "extensions": { + "x-ms-metadata": { + "apiVersions": [ + "v1" + ], + "filename": [ + "mem:///104?oai3.shaken.json" + ], + "name": "OrderAddress", + "originalLocations": [ + "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/schemas/OrderAddress" + ] + } + }, + "deprecated": false + }, + { + "$id": "479", + "$type": "CompositeType", + "properties": [ + { + "$id": "480", + "isReadOnly": true, + "realPath": [ + "itHasValues" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "481", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "482", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "483", + "fixed": false, + "raw": "itHasValues" + }, + "serializedName": "itHasValues", + "modelType": { + "$id": "484", + "$type": "PrimaryType", + "knownPrimaryType": "boolean", + "name": { + "$id": "485", + "fixed": false, + "raw": "Boolean" + }, + "deprecated": false + } + }, + { + "$id": "486", + "isReadOnly": false, + "realPath": [ + "objectId" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "487", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "488", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "489", + "fixed": false, + "raw": "objectId" + }, + "serializedName": "objectId", + "modelType": { + "$id": "490", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "491", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + }, + { + "$id": "492", + "isReadOnly": false, + "realPath": [ + "objectType" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "493", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "494", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "495", + "fixed": false, + "raw": "objectType" + }, + "serializedName": "objectType", + "modelType": { + "$id": "496", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "497", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + }, + { + "$id": "498", + "isReadOnly": false, + "realPath": [ + "value" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "499", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "500", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "501", + "fixed": false, + "raw": "value" + }, + "serializedName": "value", + "modelType": { + "$id": "502", + "$type": "PrimaryType", + "knownPrimaryType": "object", + "name": { + "$id": "503", + "fixed": false, + "raw": "Object" + }, + "deprecated": false + } + }, + { + "$id": "504", + "isReadOnly": false, + "realPath": [ + "restartRequired" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "505", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "506", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "507", + "fixed": false, + "raw": "restartRequired" + }, + "serializedName": "restartRequired", + "modelType": { + "$id": "508", + "$type": "PrimaryType", + "knownPrimaryType": "boolean", + "name": { + "$id": "509", + "fixed": false, + "raw": "Boolean" + }, + "deprecated": false + } + }, + { + "$id": "510", + "isReadOnly": false, + "realPath": [ + "moduleId" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "511", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "512", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "513", + "fixed": false, + "raw": "moduleId" + }, + "serializedName": "moduleId", + "modelType": { + "$id": "514", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "515", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + }, + { + "$id": "516", + "isReadOnly": false, + "realPath": [ + "groupName" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "517", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "518", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "519", + "fixed": false, + "raw": "groupName" + }, + "serializedName": "groupName", + "modelType": { + "$id": "520", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "521", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + }, + { + "$id": "522", + "isReadOnly": false, + "realPath": [ + "name" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "523", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "524", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "525", + "fixed": false, + "raw": "name" + }, + "serializedName": "name", + "modelType": { + "$id": "526", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "527", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + }, + { + "$id": "528", + "isReadOnly": false, + "realPath": [ + "isHidden" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "529", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "530", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "531", + "fixed": false, + "raw": "isHidden" + }, + "serializedName": "isHidden", + "modelType": { + "$id": "532", + "$type": "PrimaryType", + "knownPrimaryType": "boolean", + "name": { + "$id": "533", + "fixed": false, + "raw": "Boolean" + }, + "deprecated": false + } + }, + { + "$id": "534", + "isReadOnly": false, + "realPath": [ + "valueType" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "535", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "536", + "fixed": false + }, + "extensions": { + "x-ms-metadata": { + "apiVersions": [ + "v1" + ], + "filename": [ + "mem:///104?oai3.shaken.json" + ], + "name": "SettingValueType", + "originalLocations": [ + "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/schemas/SettingValueType" + ] + } + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "537", + "fixed": false, + "raw": "valueType" + }, + "serializedName": "valueType", + "modelType": { + "$id": "538", + "$type": "EnumType", + "values": [ + { + "$id": "539", + "name": "ShortText", + "serializedName": "ShortText" + }, + { + "$id": "540", + "name": "LongText", + "serializedName": "LongText" + }, + { + "$id": "541", + "name": "Integer", + "serializedName": "Integer" + }, + { + "$id": "542", + "name": "Decimal", + "serializedName": "Decimal" + }, + { + "$id": "543", + "name": "DateTime", + "serializedName": "DateTime" + }, + { + "$id": "544", + "name": "Boolean", + "serializedName": "Boolean" + }, + { + "$id": "545", + "name": "SecureString", + "serializedName": "SecureString" + }, + { + "$id": "546", + "name": "Json", + "serializedName": "Json" + } + ], + "oldModelAsString": false, + "modelAsString": true, + "underlyingType": { + "$id": "547", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "548", + "fixed": false, + "raw": "String" + }, + "deprecated": false + }, + "name": { + "$id": "549", + "fixed": false, + "raw": "" + }, + "deprecated": false + } + }, + { + "$id": "550", + "isReadOnly": false, + "realPath": [ + "allowedValues" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "551", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "552", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "553", + "fixed": false, + "raw": "allowedValues" + }, + "serializedName": "allowedValues", + "modelType": { + "$id": "554", + "$type": "SequenceType", + "elementType": { + "$id": "555", + "$type": "PrimaryType", + "knownPrimaryType": "object", + "name": { + "$id": "556", + "fixed": false, + "raw": "Object" + }, + "deprecated": false + }, + "name": { + "$id": "557", + "fixed": false + }, + "deprecated": false + } + }, + { + "$id": "558", + "isReadOnly": false, + "realPath": [ + "defaultValue" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "559", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "560", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "561", + "fixed": false, + "raw": "defaultValue" + }, + "serializedName": "defaultValue", + "modelType": { + "$id": "562", + "$type": "PrimaryType", + "knownPrimaryType": "object", + "name": { + "$id": "563", + "fixed": false, + "raw": "Object" + }, + "deprecated": false + } + }, + { + "$id": "564", + "isReadOnly": false, + "realPath": [ + "isDictionary" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "565", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "566", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "567", + "fixed": false, + "raw": "isDictionary" + }, + "serializedName": "isDictionary", + "modelType": { + "$id": "568", + "$type": "PrimaryType", + "knownPrimaryType": "boolean", + "name": { + "$id": "569", + "fixed": false, + "raw": "Boolean" + }, + "deprecated": false + } + } + ], + "serializedName": "ObjectSettingEntry", + "containsConstantProperties": false, + "name": { + "$id": "570", + "fixed": false, + "raw": "ObjectSettingEntry" + }, + "extensions": { + "x-ms-metadata": { + "apiVersions": [ + "v1" + ], + "filename": [ + "mem:///104?oai3.shaken.json" + ], + "name": "ObjectSettingEntry", + "originalLocations": [ + "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/schemas/ObjectSettingEntry" + ] + } + }, + "deprecated": false + }, + { + "$id": "571", + "$type": "CompositeType", + "properties": [ + { + "$id": "572", + "isReadOnly": false, + "realPath": [ + "rate" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "573", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "574", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "575", + "fixed": false, + "raw": "rate" + }, + "serializedName": "rate", + "modelType": { + "$id": "576", + "$type": "PrimaryType", + "format": "double", + "knownPrimaryType": "double", + "name": { + "$id": "577", + "fixed": false, + "raw": "Double" + }, + "deprecated": false + } + }, + { + "$id": "578", + "isReadOnly": false, + "realPath": [ + "amount" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "579", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "580", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "581", + "fixed": false, + "raw": "amount" + }, + "serializedName": "amount", + "modelType": { + "$id": "582", + "$type": "PrimaryType", + "format": "double", + "knownPrimaryType": "double", + "name": { + "$id": "583", + "fixed": false, + "raw": "Double" + }, + "deprecated": false + } + }, + { + "$id": "584", + "isReadOnly": false, + "realPath": [ + "name" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "585", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "586", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "587", + "fixed": false, + "raw": "name" + }, + "serializedName": "name", + "modelType": { + "$id": "588", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "589", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + } + ], + "serializedName": "TaxDetail", + "containsConstantProperties": false, + "name": { + "$id": "590", + "fixed": false, + "raw": "TaxDetail" + }, + "extensions": { + "x-ms-metadata": { + "apiVersions": [ + "v1" + ], + "filename": [ + "mem:///104?oai3.shaken.json" + ], + "name": "TaxDetail", + "originalLocations": [ + "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/schemas/TaxDetail" + ] + } + }, + "deprecated": false + }, + { + "$id": "591", + "$type": "CompositeType", + "properties": [ + { + "$id": "592", + "isReadOnly": false, + "realPath": [ + "code" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "593", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "594", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "595", + "fixed": false, + "raw": "code" + }, + "serializedName": "code", + "modelType": { + "$id": "596", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "597", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + }, + { + "$id": "598", + "isReadOnly": true, + "realPath": [ + "name" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "599", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "600", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "601", + "fixed": false, + "raw": "name" + }, + "serializedName": "name", + "modelType": { + "$id": "602", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "603", + "fixed": false, + "raw": "String" + }, + "deprecationMessage": "This type is deprecated. Please do not use it any longer.", + "deprecated": true + } + }, + { + "$id": "604", + "isReadOnly": false, + "realPath": [ + "logoUrl" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "605", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "606", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "607", + "fixed": false, + "raw": "logoUrl" + }, + "serializedName": "logoUrl", + "modelType": { + "$id": "608", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "609", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + }, + { + "$id": "610", + "isReadOnly": false, + "realPath": [ + "isActive" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "611", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "612", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "613", + "fixed": false, + "raw": "isActive" + }, + "serializedName": "isActive", + "modelType": { + "$id": "614", + "$type": "PrimaryType", + "knownPrimaryType": "boolean", + "name": { + "$id": "615", + "fixed": false, + "raw": "Boolean" + }, + "deprecated": false + } + }, + { + "$id": "616", + "isReadOnly": false, + "realPath": [ + "priority" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "617", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "618", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "619", + "fixed": false, + "raw": "priority" + }, + "serializedName": "priority", + "modelType": { + "$id": "620", + "$type": "PrimaryType", + "format": "int32", + "knownPrimaryType": "int", + "name": { + "$id": "621", + "fixed": false, + "raw": "Int" + }, + "deprecated": false + } + }, + { + "$id": "622", + "isReadOnly": false, + "realPath": [ + "isAvailableForPartial" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "623", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "624", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "625", + "fixed": false, + "raw": "isAvailableForPartial" + }, + "serializedName": "isAvailableForPartial", + "modelType": { + "$id": "626", + "$type": "PrimaryType", + "knownPrimaryType": "boolean", + "name": { + "$id": "627", + "fixed": false, + "raw": "Boolean" + }, + "deprecated": false + } + }, + { + "$id": "628", + "isReadOnly": false, + "realPath": [ + "currency" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "629", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "630", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "631", + "fixed": false, + "raw": "currency" + }, + "serializedName": "currency", + "modelType": { + "$id": "632", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "633", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + }, + { + "$id": "634", + "isReadOnly": false, + "realPath": [ + "price" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "635", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "636", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "637", + "fixed": false, + "raw": "price" + }, + "serializedName": "price", + "modelType": { + "$id": "638", + "$type": "PrimaryType", + "format": "double", + "knownPrimaryType": "double", + "name": { + "$id": "639", + "fixed": false, + "raw": "Double" + }, + "deprecated": false + } + }, + { + "$id": "640", + "isReadOnly": true, + "realPath": [ + "priceWithTax" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "641", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "642", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "643", + "fixed": false, + "raw": "priceWithTax" + }, + "serializedName": "priceWithTax", + "modelType": { + "$id": "644", + "$type": "PrimaryType", + "format": "double", + "knownPrimaryType": "double", + "name": { + "$id": "645", + "fixed": false, + "raw": "Double" + }, + "deprecated": false + } + }, + { + "$id": "646", + "isReadOnly": true, + "realPath": [ + "total" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "647", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "648", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "649", + "fixed": false, + "raw": "total" + }, + "serializedName": "total", + "modelType": { + "$id": "650", + "$type": "PrimaryType", + "format": "double", + "knownPrimaryType": "double", + "name": { + "$id": "651", + "fixed": false, + "raw": "Double" + }, + "deprecated": false + } + }, + { + "$id": "652", + "isReadOnly": true, + "realPath": [ + "totalWithTax" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "653", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "654", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "655", + "fixed": false, + "raw": "totalWithTax" + }, + "serializedName": "totalWithTax", + "modelType": { + "$id": "656", + "$type": "PrimaryType", + "format": "double", + "knownPrimaryType": "double", + "name": { + "$id": "657", + "fixed": false, + "raw": "Double" + }, + "deprecated": false + } + }, + { + "$id": "658", + "isReadOnly": false, + "realPath": [ + "discountAmount" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "659", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "660", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "661", + "fixed": false, + "raw": "discountAmount" + }, + "serializedName": "discountAmount", + "modelType": { + "$id": "662", + "$type": "PrimaryType", + "format": "double", + "knownPrimaryType": "double", + "name": { + "$id": "663", + "fixed": false, + "raw": "Double" + }, + "deprecated": false + } + }, + { + "$id": "664", + "isReadOnly": true, + "realPath": [ + "discountAmountWithTax" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "665", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "666", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "667", + "fixed": false, + "raw": "discountAmountWithTax" + }, + "serializedName": "discountAmountWithTax", + "modelType": { + "$id": "668", + "$type": "PrimaryType", + "format": "double", + "knownPrimaryType": "double", + "name": { + "$id": "669", + "fixed": false, + "raw": "Double" + }, + "deprecated": false + } + }, + { + "$id": "670", + "isReadOnly": false, + "realPath": [ + "storeId" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "671", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "672", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "673", + "fixed": false, + "raw": "storeId" + }, + "serializedName": "storeId", + "modelType": { + "$id": "674", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "675", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + }, + { + "$id": "676", + "isReadOnly": true, + "realPath": [ + "typeName" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "677", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "678", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "679", + "fixed": false, + "raw": "typeName" + }, + "serializedName": "typeName", + "modelType": { + "$id": "680", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "681", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + }, + { + "$id": "682", + "isReadOnly": false, + "realPath": [ + "settings" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "683", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "684", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "685", + "fixed": false, + "raw": "settings" + }, + "serializedName": "settings", + "modelType": { + "$id": "686", + "$type": "SequenceType", + "elementType": { + "$ref": "479" + }, + "name": { + "$id": "687", + "fixed": false + }, + "deprecated": false + } + }, + { + "$id": "688", + "isReadOnly": false, + "realPath": [ + "taxType" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "689", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "690", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "691", + "fixed": false, + "raw": "taxType" + }, + "serializedName": "taxType", + "modelType": { + "$id": "692", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "693", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + }, + { + "$id": "694", + "isReadOnly": true, + "realPath": [ + "taxTotal" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "695", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "696", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "697", + "fixed": false, + "raw": "taxTotal" + }, + "serializedName": "taxTotal", + "modelType": { + "$id": "698", + "$type": "PrimaryType", + "format": "double", + "knownPrimaryType": "double", + "name": { + "$id": "699", + "fixed": false, + "raw": "Double" + }, + "deprecated": false + } + }, + { + "$id": "700", + "isReadOnly": false, + "realPath": [ + "taxPercentRate" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "701", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "702", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "703", + "fixed": false, + "raw": "taxPercentRate" + }, + "serializedName": "taxPercentRate", + "modelType": { + "$id": "704", + "$type": "PrimaryType", + "format": "double", + "knownPrimaryType": "double", + "name": { + "$id": "705", + "fixed": false, + "raw": "Double" + }, + "deprecated": false + } + }, + { + "$id": "706", + "isReadOnly": false, + "realPath": [ + "taxDetails" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "707", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "708", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "709", + "fixed": false, + "raw": "taxDetails" + }, + "serializedName": "taxDetails", + "modelType": { + "$id": "710", + "$type": "SequenceType", + "elementType": { + "$ref": "571" + }, + "name": { + "$id": "711", + "fixed": false + }, + "deprecated": false + } + }, + { + "$id": "712", + "isReadOnly": false, + "realPath": [ + "paymentMethodType" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "713", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "714", + "fixed": false + }, + "extensions": { + "x-ms-metadata": { + "apiVersions": [ + "v1" + ], + "filename": [ + "mem:///104?oai3.shaken.json" + ], + "name": "PaymentMethodType", + "originalLocations": [ + "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/schemas/PaymentMethodType" + ] + } + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "715", + "fixed": false, + "raw": "paymentMethodType" + }, + "serializedName": "paymentMethodType", + "modelType": { + "$id": "716", + "$type": "EnumType", + "values": [ + { + "$id": "717", + "name": "Unknown", + "serializedName": "Unknown" + }, + { + "$id": "718", + "name": "Standard", + "serializedName": "Standard" + }, + { + "$id": "719", + "name": "Redirection", + "serializedName": "Redirection" + }, + { + "$id": "720", + "name": "PreparedForm", + "serializedName": "PreparedForm" + } + ], + "oldModelAsString": false, + "modelAsString": true, + "underlyingType": { + "$id": "721", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "722", + "fixed": false, + "raw": "String" + }, + "deprecated": false + }, + "name": { + "$id": "723", + "fixed": false, + "raw": "" + }, + "deprecated": false + } + }, + { + "$id": "724", + "isReadOnly": false, + "realPath": [ + "paymentMethodGroupType" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "725", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "726", + "fixed": false + }, + "extensions": { + "x-ms-metadata": { + "apiVersions": [ + "v1" + ], + "filename": [ + "mem:///104?oai3.shaken.json" + ], + "name": "PaymentMethodGroupType", + "originalLocations": [ + "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/schemas/PaymentMethodGroupType" + ] + } + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "727", + "fixed": false, + "raw": "paymentMethodGroupType" + }, + "serializedName": "paymentMethodGroupType", + "modelType": { + "$id": "728", + "$type": "EnumType", + "values": [ + { + "$id": "729", + "name": "Paypal", + "serializedName": "Paypal" + }, + { + "$id": "730", + "name": "BankCard", + "serializedName": "BankCard" + }, + { + "$id": "731", + "name": "Alternative", + "serializedName": "Alternative" + }, + { + "$id": "732", + "name": "Manual", + "serializedName": "Manual" + } + ], + "oldModelAsString": false, + "modelAsString": true, + "underlyingType": { + "$id": "733", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "734", + "fixed": false, + "raw": "String" + }, + "deprecated": false + }, + "name": { + "$id": "735", + "fixed": false, + "raw": "" + }, + "deprecated": false + } + }, + { + "$id": "736", + "isReadOnly": false, + "realPath": [ + "id" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "737", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "738", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "739", + "fixed": false, + "raw": "id" + }, + "serializedName": "id", + "modelType": { + "$id": "740", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "741", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + } + ], + "serializedName": "PaymentMethod", + "containsConstantProperties": false, + "name": { + "$id": "742", + "fixed": false, + "raw": "PaymentMethod" + }, + "extensions": { + "x-ms-metadata": { + "apiVersions": [ + "v1" + ], + "filename": [ + "mem:///104?oai3.shaken.json" + ], + "name": "PaymentMethod", + "originalLocations": [ + "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/schemas/PaymentMethod" + ] + } + }, + "deprecated": false + }, + { + "$id": "743", + "$type": "CompositeType", + "properties": [ + { + "$id": "744", + "isReadOnly": false, + "realPath": [ + "redirectUrl" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "745", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "746", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "747", + "fixed": false, + "raw": "redirectUrl" + }, + "serializedName": "redirectUrl", + "modelType": { + "$id": "748", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "749", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + }, + { + "$id": "750", + "isReadOnly": false, + "realPath": [ + "htmlForm" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "751", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "752", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "753", + "fixed": false, + "raw": "htmlForm" + }, + "serializedName": "htmlForm", + "modelType": { + "$id": "754", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "755", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + }, + { + "$id": "756", + "isReadOnly": false, + "realPath": [ + "outerId" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "757", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "758", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "759", + "fixed": false, + "raw": "outerId" + }, + "serializedName": "outerId", + "modelType": { + "$id": "760", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "761", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + }, + { + "$id": "762", + "isReadOnly": false, + "realPath": [ + "paymentMethod" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "763", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "764", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "765", + "fixed": false, + "raw": "paymentMethod" + }, + "serializedName": "paymentMethod", + "modelType": { + "$ref": "591" + } + }, + { + "$id": "766", + "isReadOnly": false, + "realPath": [ + "isSuccess" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "767", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "768", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "769", + "fixed": false, + "raw": "isSuccess" + }, + "serializedName": "isSuccess", + "modelType": { + "$id": "770", + "$type": "PrimaryType", + "knownPrimaryType": "boolean", + "name": { + "$id": "771", + "fixed": false, + "raw": "Boolean" + }, + "deprecated": false + } + }, + { + "$id": "772", + "isReadOnly": false, + "realPath": [ + "errorMessage" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "773", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "774", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "775", + "fixed": false, + "raw": "errorMessage" + }, + "serializedName": "errorMessage", + "modelType": { + "$id": "776", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "777", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + }, + { + "$id": "778", + "isReadOnly": false, + "realPath": [ + "newPaymentStatus" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "779", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "780", + "fixed": false + }, + "extensions": { + "x-ms-metadata": { + "apiVersions": [ + "v1" + ], + "filename": [ + "mem:///104?oai3.shaken.json" + ], + "name": "PaymentStatus", + "originalLocations": [ + "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/schemas/PaymentStatus" + ] + } + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "781", + "fixed": false, + "raw": "newPaymentStatus" + }, + "serializedName": "newPaymentStatus", + "modelType": { + "$id": "782", + "$type": "EnumType", + "values": [ + { + "$id": "783", + "name": "New", + "serializedName": "New" + }, + { + "$id": "784", + "name": "Pending", + "serializedName": "Pending" + }, + { + "$id": "785", + "name": "Authorized", + "serializedName": "Authorized" + }, + { + "$id": "786", + "name": "Paid", + "serializedName": "Paid" + }, + { + "$id": "787", + "name": "PartiallyRefunded", + "serializedName": "PartiallyRefunded" + }, + { + "$id": "788", + "name": "Refunded", + "serializedName": "Refunded" + }, + { + "$id": "789", + "name": "Voided", + "serializedName": "Voided" + }, + { + "$id": "790", + "name": "Custom", + "serializedName": "Custom" + }, + { + "$id": "791", + "name": "Cancelled", + "serializedName": "Cancelled" + }, + { + "$id": "792", + "name": "Declined", + "serializedName": "Declined" + }, + { + "$id": "793", + "name": "Error", + "serializedName": "Error" + } + ], + "oldModelAsString": false, + "modelAsString": true, + "underlyingType": { + "$id": "794", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "795", + "fixed": false, + "raw": "String" + }, + "deprecated": false + }, + "name": { + "$id": "796", + "fixed": false, + "raw": "" + }, + "deprecated": false + } + } + ], + "serializedName": "ProcessPaymentRequestResult", + "containsConstantProperties": false, + "name": { + "$id": "797", + "fixed": false, + "raw": "ProcessPaymentRequestResult" + }, + "extensions": { + "x-ms-metadata": { + "apiVersions": [ + "v1" + ], + "filename": [ + "mem:///104?oai3.shaken.json" + ], + "name": "ProcessPaymentRequestResult", + "originalLocations": [ + "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/schemas/ProcessPaymentRequestResult" + ] + } + }, + "deprecated": false + }, + { + "$id": "798", + "$type": "CompositeType", + "properties": [ + { + "$id": "799", + "isReadOnly": false, + "realPath": [ + "promotionId" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "800", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "801", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "802", + "fixed": false, + "raw": "promotionId" + }, + "serializedName": "promotionId", + "modelType": { + "$id": "803", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "804", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + }, + { + "$id": "805", + "isReadOnly": false, + "realPath": [ + "currency" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "806", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "807", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "808", + "fixed": false, + "raw": "currency" + }, + "serializedName": "currency", + "modelType": { + "$id": "809", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "810", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + }, + { + "$id": "811", + "isReadOnly": false, + "realPath": [ + "discountAmount" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "812", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "813", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "814", + "fixed": false, + "raw": "discountAmount" + }, + "serializedName": "discountAmount", + "modelType": { + "$id": "815", + "$type": "PrimaryType", + "format": "double", + "knownPrimaryType": "double", + "name": { + "$id": "816", + "fixed": false, + "raw": "Double" + }, + "deprecated": false + } + }, + { + "$id": "817", + "isReadOnly": false, + "realPath": [ + "discountAmountWithTax" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "818", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "819", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "820", + "fixed": false, + "raw": "discountAmountWithTax" + }, + "serializedName": "discountAmountWithTax", + "modelType": { + "$id": "821", + "$type": "PrimaryType", + "format": "double", + "knownPrimaryType": "double", + "name": { + "$id": "822", + "fixed": false, + "raw": "Double" + }, + "deprecated": false + } + }, + { + "$id": "823", + "isReadOnly": false, + "realPath": [ + "coupon" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "824", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "825", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "826", + "fixed": false, + "raw": "coupon" + }, + "serializedName": "coupon", + "modelType": { + "$id": "827", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "828", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + }, + { + "$id": "829", + "isReadOnly": false, + "realPath": [ + "description" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "830", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "831", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "832", + "fixed": false, + "raw": "description" + }, + "serializedName": "description", + "modelType": { + "$id": "833", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "834", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + }, + { + "$id": "835", + "isReadOnly": false, + "realPath": [ + "id" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "836", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "837", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "838", + "fixed": false, + "raw": "id" + }, + "serializedName": "id", + "modelType": { + "$id": "839", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "840", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + } + ], + "serializedName": "Discount", + "containsConstantProperties": false, + "name": { + "$id": "841", + "fixed": false, + "raw": "Discount" + }, + "extensions": { + "x-ms-metadata": { + "apiVersions": [ + "v1" + ], + "filename": [ + "mem:///104?oai3.shaken.json" + ], + "name": "Discount", + "originalLocations": [ + "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/schemas/Discount" + ] + } + }, + "deprecated": false + }, + { + "$id": "842", + "$type": "CompositeType", + "properties": [ + { + "$id": "843", + "isReadOnly": false, + "realPath": [ + "amount" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "844", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "845", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "846", + "fixed": false, + "raw": "amount" + }, + "serializedName": "amount", + "modelType": { + "$id": "847", + "$type": "PrimaryType", + "format": "double", + "knownPrimaryType": "double", + "name": { + "$id": "848", + "fixed": false, + "raw": "Double" + }, + "deprecated": false + } + }, + { + "$id": "849", + "isReadOnly": false, + "realPath": [ + "currencyCode" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "850", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "851", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "852", + "fixed": false, + "raw": "currencyCode" + }, + "serializedName": "currencyCode", + "modelType": { + "$id": "853", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "854", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + }, + { + "$id": "855", + "isReadOnly": false, + "realPath": [ + "isProcessed" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "856", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "857", + "fixed": false, + "raw": "Flag represent that current transaction is processed" + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "858", + "fixed": false, + "raw": "isProcessed" + }, + "serializedName": "isProcessed", + "modelType": { + "$id": "859", + "$type": "PrimaryType", + "knownPrimaryType": "boolean", + "name": { + "$id": "860", + "fixed": false, + "raw": "Boolean" + }, + "deprecated": false + } + }, + { + "$id": "861", + "isReadOnly": false, + "realPath": [ + "processedDate" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "862", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "863", + "fixed": false, + "raw": "Date when this transaction was handled" + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "864", + "fixed": false, + "raw": "processedDate" + }, + "serializedName": "processedDate", + "modelType": { + "$id": "865", + "$type": "PrimaryType", + "format": "date-time", + "knownPrimaryType": "dateTime", + "name": { + "$id": "866", + "fixed": false, + "raw": "DateTime" + }, + "deprecated": false + } + }, + { + "$id": "867", + "isReadOnly": false, + "realPath": [ + "processError" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "868", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "869", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "870", + "fixed": false, + "raw": "processError" + }, + "serializedName": "processError", + "modelType": { + "$id": "871", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "872", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + }, + { + "$id": "873", + "isReadOnly": false, + "realPath": [ + "processAttemptCount" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "874", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "875", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "876", + "fixed": false, + "raw": "processAttemptCount" + }, + "serializedName": "processAttemptCount", + "modelType": { + "$id": "877", + "$type": "PrimaryType", + "format": "int32", + "knownPrimaryType": "int", + "name": { + "$id": "878", + "fixed": false, + "raw": "Int" + }, + "deprecated": false + } + }, + { + "$id": "879", + "isReadOnly": false, + "realPath": [ + "requestData" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "880", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "881", + "fixed": false, + "raw": "Raw request data" + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "882", + "fixed": false, + "raw": "requestData" + }, + "serializedName": "requestData", + "modelType": { + "$id": "883", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "884", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + }, + { + "$id": "885", + "isReadOnly": false, + "realPath": [ + "responseData" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "886", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "887", + "fixed": false, + "raw": "Raw response data" + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "888", + "fixed": false, + "raw": "responseData" + }, + "serializedName": "responseData", + "modelType": { + "$id": "889", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "890", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + }, + { + "$id": "891", + "isReadOnly": false, + "realPath": [ + "responseCode" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "892", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "893", + "fixed": false, + "raw": "Gateway or VC response status code" + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "894", + "fixed": false, + "raw": "responseCode" + }, + "serializedName": "responseCode", + "modelType": { + "$id": "895", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "896", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + }, + { + "$id": "897", + "isReadOnly": false, + "realPath": [ + "gatewayIpAddress" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "898", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "899", + "fixed": false, + "raw": "Gateway IP address" + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "900", + "fixed": false, + "raw": "gatewayIpAddress" + }, + "serializedName": "gatewayIpAddress", + "modelType": { + "$id": "901", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "902", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + }, + { + "$id": "903", + "isReadOnly": false, + "realPath": [ + "type" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "904", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "905", + "fixed": false, + "raw": "The type of payment interaction.The payment can be Capture or CheckReceived. \r\nThe value also includes customer payment interactions such as Website, Call, Store, or Unknown." + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "906", + "fixed": false, + "raw": "type" + }, + "serializedName": "type", + "modelType": { + "$id": "907", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "908", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + }, + { + "$id": "909", + "isReadOnly": false, + "realPath": [ + "status" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "910", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "911", + "fixed": false, + "raw": "\"Active\", \"Expired\", and \"Inactive\" or other" + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "912", + "fixed": false, + "raw": "status" + }, + "serializedName": "status", + "modelType": { + "$id": "913", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "914", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + }, + { + "$id": "915", + "isReadOnly": false, + "realPath": [ + "note" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "916", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "917", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "918", + "fixed": false, + "raw": "note" + }, + "serializedName": "note", + "modelType": { + "$id": "919", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "920", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + }, + { + "$id": "921", + "isReadOnly": false, + "realPath": [ + "createdDate" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "922", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "923", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "924", + "fixed": false, + "raw": "createdDate" + }, + "serializedName": "createdDate", + "modelType": { + "$id": "925", + "$type": "PrimaryType", + "format": "date-time", + "knownPrimaryType": "dateTime", + "name": { + "$id": "926", + "fixed": false, + "raw": "DateTime" + }, + "deprecated": false + } + }, + { + "$id": "927", + "isReadOnly": false, + "realPath": [ + "modifiedDate" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "928", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "929", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "930", + "fixed": false, + "raw": "modifiedDate" + }, + "serializedName": "modifiedDate", + "modelType": { + "$id": "931", + "$type": "PrimaryType", + "format": "date-time", + "knownPrimaryType": "dateTime", + "name": { + "$id": "932", + "fixed": false, + "raw": "DateTime" + }, + "deprecated": false + } + }, + { + "$id": "933", + "isReadOnly": false, + "realPath": [ + "createdBy" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "934", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "935", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "936", + "fixed": false, + "raw": "createdBy" + }, + "serializedName": "createdBy", + "modelType": { + "$id": "937", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "938", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + }, + { + "$id": "939", + "isReadOnly": false, + "realPath": [ + "modifiedBy" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "940", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "941", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "942", + "fixed": false, + "raw": "modifiedBy" + }, + "serializedName": "modifiedBy", + "modelType": { + "$id": "943", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "944", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + }, + { + "$id": "945", + "isReadOnly": false, + "realPath": [ + "id" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "946", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "947", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "948", + "fixed": false, + "raw": "id" + }, + "serializedName": "id", + "modelType": { + "$id": "949", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "950", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + } + ], + "serializedName": "PaymentGatewayTransaction", + "containsConstantProperties": false, + "name": { + "$id": "951", + "fixed": false, + "raw": "PaymentGatewayTransaction" + }, + "extensions": { + "x-ms-metadata": { + "apiVersions": [ + "v1" + ], + "filename": [ + "mem:///104?oai3.shaken.json" + ], + "name": "PaymentGatewayTransaction", + "originalLocations": [ + "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/schemas/PaymentGatewayTransaction" + ] + } + }, + "deprecated": false + }, + { + "$id": "952", + "$type": "CompositeType", + "properties": [ + { + "$id": "953", + "isReadOnly": false, + "realPath": [ + "operationType" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "954", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "955", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "956", + "fixed": false, + "raw": "operationType" + }, + "serializedName": "operationType", + "modelType": { + "$id": "957", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "958", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + }, + { + "$id": "959", + "isReadOnly": false, + "realPath": [ + "number" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "960", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "961", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "962", + "fixed": false, + "raw": "number" + }, + "serializedName": "number", + "modelType": { + "$id": "963", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "964", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + }, + { + "$id": "965", + "isReadOnly": false, + "realPath": [ + "isApproved" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "966", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "967", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "968", + "fixed": false, + "raw": "isApproved" + }, + "serializedName": "isApproved", + "modelType": { + "$id": "969", + "$type": "PrimaryType", + "knownPrimaryType": "boolean", + "name": { + "$id": "970", + "fixed": false, + "raw": "Boolean" + }, + "deprecated": false + } + }, + { + "$id": "971", + "isReadOnly": false, + "realPath": [ + "status" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "972", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "973", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "974", + "fixed": false, + "raw": "status" + }, + "serializedName": "status", + "modelType": { + "$id": "975", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "976", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + }, + { + "$id": "977", + "isReadOnly": false, + "realPath": [ + "comment" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "978", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "979", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "980", + "fixed": false, + "raw": "comment" + }, + "serializedName": "comment", + "modelType": { + "$id": "981", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "982", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + }, + { + "$id": "983", + "isReadOnly": false, + "realPath": [ + "currency" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "984", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "985", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "986", + "fixed": false, + "raw": "currency" + }, + "serializedName": "currency", + "modelType": { + "$id": "987", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "988", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + }, + { + "$id": "989", + "isReadOnly": false, + "realPath": [ + "parentOperationId" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "990", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "991", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "992", + "fixed": false, + "raw": "parentOperationId" + }, + "serializedName": "parentOperationId", + "modelType": { + "$id": "993", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "994", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + }, + { + "$id": "995", + "isReadOnly": false, + "realPath": [ + "childrenOperations" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "996", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "997", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "998", + "fixed": false, + "raw": "childrenOperations" + }, + "serializedName": "childrenOperations", + "modelType": { + "$id": "999", + "$type": "SequenceType", + "elementType": { + "$ref": "952" + }, + "name": { + "$id": "1000", + "fixed": false + }, + "deprecated": false + } + }, + { + "$id": "1001", + "isReadOnly": false, + "realPath": [ + "id" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "1002", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "1003", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "1004", + "fixed": false, + "raw": "id" + }, + "serializedName": "id", + "modelType": { + "$id": "1005", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "1006", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + } + ], + "serializedName": "IOperation", + "containsConstantProperties": false, + "name": { + "$id": "1007", + "fixed": false, + "raw": "IOperation" + }, + "extensions": { + "x-ms-metadata": { + "apiVersions": [ + "v1" + ], + "filename": [ + "mem:///104?oai3.shaken.json" + ], + "name": "IOperation", + "originalLocations": [ + "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/schemas/IOperation" + ] + } + }, + "deprecated": false + }, + { + "$id": "1008", + "$type": "CompositeType", + "properties": [ + { + "$id": "1009", + "isReadOnly": false, + "realPath": [ + "objectType" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "1010", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "1011", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "1012", + "fixed": false, + "raw": "objectType" + }, + "serializedName": "objectType", + "modelType": { + "$id": "1013", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "1014", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + }, + { + "$id": "1015", + "isReadOnly": false, + "realPath": [ + "objectId" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "1016", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "1017", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "1018", + "fixed": false, + "raw": "objectId" + }, + "serializedName": "objectId", + "modelType": { + "$id": "1019", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "1020", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + }, + { + "$id": "1021", + "isReadOnly": false, + "realPath": [ + "locale" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "1022", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "1023", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "1024", + "fixed": false, + "raw": "locale" + }, + "serializedName": "locale", + "modelType": { + "$id": "1025", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "1026", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + }, + { + "$id": "1027", + "isReadOnly": false, + "realPath": [ + "value" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "1028", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "1029", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "1030", + "fixed": false, + "raw": "value" + }, + "serializedName": "value", + "modelType": { + "$id": "1031", + "$type": "PrimaryType", + "knownPrimaryType": "object", + "name": { + "$id": "1032", + "fixed": false, + "raw": "Object" + }, + "deprecated": false + } + }, + { + "$id": "1033", + "isReadOnly": false, + "realPath": [ + "valueId" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "1034", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "1035", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "1036", + "fixed": false, + "raw": "valueId" + }, + "serializedName": "valueId", + "modelType": { + "$id": "1037", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "1038", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + }, + { + "$id": "1039", + "isReadOnly": false, + "realPath": [ + "valueType" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "1040", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "1041", + "fixed": false + }, + "extensions": { + "x-ms-metadata": { + "apiVersions": [ + "v1" + ], + "filename": [ + "mem:///104?oai3.shaken.json" + ], + "name": "DynamicPropertyValueType", + "originalLocations": [ + "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/schemas/DynamicPropertyValueType" + ] + } + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "1042", + "fixed": false, + "raw": "valueType" + }, + "serializedName": "valueType", + "modelType": { + "$id": "1043", + "$type": "EnumType", + "values": [ + { + "$id": "1044", + "name": "Undefined", + "serializedName": "Undefined" + }, + { + "$id": "1045", + "name": "ShortText", + "serializedName": "ShortText" + }, + { + "$id": "1046", + "name": "LongText", + "serializedName": "LongText" + }, + { + "$id": "1047", + "name": "Integer", + "serializedName": "Integer" + }, + { + "$id": "1048", + "name": "Decimal", + "serializedName": "Decimal" + }, + { + "$id": "1049", + "name": "DateTime", + "serializedName": "DateTime" + }, + { + "$id": "1050", + "name": "Boolean", + "serializedName": "Boolean" + }, + { + "$id": "1051", + "name": "Html", + "serializedName": "Html" + }, + { + "$id": "1052", + "name": "Image", + "serializedName": "Image" + } + ], + "oldModelAsString": false, + "modelAsString": true, + "underlyingType": { + "$id": "1053", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "1054", + "fixed": false, + "raw": "String" + }, + "deprecated": false + }, + "name": { + "$id": "1055", + "fixed": false, + "raw": "" + }, + "deprecated": false + } + }, + { + "$id": "1056", + "isReadOnly": false, + "realPath": [ + "propertyId" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "1057", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "1058", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "1059", + "fixed": false, + "raw": "propertyId" + }, + "serializedName": "propertyId", + "modelType": { + "$id": "1060", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "1061", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + }, + { + "$id": "1062", + "isReadOnly": false, + "realPath": [ + "propertyName" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "1063", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "1064", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "1065", + "fixed": false, + "raw": "propertyName" + }, + "serializedName": "propertyName", + "modelType": { + "$id": "1066", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "1067", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + } + ], + "serializedName": "DynamicPropertyObjectValue", + "containsConstantProperties": false, + "name": { + "$id": "1068", + "fixed": false, + "raw": "DynamicPropertyObjectValue" + }, + "extensions": { + "x-ms-metadata": { + "apiVersions": [ + "v1" + ], + "filename": [ + "mem:///104?oai3.shaken.json" + ], + "name": "DynamicPropertyObjectValue", + "originalLocations": [ + "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/schemas/DynamicPropertyObjectValue" + ] + } + }, + "deprecated": false + }, + { + "$id": "1069", + "$type": "CompositeType", + "properties": [ + { + "$id": "1070", + "isReadOnly": false, + "realPath": [ + "locale" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "1071", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "1072", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "1073", + "fixed": false, + "raw": "locale" + }, + "serializedName": "locale", + "modelType": { + "$id": "1074", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "1075", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + }, + { + "$id": "1076", + "isReadOnly": false, + "realPath": [ + "name" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "1077", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "1078", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "1079", + "fixed": false, + "raw": "name" + }, + "serializedName": "name", + "modelType": { + "$id": "1080", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "1081", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + } + ], + "serializedName": "DynamicPropertyName", + "containsConstantProperties": false, + "name": { + "$id": "1082", + "fixed": false, + "raw": "DynamicPropertyName" + }, + "extensions": { + "x-ms-metadata": { + "apiVersions": [ + "v1" + ], + "filename": [ + "mem:///104?oai3.shaken.json" + ], + "name": "DynamicPropertyName", + "originalLocations": [ + "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/schemas/DynamicPropertyName" + ] + } + }, + "deprecated": false + }, + { + "$id": "1083", + "$type": "CompositeType", + "properties": [ + { + "$id": "1084", + "isReadOnly": false, + "realPath": [ + "objectId" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "1085", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "1086", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "1087", + "fixed": false, + "raw": "objectId" + }, + "serializedName": "objectId", + "modelType": { + "$id": "1088", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "1089", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + }, + { + "$id": "1090", + "isReadOnly": false, + "realPath": [ + "values" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "1091", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "1092", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "1093", + "fixed": false, + "raw": "values" + }, + "serializedName": "values", + "modelType": { + "$id": "1094", + "$type": "SequenceType", + "elementType": { + "$ref": "1008" + }, + "name": { + "$id": "1095", + "fixed": false + }, + "deprecated": false + } + }, + { + "$id": "1096", + "isReadOnly": false, + "realPath": [ + "name" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "1097", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "1098", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "1099", + "fixed": false, + "raw": "name" + }, + "serializedName": "name", + "modelType": { + "$id": "1100", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "1101", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + }, + { + "$id": "1102", + "isReadOnly": false, + "realPath": [ + "description" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "1103", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "1104", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "1105", + "fixed": false, + "raw": "description" + }, + "serializedName": "description", + "modelType": { + "$id": "1106", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "1107", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + }, + { + "$id": "1108", + "isReadOnly": false, + "realPath": [ + "objectType" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "1109", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "1110", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "1111", + "fixed": false, + "raw": "objectType" + }, + "serializedName": "objectType", + "modelType": { + "$id": "1112", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "1113", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + }, + { + "$id": "1114", + "isReadOnly": false, + "realPath": [ + "isArray" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "1115", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "1116", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "1117", + "fixed": false, + "raw": "isArray" + }, + "serializedName": "isArray", + "modelType": { + "$id": "1118", + "$type": "PrimaryType", + "knownPrimaryType": "boolean", + "name": { + "$id": "1119", + "fixed": false, + "raw": "Boolean" + }, + "deprecated": false + } + }, + { + "$id": "1120", + "isReadOnly": false, + "realPath": [ + "isDictionary" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "1121", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "1122", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "1123", + "fixed": false, + "raw": "isDictionary" + }, + "serializedName": "isDictionary", + "modelType": { + "$id": "1124", + "$type": "PrimaryType", + "knownPrimaryType": "boolean", + "name": { + "$id": "1125", + "fixed": false, + "raw": "Boolean" + }, + "deprecated": false + } + }, + { + "$id": "1126", + "isReadOnly": false, + "realPath": [ + "isMultilingual" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "1127", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "1128", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "1129", + "fixed": false, + "raw": "isMultilingual" + }, + "serializedName": "isMultilingual", + "modelType": { + "$id": "1130", + "$type": "PrimaryType", + "knownPrimaryType": "boolean", + "name": { + "$id": "1131", + "fixed": false, + "raw": "Boolean" + }, + "deprecated": false + } + }, + { + "$id": "1132", + "isReadOnly": false, + "realPath": [ + "isRequired" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "1133", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "1134", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "1135", + "fixed": false, + "raw": "isRequired" + }, + "serializedName": "isRequired", + "modelType": { + "$id": "1136", + "$type": "PrimaryType", + "knownPrimaryType": "boolean", + "name": { + "$id": "1137", + "fixed": false, + "raw": "Boolean" + }, + "deprecated": false + } + }, + { + "$id": "1138", + "isReadOnly": false, + "realPath": [ + "displayOrder" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "1139", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "1140", + "fixed": false + }, + "extensions": { + "x-nullable": true + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "1141", + "fixed": false, + "raw": "displayOrder" + }, + "serializedName": "displayOrder", + "modelType": { + "$id": "1142", + "$type": "PrimaryType", + "format": "int32", + "knownPrimaryType": "int", + "name": { + "$id": "1143", + "fixed": false, + "raw": "Int" + }, + "deprecated": false + } + }, + { + "$id": "1144", + "isReadOnly": false, + "realPath": [ + "valueType" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "1145", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "1146", + "fixed": false + }, + "extensions": { + "x-ms-metadata": { + "apiVersions": [ + "v1" + ], + "filename": [ + "mem:///104?oai3.shaken.json" + ], + "name": "DynamicPropertyValueType", + "originalLocations": [ + "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/schemas/DynamicPropertyValueType" + ] + } + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "1147", + "fixed": false, + "raw": "valueType" + }, + "serializedName": "valueType", + "modelType": { + "$id": "1148", + "$type": "EnumType", + "values": [ + { + "$id": "1149", + "name": "Undefined", + "serializedName": "Undefined" + }, + { + "$id": "1150", + "name": "ShortText", + "serializedName": "ShortText" + }, + { + "$id": "1151", + "name": "LongText", + "serializedName": "LongText" + }, + { + "$id": "1152", + "name": "Integer", + "serializedName": "Integer" + }, + { + "$id": "1153", + "name": "Decimal", + "serializedName": "Decimal" + }, + { + "$id": "1154", + "name": "DateTime", + "serializedName": "DateTime" + }, + { + "$id": "1155", + "name": "Boolean", + "serializedName": "Boolean" + }, + { + "$id": "1156", + "name": "Html", + "serializedName": "Html" + }, + { + "$id": "1157", + "name": "Image", + "serializedName": "Image" + } + ], + "oldModelAsString": false, + "modelAsString": true, + "underlyingType": { + "$id": "1158", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "1159", + "fixed": false, + "raw": "String" + }, + "deprecated": false + }, + "name": { + "$id": "1160", + "fixed": false, + "raw": "" + }, + "deprecated": false + } + }, + { + "$id": "1161", + "isReadOnly": false, + "realPath": [ + "displayNames" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "1162", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "1163", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "1164", + "fixed": false, + "raw": "displayNames" + }, + "serializedName": "displayNames", + "modelType": { + "$id": "1165", + "$type": "SequenceType", + "elementType": { + "$ref": "1069" + }, + "name": { + "$id": "1166", + "fixed": false + }, + "deprecated": false + } + }, + { + "$id": "1167", + "isReadOnly": false, + "realPath": [ + "createdDate" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "1168", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "1169", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "1170", + "fixed": false, + "raw": "createdDate" + }, + "serializedName": "createdDate", + "modelType": { + "$id": "1171", + "$type": "PrimaryType", + "format": "date-time", + "knownPrimaryType": "dateTime", + "name": { + "$id": "1172", + "fixed": false, + "raw": "DateTime" + }, + "deprecated": false + } + }, + { + "$id": "1173", + "isReadOnly": false, + "realPath": [ + "modifiedDate" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "1174", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "1175", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "1176", + "fixed": false, + "raw": "modifiedDate" + }, + "serializedName": "modifiedDate", + "modelType": { + "$id": "1177", + "$type": "PrimaryType", + "format": "date-time", + "knownPrimaryType": "dateTime", + "name": { + "$id": "1178", + "fixed": false, + "raw": "DateTime" + }, + "deprecated": false + } + }, + { + "$id": "1179", + "isReadOnly": false, + "realPath": [ + "createdBy" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "1180", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "1181", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "1182", + "fixed": false, + "raw": "createdBy" + }, + "serializedName": "createdBy", + "modelType": { + "$id": "1183", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "1184", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + }, + { + "$id": "1185", + "isReadOnly": false, + "realPath": [ + "modifiedBy" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "1186", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "1187", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "1188", + "fixed": false, + "raw": "modifiedBy" + }, + "serializedName": "modifiedBy", + "modelType": { + "$id": "1189", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "1190", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + }, + { + "$id": "1191", + "isReadOnly": false, + "realPath": [ + "id" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "1192", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "1193", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "1194", + "fixed": false, + "raw": "id" + }, + "serializedName": "id", + "modelType": { + "$id": "1195", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "1196", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + } + ], + "serializedName": "DynamicObjectProperty", + "containsConstantProperties": false, + "name": { + "$id": "1197", + "fixed": false, + "raw": "DynamicObjectProperty" + }, + "extensions": { + "x-ms-metadata": { + "apiVersions": [ + "v1" + ], + "filename": [ + "mem:///104?oai3.shaken.json" + ], + "name": "DynamicObjectProperty", + "originalLocations": [ + "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/schemas/DynamicObjectProperty" + ] + } + }, + "deprecated": false + }, + { + "$id": "1198", + "$type": "CompositeType", + "properties": [ + { + "$id": "1199", + "isReadOnly": false, + "realPath": [ + "orderId" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "1200", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "1201", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "1202", + "fixed": false, + "raw": "orderId" + }, + "serializedName": "orderId", + "modelType": { + "$id": "1203", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "1204", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + }, + { + "$id": "1205", + "isReadOnly": false, + "realPath": [ + "purpose" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "1206", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "1207", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "1208", + "fixed": false, + "raw": "purpose" + }, + "serializedName": "purpose", + "modelType": { + "$id": "1209", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "1210", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + }, + { + "$id": "1211", + "isReadOnly": false, + "realPath": [ + "gatewayCode" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "1212", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "1213", + "fixed": false, + "raw": "Payment method (gateway) code" + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "1214", + "fixed": false, + "raw": "gatewayCode" + }, + "serializedName": "gatewayCode", + "modelType": { + "$id": "1215", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "1216", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + }, + { + "$id": "1217", + "isReadOnly": false, + "realPath": [ + "paymentMethod" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "1218", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "1219", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "1220", + "fixed": false, + "raw": "paymentMethod" + }, + "serializedName": "paymentMethod", + "modelType": { + "$ref": "591" + } + }, + { + "$id": "1221", + "isReadOnly": false, + "realPath": [ + "organizationId" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "1222", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "1223", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "1224", + "fixed": false, + "raw": "organizationId" + }, + "serializedName": "organizationId", + "modelType": { + "$id": "1225", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "1226", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + }, + { + "$id": "1227", + "isReadOnly": false, + "realPath": [ + "organizationName" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "1228", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "1229", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "1230", + "fixed": false, + "raw": "organizationName" + }, + "serializedName": "organizationName", + "modelType": { + "$id": "1231", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "1232", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + }, + { + "$id": "1233", + "isReadOnly": false, + "realPath": [ + "customerId" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "1234", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "1235", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "1236", + "fixed": false, + "raw": "customerId" + }, + "serializedName": "customerId", + "modelType": { + "$id": "1237", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "1238", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + }, + { + "$id": "1239", + "isReadOnly": false, + "realPath": [ + "customerName" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "1240", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "1241", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "1242", + "fixed": false, + "raw": "customerName" + }, + "serializedName": "customerName", + "modelType": { + "$id": "1243", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "1244", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + }, + { + "$id": "1245", + "isReadOnly": false, + "realPath": [ + "incomingDate" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "1246", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "1247", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "1248", + "fixed": false, + "raw": "incomingDate" + }, + "serializedName": "incomingDate", + "modelType": { + "$id": "1249", + "$type": "PrimaryType", + "format": "date-time", + "knownPrimaryType": "dateTime", + "name": { + "$id": "1250", + "fixed": false, + "raw": "DateTime" + }, + "deprecated": false + } + }, + { + "$id": "1251", + "isReadOnly": false, + "realPath": [ + "billingAddress" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "1252", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "1253", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "1254", + "fixed": false, + "raw": "billingAddress" + }, + "serializedName": "billingAddress", + "modelType": { + "$ref": "363" + } + }, + { + "$id": "1255", + "isReadOnly": false, + "realPath": [ + "paymentStatus" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "1256", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "1257", + "fixed": false + }, + "extensions": { + "x-ms-metadata": { + "apiVersions": [ + "v1" + ], + "filename": [ + "mem:///104?oai3.shaken.json" + ], + "name": "PaymentStatus", + "originalLocations": [ + "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/schemas/PaymentStatus" + ] + } + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "1258", + "fixed": false, + "raw": "paymentStatus" + }, + "serializedName": "paymentStatus", + "modelType": { + "$id": "1259", + "$type": "EnumType", + "values": [ + { + "$id": "1260", + "name": "New", + "serializedName": "New" + }, + { + "$id": "1261", + "name": "Pending", + "serializedName": "Pending" + }, + { + "$id": "1262", + "name": "Authorized", + "serializedName": "Authorized" + }, + { + "$id": "1263", + "name": "Paid", + "serializedName": "Paid" + }, + { + "$id": "1264", + "name": "PartiallyRefunded", + "serializedName": "PartiallyRefunded" + }, + { + "$id": "1265", + "name": "Refunded", + "serializedName": "Refunded" + }, + { + "$id": "1266", + "name": "Voided", + "serializedName": "Voided" + }, + { + "$id": "1267", + "name": "Custom", + "serializedName": "Custom" + }, + { + "$id": "1268", + "name": "Cancelled", + "serializedName": "Cancelled" + }, + { + "$id": "1269", + "name": "Declined", + "serializedName": "Declined" + }, + { + "$id": "1270", + "name": "Error", + "serializedName": "Error" + } + ], + "oldModelAsString": false, + "modelAsString": true, + "underlyingType": { + "$id": "1271", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "1272", + "fixed": false, + "raw": "String" + }, + "deprecated": false + }, + "name": { + "$id": "1273", + "fixed": false, + "raw": "" + }, + "deprecated": false + } + }, + { + "$id": "1274", + "isReadOnly": false, + "realPath": [ + "authorizedDate" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "1275", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "1276", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "1277", + "fixed": false, + "raw": "authorizedDate" + }, + "serializedName": "authorizedDate", + "modelType": { + "$id": "1278", + "$type": "PrimaryType", + "format": "date-time", + "knownPrimaryType": "dateTime", + "name": { + "$id": "1279", + "fixed": false, + "raw": "DateTime" + }, + "deprecated": false + } + }, + { + "$id": "1280", + "isReadOnly": false, + "realPath": [ + "capturedDate" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "1281", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "1282", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "1283", + "fixed": false, + "raw": "capturedDate" + }, + "serializedName": "capturedDate", + "modelType": { + "$id": "1284", + "$type": "PrimaryType", + "format": "date-time", + "knownPrimaryType": "dateTime", + "name": { + "$id": "1285", + "fixed": false, + "raw": "DateTime" + }, + "deprecated": false + } + }, + { + "$id": "1286", + "isReadOnly": false, + "realPath": [ + "voidedDate" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "1287", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "1288", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "1289", + "fixed": false, + "raw": "voidedDate" + }, + "serializedName": "voidedDate", + "modelType": { + "$id": "1290", + "$type": "PrimaryType", + "format": "date-time", + "knownPrimaryType": "dateTime", + "name": { + "$id": "1291", + "fixed": false, + "raw": "DateTime" + }, + "deprecated": false + } + }, + { + "$id": "1292", + "isReadOnly": false, + "realPath": [ + "processPaymentResult" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "1293", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "1294", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "1295", + "fixed": false, + "raw": "processPaymentResult" + }, + "serializedName": "processPaymentResult", + "modelType": { + "$ref": "743" + } + }, + { + "$id": "1296", + "isReadOnly": false, + "realPath": [ + "price" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "1297", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "1298", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "1299", + "fixed": false, + "raw": "price" + }, + "serializedName": "price", + "modelType": { + "$id": "1300", + "$type": "PrimaryType", + "format": "double", + "knownPrimaryType": "double", + "name": { + "$id": "1301", + "fixed": false, + "raw": "Double" + }, + "deprecated": false + } + }, + { + "$id": "1302", + "isReadOnly": false, + "realPath": [ + "priceWithTax" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "1303", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "1304", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "1305", + "fixed": false, + "raw": "priceWithTax" + }, + "serializedName": "priceWithTax", + "modelType": { + "$id": "1306", + "$type": "PrimaryType", + "format": "double", + "knownPrimaryType": "double", + "name": { + "$id": "1307", + "fixed": false, + "raw": "Double" + }, + "deprecated": false + } + }, + { + "$id": "1308", + "isReadOnly": false, + "realPath": [ + "total" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "1309", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "1310", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "1311", + "fixed": false, + "raw": "total" + }, + "serializedName": "total", + "modelType": { + "$id": "1312", + "$type": "PrimaryType", + "format": "double", + "knownPrimaryType": "double", + "name": { + "$id": "1313", + "fixed": false, + "raw": "Double" + }, + "deprecated": false + } + }, + { + "$id": "1314", + "isReadOnly": false, + "realPath": [ + "totalWithTax" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "1315", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "1316", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "1317", + "fixed": false, + "raw": "totalWithTax" + }, + "serializedName": "totalWithTax", + "modelType": { + "$id": "1318", + "$type": "PrimaryType", + "format": "double", + "knownPrimaryType": "double", + "name": { + "$id": "1319", + "fixed": false, + "raw": "Double" + }, + "deprecated": false + } + }, + { + "$id": "1320", + "isReadOnly": false, + "realPath": [ + "discountAmount" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "1321", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "1322", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "1323", + "fixed": false, + "raw": "discountAmount" + }, + "serializedName": "discountAmount", + "modelType": { + "$id": "1324", + "$type": "PrimaryType", + "format": "double", + "knownPrimaryType": "double", + "name": { + "$id": "1325", + "fixed": false, + "raw": "Double" + }, + "deprecated": false + } + }, + { + "$id": "1326", + "isReadOnly": false, + "realPath": [ + "discountAmountWithTax" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "1327", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "1328", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "1329", + "fixed": false, + "raw": "discountAmountWithTax" + }, + "serializedName": "discountAmountWithTax", + "modelType": { + "$id": "1330", + "$type": "PrimaryType", + "format": "double", + "knownPrimaryType": "double", + "name": { + "$id": "1331", + "fixed": false, + "raw": "Double" + }, + "deprecated": false + } + }, + { + "$id": "1332", + "isReadOnly": false, + "realPath": [ + "objectType" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "1333", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "1334", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "1335", + "fixed": false, + "raw": "objectType" + }, + "serializedName": "objectType", + "modelType": { + "$id": "1336", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "1337", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + }, + { + "$id": "1338", + "isReadOnly": false, + "realPath": [ + "taxType" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "1339", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "1340", + "fixed": false, + "raw": "Tax category or type" + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "1341", + "fixed": false, + "raw": "taxType" + }, + "serializedName": "taxType", + "modelType": { + "$id": "1342", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "1343", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + }, + { + "$id": "1344", + "isReadOnly": false, + "realPath": [ + "taxTotal" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "1345", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "1346", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "1347", + "fixed": false, + "raw": "taxTotal" + }, + "serializedName": "taxTotal", + "modelType": { + "$id": "1348", + "$type": "PrimaryType", + "format": "double", + "knownPrimaryType": "double", + "name": { + "$id": "1349", + "fixed": false, + "raw": "Double" + }, + "deprecated": false + } + }, + { + "$id": "1350", + "isReadOnly": false, + "realPath": [ + "taxPercentRate" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "1351", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "1352", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "1353", + "fixed": false, + "raw": "taxPercentRate" + }, + "serializedName": "taxPercentRate", + "modelType": { + "$id": "1354", + "$type": "PrimaryType", + "format": "double", + "knownPrimaryType": "double", + "name": { + "$id": "1355", + "fixed": false, + "raw": "Double" + }, + "deprecated": false + } + }, + { + "$id": "1356", + "isReadOnly": false, + "realPath": [ + "taxDetails" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "1357", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "1358", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "1359", + "fixed": false, + "raw": "taxDetails" + }, + "serializedName": "taxDetails", + "modelType": { + "$id": "1360", + "$type": "SequenceType", + "elementType": { + "$ref": "571" + }, + "name": { + "$id": "1361", + "fixed": false + }, + "deprecated": false + } + }, + { + "$id": "1362", + "isReadOnly": false, + "realPath": [ + "discounts" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "1363", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "1364", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "1365", + "fixed": false, + "raw": "discounts" + }, + "serializedName": "discounts", + "modelType": { + "$id": "1366", + "$type": "SequenceType", + "elementType": { + "$ref": "798" + }, + "name": { + "$id": "1367", + "fixed": false + }, + "deprecated": false + } + }, + { + "$id": "1368", + "isReadOnly": false, + "realPath": [ + "transactions" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "1369", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "1370", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "1371", + "fixed": false, + "raw": "transactions" + }, + "serializedName": "transactions", + "modelType": { + "$id": "1372", + "$type": "SequenceType", + "elementType": { + "$ref": "842" + }, + "name": { + "$id": "1373", + "fixed": false + }, + "deprecated": false + } + }, + { + "$id": "1374", + "isReadOnly": false, + "realPath": [ + "operationType" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "1375", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "1376", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "1377", + "fixed": false, + "raw": "operationType" + }, + "serializedName": "operationType", + "modelType": { + "$id": "1378", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "1379", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + }, + { + "$id": "1380", + "isReadOnly": false, + "realPath": [ + "parentOperationId" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "1381", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "1382", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "1383", + "fixed": false, + "raw": "parentOperationId" + }, + "serializedName": "parentOperationId", + "modelType": { + "$id": "1384", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "1385", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + }, + { + "$id": "1386", + "isReadOnly": false, + "realPath": [ + "number" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "1387", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "1388", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "1389", + "fixed": false, + "raw": "number" + }, + "serializedName": "number", + "modelType": { + "$id": "1390", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "1391", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + }, + { + "$id": "1392", + "isReadOnly": false, + "realPath": [ + "isApproved" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "1393", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "1394", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "1395", + "fixed": false, + "raw": "isApproved" + }, + "serializedName": "isApproved", + "modelType": { + "$id": "1396", + "$type": "PrimaryType", + "knownPrimaryType": "boolean", + "name": { + "$id": "1397", + "fixed": false, + "raw": "Boolean" + }, + "deprecated": false + } + }, + { + "$id": "1398", + "isReadOnly": false, + "realPath": [ + "status" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "1399", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "1400", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "1401", + "fixed": false, + "raw": "status" + }, + "serializedName": "status", + "modelType": { + "$id": "1402", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "1403", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + }, + { + "$id": "1404", + "isReadOnly": false, + "realPath": [ + "comment" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "1405", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "1406", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "1407", + "fixed": false, + "raw": "comment" + }, + "serializedName": "comment", + "modelType": { + "$id": "1408", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "1409", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + }, + { + "$id": "1410", + "isReadOnly": false, + "realPath": [ + "currency" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "1411", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "1412", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "1413", + "fixed": false, + "raw": "currency" + }, + "serializedName": "currency", + "modelType": { + "$id": "1414", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "1415", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + }, + { + "$id": "1416", + "isReadOnly": false, + "realPath": [ + "sum" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "1417", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "1418", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "1419", + "fixed": false, + "raw": "sum" + }, + "serializedName": "sum", + "modelType": { + "$id": "1420", + "$type": "PrimaryType", + "format": "double", + "knownPrimaryType": "double", + "name": { + "$id": "1421", + "fixed": false, + "raw": "Double" + }, + "deprecated": false + } + }, + { + "$id": "1422", + "isReadOnly": false, + "realPath": [ + "outerId" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "1423", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "1424", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "1425", + "fixed": false, + "raw": "outerId" + }, + "serializedName": "outerId", + "modelType": { + "$id": "1426", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "1427", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + }, + { + "$id": "1428", + "isReadOnly": false, + "realPath": [ + "isCancelled" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "1429", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "1430", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "1431", + "fixed": false, + "raw": "isCancelled" + }, + "serializedName": "isCancelled", + "modelType": { + "$id": "1432", + "$type": "PrimaryType", + "knownPrimaryType": "boolean", + "name": { + "$id": "1433", + "fixed": false, + "raw": "Boolean" + }, + "deprecated": false + } + }, + { + "$id": "1434", + "isReadOnly": false, + "realPath": [ + "cancelledDate" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "1435", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "1436", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "1437", + "fixed": false, + "raw": "cancelledDate" + }, + "serializedName": "cancelledDate", + "modelType": { + "$id": "1438", + "$type": "PrimaryType", + "format": "date-time", + "knownPrimaryType": "dateTime", + "name": { + "$id": "1439", + "fixed": false, + "raw": "DateTime" + }, + "deprecated": false + } + }, + { + "$id": "1440", + "isReadOnly": false, + "realPath": [ + "cancelReason" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "1441", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "1442", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "1443", + "fixed": false, + "raw": "cancelReason" + }, + "serializedName": "cancelReason", + "modelType": { + "$id": "1444", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "1445", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + }, + { + "$id": "1446", + "isReadOnly": false, + "realPath": [ + "dynamicProperties" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "1447", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "1448", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "1449", + "fixed": false, + "raw": "dynamicProperties" + }, + "serializedName": "dynamicProperties", + "modelType": { + "$id": "1450", + "$type": "SequenceType", + "elementType": { + "$ref": "1083" + }, + "name": { + "$id": "1451", + "fixed": false + }, + "deprecated": false + } + }, + { + "$id": "1452", + "isReadOnly": false, + "realPath": [ + "operationsLog" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "1453", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "1454", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "1455", + "fixed": false, + "raw": "operationsLog" + }, + "serializedName": "operationsLog", + "modelType": { + "$id": "1456", + "$type": "SequenceType", + "elementType": { + "$ref": "2" + }, + "name": { + "$id": "1457", + "fixed": false + }, + "deprecated": false + } + }, + { + "$id": "1458", + "isReadOnly": false, + "realPath": [ + "createdDate" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "1459", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "1460", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "1461", + "fixed": false, + "raw": "createdDate" + }, + "serializedName": "createdDate", + "modelType": { + "$id": "1462", + "$type": "PrimaryType", + "format": "date-time", + "knownPrimaryType": "dateTime", + "name": { + "$id": "1463", + "fixed": false, + "raw": "DateTime" + }, + "deprecated": false + } + }, + { + "$id": "1464", + "isReadOnly": false, + "realPath": [ + "modifiedDate" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "1465", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "1466", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "1467", + "fixed": false, + "raw": "modifiedDate" + }, + "serializedName": "modifiedDate", + "modelType": { + "$id": "1468", + "$type": "PrimaryType", + "format": "date-time", + "knownPrimaryType": "dateTime", + "name": { + "$id": "1469", + "fixed": false, + "raw": "DateTime" + }, + "deprecated": false + } + }, + { + "$id": "1470", + "isReadOnly": false, + "realPath": [ + "createdBy" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "1471", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "1472", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "1473", + "fixed": false, + "raw": "createdBy" + }, + "serializedName": "createdBy", + "modelType": { + "$id": "1474", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "1475", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + }, + { + "$id": "1476", + "isReadOnly": false, + "realPath": [ + "modifiedBy" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "1477", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "1478", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "1479", + "fixed": false, + "raw": "modifiedBy" + }, + "serializedName": "modifiedBy", + "modelType": { + "$id": "1480", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "1481", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + }, + { + "$id": "1482", + "isReadOnly": false, + "realPath": [ + "id" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "1483", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "1484", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "1485", + "fixed": false, + "raw": "id" + }, + "serializedName": "id", + "modelType": { + "$id": "1486", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "1487", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + } + ], + "serializedName": "PaymentIn", + "containsConstantProperties": false, + "name": { + "$id": "1488", + "fixed": false, + "raw": "PaymentIn" + }, + "extensions": { + "x-ms-metadata": { + "apiVersions": [ + "v1" + ], + "filename": [ + "mem:///104?oai3.shaken.json" + ], + "name": "PaymentIn", + "originalLocations": [ + "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/schemas/PaymentIn" + ] + } + }, + "deprecated": false + }, + { + "$id": "1489", + "$type": "CompositeType", + "properties": [ + { + "$id": "1490", + "isReadOnly": false, + "realPath": [ + "configuredGroupId" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "1491", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "1492", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "1493", + "fixed": false, + "raw": "configuredGroupId" + }, + "serializedName": "configuredGroupId", + "modelType": { + "$id": "1494", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "1495", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + }, + { + "$id": "1496", + "isReadOnly": false, + "realPath": [ + "priceId" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "1497", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "1498", + "fixed": false, + "raw": "Price id" + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "1499", + "fixed": false, + "raw": "priceId" + }, + "serializedName": "priceId", + "modelType": { + "$id": "1500", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "1501", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + }, + { + "$id": "1502", + "isReadOnly": false, + "realPath": [ + "currency" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "1503", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "1504", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "1505", + "fixed": false, + "raw": "currency" + }, + "serializedName": "currency", + "modelType": { + "$id": "1506", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "1507", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + }, + { + "$id": "1508", + "isReadOnly": false, + "realPath": [ + "price" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "1509", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "1510", + "fixed": false, + "raw": "unit price without discount and tax" + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "1511", + "fixed": false, + "raw": "price" + }, + "serializedName": "price", + "modelType": { + "$id": "1512", + "$type": "PrimaryType", + "format": "double", + "knownPrimaryType": "double", + "name": { + "$id": "1513", + "fixed": false, + "raw": "Double" + }, + "deprecated": false + } + }, + { + "$id": "1514", + "isReadOnly": false, + "realPath": [ + "priceWithTax" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "1515", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "1516", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "1517", + "fixed": false, + "raw": "priceWithTax" + }, + "serializedName": "priceWithTax", + "modelType": { + "$id": "1518", + "$type": "PrimaryType", + "format": "double", + "knownPrimaryType": "double", + "name": { + "$id": "1519", + "fixed": false, + "raw": "Double" + }, + "deprecated": false + } + }, + { + "$id": "1520", + "isReadOnly": false, + "realPath": [ + "placedPrice" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "1521", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "1522", + "fixed": false, + "raw": "Resulting price with discount for one unit" + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "1523", + "fixed": false, + "raw": "placedPrice" + }, + "serializedName": "placedPrice", + "modelType": { + "$id": "1524", + "$type": "PrimaryType", + "format": "double", + "knownPrimaryType": "double", + "name": { + "$id": "1525", + "fixed": false, + "raw": "Double" + }, + "deprecated": false + } + }, + { + "$id": "1526", + "isReadOnly": false, + "realPath": [ + "placedPriceWithTax" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "1527", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "1528", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "1529", + "fixed": false, + "raw": "placedPriceWithTax" + }, + "serializedName": "placedPriceWithTax", + "modelType": { + "$id": "1530", + "$type": "PrimaryType", + "format": "double", + "knownPrimaryType": "double", + "name": { + "$id": "1531", + "fixed": false, + "raw": "Double" + }, + "deprecated": false + } + }, + { + "$id": "1532", + "isReadOnly": false, + "realPath": [ + "extendedPrice" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "1533", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "1534", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "1535", + "fixed": false, + "raw": "extendedPrice" + }, + "serializedName": "extendedPrice", + "modelType": { + "$id": "1536", + "$type": "PrimaryType", + "format": "double", + "knownPrimaryType": "double", + "name": { + "$id": "1537", + "fixed": false, + "raw": "Double" + }, + "deprecated": false + } + }, + { + "$id": "1538", + "isReadOnly": false, + "realPath": [ + "extendedPriceWithTax" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "1539", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "1540", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "1541", + "fixed": false, + "raw": "extendedPriceWithTax" + }, + "serializedName": "extendedPriceWithTax", + "modelType": { + "$id": "1542", + "$type": "PrimaryType", + "format": "double", + "knownPrimaryType": "double", + "name": { + "$id": "1543", + "fixed": false, + "raw": "Double" + }, + "deprecated": false + } + }, + { + "$id": "1544", + "isReadOnly": false, + "realPath": [ + "discountAmount" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "1545", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "1546", + "fixed": false, + "raw": "Gets the value of the single qty line item discount amount" + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "1547", + "fixed": false, + "raw": "discountAmount" + }, + "serializedName": "discountAmount", + "modelType": { + "$id": "1548", + "$type": "PrimaryType", + "format": "double", + "knownPrimaryType": "double", + "name": { + "$id": "1549", + "fixed": false, + "raw": "Double" + }, + "deprecated": false + } + }, + { + "$id": "1550", + "isReadOnly": false, + "realPath": [ + "discountAmountWithTax" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "1551", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "1552", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "1553", + "fixed": false, + "raw": "discountAmountWithTax" + }, + "serializedName": "discountAmountWithTax", + "modelType": { + "$id": "1554", + "$type": "PrimaryType", + "format": "double", + "knownPrimaryType": "double", + "name": { + "$id": "1555", + "fixed": false, + "raw": "Double" + }, + "deprecated": false + } + }, + { + "$id": "1556", + "isReadOnly": false, + "realPath": [ + "discountTotal" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "1557", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "1558", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "1559", + "fixed": false, + "raw": "discountTotal" + }, + "serializedName": "discountTotal", + "modelType": { + "$id": "1560", + "$type": "PrimaryType", + "format": "double", + "knownPrimaryType": "double", + "name": { + "$id": "1561", + "fixed": false, + "raw": "Double" + }, + "deprecated": false + } + }, + { + "$id": "1562", + "isReadOnly": false, + "realPath": [ + "discountTotalWithTax" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "1563", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "1564", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "1565", + "fixed": false, + "raw": "discountTotalWithTax" + }, + "serializedName": "discountTotalWithTax", + "modelType": { + "$id": "1566", + "$type": "PrimaryType", + "format": "double", + "knownPrimaryType": "double", + "name": { + "$id": "1567", + "fixed": false, + "raw": "Double" + }, + "deprecated": false + } + }, + { + "$id": "1568", + "isReadOnly": false, + "realPath": [ + "fee" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "1569", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "1570", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "1571", + "fixed": false, + "raw": "fee" + }, + "serializedName": "fee", + "modelType": { + "$id": "1572", + "$type": "PrimaryType", + "format": "double", + "knownPrimaryType": "double", + "name": { + "$id": "1573", + "fixed": false, + "raw": "Double" + }, + "deprecated": false + } + }, + { + "$id": "1574", + "isReadOnly": false, + "realPath": [ + "feeWithTax" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "1575", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "1576", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "1577", + "fixed": false, + "raw": "feeWithTax" + }, + "serializedName": "feeWithTax", + "modelType": { + "$id": "1578", + "$type": "PrimaryType", + "format": "double", + "knownPrimaryType": "double", + "name": { + "$id": "1579", + "fixed": false, + "raw": "Double" + }, + "deprecated": false + } + }, + { + "$id": "1580", + "isReadOnly": false, + "realPath": [ + "taxType" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "1581", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "1582", + "fixed": false, + "raw": "Tax category or type" + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "1583", + "fixed": false, + "raw": "taxType" + }, + "serializedName": "taxType", + "modelType": { + "$id": "1584", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "1585", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + }, + { + "$id": "1586", + "isReadOnly": false, + "realPath": [ + "taxTotal" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "1587", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "1588", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "1589", + "fixed": false, + "raw": "taxTotal" + }, + "serializedName": "taxTotal", + "modelType": { + "$id": "1590", + "$type": "PrimaryType", + "format": "double", + "knownPrimaryType": "double", + "name": { + "$id": "1591", + "fixed": false, + "raw": "Double" + }, + "deprecated": false + } + }, + { + "$id": "1592", + "isReadOnly": false, + "realPath": [ + "taxPercentRate" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "1593", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "1594", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "1595", + "fixed": false, + "raw": "taxPercentRate" + }, + "serializedName": "taxPercentRate", + "modelType": { + "$id": "1596", + "$type": "PrimaryType", + "format": "double", + "knownPrimaryType": "double", + "name": { + "$id": "1597", + "fixed": false, + "raw": "Double" + }, + "deprecated": false + } + }, + { + "$id": "1598", + "isReadOnly": false, + "realPath": [ + "reserveQuantity" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "1599", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "1600", + "fixed": false, + "raw": "Reserve quantity" + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "1601", + "fixed": false, + "raw": "reserveQuantity" + }, + "serializedName": "reserveQuantity", + "modelType": { + "$id": "1602", + "$type": "PrimaryType", + "format": "int32", + "knownPrimaryType": "int", + "name": { + "$id": "1603", + "fixed": false, + "raw": "Int" + }, + "deprecated": false + } + }, + { + "$id": "1604", + "isReadOnly": false, + "realPath": [ + "quantity" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "1605", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "1606", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "1607", + "fixed": false, + "raw": "quantity" + }, + "serializedName": "quantity", + "modelType": { + "$id": "1608", + "$type": "PrimaryType", + "format": "int32", + "knownPrimaryType": "int", + "name": { + "$id": "1609", + "fixed": false, + "raw": "Int" + }, + "deprecated": false + } + }, + { + "$id": "1610", + "isReadOnly": false, + "realPath": [ + "productId" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "1611", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "1612", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "1613", + "fixed": false, + "raw": "productId" + }, + "serializedName": "productId", + "modelType": { + "$id": "1614", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "1615", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + }, + { + "$id": "1616", + "isReadOnly": false, + "realPath": [ + "sku" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "1617", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "1618", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "1619", + "fixed": false, + "raw": "sku" + }, + "serializedName": "sku", + "modelType": { + "$id": "1620", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "1621", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + }, + { + "$id": "1622", + "isReadOnly": false, + "realPath": [ + "productType" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "1623", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "1624", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "1625", + "fixed": false, + "raw": "productType" + }, + "serializedName": "productType", + "modelType": { + "$id": "1626", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "1627", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + }, + { + "$id": "1628", + "isReadOnly": false, + "realPath": [ + "catalogId" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "1629", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "1630", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "1631", + "fixed": false, + "raw": "catalogId" + }, + "serializedName": "catalogId", + "modelType": { + "$id": "1632", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "1633", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + }, + { + "$id": "1634", + "isReadOnly": false, + "realPath": [ + "categoryId" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "1635", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "1636", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "1637", + "fixed": false, + "raw": "categoryId" + }, + "serializedName": "categoryId", + "modelType": { + "$id": "1638", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "1639", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + }, + { + "$id": "1640", + "isReadOnly": false, + "realPath": [ + "name" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "1641", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "1642", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "1643", + "fixed": false, + "raw": "name" + }, + "serializedName": "name", + "modelType": { + "$id": "1644", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "1645", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + }, + { + "$id": "1646", + "isReadOnly": false, + "realPath": [ + "comment" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "1647", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "1648", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "1649", + "fixed": false, + "raw": "comment" + }, + "serializedName": "comment", + "modelType": { + "$id": "1650", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "1651", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + }, + { + "$id": "1652", + "isReadOnly": false, + "realPath": [ + "imageUrl" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "1653", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "1654", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "1655", + "fixed": false, + "raw": "imageUrl" + }, + "serializedName": "imageUrl", + "modelType": { + "$id": "1656", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "1657", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + }, + { + "$id": "1658", + "isReadOnly": false, + "realPath": [ + "isGift" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "1659", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "1660", + "fixed": false + }, + "extensions": { + "x-nullable": true + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "1661", + "fixed": false, + "raw": "isGift" + }, + "serializedName": "isGift", + "modelType": { + "$id": "1662", + "$type": "PrimaryType", + "knownPrimaryType": "boolean", + "name": { + "$id": "1663", + "fixed": false, + "raw": "Boolean" + }, + "deprecated": false + } + }, + { + "$id": "1664", + "isReadOnly": false, + "realPath": [ + "shippingMethodCode" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "1665", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "1666", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "1667", + "fixed": false, + "raw": "shippingMethodCode" + }, + "serializedName": "shippingMethodCode", + "modelType": { + "$id": "1668", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "1669", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + }, + { + "$id": "1670", + "isReadOnly": false, + "realPath": [ + "fulfillmentLocationCode" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "1671", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "1672", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "1673", + "fixed": false, + "raw": "fulfillmentLocationCode" + }, + "serializedName": "fulfillmentLocationCode", + "modelType": { + "$id": "1674", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "1675", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + }, + { + "$id": "1676", + "isReadOnly": false, + "realPath": [ + "fulfillmentCenterId" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "1677", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "1678", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "1679", + "fixed": false, + "raw": "fulfillmentCenterId" + }, + "serializedName": "fulfillmentCenterId", + "modelType": { + "$id": "1680", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "1681", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + }, + { + "$id": "1682", + "isReadOnly": false, + "realPath": [ + "fulfillmentCenterName" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "1683", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "1684", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "1685", + "fixed": false, + "raw": "fulfillmentCenterName" + }, + "serializedName": "fulfillmentCenterName", + "modelType": { + "$id": "1686", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "1687", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + }, + { + "$id": "1688", + "isReadOnly": false, + "realPath": [ + "outerId" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "1689", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "1690", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "1691", + "fixed": false, + "raw": "outerId" + }, + "serializedName": "outerId", + "modelType": { + "$id": "1692", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "1693", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + }, + { + "$id": "1694", + "isReadOnly": false, + "realPath": [ + "weightUnit" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "1695", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "1696", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "1697", + "fixed": false, + "raw": "weightUnit" + }, + "serializedName": "weightUnit", + "modelType": { + "$id": "1698", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "1699", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + }, + { + "$id": "1700", + "isReadOnly": false, + "realPath": [ + "weight" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "1701", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "1702", + "fixed": false + }, + "extensions": { + "x-nullable": true + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "1703", + "fixed": false, + "raw": "weight" + }, + "serializedName": "weight", + "modelType": { + "$id": "1704", + "$type": "PrimaryType", + "format": "double", + "knownPrimaryType": "double", + "name": { + "$id": "1705", + "fixed": false, + "raw": "Double" + }, + "deprecated": false + } + }, + { + "$id": "1706", + "isReadOnly": false, + "realPath": [ + "measureUnit" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "1707", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "1708", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "1709", + "fixed": false, + "raw": "measureUnit" + }, + "serializedName": "measureUnit", + "modelType": { + "$id": "1710", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "1711", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + }, + { + "$id": "1712", + "isReadOnly": false, + "realPath": [ + "height" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "1713", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "1714", + "fixed": false + }, + "extensions": { + "x-nullable": true + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "1715", + "fixed": false, + "raw": "height" + }, + "serializedName": "height", + "modelType": { + "$id": "1716", + "$type": "PrimaryType", + "format": "double", + "knownPrimaryType": "double", + "name": { + "$id": "1717", + "fixed": false, + "raw": "Double" + }, + "deprecated": false + } + }, + { + "$id": "1718", + "isReadOnly": false, + "realPath": [ + "length" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "1719", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "1720", + "fixed": false + }, + "extensions": { + "x-nullable": true + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "1721", + "fixed": false, + "raw": "length" + }, + "serializedName": "length", + "modelType": { + "$id": "1722", + "$type": "PrimaryType", + "format": "double", + "knownPrimaryType": "double", + "name": { + "$id": "1723", + "fixed": false, + "raw": "Double" + }, + "deprecated": false + } + }, + { + "$id": "1724", + "isReadOnly": false, + "realPath": [ + "width" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "1725", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "1726", + "fixed": false + }, + "extensions": { + "x-nullable": true + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "1727", + "fixed": false, + "raw": "width" + }, + "serializedName": "width", + "modelType": { + "$id": "1728", + "$type": "PrimaryType", + "format": "double", + "knownPrimaryType": "double", + "name": { + "$id": "1729", + "fixed": false, + "raw": "Double" + }, + "deprecated": false + } + }, + { + "$id": "1730", + "isReadOnly": false, + "realPath": [ + "isCancelled" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "1731", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "1732", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "1733", + "fixed": false, + "raw": "isCancelled" + }, + "serializedName": "isCancelled", + "modelType": { + "$id": "1734", + "$type": "PrimaryType", + "knownPrimaryType": "boolean", + "name": { + "$id": "1735", + "fixed": false, + "raw": "Boolean" + }, + "deprecated": false + } + }, + { + "$id": "1736", + "isReadOnly": false, + "realPath": [ + "cancelledDate" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "1737", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "1738", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "1739", + "fixed": false, + "raw": "cancelledDate" + }, + "serializedName": "cancelledDate", + "modelType": { + "$id": "1740", + "$type": "PrimaryType", + "format": "date-time", + "knownPrimaryType": "dateTime", + "name": { + "$id": "1741", + "fixed": false, + "raw": "DateTime" + }, + "deprecated": false + } + }, + { + "$id": "1742", + "isReadOnly": false, + "realPath": [ + "cancelReason" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "1743", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "1744", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "1745", + "fixed": false, + "raw": "cancelReason" + }, + "serializedName": "cancelReason", + "modelType": { + "$id": "1746", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "1747", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + }, + { + "$id": "1748", + "isReadOnly": true, + "realPath": [ + "objectType" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "1749", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "1750", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "1751", + "fixed": false, + "raw": "objectType" + }, + "serializedName": "objectType", + "modelType": { + "$id": "1752", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "1753", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + }, + { + "$id": "1754", + "isReadOnly": false, + "realPath": [ + "dynamicProperties" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "1755", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "1756", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "1757", + "fixed": false, + "raw": "dynamicProperties" + }, + "serializedName": "dynamicProperties", + "modelType": { + "$id": "1758", + "$type": "SequenceType", + "elementType": { + "$ref": "1083" + }, + "name": { + "$id": "1759", + "fixed": false + }, + "deprecated": false + } + }, + { + "$id": "1760", + "isReadOnly": false, + "realPath": [ + "discounts" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "1761", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "1762", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "1763", + "fixed": false, + "raw": "discounts" + }, + "serializedName": "discounts", + "modelType": { + "$id": "1764", + "$type": "SequenceType", + "elementType": { + "$ref": "798" + }, + "name": { + "$id": "1765", + "fixed": false + }, + "deprecated": false + } + }, + { + "$id": "1766", + "isReadOnly": false, + "realPath": [ + "taxDetails" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "1767", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "1768", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "1769", + "fixed": false, + "raw": "taxDetails" + }, + "serializedName": "taxDetails", + "modelType": { + "$id": "1770", + "$type": "SequenceType", + "elementType": { + "$ref": "571" + }, + "name": { + "$id": "1771", + "fixed": false + }, + "deprecated": false + } + }, + { + "$id": "1772", + "isReadOnly": false, + "realPath": [ + "createdDate" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "1773", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "1774", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "1775", + "fixed": false, + "raw": "createdDate" + }, + "serializedName": "createdDate", + "modelType": { + "$id": "1776", + "$type": "PrimaryType", + "format": "date-time", + "knownPrimaryType": "dateTime", + "name": { + "$id": "1777", + "fixed": false, + "raw": "DateTime" + }, + "deprecated": false + } + }, + { + "$id": "1778", + "isReadOnly": false, + "realPath": [ + "modifiedDate" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "1779", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "1780", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "1781", + "fixed": false, + "raw": "modifiedDate" + }, + "serializedName": "modifiedDate", + "modelType": { + "$id": "1782", + "$type": "PrimaryType", + "format": "date-time", + "knownPrimaryType": "dateTime", + "name": { + "$id": "1783", + "fixed": false, + "raw": "DateTime" + }, + "deprecated": false + } + }, + { + "$id": "1784", + "isReadOnly": false, + "realPath": [ + "createdBy" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "1785", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "1786", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "1787", + "fixed": false, + "raw": "createdBy" + }, + "serializedName": "createdBy", + "modelType": { + "$id": "1788", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "1789", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + }, + { + "$id": "1790", + "isReadOnly": false, + "realPath": [ + "modifiedBy" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "1791", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "1792", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "1793", + "fixed": false, + "raw": "modifiedBy" + }, + "serializedName": "modifiedBy", + "modelType": { + "$id": "1794", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "1795", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + }, + { + "$id": "1796", + "isReadOnly": false, + "realPath": [ + "id" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "1797", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "1798", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "1799", + "fixed": false, + "raw": "id" + }, + "serializedName": "id", + "modelType": { + "$id": "1800", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "1801", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + } + ], + "serializedName": "OrderLineItem", + "containsConstantProperties": false, + "name": { + "$id": "1802", + "fixed": false, + "raw": "OrderLineItem" + }, + "extensions": { + "x-ms-metadata": { + "apiVersions": [ + "v1" + ], + "filename": [ + "mem:///104?oai3.shaken.json" + ], + "name": "OrderLineItem", + "originalLocations": [ + "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/schemas/OrderLineItem" + ] + } + }, + "deprecated": false + }, + { + "$id": "1803", + "$type": "CompositeType", + "properties": [ + { + "$id": "1804", + "isReadOnly": false, + "realPath": [ + "code" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "1805", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "1806", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "1807", + "fixed": false, + "raw": "code" + }, + "serializedName": "code", + "modelType": { + "$id": "1808", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "1809", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + }, + { + "$id": "1810", + "isReadOnly": true, + "realPath": [ + "name" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "1811", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "1812", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "1813", + "fixed": false, + "raw": "name" + }, + "serializedName": "name", + "modelType": { + "$id": "1814", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "1815", + "fixed": false, + "raw": "String" + }, + "deprecationMessage": "This type is deprecated. Please do not use it any longer.", + "deprecated": true + } + }, + { + "$id": "1816", + "isReadOnly": false, + "realPath": [ + "logoUrl" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "1817", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "1818", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "1819", + "fixed": false, + "raw": "logoUrl" + }, + "serializedName": "logoUrl", + "modelType": { + "$id": "1820", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "1821", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + }, + { + "$id": "1822", + "isReadOnly": false, + "realPath": [ + "isActive" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "1823", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "1824", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "1825", + "fixed": false, + "raw": "isActive" + }, + "serializedName": "isActive", + "modelType": { + "$id": "1826", + "$type": "PrimaryType", + "knownPrimaryType": "boolean", + "name": { + "$id": "1827", + "fixed": false, + "raw": "Boolean" + }, + "deprecated": false + } + }, + { + "$id": "1828", + "isReadOnly": false, + "realPath": [ + "priority" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "1829", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "1830", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "1831", + "fixed": false, + "raw": "priority" + }, + "serializedName": "priority", + "modelType": { + "$id": "1832", + "$type": "PrimaryType", + "format": "int32", + "knownPrimaryType": "int", + "name": { + "$id": "1833", + "fixed": false, + "raw": "Int" + }, + "deprecated": false + } + }, + { + "$id": "1834", + "isReadOnly": false, + "realPath": [ + "taxType" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "1835", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "1836", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "1837", + "fixed": false, + "raw": "taxType" + }, + "serializedName": "taxType", + "modelType": { + "$id": "1838", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "1839", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + }, + { + "$id": "1840", + "isReadOnly": false, + "realPath": [ + "storeId" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "1841", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "1842", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "1843", + "fixed": false, + "raw": "storeId" + }, + "serializedName": "storeId", + "modelType": { + "$id": "1844", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "1845", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + }, + { + "$id": "1846", + "isReadOnly": false, + "realPath": [ + "settings" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "1847", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "1848", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "1849", + "fixed": false, + "raw": "settings" + }, + "serializedName": "settings", + "modelType": { + "$id": "1850", + "$type": "SequenceType", + "elementType": { + "$ref": "479" + }, + "name": { + "$id": "1851", + "fixed": false + }, + "deprecated": false + } + }, + { + "$id": "1852", + "isReadOnly": true, + "realPath": [ + "typeName" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "1853", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "1854", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "1855", + "fixed": false, + "raw": "typeName" + }, + "serializedName": "typeName", + "modelType": { + "$id": "1856", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "1857", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + }, + { + "$id": "1858", + "isReadOnly": false, + "realPath": [ + "id" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "1859", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "1860", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "1861", + "fixed": false, + "raw": "id" + }, + "serializedName": "id", + "modelType": { + "$id": "1862", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "1863", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + } + ], + "serializedName": "ShippingMethod", + "containsConstantProperties": false, + "name": { + "$id": "1864", + "fixed": false, + "raw": "ShippingMethod" + }, + "extensions": { + "x-ms-metadata": { + "apiVersions": [ + "v1" + ], + "filename": [ + "mem:///104?oai3.shaken.json" + ], + "name": "ShippingMethod", + "originalLocations": [ + "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/schemas/ShippingMethod" + ] + } + }, + "deprecated": false + }, + { + "$id": "1865", + "$type": "CompositeType", + "properties": [ + { + "$id": "1866", + "isReadOnly": false, + "realPath": [ + "lineItemId" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "1867", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "1868", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "1869", + "fixed": false, + "raw": "lineItemId" + }, + "serializedName": "lineItemId", + "modelType": { + "$id": "1870", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "1871", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + }, + { + "$id": "1872", + "isReadOnly": false, + "realPath": [ + "lineItem" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "1873", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "1874", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "1875", + "fixed": false, + "raw": "lineItem" + }, + "serializedName": "lineItem", + "modelType": { + "$ref": "1489" + } + }, + { + "$id": "1876", + "isReadOnly": false, + "realPath": [ + "barCode" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "1877", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "1878", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "1879", + "fixed": false, + "raw": "barCode" + }, + "serializedName": "barCode", + "modelType": { + "$id": "1880", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "1881", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + }, + { + "$id": "1882", + "isReadOnly": false, + "realPath": [ + "quantity" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "1883", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "1884", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "1885", + "fixed": false, + "raw": "quantity" + }, + "serializedName": "quantity", + "modelType": { + "$id": "1886", + "$type": "PrimaryType", + "format": "int32", + "knownPrimaryType": "int", + "name": { + "$id": "1887", + "fixed": false, + "raw": "Int" + }, + "deprecated": false + } + }, + { + "$id": "1888", + "isReadOnly": false, + "realPath": [ + "outerId" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "1889", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "1890", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "1891", + "fixed": false, + "raw": "outerId" + }, + "serializedName": "outerId", + "modelType": { + "$id": "1892", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "1893", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + }, + { + "$id": "1894", + "isReadOnly": false, + "realPath": [ + "createdDate" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "1895", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "1896", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "1897", + "fixed": false, + "raw": "createdDate" + }, + "serializedName": "createdDate", + "modelType": { + "$id": "1898", + "$type": "PrimaryType", + "format": "date-time", + "knownPrimaryType": "dateTime", + "name": { + "$id": "1899", + "fixed": false, + "raw": "DateTime" + }, + "deprecated": false + } + }, + { + "$id": "1900", + "isReadOnly": false, + "realPath": [ + "modifiedDate" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "1901", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "1902", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "1903", + "fixed": false, + "raw": "modifiedDate" + }, + "serializedName": "modifiedDate", + "modelType": { + "$id": "1904", + "$type": "PrimaryType", + "format": "date-time", + "knownPrimaryType": "dateTime", + "name": { + "$id": "1905", + "fixed": false, + "raw": "DateTime" + }, + "deprecated": false + } + }, + { + "$id": "1906", + "isReadOnly": false, + "realPath": [ + "createdBy" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "1907", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "1908", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "1909", + "fixed": false, + "raw": "createdBy" + }, + "serializedName": "createdBy", + "modelType": { + "$id": "1910", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "1911", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + }, + { + "$id": "1912", + "isReadOnly": false, + "realPath": [ + "modifiedBy" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "1913", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "1914", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "1915", + "fixed": false, + "raw": "modifiedBy" + }, + "serializedName": "modifiedBy", + "modelType": { + "$id": "1916", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "1917", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + }, + { + "$id": "1918", + "isReadOnly": false, + "realPath": [ + "id" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "1919", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "1920", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "1921", + "fixed": false, + "raw": "id" + }, + "serializedName": "id", + "modelType": { + "$id": "1922", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "1923", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + } + ], + "serializedName": "OrderShipmentItem", + "containsConstantProperties": false, + "name": { + "$id": "1924", + "fixed": false, + "raw": "OrderShipmentItem" + }, + "extensions": { + "x-ms-metadata": { + "apiVersions": [ + "v1" + ], + "filename": [ + "mem:///104?oai3.shaken.json" + ], + "name": "OrderShipmentItem", + "originalLocations": [ + "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/schemas/OrderShipmentItem" + ] + } + }, + "deprecated": false + }, + { + "$id": "1925", + "$type": "CompositeType", + "properties": [ + { + "$id": "1926", + "isReadOnly": false, + "realPath": [ + "barCode" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "1927", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "1928", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "1929", + "fixed": false, + "raw": "barCode" + }, + "serializedName": "barCode", + "modelType": { + "$id": "1930", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "1931", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + }, + { + "$id": "1932", + "isReadOnly": false, + "realPath": [ + "packageType" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "1933", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "1934", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "1935", + "fixed": false, + "raw": "packageType" + }, + "serializedName": "packageType", + "modelType": { + "$id": "1936", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "1937", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + }, + { + "$id": "1938", + "isReadOnly": false, + "realPath": [ + "items" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "1939", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "1940", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "1941", + "fixed": false, + "raw": "items" + }, + "serializedName": "items", + "modelType": { + "$id": "1942", + "$type": "SequenceType", + "elementType": { + "$ref": "1865" + }, + "name": { + "$id": "1943", + "fixed": false + }, + "deprecated": false + } + }, + { + "$id": "1944", + "isReadOnly": false, + "realPath": [ + "weightUnit" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "1945", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "1946", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "1947", + "fixed": false, + "raw": "weightUnit" + }, + "serializedName": "weightUnit", + "modelType": { + "$id": "1948", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "1949", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + }, + { + "$id": "1950", + "isReadOnly": false, + "realPath": [ + "weight" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "1951", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "1952", + "fixed": false + }, + "extensions": { + "x-nullable": true + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "1953", + "fixed": false, + "raw": "weight" + }, + "serializedName": "weight", + "modelType": { + "$id": "1954", + "$type": "PrimaryType", + "format": "double", + "knownPrimaryType": "double", + "name": { + "$id": "1955", + "fixed": false, + "raw": "Double" + }, + "deprecated": false + } + }, + { + "$id": "1956", + "isReadOnly": false, + "realPath": [ + "measureUnit" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "1957", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "1958", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "1959", + "fixed": false, + "raw": "measureUnit" + }, + "serializedName": "measureUnit", + "modelType": { + "$id": "1960", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "1961", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + }, + { + "$id": "1962", + "isReadOnly": false, + "realPath": [ + "height" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "1963", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "1964", + "fixed": false + }, + "extensions": { + "x-nullable": true + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "1965", + "fixed": false, + "raw": "height" + }, + "serializedName": "height", + "modelType": { + "$id": "1966", + "$type": "PrimaryType", + "format": "double", + "knownPrimaryType": "double", + "name": { + "$id": "1967", + "fixed": false, + "raw": "Double" + }, + "deprecated": false + } + }, + { + "$id": "1968", + "isReadOnly": false, + "realPath": [ + "length" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "1969", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "1970", + "fixed": false + }, + "extensions": { + "x-nullable": true + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "1971", + "fixed": false, + "raw": "length" + }, + "serializedName": "length", + "modelType": { + "$id": "1972", + "$type": "PrimaryType", + "format": "double", + "knownPrimaryType": "double", + "name": { + "$id": "1973", + "fixed": false, + "raw": "Double" + }, + "deprecated": false + } + }, + { + "$id": "1974", + "isReadOnly": false, + "realPath": [ + "width" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "1975", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "1976", + "fixed": false + }, + "extensions": { + "x-nullable": true + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "1977", + "fixed": false, + "raw": "width" + }, + "serializedName": "width", + "modelType": { + "$id": "1978", + "$type": "PrimaryType", + "format": "double", + "knownPrimaryType": "double", + "name": { + "$id": "1979", + "fixed": false, + "raw": "Double" + }, + "deprecated": false + } + }, + { + "$id": "1980", + "isReadOnly": false, + "realPath": [ + "createdDate" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "1981", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "1982", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "1983", + "fixed": false, + "raw": "createdDate" + }, + "serializedName": "createdDate", + "modelType": { + "$id": "1984", + "$type": "PrimaryType", + "format": "date-time", + "knownPrimaryType": "dateTime", + "name": { + "$id": "1985", + "fixed": false, + "raw": "DateTime" + }, + "deprecated": false + } + }, + { + "$id": "1986", + "isReadOnly": false, + "realPath": [ + "modifiedDate" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "1987", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "1988", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "1989", + "fixed": false, + "raw": "modifiedDate" + }, + "serializedName": "modifiedDate", + "modelType": { + "$id": "1990", + "$type": "PrimaryType", + "format": "date-time", + "knownPrimaryType": "dateTime", + "name": { + "$id": "1991", + "fixed": false, + "raw": "DateTime" + }, + "deprecated": false + } + }, + { + "$id": "1992", + "isReadOnly": false, + "realPath": [ + "createdBy" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "1993", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "1994", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "1995", + "fixed": false, + "raw": "createdBy" + }, + "serializedName": "createdBy", + "modelType": { + "$id": "1996", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "1997", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + }, + { + "$id": "1998", + "isReadOnly": false, + "realPath": [ + "modifiedBy" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "1999", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "2000", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "2001", + "fixed": false, + "raw": "modifiedBy" + }, + "serializedName": "modifiedBy", + "modelType": { + "$id": "2002", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "2003", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + }, + { + "$id": "2004", + "isReadOnly": false, + "realPath": [ + "id" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "2005", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "2006", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "2007", + "fixed": false, + "raw": "id" + }, + "serializedName": "id", + "modelType": { + "$id": "2008", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "2009", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + } + ], + "serializedName": "ShipmentPackage", + "containsConstantProperties": false, + "name": { + "$id": "2010", + "fixed": false, + "raw": "ShipmentPackage" + }, + "extensions": { + "x-ms-metadata": { + "apiVersions": [ + "v1" + ], + "filename": [ + "mem:///104?oai3.shaken.json" + ], + "name": "ShipmentPackage", + "originalLocations": [ + "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/schemas/ShipmentPackage" + ] + } + }, + "deprecated": false + }, + { + "$id": "2011", + "$type": "CompositeType", + "properties": [ + { + "$id": "2012", + "isReadOnly": false, + "realPath": [ + "configuredGroups" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "2013", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "2014", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "2015", + "fixed": false, + "raw": "configuredGroups" + }, + "serializedName": "configuredGroups", + "modelType": { + "$id": "2016", + "$type": "SequenceType", + "elementType": { + "$ref": "263" + }, + "name": { + "$id": "2017", + "fixed": false + }, + "deprecated": false + } + }, + { + "$id": "2018", + "isReadOnly": false, + "realPath": [ + "customerId" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "2019", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "2020", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "2021", + "fixed": false, + "raw": "customerId" + }, + "serializedName": "customerId", + "modelType": { + "$id": "2022", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "2023", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + }, + { + "$id": "2024", + "isReadOnly": false, + "realPath": [ + "customerName" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "2025", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "2026", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "2027", + "fixed": false, + "raw": "customerName" + }, + "serializedName": "customerName", + "modelType": { + "$id": "2028", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "2029", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + }, + { + "$id": "2030", + "isReadOnly": false, + "realPath": [ + "channelId" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "2031", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "2032", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "2033", + "fixed": false, + "raw": "channelId" + }, + "serializedName": "channelId", + "modelType": { + "$id": "2034", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "2035", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + }, + { + "$id": "2036", + "isReadOnly": false, + "realPath": [ + "storeId" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "2037", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "2038", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "2039", + "fixed": false, + "raw": "storeId" + }, + "serializedName": "storeId", + "modelType": { + "$id": "2040", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "2041", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + }, + { + "$id": "2042", + "isReadOnly": false, + "realPath": [ + "storeName" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "2043", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "2044", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "2045", + "fixed": false, + "raw": "storeName" + }, + "serializedName": "storeName", + "modelType": { + "$id": "2046", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "2047", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + }, + { + "$id": "2048", + "isReadOnly": false, + "realPath": [ + "organizationId" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "2049", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "2050", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "2051", + "fixed": false, + "raw": "organizationId" + }, + "serializedName": "organizationId", + "modelType": { + "$id": "2052", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "2053", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + }, + { + "$id": "2054", + "isReadOnly": false, + "realPath": [ + "organizationName" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "2055", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "2056", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "2057", + "fixed": false, + "raw": "organizationName" + }, + "serializedName": "organizationName", + "modelType": { + "$id": "2058", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "2059", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + }, + { + "$id": "2060", + "isReadOnly": false, + "realPath": [ + "employeeId" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "2061", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "2062", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "2063", + "fixed": false, + "raw": "employeeId" + }, + "serializedName": "employeeId", + "modelType": { + "$id": "2064", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "2065", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + }, + { + "$id": "2066", + "isReadOnly": false, + "realPath": [ + "employeeName" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "2067", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "2068", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "2069", + "fixed": false, + "raw": "employeeName" + }, + "serializedName": "employeeName", + "modelType": { + "$id": "2070", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "2071", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + }, + { + "$id": "2072", + "isReadOnly": false, + "realPath": [ + "shoppingCartId" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "2073", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "2074", + "fixed": false, + "raw": "The basis shopping cart id of which the order was created" + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "2075", + "fixed": false, + "raw": "shoppingCartId" + }, + "serializedName": "shoppingCartId", + "modelType": { + "$id": "2076", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "2077", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + }, + { + "$id": "2078", + "isReadOnly": false, + "realPath": [ + "isPrototype" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "2079", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "2080", + "fixed": false, + "raw": "Flag determines that the order is the prototype" + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "2081", + "fixed": false, + "raw": "isPrototype" + }, + "serializedName": "isPrototype", + "modelType": { + "$id": "2082", + "$type": "PrimaryType", + "knownPrimaryType": "boolean", + "name": { + "$id": "2083", + "fixed": false, + "raw": "Boolean" + }, + "deprecated": false + } + }, + { + "$id": "2084", + "isReadOnly": false, + "realPath": [ + "purchaseOrderNumber" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "2085", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "2086", + "fixed": false, + "raw": "Internal number of order provided by customer" + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "2087", + "fixed": false, + "raw": "purchaseOrderNumber" + }, + "serializedName": "purchaseOrderNumber", + "modelType": { + "$id": "2088", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "2089", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + }, + { + "$id": "2090", + "isReadOnly": false, + "realPath": [ + "subscriptionNumber" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "2091", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "2092", + "fixed": false, + "raw": "Number for subscription associated with this order" + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "2093", + "fixed": false, + "raw": "subscriptionNumber" + }, + "serializedName": "subscriptionNumber", + "modelType": { + "$id": "2094", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "2095", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + }, + { + "$id": "2096", + "isReadOnly": false, + "realPath": [ + "subscriptionId" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "2097", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "2098", + "fixed": false, + "raw": "Identifier for subscription associated with this order" + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "2099", + "fixed": false, + "raw": "subscriptionId" + }, + "serializedName": "subscriptionId", + "modelType": { + "$id": "2100", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "2101", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + }, + { + "$id": "2102", + "isReadOnly": false, + "realPath": [ + "objectType" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "2103", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "2104", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "2105", + "fixed": false, + "raw": "objectType" + }, + "serializedName": "objectType", + "modelType": { + "$id": "2106", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "2107", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + }, + { + "$id": "2108", + "isReadOnly": false, + "realPath": [ + "addresses" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "2109", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "2110", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "2111", + "fixed": false, + "raw": "addresses" + }, + "serializedName": "addresses", + "modelType": { + "$id": "2112", + "$type": "SequenceType", + "elementType": { + "$ref": "363" + }, + "name": { + "$id": "2113", + "fixed": false + }, + "deprecated": false + } + }, + { + "$id": "2114", + "isReadOnly": false, + "realPath": [ + "inPayments" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "2115", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "2116", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "2117", + "fixed": false, + "raw": "inPayments" + }, + "serializedName": "inPayments", + "modelType": { + "$id": "2118", + "$type": "SequenceType", + "elementType": { + "$ref": "1198" + }, + "name": { + "$id": "2119", + "fixed": false + }, + "deprecated": false + } + }, + { + "$id": "2120", + "isReadOnly": false, + "realPath": [ + "items" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "2121", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "2122", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "2123", + "fixed": false, + "raw": "items" + }, + "serializedName": "items", + "modelType": { + "$id": "2124", + "$type": "SequenceType", + "elementType": { + "$ref": "1489" + }, + "name": { + "$id": "2125", + "fixed": false + }, + "deprecated": false + } + }, + { + "$id": "2126", + "isReadOnly": false, + "realPath": [ + "shipments" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "2127", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "2128", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "2129", + "fixed": false, + "raw": "shipments" + }, + "serializedName": "shipments", + "modelType": { + "$id": "2130", + "$type": "SequenceType", + "elementType": { + "$id": "2131", + "$type": "CompositeType", + "properties": [ + { + "$id": "2132", + "isReadOnly": false, + "realPath": [ + "organizationId" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "2133", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "2134", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "2135", + "fixed": false, + "raw": "organizationId" + }, + "serializedName": "organizationId", + "modelType": { + "$id": "2136", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "2137", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + }, + { + "$id": "2138", + "isReadOnly": false, + "realPath": [ + "organizationName" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "2139", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "2140", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "2141", + "fixed": false, + "raw": "organizationName" + }, + "serializedName": "organizationName", + "modelType": { + "$id": "2142", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "2143", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + }, + { + "$id": "2144", + "isReadOnly": false, + "realPath": [ + "fulfillmentCenterId" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "2145", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "2146", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "2147", + "fixed": false, + "raw": "fulfillmentCenterId" + }, + "serializedName": "fulfillmentCenterId", + "modelType": { + "$id": "2148", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "2149", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + }, + { + "$id": "2150", + "isReadOnly": false, + "realPath": [ + "fulfillmentCenterName" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "2151", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "2152", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "2153", + "fixed": false, + "raw": "fulfillmentCenterName" + }, + "serializedName": "fulfillmentCenterName", + "modelType": { + "$id": "2154", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "2155", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + }, + { + "$id": "2156", + "isReadOnly": false, + "realPath": [ + "employeeId" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "2157", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "2158", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "2159", + "fixed": false, + "raw": "employeeId" + }, + "serializedName": "employeeId", + "modelType": { + "$id": "2160", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "2161", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + }, + { + "$id": "2162", + "isReadOnly": false, + "realPath": [ + "employeeName" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "2163", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "2164", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "2165", + "fixed": false, + "raw": "employeeName" + }, + "serializedName": "employeeName", + "modelType": { + "$id": "2166", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "2167", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + }, + { + "$id": "2168", + "isReadOnly": false, + "realPath": [ + "shipmentMethodCode" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "2169", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "2170", + "fixed": false, + "raw": "Current shipment method code" + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "2171", + "fixed": false, + "raw": "shipmentMethodCode" + }, + "serializedName": "shipmentMethodCode", + "modelType": { + "$id": "2172", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "2173", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + }, + { + "$id": "2174", + "isReadOnly": false, + "realPath": [ + "shipmentMethodOption" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "2175", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "2176", + "fixed": false, + "raw": "Current shipment option code" + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "2177", + "fixed": false, + "raw": "shipmentMethodOption" + }, + "serializedName": "shipmentMethodOption", + "modelType": { + "$id": "2178", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "2179", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + }, + { + "$id": "2180", + "isReadOnly": false, + "realPath": [ + "shippingMethod" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "2181", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "2182", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "2183", + "fixed": false, + "raw": "shippingMethod" + }, + "serializedName": "shippingMethod", + "modelType": { + "$ref": "1803" + } + }, + { + "$id": "2184", + "isReadOnly": false, + "realPath": [ + "customerOrderId" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "2185", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "2186", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "2187", + "fixed": false, + "raw": "customerOrderId" + }, + "serializedName": "customerOrderId", + "modelType": { + "$id": "2188", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "2189", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + }, + { + "$id": "2190", + "isReadOnly": false, + "realPath": [ + "customerOrder" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "2191", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "2192", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "2193", + "fixed": false, + "raw": "customerOrder" + }, + "serializedName": "customerOrder", + "modelType": { + "$ref": "2011" + } + }, + { + "$id": "2194", + "isReadOnly": false, + "realPath": [ + "items" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "2195", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "2196", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "2197", + "fixed": false, + "raw": "items" + }, + "serializedName": "items", + "modelType": { + "$id": "2198", + "$type": "SequenceType", + "elementType": { + "$ref": "1865" + }, + "name": { + "$id": "2199", + "fixed": false + }, + "deprecated": false + } + }, + { + "$id": "2200", + "isReadOnly": false, + "realPath": [ + "packages" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "2201", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "2202", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "2203", + "fixed": false, + "raw": "packages" + }, + "serializedName": "packages", + "modelType": { + "$id": "2204", + "$type": "SequenceType", + "elementType": { + "$ref": "1925" + }, + "name": { + "$id": "2205", + "fixed": false + }, + "deprecated": false + } + }, + { + "$id": "2206", + "isReadOnly": false, + "realPath": [ + "inPayments" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "2207", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "2208", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "2209", + "fixed": false, + "raw": "inPayments" + }, + "serializedName": "inPayments", + "modelType": { + "$id": "2210", + "$type": "SequenceType", + "elementType": { + "$ref": "1198" + }, + "name": { + "$id": "2211", + "fixed": false + }, + "deprecated": false + } + }, + { + "$id": "2212", + "isReadOnly": false, + "realPath": [ + "weightUnit" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "2213", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "2214", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "2215", + "fixed": false, + "raw": "weightUnit" + }, + "serializedName": "weightUnit", + "modelType": { + "$id": "2216", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "2217", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + }, + { + "$id": "2218", + "isReadOnly": false, + "realPath": [ + "weight" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "2219", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "2220", + "fixed": false + }, + "extensions": { + "x-nullable": true + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "2221", + "fixed": false, + "raw": "weight" + }, + "serializedName": "weight", + "modelType": { + "$id": "2222", + "$type": "PrimaryType", + "format": "double", + "knownPrimaryType": "double", + "name": { + "$id": "2223", + "fixed": false, + "raw": "Double" + }, + "deprecated": false + } + }, + { + "$id": "2224", + "isReadOnly": false, + "realPath": [ + "measureUnit" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "2225", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "2226", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "2227", + "fixed": false, + "raw": "measureUnit" + }, + "serializedName": "measureUnit", + "modelType": { + "$id": "2228", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "2229", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + }, + { + "$id": "2230", + "isReadOnly": false, + "realPath": [ + "height" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "2231", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "2232", + "fixed": false + }, + "extensions": { + "x-nullable": true + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "2233", + "fixed": false, + "raw": "height" + }, + "serializedName": "height", + "modelType": { + "$id": "2234", + "$type": "PrimaryType", + "format": "double", + "knownPrimaryType": "double", + "name": { + "$id": "2235", + "fixed": false, + "raw": "Double" + }, + "deprecated": false + } + }, + { + "$id": "2236", + "isReadOnly": false, + "realPath": [ + "length" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "2237", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "2238", + "fixed": false + }, + "extensions": { + "x-nullable": true + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "2239", + "fixed": false, + "raw": "length" + }, + "serializedName": "length", + "modelType": { + "$id": "2240", + "$type": "PrimaryType", + "format": "double", + "knownPrimaryType": "double", + "name": { + "$id": "2241", + "fixed": false, + "raw": "Double" + }, + "deprecated": false + } + }, + { + "$id": "2242", + "isReadOnly": false, + "realPath": [ + "width" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "2243", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "2244", + "fixed": false + }, + "extensions": { + "x-nullable": true + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "2245", + "fixed": false, + "raw": "width" + }, + "serializedName": "width", + "modelType": { + "$id": "2246", + "$type": "PrimaryType", + "format": "double", + "knownPrimaryType": "double", + "name": { + "$id": "2247", + "fixed": false, + "raw": "Double" + }, + "deprecated": false + } + }, + { + "$id": "2248", + "isReadOnly": false, + "realPath": [ + "discounts" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "2249", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "2250", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "2251", + "fixed": false, + "raw": "discounts" + }, + "serializedName": "discounts", + "modelType": { + "$id": "2252", + "$type": "SequenceType", + "elementType": { + "$ref": "798" + }, + "name": { + "$id": "2253", + "fixed": false + }, + "deprecated": false + } + }, + { + "$id": "2254", + "isReadOnly": false, + "realPath": [ + "deliveryAddress" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "2255", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "2256", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "2257", + "fixed": false, + "raw": "deliveryAddress" + }, + "serializedName": "deliveryAddress", + "modelType": { + "$ref": "363" + } + }, + { + "$id": "2258", + "isReadOnly": false, + "realPath": [ + "price" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "2259", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "2260", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "2261", + "fixed": false, + "raw": "price" + }, + "serializedName": "price", + "modelType": { + "$id": "2262", + "$type": "PrimaryType", + "format": "double", + "knownPrimaryType": "double", + "name": { + "$id": "2263", + "fixed": false, + "raw": "Double" + }, + "deprecated": false + } + }, + { + "$id": "2264", + "isReadOnly": false, + "realPath": [ + "priceWithTax" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "2265", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "2266", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "2267", + "fixed": false, + "raw": "priceWithTax" + }, + "serializedName": "priceWithTax", + "modelType": { + "$id": "2268", + "$type": "PrimaryType", + "format": "double", + "knownPrimaryType": "double", + "name": { + "$id": "2269", + "fixed": false, + "raw": "Double" + }, + "deprecated": false + } + }, + { + "$id": "2270", + "isReadOnly": false, + "realPath": [ + "total" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "2271", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "2272", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "2273", + "fixed": false, + "raw": "total" + }, + "serializedName": "total", + "modelType": { + "$id": "2274", + "$type": "PrimaryType", + "format": "double", + "knownPrimaryType": "double", + "name": { + "$id": "2275", + "fixed": false, + "raw": "Double" + }, + "deprecated": false + } + }, + { + "$id": "2276", + "isReadOnly": false, + "realPath": [ + "totalWithTax" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "2277", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "2278", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "2279", + "fixed": false, + "raw": "totalWithTax" + }, + "serializedName": "totalWithTax", + "modelType": { + "$id": "2280", + "$type": "PrimaryType", + "format": "double", + "knownPrimaryType": "double", + "name": { + "$id": "2281", + "fixed": false, + "raw": "Double" + }, + "deprecated": false + } + }, + { + "$id": "2282", + "isReadOnly": false, + "realPath": [ + "discountAmount" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "2283", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "2284", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "2285", + "fixed": false, + "raw": "discountAmount" + }, + "serializedName": "discountAmount", + "modelType": { + "$id": "2286", + "$type": "PrimaryType", + "format": "double", + "knownPrimaryType": "double", + "name": { + "$id": "2287", + "fixed": false, + "raw": "Double" + }, + "deprecated": false + } + }, + { + "$id": "2288", + "isReadOnly": false, + "realPath": [ + "discountAmountWithTax" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "2289", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "2290", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "2291", + "fixed": false, + "raw": "discountAmountWithTax" + }, + "serializedName": "discountAmountWithTax", + "modelType": { + "$id": "2292", + "$type": "PrimaryType", + "format": "double", + "knownPrimaryType": "double", + "name": { + "$id": "2293", + "fixed": false, + "raw": "Double" + }, + "deprecated": false + } + }, + { + "$id": "2294", + "isReadOnly": false, + "realPath": [ + "fee" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "2295", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "2296", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "2297", + "fixed": false, + "raw": "fee" + }, + "serializedName": "fee", + "modelType": { + "$id": "2298", + "$type": "PrimaryType", + "format": "double", + "knownPrimaryType": "double", + "name": { + "$id": "2299", + "fixed": false, + "raw": "Double" + }, + "deprecated": false + } + }, + { + "$id": "2300", + "isReadOnly": false, + "realPath": [ + "feeWithTax" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "2301", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "2302", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "2303", + "fixed": false, + "raw": "feeWithTax" + }, + "serializedName": "feeWithTax", + "modelType": { + "$id": "2304", + "$type": "PrimaryType", + "format": "double", + "knownPrimaryType": "double", + "name": { + "$id": "2305", + "fixed": false, + "raw": "Double" + }, + "deprecated": false + } + }, + { + "$id": "2306", + "isReadOnly": false, + "realPath": [ + "objectType" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "2307", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "2308", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "2309", + "fixed": false, + "raw": "objectType" + }, + "serializedName": "objectType", + "modelType": { + "$id": "2310", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "2311", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + }, + { + "$id": "2312", + "isReadOnly": false, + "realPath": [ + "taxType" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "2313", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "2314", + "fixed": false, + "raw": "Tax category or type" + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "2315", + "fixed": false, + "raw": "taxType" + }, + "serializedName": "taxType", + "modelType": { + "$id": "2316", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "2317", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + }, + { + "$id": "2318", + "isReadOnly": false, + "realPath": [ + "taxTotal" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "2319", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "2320", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "2321", + "fixed": false, + "raw": "taxTotal" + }, + "serializedName": "taxTotal", + "modelType": { + "$id": "2322", + "$type": "PrimaryType", + "format": "double", + "knownPrimaryType": "double", + "name": { + "$id": "2323", + "fixed": false, + "raw": "Double" + }, + "deprecated": false + } + }, + { + "$id": "2324", + "isReadOnly": false, + "realPath": [ + "taxPercentRate" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "2325", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "2326", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "2327", + "fixed": false, + "raw": "taxPercentRate" + }, + "serializedName": "taxPercentRate", + "modelType": { + "$id": "2328", + "$type": "PrimaryType", + "format": "double", + "knownPrimaryType": "double", + "name": { + "$id": "2329", + "fixed": false, + "raw": "Double" + }, + "deprecated": false + } + }, + { + "$id": "2330", + "isReadOnly": false, + "realPath": [ + "taxDetails" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "2331", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "2332", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "2333", + "fixed": false, + "raw": "taxDetails" + }, + "serializedName": "taxDetails", + "modelType": { + "$id": "2334", + "$type": "SequenceType", + "elementType": { + "$ref": "571" + }, + "name": { + "$id": "2335", + "fixed": false + }, + "deprecated": false + } + }, + { + "$id": "2336", + "isReadOnly": false, + "realPath": [ + "operationType" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "2337", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "2338", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "2339", + "fixed": false, + "raw": "operationType" + }, + "serializedName": "operationType", + "modelType": { + "$id": "2340", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "2341", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + }, + { + "$id": "2342", + "isReadOnly": false, + "realPath": [ + "parentOperationId" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "2343", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "2344", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "2345", + "fixed": false, + "raw": "parentOperationId" + }, + "serializedName": "parentOperationId", + "modelType": { + "$id": "2346", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "2347", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + }, + { + "$id": "2348", + "isReadOnly": false, + "realPath": [ + "number" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "2349", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "2350", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "2351", + "fixed": false, + "raw": "number" + }, + "serializedName": "number", + "modelType": { + "$id": "2352", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "2353", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + }, + { + "$id": "2354", + "isReadOnly": false, + "realPath": [ + "isApproved" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "2355", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "2356", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "2357", + "fixed": false, + "raw": "isApproved" + }, + "serializedName": "isApproved", + "modelType": { + "$id": "2358", + "$type": "PrimaryType", + "knownPrimaryType": "boolean", + "name": { + "$id": "2359", + "fixed": false, + "raw": "Boolean" + }, + "deprecated": false + } + }, + { + "$id": "2360", + "isReadOnly": false, + "realPath": [ + "status" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "2361", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "2362", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "2363", + "fixed": false, + "raw": "status" + }, + "serializedName": "status", + "modelType": { + "$id": "2364", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "2365", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + }, + { + "$id": "2366", + "isReadOnly": false, + "realPath": [ + "comment" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "2367", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "2368", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "2369", + "fixed": false, + "raw": "comment" + }, + "serializedName": "comment", + "modelType": { + "$id": "2370", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "2371", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + }, + { + "$id": "2372", + "isReadOnly": false, + "realPath": [ + "currency" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "2373", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "2374", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "2375", + "fixed": false, + "raw": "currency" + }, + "serializedName": "currency", + "modelType": { + "$id": "2376", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "2377", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + }, + { + "$id": "2378", + "isReadOnly": false, + "realPath": [ + "sum" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "2379", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "2380", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "2381", + "fixed": false, + "raw": "sum" + }, + "serializedName": "sum", + "modelType": { + "$id": "2382", + "$type": "PrimaryType", + "format": "double", + "knownPrimaryType": "double", + "name": { + "$id": "2383", + "fixed": false, + "raw": "Double" + }, + "deprecated": false + } + }, + { + "$id": "2384", + "isReadOnly": false, + "realPath": [ + "outerId" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "2385", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "2386", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "2387", + "fixed": false, + "raw": "outerId" + }, + "serializedName": "outerId", + "modelType": { + "$id": "2388", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "2389", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + }, + { + "$id": "2390", + "isReadOnly": false, + "realPath": [ + "isCancelled" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "2391", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "2392", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "2393", + "fixed": false, + "raw": "isCancelled" + }, + "serializedName": "isCancelled", + "modelType": { + "$id": "2394", + "$type": "PrimaryType", + "knownPrimaryType": "boolean", + "name": { + "$id": "2395", + "fixed": false, + "raw": "Boolean" + }, + "deprecated": false + } + }, + { + "$id": "2396", + "isReadOnly": false, + "realPath": [ + "cancelledDate" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "2397", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "2398", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "2399", + "fixed": false, + "raw": "cancelledDate" + }, + "serializedName": "cancelledDate", + "modelType": { + "$id": "2400", + "$type": "PrimaryType", + "format": "date-time", + "knownPrimaryType": "dateTime", + "name": { + "$id": "2401", + "fixed": false, + "raw": "DateTime" + }, + "deprecated": false + } + }, + { + "$id": "2402", + "isReadOnly": false, + "realPath": [ + "cancelReason" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "2403", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "2404", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "2405", + "fixed": false, + "raw": "cancelReason" + }, + "serializedName": "cancelReason", + "modelType": { + "$id": "2406", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "2407", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + }, + { + "$id": "2408", + "isReadOnly": false, + "realPath": [ + "dynamicProperties" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "2409", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "2410", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "2411", + "fixed": false, + "raw": "dynamicProperties" + }, + "serializedName": "dynamicProperties", + "modelType": { + "$id": "2412", + "$type": "SequenceType", + "elementType": { + "$ref": "1083" + }, + "name": { + "$id": "2413", + "fixed": false + }, + "deprecated": false + } + }, + { + "$id": "2414", + "isReadOnly": false, + "realPath": [ + "operationsLog" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "2415", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "2416", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "2417", + "fixed": false, + "raw": "operationsLog" + }, + "serializedName": "operationsLog", + "modelType": { + "$id": "2418", + "$type": "SequenceType", + "elementType": { + "$ref": "2" + }, + "name": { + "$id": "2419", + "fixed": false + }, + "deprecated": false + } + }, + { + "$id": "2420", + "isReadOnly": false, + "realPath": [ + "createdDate" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "2421", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "2422", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "2423", + "fixed": false, + "raw": "createdDate" + }, + "serializedName": "createdDate", + "modelType": { + "$id": "2424", + "$type": "PrimaryType", + "format": "date-time", + "knownPrimaryType": "dateTime", + "name": { + "$id": "2425", + "fixed": false, + "raw": "DateTime" + }, + "deprecated": false + } + }, + { + "$id": "2426", + "isReadOnly": false, + "realPath": [ + "modifiedDate" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "2427", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "2428", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "2429", + "fixed": false, + "raw": "modifiedDate" + }, + "serializedName": "modifiedDate", + "modelType": { + "$id": "2430", + "$type": "PrimaryType", + "format": "date-time", + "knownPrimaryType": "dateTime", + "name": { + "$id": "2431", + "fixed": false, + "raw": "DateTime" + }, + "deprecated": false + } + }, + { + "$id": "2432", + "isReadOnly": false, + "realPath": [ + "createdBy" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "2433", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "2434", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "2435", + "fixed": false, + "raw": "createdBy" + }, + "serializedName": "createdBy", + "modelType": { + "$id": "2436", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "2437", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + }, + { + "$id": "2438", + "isReadOnly": false, + "realPath": [ + "modifiedBy" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "2439", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "2440", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "2441", + "fixed": false, + "raw": "modifiedBy" + }, + "serializedName": "modifiedBy", + "modelType": { + "$id": "2442", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "2443", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + }, + { + "$id": "2444", + "isReadOnly": false, + "realPath": [ + "id" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "2445", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "2446", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "2447", + "fixed": false, + "raw": "id" + }, + "serializedName": "id", + "modelType": { + "$id": "2448", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "2449", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + } + ], + "serializedName": "OrderShipment", + "containsConstantProperties": false, + "name": { + "$id": "2450", + "fixed": false, + "raw": "OrderShipment" + }, + "extensions": { + "x-ms-metadata": { + "apiVersions": [ + "v1" + ], + "filename": [ + "mem:///104?oai3.shaken.json" + ], + "name": "OrderShipment", + "originalLocations": [ + "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/schemas/OrderShipment" + ] + } + }, + "deprecated": false + }, + "name": { + "$id": "2451", + "fixed": false + }, + "deprecated": false + } + }, + { + "$id": "2452", + "isReadOnly": false, + "realPath": [ + "discounts" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "2453", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "2454", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "2455", + "fixed": false, + "raw": "discounts" + }, + "serializedName": "discounts", + "modelType": { + "$id": "2456", + "$type": "SequenceType", + "elementType": { + "$ref": "798" + }, + "name": { + "$id": "2457", + "fixed": false + }, + "deprecated": false + } + }, + { + "$id": "2458", + "isReadOnly": false, + "realPath": [ + "discountAmount" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "2459", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "2460", + "fixed": false, + "raw": "When a discount is applied to the order, the tax calculation has already been applied, and is reflected in the tax.\r\nTherefore, a discount applying to the order will occur after tax. \r\nFor instance, if the cart subtotal is $100, and $15 is the tax subtotal, a cart-wide discount of 10% will yield a total of $105 ($100 subtotal – $10 discount + $15 tax on the original $100)." + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "2461", + "fixed": false, + "raw": "discountAmount" + }, + "serializedName": "discountAmount", + "modelType": { + "$id": "2462", + "$type": "PrimaryType", + "format": "double", + "knownPrimaryType": "double", + "name": { + "$id": "2463", + "fixed": false, + "raw": "Double" + }, + "deprecated": false + } + }, + { + "$id": "2464", + "isReadOnly": false, + "realPath": [ + "taxDetails" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "2465", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "2466", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "2467", + "fixed": false, + "raw": "taxDetails" + }, + "serializedName": "taxDetails", + "modelType": { + "$id": "2468", + "$type": "SequenceType", + "elementType": { + "$ref": "571" + }, + "name": { + "$id": "2469", + "fixed": false + }, + "deprecated": false + } + }, + { + "$id": "2470", + "isReadOnly": false, + "realPath": [ + "scopes" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "2471", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "2472", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "2473", + "fixed": false, + "raw": "scopes" + }, + "serializedName": "scopes", + "modelType": { + "$id": "2474", + "$type": "SequenceType", + "elementType": { + "$id": "2475", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "2476", + "fixed": false, + "raw": "String" + }, + "deprecated": false + }, + "name": { + "$id": "2477", + "fixed": false + }, + "deprecated": false + } + }, + { + "$id": "2478", + "isReadOnly": false, + "realPath": [ + "total" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "2479", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "2480", + "fixed": false, + "raw": "Grand order total" + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "2481", + "fixed": false, + "raw": "total" + }, + "serializedName": "total", + "modelType": { + "$id": "2482", + "$type": "PrimaryType", + "format": "double", + "knownPrimaryType": "double", + "name": { + "$id": "2483", + "fixed": false, + "raw": "Double" + }, + "deprecated": false + } + }, + { + "$id": "2484", + "isReadOnly": false, + "realPath": [ + "subTotal" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "2485", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "2486", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "2487", + "fixed": false, + "raw": "subTotal" + }, + "serializedName": "subTotal", + "modelType": { + "$id": "2488", + "$type": "PrimaryType", + "format": "double", + "knownPrimaryType": "double", + "name": { + "$id": "2489", + "fixed": false, + "raw": "Double" + }, + "deprecated": false + } + }, + { + "$id": "2490", + "isReadOnly": false, + "realPath": [ + "subTotalWithTax" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "2491", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "2492", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "2493", + "fixed": false, + "raw": "subTotalWithTax" + }, + "serializedName": "subTotalWithTax", + "modelType": { + "$id": "2494", + "$type": "PrimaryType", + "format": "double", + "knownPrimaryType": "double", + "name": { + "$id": "2495", + "fixed": false, + "raw": "Double" + }, + "deprecated": false + } + }, + { + "$id": "2496", + "isReadOnly": false, + "realPath": [ + "subTotalDiscount" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "2497", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "2498", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "2499", + "fixed": false, + "raw": "subTotalDiscount" + }, + "serializedName": "subTotalDiscount", + "modelType": { + "$id": "2500", + "$type": "PrimaryType", + "format": "double", + "knownPrimaryType": "double", + "name": { + "$id": "2501", + "fixed": false, + "raw": "Double" + }, + "deprecated": false + } + }, + { + "$id": "2502", + "isReadOnly": false, + "realPath": [ + "subTotalDiscountWithTax" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "2503", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "2504", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "2505", + "fixed": false, + "raw": "subTotalDiscountWithTax" + }, + "serializedName": "subTotalDiscountWithTax", + "modelType": { + "$id": "2506", + "$type": "PrimaryType", + "format": "double", + "knownPrimaryType": "double", + "name": { + "$id": "2507", + "fixed": false, + "raw": "Double" + }, + "deprecated": false + } + }, + { + "$id": "2508", + "isReadOnly": false, + "realPath": [ + "subTotalTaxTotal" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "2509", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "2510", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "2511", + "fixed": false, + "raw": "subTotalTaxTotal" + }, + "serializedName": "subTotalTaxTotal", + "modelType": { + "$id": "2512", + "$type": "PrimaryType", + "format": "double", + "knownPrimaryType": "double", + "name": { + "$id": "2513", + "fixed": false, + "raw": "Double" + }, + "deprecated": false + } + }, + { + "$id": "2514", + "isReadOnly": false, + "realPath": [ + "shippingTotal" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "2515", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "2516", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "2517", + "fixed": false, + "raw": "shippingTotal" + }, + "serializedName": "shippingTotal", + "modelType": { + "$id": "2518", + "$type": "PrimaryType", + "format": "double", + "knownPrimaryType": "double", + "name": { + "$id": "2519", + "fixed": false, + "raw": "Double" + }, + "deprecated": false + } + }, + { + "$id": "2520", + "isReadOnly": false, + "realPath": [ + "shippingTotalWithTax" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "2521", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "2522", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "2523", + "fixed": false, + "raw": "shippingTotalWithTax" + }, + "serializedName": "shippingTotalWithTax", + "modelType": { + "$id": "2524", + "$type": "PrimaryType", + "format": "double", + "knownPrimaryType": "double", + "name": { + "$id": "2525", + "fixed": false, + "raw": "Double" + }, + "deprecated": false + } + }, + { + "$id": "2526", + "isReadOnly": false, + "realPath": [ + "shippingSubTotal" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "2527", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "2528", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "2529", + "fixed": false, + "raw": "shippingSubTotal" + }, + "serializedName": "shippingSubTotal", + "modelType": { + "$id": "2530", + "$type": "PrimaryType", + "format": "double", + "knownPrimaryType": "double", + "name": { + "$id": "2531", + "fixed": false, + "raw": "Double" + }, + "deprecated": false + } + }, + { + "$id": "2532", + "isReadOnly": false, + "realPath": [ + "shippingSubTotalWithTax" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "2533", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "2534", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "2535", + "fixed": false, + "raw": "shippingSubTotalWithTax" + }, + "serializedName": "shippingSubTotalWithTax", + "modelType": { + "$id": "2536", + "$type": "PrimaryType", + "format": "double", + "knownPrimaryType": "double", + "name": { + "$id": "2537", + "fixed": false, + "raw": "Double" + }, + "deprecated": false + } + }, + { + "$id": "2538", + "isReadOnly": false, + "realPath": [ + "shippingDiscountTotal" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "2539", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "2540", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "2541", + "fixed": false, + "raw": "shippingDiscountTotal" + }, + "serializedName": "shippingDiscountTotal", + "modelType": { + "$id": "2542", + "$type": "PrimaryType", + "format": "double", + "knownPrimaryType": "double", + "name": { + "$id": "2543", + "fixed": false, + "raw": "Double" + }, + "deprecated": false + } + }, + { + "$id": "2544", + "isReadOnly": false, + "realPath": [ + "shippingDiscountTotalWithTax" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "2545", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "2546", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "2547", + "fixed": false, + "raw": "shippingDiscountTotalWithTax" + }, + "serializedName": "shippingDiscountTotalWithTax", + "modelType": { + "$id": "2548", + "$type": "PrimaryType", + "format": "double", + "knownPrimaryType": "double", + "name": { + "$id": "2549", + "fixed": false, + "raw": "Double" + }, + "deprecated": false + } + }, + { + "$id": "2550", + "isReadOnly": false, + "realPath": [ + "shippingTaxTotal" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "2551", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "2552", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "2553", + "fixed": false, + "raw": "shippingTaxTotal" + }, + "serializedName": "shippingTaxTotal", + "modelType": { + "$id": "2554", + "$type": "PrimaryType", + "format": "double", + "knownPrimaryType": "double", + "name": { + "$id": "2555", + "fixed": false, + "raw": "Double" + }, + "deprecated": false + } + }, + { + "$id": "2556", + "isReadOnly": false, + "realPath": [ + "paymentTotal" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "2557", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "2558", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "2559", + "fixed": false, + "raw": "paymentTotal" + }, + "serializedName": "paymentTotal", + "modelType": { + "$id": "2560", + "$type": "PrimaryType", + "format": "double", + "knownPrimaryType": "double", + "name": { + "$id": "2561", + "fixed": false, + "raw": "Double" + }, + "deprecated": false + } + }, + { + "$id": "2562", + "isReadOnly": false, + "realPath": [ + "paymentTotalWithTax" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "2563", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "2564", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "2565", + "fixed": false, + "raw": "paymentTotalWithTax" + }, + "serializedName": "paymentTotalWithTax", + "modelType": { + "$id": "2566", + "$type": "PrimaryType", + "format": "double", + "knownPrimaryType": "double", + "name": { + "$id": "2567", + "fixed": false, + "raw": "Double" + }, + "deprecated": false + } + }, + { + "$id": "2568", + "isReadOnly": false, + "realPath": [ + "paymentSubTotal" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "2569", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "2570", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "2571", + "fixed": false, + "raw": "paymentSubTotal" + }, + "serializedName": "paymentSubTotal", + "modelType": { + "$id": "2572", + "$type": "PrimaryType", + "format": "double", + "knownPrimaryType": "double", + "name": { + "$id": "2573", + "fixed": false, + "raw": "Double" + }, + "deprecated": false + } + }, + { + "$id": "2574", + "isReadOnly": false, + "realPath": [ + "paymentSubTotalWithTax" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "2575", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "2576", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "2577", + "fixed": false, + "raw": "paymentSubTotalWithTax" + }, + "serializedName": "paymentSubTotalWithTax", + "modelType": { + "$id": "2578", + "$type": "PrimaryType", + "format": "double", + "knownPrimaryType": "double", + "name": { + "$id": "2579", + "fixed": false, + "raw": "Double" + }, + "deprecated": false + } + }, + { + "$id": "2580", + "isReadOnly": false, + "realPath": [ + "paymentDiscountTotal" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "2581", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "2582", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "2583", + "fixed": false, + "raw": "paymentDiscountTotal" + }, + "serializedName": "paymentDiscountTotal", + "modelType": { + "$id": "2584", + "$type": "PrimaryType", + "format": "double", + "knownPrimaryType": "double", + "name": { + "$id": "2585", + "fixed": false, + "raw": "Double" + }, + "deprecated": false + } + }, + { + "$id": "2586", + "isReadOnly": false, + "realPath": [ + "paymentDiscountTotalWithTax" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "2587", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "2588", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "2589", + "fixed": false, + "raw": "paymentDiscountTotalWithTax" + }, + "serializedName": "paymentDiscountTotalWithTax", + "modelType": { + "$id": "2590", + "$type": "PrimaryType", + "format": "double", + "knownPrimaryType": "double", + "name": { + "$id": "2591", + "fixed": false, + "raw": "Double" + }, + "deprecated": false + } + }, + { + "$id": "2592", + "isReadOnly": false, + "realPath": [ + "paymentTaxTotal" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "2593", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "2594", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "2595", + "fixed": false, + "raw": "paymentTaxTotal" + }, + "serializedName": "paymentTaxTotal", + "modelType": { + "$id": "2596", + "$type": "PrimaryType", + "format": "double", + "knownPrimaryType": "double", + "name": { + "$id": "2597", + "fixed": false, + "raw": "Double" + }, + "deprecated": false + } + }, + { + "$id": "2598", + "isReadOnly": false, + "realPath": [ + "discountTotal" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "2599", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "2600", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "2601", + "fixed": false, + "raw": "discountTotal" + }, + "serializedName": "discountTotal", + "modelType": { + "$id": "2602", + "$type": "PrimaryType", + "format": "double", + "knownPrimaryType": "double", + "name": { + "$id": "2603", + "fixed": false, + "raw": "Double" + }, + "deprecated": false + } + }, + { + "$id": "2604", + "isReadOnly": false, + "realPath": [ + "discountTotalWithTax" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "2605", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "2606", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "2607", + "fixed": false, + "raw": "discountTotalWithTax" + }, + "serializedName": "discountTotalWithTax", + "modelType": { + "$id": "2608", + "$type": "PrimaryType", + "format": "double", + "knownPrimaryType": "double", + "name": { + "$id": "2609", + "fixed": false, + "raw": "Double" + }, + "deprecated": false + } + }, + { + "$id": "2610", + "isReadOnly": false, + "realPath": [ + "fee" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "2611", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "2612", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "2613", + "fixed": false, + "raw": "fee" + }, + "serializedName": "fee", + "modelType": { + "$id": "2614", + "$type": "PrimaryType", + "format": "double", + "knownPrimaryType": "double", + "name": { + "$id": "2615", + "fixed": false, + "raw": "Double" + }, + "deprecated": false + } + }, + { + "$id": "2616", + "isReadOnly": false, + "realPath": [ + "feeWithTax" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "2617", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "2618", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "2619", + "fixed": false, + "raw": "feeWithTax" + }, + "serializedName": "feeWithTax", + "modelType": { + "$id": "2620", + "$type": "PrimaryType", + "format": "double", + "knownPrimaryType": "double", + "name": { + "$id": "2621", + "fixed": false, + "raw": "Double" + }, + "deprecated": false + } + }, + { + "$id": "2622", + "isReadOnly": false, + "realPath": [ + "feeTotal" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "2623", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "2624", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "2625", + "fixed": false, + "raw": "feeTotal" + }, + "serializedName": "feeTotal", + "modelType": { + "$id": "2626", + "$type": "PrimaryType", + "format": "double", + "knownPrimaryType": "double", + "name": { + "$id": "2627", + "fixed": false, + "raw": "Double" + }, + "deprecated": false + } + }, + { + "$id": "2628", + "isReadOnly": false, + "realPath": [ + "feeTotalWithTax" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "2629", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "2630", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "2631", + "fixed": false, + "raw": "feeTotalWithTax" + }, + "serializedName": "feeTotalWithTax", + "modelType": { + "$id": "2632", + "$type": "PrimaryType", + "format": "double", + "knownPrimaryType": "double", + "name": { + "$id": "2633", + "fixed": false, + "raw": "Double" + }, + "deprecated": false + } + }, + { + "$id": "2634", + "isReadOnly": false, + "realPath": [ + "taxType" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "2635", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "2636", + "fixed": false, + "raw": "Tax category or type" + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "2637", + "fixed": false, + "raw": "taxType" + }, + "serializedName": "taxType", + "modelType": { + "$id": "2638", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "2639", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + }, + { + "$id": "2640", + "isReadOnly": false, + "realPath": [ + "taxTotal" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "2641", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "2642", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "2643", + "fixed": false, + "raw": "taxTotal" + }, + "serializedName": "taxTotal", + "modelType": { + "$id": "2644", + "$type": "PrimaryType", + "format": "double", + "knownPrimaryType": "double", + "name": { + "$id": "2645", + "fixed": false, + "raw": "Double" + }, + "deprecated": false + } + }, + { + "$id": "2646", + "isReadOnly": false, + "realPath": [ + "taxPercentRate" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "2647", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "2648", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "2649", + "fixed": false, + "raw": "taxPercentRate" + }, + "serializedName": "taxPercentRate", + "modelType": { + "$id": "2650", + "$type": "PrimaryType", + "format": "double", + "knownPrimaryType": "double", + "name": { + "$id": "2651", + "fixed": false, + "raw": "Double" + }, + "deprecated": false + } + }, + { + "$id": "2652", + "isReadOnly": false, + "realPath": [ + "languageCode" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "2653", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "2654", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "2655", + "fixed": false, + "raw": "languageCode" + }, + "serializedName": "languageCode", + "modelType": { + "$id": "2656", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "2657", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + }, + { + "$id": "2658", + "isReadOnly": false, + "realPath": [ + "operationType" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "2659", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "2660", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "2661", + "fixed": false, + "raw": "operationType" + }, + "serializedName": "operationType", + "modelType": { + "$id": "2662", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "2663", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + }, + { + "$id": "2664", + "isReadOnly": false, + "realPath": [ + "parentOperationId" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "2665", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "2666", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "2667", + "fixed": false, + "raw": "parentOperationId" + }, + "serializedName": "parentOperationId", + "modelType": { + "$id": "2668", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "2669", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + }, + { + "$id": "2670", + "isReadOnly": false, + "realPath": [ + "number" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "2671", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "2672", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "2673", + "fixed": false, + "raw": "number" + }, + "serializedName": "number", + "modelType": { + "$id": "2674", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "2675", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + }, + { + "$id": "2676", + "isReadOnly": false, + "realPath": [ + "isApproved" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "2677", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "2678", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "2679", + "fixed": false, + "raw": "isApproved" + }, + "serializedName": "isApproved", + "modelType": { + "$id": "2680", + "$type": "PrimaryType", + "knownPrimaryType": "boolean", + "name": { + "$id": "2681", + "fixed": false, + "raw": "Boolean" + }, + "deprecated": false + } + }, + { + "$id": "2682", + "isReadOnly": false, + "realPath": [ + "status" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "2683", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "2684", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "2685", + "fixed": false, + "raw": "status" + }, + "serializedName": "status", + "modelType": { + "$id": "2686", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "2687", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + }, + { + "$id": "2688", + "isReadOnly": false, + "realPath": [ + "comment" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "2689", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "2690", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "2691", + "fixed": false, + "raw": "comment" + }, + "serializedName": "comment", + "modelType": { + "$id": "2692", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "2693", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + }, + { + "$id": "2694", + "isReadOnly": false, + "realPath": [ + "currency" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "2695", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "2696", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "2697", + "fixed": false, + "raw": "currency" + }, + "serializedName": "currency", + "modelType": { + "$id": "2698", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "2699", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + }, + { + "$id": "2700", + "isReadOnly": false, + "realPath": [ + "sum" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "2701", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "2702", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "2703", + "fixed": false, + "raw": "sum" + }, + "serializedName": "sum", + "modelType": { + "$id": "2704", + "$type": "PrimaryType", + "format": "double", + "knownPrimaryType": "double", + "name": { + "$id": "2705", + "fixed": false, + "raw": "Double" + }, + "deprecated": false + } + }, + { + "$id": "2706", + "isReadOnly": false, + "realPath": [ + "outerId" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "2707", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "2708", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "2709", + "fixed": false, + "raw": "outerId" + }, + "serializedName": "outerId", + "modelType": { + "$id": "2710", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "2711", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + }, + { + "$id": "2712", + "isReadOnly": false, + "realPath": [ + "isCancelled" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "2713", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "2714", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "2715", + "fixed": false, + "raw": "isCancelled" + }, + "serializedName": "isCancelled", + "modelType": { + "$id": "2716", + "$type": "PrimaryType", + "knownPrimaryType": "boolean", + "name": { + "$id": "2717", + "fixed": false, + "raw": "Boolean" + }, + "deprecated": false + } + }, + { + "$id": "2718", + "isReadOnly": false, + "realPath": [ + "cancelledDate" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "2719", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "2720", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "2721", + "fixed": false, + "raw": "cancelledDate" + }, + "serializedName": "cancelledDate", + "modelType": { + "$id": "2722", + "$type": "PrimaryType", + "format": "date-time", + "knownPrimaryType": "dateTime", + "name": { + "$id": "2723", + "fixed": false, + "raw": "DateTime" + }, + "deprecated": false + } + }, + { + "$id": "2724", + "isReadOnly": false, + "realPath": [ + "cancelReason" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "2725", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "2726", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "2727", + "fixed": false, + "raw": "cancelReason" + }, + "serializedName": "cancelReason", + "modelType": { + "$id": "2728", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "2729", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + }, + { + "$id": "2730", + "isReadOnly": false, + "realPath": [ + "dynamicProperties" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "2731", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "2732", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "2733", + "fixed": false, + "raw": "dynamicProperties" + }, + "serializedName": "dynamicProperties", + "modelType": { + "$id": "2734", + "$type": "SequenceType", + "elementType": { + "$ref": "1083" + }, + "name": { + "$id": "2735", + "fixed": false + }, + "deprecated": false + } + }, + { + "$id": "2736", + "isReadOnly": false, + "realPath": [ + "operationsLog" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "2737", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "2738", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "2739", + "fixed": false, + "raw": "operationsLog" + }, + "serializedName": "operationsLog", + "modelType": { + "$id": "2740", + "$type": "SequenceType", + "elementType": { + "$ref": "2" + }, + "name": { + "$id": "2741", + "fixed": false + }, + "deprecated": false + } + }, + { + "$id": "2742", + "isReadOnly": false, + "realPath": [ + "createdDate" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "2743", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "2744", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "2745", + "fixed": false, + "raw": "createdDate" + }, + "serializedName": "createdDate", + "modelType": { + "$id": "2746", + "$type": "PrimaryType", + "format": "date-time", + "knownPrimaryType": "dateTime", + "name": { + "$id": "2747", + "fixed": false, + "raw": "DateTime" + }, + "deprecated": false + } + }, + { + "$id": "2748", + "isReadOnly": false, + "realPath": [ + "modifiedDate" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "2749", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "2750", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "2751", + "fixed": false, + "raw": "modifiedDate" + }, + "serializedName": "modifiedDate", + "modelType": { + "$id": "2752", + "$type": "PrimaryType", + "format": "date-time", + "knownPrimaryType": "dateTime", + "name": { + "$id": "2753", + "fixed": false, + "raw": "DateTime" + }, + "deprecated": false + } + }, + { + "$id": "2754", + "isReadOnly": false, + "realPath": [ + "createdBy" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "2755", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "2756", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "2757", + "fixed": false, + "raw": "createdBy" + }, + "serializedName": "createdBy", + "modelType": { + "$id": "2758", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "2759", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + }, + { + "$id": "2760", + "isReadOnly": false, + "realPath": [ + "modifiedBy" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "2761", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "2762", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "2763", + "fixed": false, + "raw": "modifiedBy" + }, + "serializedName": "modifiedBy", + "modelType": { + "$id": "2764", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "2765", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + }, + { + "$id": "2766", + "isReadOnly": false, + "realPath": [ + "id" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "2767", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "2768", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "2769", + "fixed": false, + "raw": "id" + }, + "serializedName": "id", + "modelType": { + "$id": "2770", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "2771", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + } + ], + "serializedName": "CustomerOrder", + "containsConstantProperties": false, + "name": { + "$id": "2772", + "fixed": false, + "raw": "CustomerOrder" + }, + "extensions": { + "x-ms-metadata": { + "apiVersions": [ + "v1" + ], + "filename": [ + "mem:///104?oai3.shaken.json" + ], + "name": "CustomerOrder", + "originalLocations": [ + "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/schemas/CustomerOrder" + ] + } + }, + "deprecated": false + }, + { + "$ref": "2131" + }, + { + "$id": "2773", + "$type": "CompositeType", + "properties": [ + { + "$id": "2774", + "isReadOnly": true, + "realPath": [ + "customerOrders" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "2775", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "2776", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "2777", + "fixed": false, + "raw": "customerOrders" + }, + "serializedName": "customerOrders", + "modelType": { + "$id": "2778", + "$type": "SequenceType", + "elementType": { + "$ref": "2011" + }, + "name": { + "$id": "2779", + "fixed": false + }, + "deprecationMessage": "This type is deprecated. Please do not use it any longer.", + "deprecated": true + } + }, + { + "$id": "2780", + "isReadOnly": false, + "realPath": [ + "totalCount" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "2781", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "2782", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "2783", + "fixed": false, + "raw": "totalCount" + }, + "serializedName": "totalCount", + "modelType": { + "$id": "2784", + "$type": "PrimaryType", + "format": "int32", + "knownPrimaryType": "int", + "name": { + "$id": "2785", + "fixed": false, + "raw": "Int" + }, + "deprecated": false + } + }, + { + "$id": "2786", + "isReadOnly": false, + "realPath": [ + "results" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "2787", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "2788", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "2789", + "fixed": false, + "raw": "results" + }, + "serializedName": "results", + "modelType": { + "$id": "2790", + "$type": "SequenceType", + "elementType": { + "$ref": "2011" + }, + "name": { + "$id": "2791", + "fixed": false + }, + "deprecated": false + } + } + ], + "serializedName": "CustomerOrderSearchResult", + "containsConstantProperties": false, + "name": { + "$id": "2792", + "fixed": false, + "raw": "CustomerOrderSearchResult" + }, + "extensions": { + "x-ms-metadata": { + "apiVersions": [ + "v1" + ], + "filename": [ + "mem:///104?oai3.shaken.json" + ], + "name": "CustomerOrderSearchResult", + "originalLocations": [ + "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/schemas/CustomerOrderSearchResult" + ] + } + }, + "deprecated": false + }, + { + "$id": "2793", + "$type": "CompositeType", + "properties": [ + { + "$id": "2794", + "isReadOnly": false, + "realPath": [ + "bankCardNumber" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "2795", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "2796", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "2797", + "fixed": false, + "raw": "bankCardNumber" + }, + "serializedName": "bankCardNumber", + "modelType": { + "$id": "2798", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "2799", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + }, + { + "$id": "2800", + "isReadOnly": false, + "realPath": [ + "bankCardType" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "2801", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "2802", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "2803", + "fixed": false, + "raw": "bankCardType" + }, + "serializedName": "bankCardType", + "modelType": { + "$id": "2804", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "2805", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + }, + { + "$id": "2806", + "isReadOnly": false, + "realPath": [ + "bankCardMonth" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "2807", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "2808", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "2809", + "fixed": false, + "raw": "bankCardMonth" + }, + "serializedName": "bankCardMonth", + "modelType": { + "$id": "2810", + "$type": "PrimaryType", + "format": "int32", + "knownPrimaryType": "int", + "name": { + "$id": "2811", + "fixed": false, + "raw": "Int" + }, + "deprecated": false + } + }, + { + "$id": "2812", + "isReadOnly": false, + "realPath": [ + "bankCardYear" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "2813", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "2814", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "2815", + "fixed": false, + "raw": "bankCardYear" + }, + "serializedName": "bankCardYear", + "modelType": { + "$id": "2816", + "$type": "PrimaryType", + "format": "int32", + "knownPrimaryType": "int", + "name": { + "$id": "2817", + "fixed": false, + "raw": "Int" + }, + "deprecated": false + } + }, + { + "$id": "2818", + "isReadOnly": false, + "realPath": [ + "bankCardCVV2" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "2819", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "2820", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "2821", + "fixed": false, + "raw": "bankCardCVV2" + }, + "serializedName": "bankCardCVV2", + "modelType": { + "$id": "2822", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "2823", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + }, + { + "$id": "2824", + "isReadOnly": false, + "realPath": [ + "cardholderName" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "2825", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "2826", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "2827", + "fixed": false, + "raw": "cardholderName" + }, + "serializedName": "cardholderName", + "modelType": { + "$id": "2828", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "2829", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + } + ], + "serializedName": "BankCardInfo", + "containsConstantProperties": false, + "name": { + "$id": "2830", + "fixed": false, + "raw": "BankCardInfo" + }, + "extensions": { + "x-ms-metadata": { + "apiVersions": [ + "v1" + ], + "filename": [ + "mem:///104?oai3.shaken.json" + ], + "name": "BankCardInfo", + "originalLocations": [ + "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/schemas/BankCardInfo" + ] + } + }, + "deprecated": false + }, + { + "$id": "2831", + "$type": "CompositeType", + "properties": [ + { + "$id": "2832", + "isReadOnly": false, + "realPath": [ + "currency" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "2833", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "2834", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "2835", + "fixed": false, + "raw": "currency" + }, + "serializedName": "currency", + "modelType": { + "$id": "2836", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "2837", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + }, + { + "$id": "2838", + "isReadOnly": false, + "realPath": [ + "amount" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "2839", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "2840", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "2841", + "fixed": false, + "raw": "amount" + }, + "serializedName": "amount", + "modelType": { + "$id": "2842", + "$type": "PrimaryType", + "format": "double", + "knownPrimaryType": "double", + "name": { + "$id": "2843", + "fixed": false, + "raw": "Double" + }, + "deprecated": false + } + } + ], + "serializedName": "Money", + "containsConstantProperties": false, + "name": { + "$id": "2844", + "fixed": false, + "raw": "Money" + }, + "extensions": { + "x-ms-metadata": { + "apiVersions": [ + "v1" + ], + "filename": [ + "mem:///104?oai3.shaken.json" + ], + "name": "Money", + "originalLocations": [ + "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/schemas/Money" + ] + } + }, + "deprecated": false + }, + { + "$id": "2845", + "$type": "CompositeType", + "properties": [ + { + "$id": "2846", + "isReadOnly": false, + "realPath": [ + "year" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "2847", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "2848", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "2849", + "fixed": false, + "raw": "year" + }, + "serializedName": "year", + "modelType": { + "$id": "2850", + "$type": "PrimaryType", + "format": "int32", + "knownPrimaryType": "int", + "name": { + "$id": "2851", + "fixed": false, + "raw": "Int" + }, + "deprecated": false + } + }, + { + "$id": "2852", + "isReadOnly": false, + "realPath": [ + "quarter" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "2853", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "2854", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "2855", + "fixed": false, + "raw": "quarter" + }, + "serializedName": "quarter", + "modelType": { + "$id": "2856", + "$type": "PrimaryType", + "format": "int32", + "knownPrimaryType": "int", + "name": { + "$id": "2857", + "fixed": false, + "raw": "Int" + }, + "deprecated": false + } + }, + { + "$id": "2858", + "isReadOnly": false, + "realPath": [ + "currency" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "2859", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "2860", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "2861", + "fixed": false, + "raw": "currency" + }, + "serializedName": "currency", + "modelType": { + "$id": "2862", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "2863", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + }, + { + "$id": "2864", + "isReadOnly": false, + "realPath": [ + "amount" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "2865", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "2866", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "2867", + "fixed": false, + "raw": "amount" + }, + "serializedName": "amount", + "modelType": { + "$id": "2868", + "$type": "PrimaryType", + "format": "double", + "knownPrimaryType": "double", + "name": { + "$id": "2869", + "fixed": false, + "raw": "Double" + }, + "deprecated": false + } + } + ], + "serializedName": "QuarterPeriodMoney", + "containsConstantProperties": false, + "name": { + "$id": "2870", + "fixed": false, + "raw": "QuarterPeriodMoney" + }, + "extensions": { + "x-ms-metadata": { + "apiVersions": [ + "v1" + ], + "filename": [ + "mem:///104?oai3.shaken.json" + ], + "name": "QuarterPeriodMoney", + "originalLocations": [ + "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/schemas/QuarterPeriodMoney" + ] + } + }, + "deprecated": false + }, + { + "$id": "2871", + "$type": "CompositeType", + "properties": [ + { + "$id": "2872", + "isReadOnly": false, + "realPath": [ + "startDate" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "2873", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "2874", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "2875", + "fixed": false, + "raw": "startDate" + }, + "serializedName": "startDate", + "modelType": { + "$id": "2876", + "$type": "PrimaryType", + "format": "date-time", + "knownPrimaryType": "dateTime", + "name": { + "$id": "2877", + "fixed": false, + "raw": "DateTime" + }, + "deprecated": false + } + }, + { + "$id": "2878", + "isReadOnly": false, + "realPath": [ + "endDate" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "2879", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "2880", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "2881", + "fixed": false, + "raw": "endDate" + }, + "serializedName": "endDate", + "modelType": { + "$id": "2882", + "$type": "PrimaryType", + "format": "date-time", + "knownPrimaryType": "dateTime", + "name": { + "$id": "2883", + "fixed": false, + "raw": "DateTime" + }, + "deprecated": false + } + }, + { + "$id": "2884", + "isReadOnly": false, + "realPath": [ + "revenue" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "2885", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "2886", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "2887", + "fixed": false, + "raw": "revenue" + }, + "serializedName": "revenue", + "modelType": { + "$id": "2888", + "$type": "SequenceType", + "elementType": { + "$ref": "2831" + }, + "name": { + "$id": "2889", + "fixed": false + }, + "deprecated": false + } + }, + { + "$id": "2890", + "isReadOnly": false, + "realPath": [ + "revenuePeriodDetails" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "2891", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "2892", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "2893", + "fixed": false, + "raw": "revenuePeriodDetails" + }, + "serializedName": "revenuePeriodDetails", + "modelType": { + "$id": "2894", + "$type": "SequenceType", + "elementType": { + "$ref": "2845" + }, + "name": { + "$id": "2895", + "fixed": false + }, + "deprecated": false + } + }, + { + "$id": "2896", + "isReadOnly": false, + "realPath": [ + "orderCount" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "2897", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "2898", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "2899", + "fixed": false, + "raw": "orderCount" + }, + "serializedName": "orderCount", + "modelType": { + "$id": "2900", + "$type": "PrimaryType", + "format": "int32", + "knownPrimaryType": "int", + "name": { + "$id": "2901", + "fixed": false, + "raw": "Int" + }, + "deprecated": false + } + }, + { + "$id": "2902", + "isReadOnly": false, + "realPath": [ + "customersCount" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "2903", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "2904", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "2905", + "fixed": false, + "raw": "customersCount" + }, + "serializedName": "customersCount", + "modelType": { + "$id": "2906", + "$type": "PrimaryType", + "format": "int32", + "knownPrimaryType": "int", + "name": { + "$id": "2907", + "fixed": false, + "raw": "Int" + }, + "deprecated": false + } + }, + { + "$id": "2908", + "isReadOnly": false, + "realPath": [ + "revenuePerCustomer" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "2909", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "2910", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "2911", + "fixed": false, + "raw": "revenuePerCustomer" + }, + "serializedName": "revenuePerCustomer", + "modelType": { + "$id": "2912", + "$type": "SequenceType", + "elementType": { + "$ref": "2831" + }, + "name": { + "$id": "2913", + "fixed": false + }, + "deprecated": false + } + }, + { + "$id": "2914", + "isReadOnly": false, + "realPath": [ + "avgOrderValue" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "2915", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "2916", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "2917", + "fixed": false, + "raw": "avgOrderValue" + }, + "serializedName": "avgOrderValue", + "modelType": { + "$id": "2918", + "$type": "SequenceType", + "elementType": { + "$ref": "2831" + }, + "name": { + "$id": "2919", + "fixed": false + }, + "deprecated": false + } + }, + { + "$id": "2920", + "isReadOnly": false, + "realPath": [ + "avgOrderValuePeriodDetails" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "2921", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "2922", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "2923", + "fixed": false, + "raw": "avgOrderValuePeriodDetails" + }, + "serializedName": "avgOrderValuePeriodDetails", + "modelType": { + "$id": "2924", + "$type": "SequenceType", + "elementType": { + "$ref": "2845" + }, + "name": { + "$id": "2925", + "fixed": false + }, + "deprecated": false + } + }, + { + "$id": "2926", + "isReadOnly": false, + "realPath": [ + "itemsPurchased" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "2927", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "2928", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "2929", + "fixed": false, + "raw": "itemsPurchased" + }, + "serializedName": "itemsPurchased", + "modelType": { + "$id": "2930", + "$type": "PrimaryType", + "format": "int32", + "knownPrimaryType": "int", + "name": { + "$id": "2931", + "fixed": false, + "raw": "Int" + }, + "deprecated": false + } + }, + { + "$id": "2932", + "isReadOnly": false, + "realPath": [ + "lineitemsPerOrder" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "2933", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "2934", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "2935", + "fixed": false, + "raw": "lineitemsPerOrder" + }, + "serializedName": "lineitemsPerOrder", + "modelType": { + "$id": "2936", + "$type": "PrimaryType", + "format": "double", + "knownPrimaryType": "double", + "name": { + "$id": "2937", + "fixed": false, + "raw": "Double" + }, + "deprecated": false + } + } + ], + "serializedName": "DashboardStatisticsResult", + "containsConstantProperties": false, + "name": { + "$id": "2938", + "fixed": false, + "raw": "DashboardStatisticsResult" + }, + "extensions": { + "x-ms-metadata": { + "apiVersions": [ + "v1" + ], + "filename": [ + "mem:///104?oai3.shaken.json" + ], + "name": "DashboardStatisticsResult", + "originalLocations": [ + "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/schemas/DashboardStatisticsResult" + ] + } + }, + "deprecated": false + }, + { + "$id": "2939", + "$type": "CompositeType", + "properties": [ + { + "$id": "2940", + "isReadOnly": false, + "realPath": [ + "key" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "2941", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "2942", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "2943", + "fixed": false, + "raw": "key" + }, + "serializedName": "key", + "modelType": { + "$id": "2944", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "2945", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + }, + { + "$id": "2946", + "isReadOnly": false, + "realPath": [ + "value" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "2947", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "2948", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "2949", + "fixed": false, + "raw": "value" + }, + "serializedName": "value", + "modelType": { + "$id": "2950", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "2951", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + } + ], + "serializedName": "KeyValuePair", + "containsConstantProperties": false, + "name": { + "$id": "2952", + "fixed": false, + "raw": "KeyValuePair" + }, + "extensions": { + "x-ms-metadata": { + "apiVersions": [ + "v1" + ], + "filename": [ + "mem:///104?oai3.shaken.json" + ], + "name": "KeyValuePair", + "originalLocations": [ + "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/schemas/KeyValuePair" + ] + } + }, + "deprecated": false + }, + { + "$id": "2953", + "$type": "CompositeType", + "properties": [ + { + "$id": "2954", + "isReadOnly": false, + "realPath": [ + "parameters" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "2955", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "2956", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "2957", + "fixed": false, + "raw": "parameters" + }, + "serializedName": "parameters", + "modelType": { + "$id": "2958", + "$type": "SequenceType", + "elementType": { + "$ref": "2939" + }, + "name": { + "$id": "2959", + "fixed": false + }, + "deprecated": false + } + } + ], + "serializedName": "PaymentCallbackParameters", + "containsConstantProperties": false, + "name": { + "$id": "2960", + "fixed": false, + "raw": "PaymentCallbackParameters" + }, + "extensions": { + "x-ms-metadata": { + "apiVersions": [ + "v1" + ], + "filename": [ + "mem:///104?oai3.shaken.json" + ], + "name": "PaymentCallbackParameters", + "originalLocations": [ + "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/schemas/PaymentCallbackParameters" + ] + } + }, + "deprecated": false + }, + { + "$id": "2961", + "$type": "CompositeType", + "properties": [ + { + "$id": "2962", + "isReadOnly": false, + "realPath": [ + "returnUrl" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "2963", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "2964", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "2965", + "fixed": false, + "raw": "returnUrl" + }, + "serializedName": "returnUrl", + "modelType": { + "$id": "2966", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "2967", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + }, + { + "$id": "2968", + "isReadOnly": false, + "realPath": [ + "orderId" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "2969", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "2970", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "2971", + "fixed": false, + "raw": "orderId" + }, + "serializedName": "orderId", + "modelType": { + "$id": "2972", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "2973", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + }, + { + "$id": "2974", + "isReadOnly": false, + "realPath": [ + "outerId" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "2975", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "2976", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "2977", + "fixed": false, + "raw": "outerId" + }, + "serializedName": "outerId", + "modelType": { + "$id": "2978", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "2979", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + }, + { + "$id": "2980", + "isReadOnly": false, + "realPath": [ + "paymentMethod" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "2981", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "2982", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "2983", + "fixed": false, + "raw": "paymentMethod" + }, + "serializedName": "paymentMethod", + "modelType": { + "$ref": "591" + } + }, + { + "$id": "2984", + "isReadOnly": false, + "realPath": [ + "isSuccess" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "2985", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "2986", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "2987", + "fixed": false, + "raw": "isSuccess" + }, + "serializedName": "isSuccess", + "modelType": { + "$id": "2988", + "$type": "PrimaryType", + "knownPrimaryType": "boolean", + "name": { + "$id": "2989", + "fixed": false, + "raw": "Boolean" + }, + "deprecated": false + } + }, + { + "$id": "2990", + "isReadOnly": false, + "realPath": [ + "errorMessage" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "2991", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "2992", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "2993", + "fixed": false, + "raw": "errorMessage" + }, + "serializedName": "errorMessage", + "modelType": { + "$id": "2994", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "2995", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + }, + { + "$id": "2996", + "isReadOnly": false, + "realPath": [ + "newPaymentStatus" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "2997", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "2998", + "fixed": false + }, + "extensions": { + "x-ms-metadata": { + "apiVersions": [ + "v1" + ], + "filename": [ + "mem:///104?oai3.shaken.json" + ], + "name": "PaymentStatus", + "originalLocations": [ + "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/schemas/PaymentStatus" + ] + } + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "2999", + "fixed": false, + "raw": "newPaymentStatus" + }, + "serializedName": "newPaymentStatus", + "modelType": { + "$id": "3000", + "$type": "EnumType", + "values": [ + { + "$id": "3001", + "name": "New", + "serializedName": "New" + }, + { + "$id": "3002", + "name": "Pending", + "serializedName": "Pending" + }, + { + "$id": "3003", + "name": "Authorized", + "serializedName": "Authorized" + }, + { + "$id": "3004", + "name": "Paid", + "serializedName": "Paid" + }, + { + "$id": "3005", + "name": "PartiallyRefunded", + "serializedName": "PartiallyRefunded" + }, + { + "$id": "3006", + "name": "Refunded", + "serializedName": "Refunded" + }, + { + "$id": "3007", + "name": "Voided", + "serializedName": "Voided" + }, + { + "$id": "3008", + "name": "Custom", + "serializedName": "Custom" + }, + { + "$id": "3009", + "name": "Cancelled", + "serializedName": "Cancelled" + }, + { + "$id": "3010", + "name": "Declined", + "serializedName": "Declined" + }, + { + "$id": "3011", + "name": "Error", + "serializedName": "Error" + } + ], + "oldModelAsString": false, + "modelAsString": true, + "underlyingType": { + "$id": "3012", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "3013", + "fixed": false, + "raw": "String" + }, + "deprecated": false + }, + "name": { + "$id": "3014", + "fixed": false, + "raw": "" + }, + "deprecated": false + } + } + ], + "serializedName": "PostProcessPaymentRequestResult", + "containsConstantProperties": false, + "name": { + "$id": "3015", + "fixed": false, + "raw": "PostProcessPaymentRequestResult" + }, + "extensions": { + "x-ms-metadata": { + "apiVersions": [ + "v1" + ], + "filename": [ + "mem:///104?oai3.shaken.json" + ], + "name": "PostProcessPaymentRequestResult", + "originalLocations": [ + "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/schemas/PostProcessPaymentRequestResult" + ] + } + }, + "deprecated": false + }, + { + "$id": "3016", + "$type": "CompositeType", + "properties": [ + { + "$id": "3017", + "isReadOnly": false, + "realPath": [ + "orderId" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "3018", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "3019", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "3020", + "fixed": false, + "raw": "orderId" + }, + "serializedName": "orderId", + "modelType": { + "$id": "3021", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "3022", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + }, + { + "$id": "3023", + "isReadOnly": false, + "realPath": [ + "responseGroup" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "3024", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "3025", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "3026", + "fixed": false, + "raw": "responseGroup" + }, + "serializedName": "responseGroup", + "modelType": { + "$id": "3027", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "3028", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + }, + { + "$id": "3029", + "isReadOnly": false, + "realPath": [ + "objectType" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "3030", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "3031", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "3032", + "fixed": false, + "raw": "objectType" + }, + "serializedName": "objectType", + "modelType": { + "$id": "3033", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "3034", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + }, + { + "$id": "3035", + "isReadOnly": false, + "realPath": [ + "objectTypes" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "3036", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "3037", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "3038", + "fixed": false, + "raw": "objectTypes" + }, + "serializedName": "objectTypes", + "modelType": { + "$id": "3039", + "$type": "SequenceType", + "elementType": { + "$id": "3040", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "3041", + "fixed": false, + "raw": "String" + }, + "deprecated": false + }, + "name": { + "$id": "3042", + "fixed": false + }, + "deprecated": false + } + }, + { + "$id": "3043", + "isReadOnly": false, + "realPath": [ + "objectIds" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "3044", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "3045", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "3046", + "fixed": false, + "raw": "objectIds" + }, + "serializedName": "objectIds", + "modelType": { + "$id": "3047", + "$type": "SequenceType", + "elementType": { + "$id": "3048", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "3049", + "fixed": false, + "raw": "String" + }, + "deprecated": false + }, + "name": { + "$id": "3050", + "fixed": false + }, + "deprecated": false + } + }, + { + "$id": "3051", + "isReadOnly": false, + "realPath": [ + "keyword" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "3052", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "3053", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "3054", + "fixed": false, + "raw": "keyword" + }, + "serializedName": "keyword", + "modelType": { + "$id": "3055", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "3056", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + }, + { + "$id": "3057", + "isReadOnly": false, + "realPath": [ + "searchPhrase" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "3058", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "3059", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "3060", + "fixed": false, + "raw": "searchPhrase" + }, + "serializedName": "searchPhrase", + "modelType": { + "$id": "3061", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "3062", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + }, + { + "$id": "3063", + "isReadOnly": false, + "realPath": [ + "languageCode" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "3064", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "3065", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "3066", + "fixed": false, + "raw": "languageCode" + }, + "serializedName": "languageCode", + "modelType": { + "$id": "3067", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "3068", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + }, + { + "$id": "3069", + "isReadOnly": false, + "realPath": [ + "sort" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "3070", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "3071", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "3072", + "fixed": false, + "raw": "sort" + }, + "serializedName": "sort", + "modelType": { + "$id": "3073", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "3074", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + }, + { + "$id": "3075", + "isReadOnly": true, + "realPath": [ + "sortInfos" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "3076", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "3077", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "3078", + "fixed": false, + "raw": "sortInfos" + }, + "serializedName": "sortInfos", + "modelType": { + "$id": "3079", + "$type": "SequenceType", + "elementType": { + "$ref": "65" + }, + "name": { + "$id": "3080", + "fixed": false + }, + "deprecated": false + } + }, + { + "$id": "3081", + "isReadOnly": false, + "realPath": [ + "skip" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "3082", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "3083", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "3084", + "fixed": false, + "raw": "skip" + }, + "serializedName": "skip", + "modelType": { + "$id": "3085", + "$type": "PrimaryType", + "format": "int32", + "knownPrimaryType": "int", + "name": { + "$id": "3086", + "fixed": false, + "raw": "Int" + }, + "deprecated": false + } + }, + { + "$id": "3087", + "isReadOnly": false, + "realPath": [ + "take" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "3088", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "3089", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "3090", + "fixed": false, + "raw": "take" + }, + "serializedName": "take", + "modelType": { + "$id": "3091", + "$type": "PrimaryType", + "format": "int32", + "knownPrimaryType": "int", + "name": { + "$id": "3092", + "fixed": false, + "raw": "Int" + }, + "deprecated": false + } + } + ], + "serializedName": "CustomerOrderHistorySearchCriteria", + "containsConstantProperties": false, + "name": { + "$id": "3093", + "fixed": false, + "raw": "CustomerOrderHistorySearchCriteria" + }, + "extensions": { + "x-ms-metadata": { + "apiVersions": [ + "v1" + ], + "filename": [ + "mem:///104?oai3.shaken.json" + ], + "name": "CustomerOrderHistorySearchCriteria", + "originalLocations": [ + "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/schemas/CustomerOrderHistorySearchCriteria" + ] + } + }, + "deprecated": false + }, + { + "$id": "3094", + "$type": "CompositeType", + "properties": [ + { + "$id": "3095", + "isReadOnly": false, + "realPath": [ + "totalCount" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "3096", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "3097", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "3098", + "fixed": false, + "raw": "totalCount" + }, + "serializedName": "totalCount", + "modelType": { + "$id": "3099", + "$type": "PrimaryType", + "format": "int32", + "knownPrimaryType": "int", + "name": { + "$id": "3100", + "fixed": false, + "raw": "Int" + }, + "deprecated": false + } + }, + { + "$id": "3101", + "isReadOnly": false, + "realPath": [ + "results" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "3102", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "3103", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "3104", + "fixed": false, + "raw": "results" + }, + "serializedName": "results", + "modelType": { + "$id": "3105", + "$type": "SequenceType", + "elementType": { + "$ref": "2" + }, + "name": { + "$id": "3106", + "fixed": false + }, + "deprecated": false + } + } + ], + "serializedName": "ChangeLogSearchResult", + "containsConstantProperties": false, + "name": { + "$id": "3107", + "fixed": false, + "raw": "ChangeLogSearchResult" + }, + "extensions": { + "x-ms-metadata": { + "apiVersions": [ + "v1" + ], + "filename": [ + "mem:///104?oai3.shaken.json" + ], + "name": "ChangeLogSearchResult", + "originalLocations": [ + "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/schemas/ChangeLogSearchResult" + ] + } + }, + "deprecated": false + }, + { + "$id": "3108", + "$type": "CompositeType", + "properties": [ + { + "$id": "3109", + "isReadOnly": false, + "realPath": [ + "orderId" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "3110", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "3111", + "fixed": false, + "raw": "It used to limit search within a customer order id" + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "3112", + "fixed": false, + "raw": "orderId" + }, + "serializedName": "orderId", + "modelType": { + "$id": "3113", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "3114", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + }, + { + "$id": "3115", + "isReadOnly": false, + "realPath": [ + "orderNumber" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "3116", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "3117", + "fixed": false, + "raw": "It used to limit search within a customer order number" + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "3118", + "fixed": false, + "raw": "orderNumber" + }, + "serializedName": "orderNumber", + "modelType": { + "$id": "3119", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "3120", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + }, + { + "$id": "3121", + "isReadOnly": false, + "realPath": [ + "capturedStartDate" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "3122", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "3123", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "3124", + "fixed": false, + "raw": "capturedStartDate" + }, + "serializedName": "capturedStartDate", + "modelType": { + "$id": "3125", + "$type": "PrimaryType", + "format": "date-time", + "knownPrimaryType": "dateTime", + "name": { + "$id": "3126", + "fixed": false, + "raw": "DateTime" + }, + "deprecated": false + } + }, + { + "$id": "3127", + "isReadOnly": false, + "realPath": [ + "capturedEndDate" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "3128", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "3129", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "3130", + "fixed": false, + "raw": "capturedEndDate" + }, + "serializedName": "capturedEndDate", + "modelType": { + "$id": "3131", + "$type": "PrimaryType", + "format": "date-time", + "knownPrimaryType": "dateTime", + "name": { + "$id": "3132", + "fixed": false, + "raw": "DateTime" + }, + "deprecated": false + } + }, + { + "$id": "3133", + "isReadOnly": false, + "realPath": [ + "authorizedStartDate" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "3134", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "3135", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "3136", + "fixed": false, + "raw": "authorizedStartDate" + }, + "serializedName": "authorizedStartDate", + "modelType": { + "$id": "3137", + "$type": "PrimaryType", + "format": "date-time", + "knownPrimaryType": "dateTime", + "name": { + "$id": "3138", + "fixed": false, + "raw": "DateTime" + }, + "deprecated": false + } + }, + { + "$id": "3139", + "isReadOnly": false, + "realPath": [ + "authorizedEndDate" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "3140", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "3141", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "3142", + "fixed": false, + "raw": "authorizedEndDate" + }, + "serializedName": "authorizedEndDate", + "modelType": { + "$id": "3143", + "$type": "PrimaryType", + "format": "date-time", + "knownPrimaryType": "dateTime", + "name": { + "$id": "3144", + "fixed": false, + "raw": "DateTime" + }, + "deprecated": false + } + }, + { + "$id": "3145", + "isReadOnly": false, + "realPath": [ + "ids" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "3146", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "3147", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "3148", + "fixed": false, + "raw": "ids" + }, + "serializedName": "ids", + "modelType": { + "$id": "3149", + "$type": "SequenceType", + "elementType": { + "$id": "3150", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "3151", + "fixed": false, + "raw": "String" + }, + "deprecated": false + }, + "name": { + "$id": "3152", + "fixed": false + }, + "deprecated": false + } + }, + { + "$id": "3153", + "isReadOnly": false, + "realPath": [ + "employeeId" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "3154", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "3155", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "3156", + "fixed": false, + "raw": "employeeId" + }, + "serializedName": "employeeId", + "modelType": { + "$id": "3157", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "3158", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + }, + { + "$id": "3159", + "isReadOnly": false, + "realPath": [ + "storeIds" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "3160", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "3161", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "3162", + "fixed": false, + "raw": "storeIds" + }, + "serializedName": "storeIds", + "modelType": { + "$id": "3163", + "$type": "SequenceType", + "elementType": { + "$id": "3164", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "3165", + "fixed": false, + "raw": "String" + }, + "deprecated": false + }, + "name": { + "$id": "3166", + "fixed": false + }, + "deprecated": false + } + }, + { + "$id": "3167", + "isReadOnly": false, + "realPath": [ + "status" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "3168", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "3169", + "fixed": false, + "raw": "Search by status" + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "3170", + "fixed": false, + "raw": "status" + }, + "serializedName": "status", + "modelType": { + "$id": "3171", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "3172", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + }, + { + "$id": "3173", + "isReadOnly": false, + "realPath": [ + "statuses" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "3174", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "3175", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "3176", + "fixed": false, + "raw": "statuses" + }, + "serializedName": "statuses", + "modelType": { + "$id": "3177", + "$type": "SequenceType", + "elementType": { + "$id": "3178", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "3179", + "fixed": false, + "raw": "String" + }, + "deprecated": false + }, + "name": { + "$id": "3180", + "fixed": false + }, + "deprecated": false + } + }, + { + "$id": "3181", + "isReadOnly": false, + "realPath": [ + "number" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "3182", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "3183", + "fixed": false, + "raw": "Search by numbers" + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "3184", + "fixed": false, + "raw": "number" + }, + "serializedName": "number", + "modelType": { + "$id": "3185", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "3186", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + }, + { + "$id": "3187", + "isReadOnly": false, + "realPath": [ + "numbers" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "3188", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "3189", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "3190", + "fixed": false, + "raw": "numbers" + }, + "serializedName": "numbers", + "modelType": { + "$id": "3191", + "$type": "SequenceType", + "elementType": { + "$id": "3192", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "3193", + "fixed": false, + "raw": "String" + }, + "deprecated": false + }, + "name": { + "$id": "3194", + "fixed": false + }, + "deprecated": false + } + }, + { + "$id": "3195", + "isReadOnly": false, + "realPath": [ + "startDate" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "3196", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "3197", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "3198", + "fixed": false, + "raw": "startDate" + }, + "serializedName": "startDate", + "modelType": { + "$id": "3199", + "$type": "PrimaryType", + "format": "date-time", + "knownPrimaryType": "dateTime", + "name": { + "$id": "3200", + "fixed": false, + "raw": "DateTime" + }, + "deprecated": false + } + }, + { + "$id": "3201", + "isReadOnly": false, + "realPath": [ + "endDate" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "3202", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "3203", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "3204", + "fixed": false, + "raw": "endDate" + }, + "serializedName": "endDate", + "modelType": { + "$id": "3205", + "$type": "PrimaryType", + "format": "date-time", + "knownPrimaryType": "dateTime", + "name": { + "$id": "3206", + "fixed": false, + "raw": "DateTime" + }, + "deprecated": false + } + }, + { + "$id": "3207", + "isReadOnly": false, + "realPath": [ + "responseGroup" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "3208", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "3209", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "3210", + "fixed": false, + "raw": "responseGroup" + }, + "serializedName": "responseGroup", + "modelType": { + "$id": "3211", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "3212", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + }, + { + "$id": "3213", + "isReadOnly": false, + "realPath": [ + "objectType" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "3214", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "3215", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "3216", + "fixed": false, + "raw": "objectType" + }, + "serializedName": "objectType", + "modelType": { + "$id": "3217", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "3218", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + }, + { + "$id": "3219", + "isReadOnly": false, + "realPath": [ + "objectTypes" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "3220", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "3221", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "3222", + "fixed": false, + "raw": "objectTypes" + }, + "serializedName": "objectTypes", + "modelType": { + "$id": "3223", + "$type": "SequenceType", + "elementType": { + "$id": "3224", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "3225", + "fixed": false, + "raw": "String" + }, + "deprecated": false + }, + "name": { + "$id": "3226", + "fixed": false + }, + "deprecated": false + } + }, + { + "$id": "3227", + "isReadOnly": false, + "realPath": [ + "objectIds" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "3228", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "3229", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "3230", + "fixed": false, + "raw": "objectIds" + }, + "serializedName": "objectIds", + "modelType": { + "$id": "3231", + "$type": "SequenceType", + "elementType": { + "$id": "3232", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "3233", + "fixed": false, + "raw": "String" + }, + "deprecated": false + }, + "name": { + "$id": "3234", + "fixed": false + }, + "deprecated": false + } + }, + { + "$id": "3235", + "isReadOnly": false, + "realPath": [ + "keyword" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "3236", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "3237", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "3238", + "fixed": false, + "raw": "keyword" + }, + "serializedName": "keyword", + "modelType": { + "$id": "3239", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "3240", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + }, + { + "$id": "3241", + "isReadOnly": false, + "realPath": [ + "searchPhrase" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "3242", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "3243", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "3244", + "fixed": false, + "raw": "searchPhrase" + }, + "serializedName": "searchPhrase", + "modelType": { + "$id": "3245", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "3246", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + }, + { + "$id": "3247", + "isReadOnly": false, + "realPath": [ + "languageCode" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "3248", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "3249", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "3250", + "fixed": false, + "raw": "languageCode" + }, + "serializedName": "languageCode", + "modelType": { + "$id": "3251", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "3252", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + }, + { + "$id": "3253", + "isReadOnly": false, + "realPath": [ + "sort" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "3254", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "3255", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "3256", + "fixed": false, + "raw": "sort" + }, + "serializedName": "sort", + "modelType": { + "$id": "3257", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "3258", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + }, + { + "$id": "3259", + "isReadOnly": true, + "realPath": [ + "sortInfos" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "3260", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "3261", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "3262", + "fixed": false, + "raw": "sortInfos" + }, + "serializedName": "sortInfos", + "modelType": { + "$id": "3263", + "$type": "SequenceType", + "elementType": { + "$ref": "65" + }, + "name": { + "$id": "3264", + "fixed": false + }, + "deprecated": false + } + }, + { + "$id": "3265", + "isReadOnly": false, + "realPath": [ + "skip" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "3266", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "3267", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "3268", + "fixed": false, + "raw": "skip" + }, + "serializedName": "skip", + "modelType": { + "$id": "3269", + "$type": "PrimaryType", + "format": "int32", + "knownPrimaryType": "int", + "name": { + "$id": "3270", + "fixed": false, + "raw": "Int" + }, + "deprecated": false + } + }, + { + "$id": "3271", + "isReadOnly": false, + "realPath": [ + "take" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "3272", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "3273", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "3274", + "fixed": false, + "raw": "take" + }, + "serializedName": "take", + "modelType": { + "$id": "3275", + "$type": "PrimaryType", + "format": "int32", + "knownPrimaryType": "int", + "name": { + "$id": "3276", + "fixed": false, + "raw": "Int" + }, + "deprecated": false + } + } + ], + "serializedName": "PaymentSearchCriteria", + "containsConstantProperties": false, + "name": { + "$id": "3277", + "fixed": false, + "raw": "PaymentSearchCriteria" + }, + "extensions": { + "x-ms-metadata": { + "apiVersions": [ + "v1" + ], + "filename": [ + "mem:///104?oai3.shaken.json" + ], + "name": "PaymentSearchCriteria", + "originalLocations": [ + "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/schemas/PaymentSearchCriteria" + ] + } + }, + "deprecated": false + }, + { + "$id": "3278", + "$type": "CompositeType", + "properties": [ + { + "$id": "3279", + "isReadOnly": false, + "realPath": [ + "totalCount" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "3280", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "3281", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "3282", + "fixed": false, + "raw": "totalCount" + }, + "serializedName": "totalCount", + "modelType": { + "$id": "3283", + "$type": "PrimaryType", + "format": "int32", + "knownPrimaryType": "int", + "name": { + "$id": "3284", + "fixed": false, + "raw": "Int" + }, + "deprecated": false + } + }, + { + "$id": "3285", + "isReadOnly": false, + "realPath": [ + "results" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "3286", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "3287", + "fixed": false + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "3288", + "fixed": false, + "raw": "results" + }, + "serializedName": "results", + "modelType": { + "$id": "3289", + "$type": "SequenceType", + "elementType": { + "$ref": "1198" + }, + "name": { + "$id": "3290", + "fixed": false + }, + "deprecated": false + } + } + ], + "serializedName": "PaymentSearchResult", + "containsConstantProperties": false, + "name": { + "$id": "3291", + "fixed": false, + "raw": "PaymentSearchResult" + }, + "extensions": { + "x-ms-metadata": { + "apiVersions": [ + "v1" + ], + "filename": [ + "mem:///104?oai3.shaken.json" + ], + "name": "PaymentSearchResult", + "originalLocations": [ + "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/schemas/PaymentSearchResult" + ] + } + }, + "deprecated": false + } + ], + "name": "VirtoCommerceOrders", + "namespace": "VirtoCommerce.Storefront.AutoRestClients.OrdersModuleApi", + "modelsName": "Models", + "apiVersion": "v1", + "baseUrl": "http://localhost", + "properties": [ + { + "$id": "3292", + "isReadOnly": false, + "realPath": [ + "number" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "3293", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "3294", + "fixed": false, + "raw": "customer order number" + }, + "extensions": { + "x-ms-metadata": { + "apiVersions": [ + "v1" + ], + "filename": [ + "mem:///104?oai3.shaken.json" + ], + "name": "paths·e5gwje·api-order-customerorders-number-number·get·parameters·0", + "originalLocations": [ + "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/parameters/paths·e5gwje·api-order-customerorders-number-number·get·parameters·0" + ] + }, + "x-ms-parameter-location": "method" + }, + "isRequired": true, + "isConstant": false, + "name": { + "$id": "3295", + "fixed": false, + "raw": "number" + }, + "serializedName": "number", + "modelType": { + "$id": "3296", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "3297", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + }, + { + "$id": "3298", + "isReadOnly": false, + "realPath": [ + "respGroup" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "3299", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "3300", + "fixed": false, + "raw": "" + }, + "extensions": { + "x-ms-metadata": { + "apiVersions": [ + "v1" + ], + "filename": [ + "mem:///104?oai3.shaken.json" + ], + "name": "paths·i3qwr4·api-order-customerorders-number-number·get·parameters·1", + "originalLocations": [ + "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/parameters/paths·i3qwr4·api-order-customerorders-number-number·get·parameters·1" + ] + }, + "x-ms-parameter-location": "method" + }, + "isRequired": true, + "isConstant": false, + "name": { + "$id": "3301", + "fixed": false, + "raw": "respGroup" + }, + "serializedName": "respGroup", + "modelType": { + "$id": "3302", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "3303", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + }, + { + "$id": "3304", + "isReadOnly": false, + "realPath": [ + "id" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "3305", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "3306", + "fixed": false, + "raw": "customer order id" + }, + "extensions": { + "x-ms-metadata": { + "apiVersions": [ + "v1" + ], + "filename": [ + "mem:///104?oai3.shaken.json" + ], + "name": "paths·wsx48v·api-order-customerorders-id·get·parameters·0", + "originalLocations": [ + "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/parameters/paths·wsx48v·api-order-customerorders-id·get·parameters·0" + ] + }, + "x-ms-parameter-location": "method" + }, + "isRequired": true, + "isConstant": false, + "name": { + "$id": "3307", + "fixed": false, + "raw": "id" + }, + "serializedName": "id", + "modelType": { + "$id": "3308", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "3309", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + }, + { + "$id": "3310", + "isReadOnly": false, + "realPath": [ + "respGroup" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "3311", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "3312", + "fixed": false, + "raw": "" + }, + "extensions": { + "x-ms-metadata": { + "apiVersions": [ + "v1" + ], + "filename": [ + "mem:///104?oai3.shaken.json" + ], + "name": "paths·1jomc5o·api-order-customerorders-id·get·parameters·1", + "originalLocations": [ + "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/parameters/paths·1jomc5o·api-order-customerorders-id·get·parameters·1" + ] + }, + "x-ms-parameter-location": "method" + }, + "isRequired": true, + "isConstant": false, + "name": { + "$id": "3313", + "fixed": false, + "raw": "RespGroup1" + }, + "serializedName": "respGroup", + "modelType": { + "$id": "3314", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "3315", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + }, + { + "$id": "3316", + "isReadOnly": false, + "realPath": [ + "orderId" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "3317", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "3318", + "fixed": false, + "raw": "customer order id" + }, + "extensions": { + "x-ms-metadata": { + "apiVersions": [ + "v1" + ], + "filename": [ + "mem:///104?oai3.shaken.json" + ], + "name": "paths·p6didn·api-order-customerorders-orderid-processpayment-paymentid·post·parameters·0", + "originalLocations": [ + "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/parameters/paths·p6didn·api-order-customerorders-orderid-processpayment-paymentid·post·parameters·0" + ] + }, + "x-ms-parameter-location": "method" + }, + "isRequired": true, + "isConstant": false, + "name": { + "$id": "3319", + "fixed": false, + "raw": "orderId" + }, + "serializedName": "orderId", + "modelType": { + "$id": "3320", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "3321", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + }, + { + "$id": "3322", + "isReadOnly": false, + "realPath": [ + "paymentId" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "3323", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "3324", + "fixed": false, + "raw": "payment id" + }, + "extensions": { + "x-ms-metadata": { + "apiVersions": [ + "v1" + ], + "filename": [ + "mem:///104?oai3.shaken.json" + ], + "name": "paths·7h8szw·api-order-customerorders-orderid-processpayment-paymentid·post·parameters·1", + "originalLocations": [ + "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/parameters/paths·7h8szw·api-order-customerorders-orderid-processpayment-paymentid·post·parameters·1" + ] + }, + "x-ms-parameter-location": "method" + }, + "isRequired": true, + "isConstant": false, + "name": { + "$id": "3325", + "fixed": false, + "raw": "paymentId" + }, + "serializedName": "paymentId", + "modelType": { + "$id": "3326", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "3327", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + }, + { + "$id": "3328", + "isReadOnly": false, + "realPath": [ + "cartId" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "3329", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "3330", + "fixed": false, + "raw": "shopping cart id" + }, + "extensions": { + "x-ms-metadata": { + "apiVersions": [ + "v1" + ], + "filename": [ + "mem:///104?oai3.shaken.json" + ], + "name": "paths·1iieqg6·api-order-customerorders-cartid·post·parameters·0", + "originalLocations": [ + "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/parameters/paths·1iieqg6·api-order-customerorders-cartid·post·parameters·0" + ] + }, + "x-ms-parameter-location": "method" + }, + "isRequired": true, + "isConstant": false, + "name": { + "$id": "3331", + "fixed": false, + "raw": "cartId" + }, + "serializedName": "cartId", + "modelType": { + "$id": "3332", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "3333", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + }, + { + "$id": "3334", + "isReadOnly": false, + "realPath": [ + "ids" + ], + "collectionFormat": "csv", + "defaultValue": { + "$id": "3335", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "3336", + "fixed": false, + "raw": "customer order ids for delete" + }, + "extensions": { + "x-ms-metadata": { + "apiVersions": [ + "v1" + ], + "filename": [ + "mem:///104?oai3.shaken.json" + ], + "name": "paths·14ijh1o·api-order-customerorders·delete·parameters·0", + "originalLocations": [ + "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/parameters/paths·14ijh1o·api-order-customerorders·delete·parameters·0" + ] + }, + "x-ms-parameter-location": "method" + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "3337", + "fixed": false, + "raw": "ids" + }, + "serializedName": "ids", + "modelType": { + "$id": "3338", + "$type": "SequenceType", + "elementType": { + "$id": "3339", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "3340", + "fixed": false, + "raw": "String" + }, + "deprecated": false + }, + "name": { + "$id": "3341", + "fixed": false + }, + "deprecated": false + } + }, + { + "$id": "3342", + "isReadOnly": false, + "realPath": [ + "id" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "3343", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "3344", + "fixed": false, + "raw": "customer order id" + }, + "extensions": { + "x-ms-metadata": { + "apiVersions": [ + "v1" + ], + "filename": [ + "mem:///104?oai3.shaken.json" + ], + "name": "paths·1n4pioy·api-order-customerorders-id-shipments-new·get·parameters·0", + "originalLocations": [ + "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/parameters/paths·1n4pioy·api-order-customerorders-id-shipments-new·get·parameters·0" + ] + }, + "x-ms-parameter-location": "method" + }, + "isRequired": true, + "isConstant": false, + "name": { + "$id": "3345", + "fixed": false, + "raw": "Id1" + }, + "serializedName": "id", + "modelType": { + "$id": "3346", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "3347", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + }, + { + "$id": "3348", + "isReadOnly": false, + "realPath": [ + "id" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "3349", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "3350", + "fixed": false, + "raw": "customer order id" + }, + "extensions": { + "x-ms-metadata": { + "apiVersions": [ + "v1" + ], + "filename": [ + "mem:///104?oai3.shaken.json" + ], + "name": "paths·1td2sv4·api-order-customerorders-id-payments-new·get·parameters·0", + "originalLocations": [ + "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/parameters/paths·1td2sv4·api-order-customerorders-id-payments-new·get·parameters·0" + ] + }, + "x-ms-parameter-location": "method" + }, + "isRequired": true, + "isConstant": false, + "name": { + "$id": "3351", + "fixed": false, + "raw": "Id2" + }, + "serializedName": "id", + "modelType": { + "$id": "3352", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "3353", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + }, + { + "$id": "3354", + "isReadOnly": false, + "realPath": [ + "start" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "3355", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "3356", + "fixed": false, + "raw": "start interval date" + }, + "extensions": { + "x-ms-metadata": { + "apiVersions": [ + "v1" + ], + "filename": [ + "mem:///104?oai3.shaken.json" + ], + "name": "paths·i0msig·api-order-dashboardstatistics·get·parameters·0", + "originalLocations": [ + "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/parameters/paths·i0msig·api-order-dashboardstatistics·get·parameters·0" + ] + }, + "x-ms-parameter-location": "method" + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "3357", + "fixed": false, + "raw": "start" + }, + "serializedName": "start", + "modelType": { + "$id": "3358", + "$type": "PrimaryType", + "format": "date-time", + "knownPrimaryType": "dateTime", + "name": { + "$id": "3359", + "fixed": false, + "raw": "DateTime" + }, + "deprecated": false + } + }, + { + "$id": "3360", + "isReadOnly": false, + "realPath": [ + "end" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "3361", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "3362", + "fixed": false, + "raw": "end interval date" + }, + "extensions": { + "x-ms-metadata": { + "apiVersions": [ + "v1" + ], + "filename": [ + "mem:///104?oai3.shaken.json" + ], + "name": "paths·12txb9v·api-order-dashboardstatistics·get·parameters·1", + "originalLocations": [ + "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/parameters/paths·12txb9v·api-order-dashboardstatistics·get·parameters·1" + ] + }, + "x-ms-parameter-location": "method" + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "3363", + "fixed": false, + "raw": "end" + }, + "serializedName": "end", + "modelType": { + "$id": "3364", + "$type": "PrimaryType", + "format": "date-time", + "knownPrimaryType": "dateTime", + "name": { + "$id": "3365", + "fixed": false, + "raw": "DateTime" + }, + "deprecated": false + } + }, + { + "$id": "3366", + "isReadOnly": false, + "realPath": [ + "orderNumber" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "3367", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "3368", + "fixed": false + }, + "extensions": { + "x-ms-metadata": { + "apiVersions": [ + "v1" + ], + "filename": [ + "mem:///104?oai3.shaken.json" + ], + "name": "paths·j0j8tt·api-order-customerorders-invoice-ordernumber·get·parameters·0", + "originalLocations": [ + "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/parameters/paths·j0j8tt·api-order-customerorders-invoice-ordernumber·get·parameters·0" + ] + }, + "x-ms-parameter-location": "method" + }, + "isRequired": true, + "isConstant": false, + "name": { + "$id": "3369", + "fixed": false, + "raw": "orderNumber" + }, + "serializedName": "orderNumber", + "modelType": { + "$id": "3370", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "3371", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + }, + { + "$id": "3372", + "isReadOnly": false, + "realPath": [ + "id" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "3373", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "3374", + "fixed": false + }, + "extensions": { + "x-ms-metadata": { + "apiVersions": [ + "v1" + ], + "filename": [ + "mem:///104?oai3.shaken.json" + ], + "name": "paths·1jzm1qj·api-order-customerorders-id-changes·get·parameters·0", + "originalLocations": [ + "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/parameters/paths·1jzm1qj·api-order-customerorders-id-changes·get·parameters·0" + ] + }, + "x-ms-parameter-location": "method" + }, + "isRequired": true, + "isConstant": false, + "name": { + "$id": "3375", + "fixed": false, + "raw": "Id3" + }, + "serializedName": "id", + "modelType": { + "$id": "3376", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "3377", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + }, + { + "$id": "3378", + "isReadOnly": false, + "realPath": [ + "id" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "3379", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "3380", + "fixed": false, + "raw": "order payment id" + }, + "extensions": { + "x-ms-metadata": { + "apiVersions": [ + "v1" + ], + "filename": [ + "mem:///104?oai3.shaken.json" + ], + "name": "paths·14rpel9·api-order-payments-id·get·parameters·0", + "originalLocations": [ + "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/parameters/paths·14rpel9·api-order-payments-id·get·parameters·0" + ] + }, + "x-ms-parameter-location": "method" + }, + "isRequired": true, + "isConstant": false, + "name": { + "$id": "3381", + "fixed": false, + "raw": "Id4" + }, + "serializedName": "id", + "modelType": { + "$id": "3382", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "3383", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + }, + { + "$id": "3384", + "isReadOnly": false, + "realPath": [ + "respGroup" + ], + "collectionFormat": "none", + "defaultValue": { + "$id": "3385", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "3386", + "fixed": false, + "raw": "" + }, + "extensions": { + "x-ms-metadata": { + "apiVersions": [ + "v1" + ], + "filename": [ + "mem:///104?oai3.shaken.json" + ], + "name": "paths·1dds9p4·api-order-payments-id·get·parameters·1", + "originalLocations": [ + "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/parameters/paths·1dds9p4·api-order-payments-id·get·parameters·1" + ] + }, + "x-ms-parameter-location": "method" + }, + "isRequired": true, + "isConstant": false, + "name": { + "$id": "3387", + "fixed": false, + "raw": "RespGroup2" + }, + "serializedName": "respGroup", + "modelType": { + "$id": "3388", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "3389", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + }, + { + "$id": "3390", + "isReadOnly": false, + "realPath": [ + "ids" + ], + "collectionFormat": "csv", + "defaultValue": { + "$id": "3391", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "3392", + "fixed": false, + "raw": "order payment ids" + }, + "extensions": { + "x-ms-metadata": { + "apiVersions": [ + "v1" + ], + "filename": [ + "mem:///104?oai3.shaken.json" + ], + "name": "paths·a6pvyl·api-order-payments·delete·parameters·0", + "originalLocations": [ + "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/parameters/paths·a6pvyl·api-order-payments·delete·parameters·0" + ] + }, + "x-ms-parameter-location": "method" + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "3393", + "fixed": false, + "raw": "Ids1" + }, + "serializedName": "ids", + "modelType": { + "$id": "3394", + "$type": "SequenceType", + "elementType": { + "$id": "3395", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "3396", + "fixed": false, + "raw": "String" + }, + "deprecated": false + }, + "name": { + "$id": "3397", + "fixed": false + }, + "deprecated": false + } + } + ], + "operations": [ + { + "$id": "3398", + "methods": [ + { + "$id": "3399", + "parameters": [ + { + "$id": "3400", + "location": "body", + "collectionFormat": "none", + "defaultValue": { + "$id": "3401", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "3402", + "fixed": false, + "raw": "criteria" + }, + "extensions": { + "x-ms-metadata": { + "apiVersions": [ + "v1" + ], + "filename": [ + "mem:///104?oai3.shaken.json" + ], + "name": "paths·4ta6oy·api-order-customerorders-search·post·requestbody", + "originalLocations": [ + "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/requestBodies/paths·4ta6oy·api-order-customerorders-search·post·requestbody" + ] + } + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "3403", + "fixed": false, + "raw": "body" + }, + "serializedName": "body", + "modelType": { + "$ref": "83" + } + } + ], + "name": { + "$id": "3404", + "fixed": false, + "raw": "SearchCustomerOrder" + }, + "group": { + "$id": "3405", + "fixed": false, + "raw": "OrderModule" + }, + "serializedName": "OrderModule_SearchCustomerOrder", + "url": "/api/order/customerOrders/search", + "isAbsoluteUrl": false, + "httpMethod": "post", + "responses": { + "OK": { + "$id": "3406", + "body": { + "$ref": "2773" + }, + "extensions": { + "$id": "3407", + "x-ms-metadata": { + "apiVersions": [ + "v1" + ], + "filename": [ + "mem:///104?oai3.shaken.json" + ], + "name": "paths·1btnoio·api-order-customerorders-search·post·responses·200", + "originalLocations": [ + "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/responses/paths·1btnoio·api-order-customerorders-search·post·responses·200" + ] + } + }, + "isNullable": true + }, + "Unauthorized": { + "$id": "3408", + "extensions": { + "$id": "3409", + "x-ms-metadata": { + "apiVersions": [ + "v1" + ], + "filename": [ + "mem:///104?oai3.shaken.json" + ], + "name": "paths·gbzpbc·api-order-customerorders-search·post·responses·401", + "originalLocations": [ + "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/responses/paths·gbzpbc·api-order-customerorders-search·post·responses·401" + ] + } + }, + "isNullable": true + }, + "Forbidden": { + "$id": "3410", + "extensions": { + "$id": "3411", + "x-ms-metadata": { + "apiVersions": [ + "v1" + ], + "filename": [ + "mem:///104?oai3.shaken.json" + ], + "name": "paths·1er92qx·api-order-customerorders-search·post·responses·403", + "originalLocations": [ + "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/responses/paths·1er92qx·api-order-customerorders-search·post·responses·403" + ] + } + }, + "isNullable": true + } + }, + "defaultResponse": { + "$id": "3412", + "isNullable": true + }, + "returnType": { + "$id": "3413", + "body": { + "$ref": "2773" + }, + "isNullable": true + }, + "summary": "Search customer orders by given criteria", + "requestContentType": "application/json-patch+json; charset=utf-8", + "responseContentTypes": [ + "text/plain", + "application/json", + "text/json" + ], + "extensions": { + "servers": [], + "security": [ + { + "oauth2": [] + } + ] + }, + "deprecated": false, + "hidden": false + }, + { + "$id": "3414", + "parameters": [ + { + "$id": "3415", + "clientProperty": { + "$ref": "3292" + }, + "location": "path", + "collectionFormat": "none", + "defaultValue": { + "$id": "3416", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "3417", + "fixed": false, + "raw": "customer order number" + }, + "extensions": { + "x-ms-metadata": { + "apiVersions": [ + "v1" + ], + "filename": [ + "mem:///104?oai3.shaken.json" + ], + "name": "paths·e5gwje·api-order-customerorders-number-number·get·parameters·0", + "originalLocations": [ + "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/parameters/paths·e5gwje·api-order-customerorders-number-number·get·parameters·0" + ] + }, + "x-ms-parameter-location": "method" + }, + "isRequired": true, + "isConstant": false, + "name": { + "$id": "3418", + "fixed": false, + "raw": "number" + }, + "serializedName": "number", + "modelType": { + "$id": "3419", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "3420", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + }, + { + "$id": "3421", + "clientProperty": { + "$ref": "3298" + }, + "location": "path", + "collectionFormat": "none", + "defaultValue": { + "$id": "3422", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "3423", + "fixed": false, + "raw": "" + }, + "extensions": { + "x-ms-metadata": { + "apiVersions": [ + "v1" + ], + "filename": [ + "mem:///104?oai3.shaken.json" + ], + "name": "paths·i3qwr4·api-order-customerorders-number-number·get·parameters·1", + "originalLocations": [ + "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/parameters/paths·i3qwr4·api-order-customerorders-number-number·get·parameters·1" + ] + }, + "x-ms-parameter-location": "method" + }, + "isRequired": true, + "isConstant": false, + "name": { + "$id": "3424", + "fixed": false, + "raw": "respGroup" + }, + "serializedName": "respGroup", + "modelType": { + "$id": "3425", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "3426", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + } + ], + "name": { + "$id": "3427", + "fixed": false, + "raw": "GetByNumber" + }, + "group": { + "$id": "3428", + "fixed": false, + "raw": "OrderModule" + }, + "serializedName": "OrderModule_GetByNumber", + "url": "/api/order/customerOrders/number/{number}", + "isAbsoluteUrl": false, + "httpMethod": "get", + "responses": { + "OK": { + "$id": "3429", + "body": { + "$ref": "2011" + }, + "extensions": { + "$id": "3430", + "x-ms-metadata": { + "apiVersions": [ + "v1" + ], + "filename": [ + "mem:///104?oai3.shaken.json" + ], + "name": "paths·rdx1eb·api-order-customerorders-number-number·get·responses·200", + "originalLocations": [ + "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/responses/paths·rdx1eb·api-order-customerorders-number-number·get·responses·200" + ] + } + }, + "isNullable": true + }, + "Unauthorized": { + "$id": "3431", + "extensions": { + "$id": "3432", + "x-ms-metadata": { + "apiVersions": [ + "v1" + ], + "filename": [ + "mem:///104?oai3.shaken.json" + ], + "name": "paths·1sto2zw·api-order-customerorders-number-number·get·responses·401", + "originalLocations": [ + "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/responses/paths·1sto2zw·api-order-customerorders-number-number·get·responses·401" + ] + } + }, + "isNullable": true + }, + "Forbidden": { + "$id": "3433", + "extensions": { + "$id": "3434", + "x-ms-metadata": { + "apiVersions": [ + "v1" + ], + "filename": [ + "mem:///104?oai3.shaken.json" + ], + "name": "paths·efhsba·api-order-customerorders-number-number·get·responses·403", + "originalLocations": [ + "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/responses/paths·efhsba·api-order-customerorders-number-number·get·responses·403" + ] + } + }, + "isNullable": true + } + }, + "defaultResponse": { + "$id": "3435", + "isNullable": true + }, + "returnType": { + "$id": "3436", + "body": { + "$ref": "2011" + }, + "isNullable": true + }, + "description": "Return a single customer order with all nested documents or null if order was not found", + "summary": "Find customer order by number", + "requestContentType": "application/json; charset=utf-8", + "responseContentTypes": [ + "text/plain", + "application/json", + "text/json" + ], + "extensions": { + "servers": [], + "security": [ + { + "oauth2": [] + } + ] + }, + "deprecated": false, + "hidden": false + }, + { + "$id": "3437", + "parameters": [ + { + "$id": "3438", + "clientProperty": { + "$ref": "3304" + }, + "location": "path", + "collectionFormat": "none", + "defaultValue": { + "$id": "3439", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "3440", + "fixed": false, + "raw": "customer order id" + }, + "extensions": { + "x-ms-metadata": { + "apiVersions": [ + "v1" + ], + "filename": [ + "mem:///104?oai3.shaken.json" + ], + "name": "paths·wsx48v·api-order-customerorders-id·get·parameters·0", + "originalLocations": [ + "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/parameters/paths·wsx48v·api-order-customerorders-id·get·parameters·0" + ] + }, + "x-ms-parameter-location": "method" + }, + "isRequired": true, + "isConstant": false, + "name": { + "$id": "3441", + "fixed": false, + "raw": "id" + }, + "serializedName": "id", + "modelType": { + "$id": "3442", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "3443", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + }, + { + "$id": "3444", + "clientProperty": { + "$ref": "3298" + }, + "location": "path", + "collectionFormat": "none", + "defaultValue": { + "$id": "3445", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "3446", + "fixed": false, + "raw": "" + }, + "extensions": { + "x-ms-metadata": { + "apiVersions": [ + "v1" + ], + "filename": [ + "mem:///104?oai3.shaken.json" + ], + "name": "paths·1jomc5o·api-order-customerorders-id·get·parameters·1", + "originalLocations": [ + "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/parameters/paths·1jomc5o·api-order-customerorders-id·get·parameters·1" + ] + }, + "x-ms-parameter-location": "method" + }, + "isRequired": true, + "isConstant": false, + "name": { + "$id": "3447", + "fixed": false, + "raw": "respGroup" + }, + "serializedName": "respGroup", + "modelType": { + "$id": "3448", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "3449", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + } + ], + "name": { + "$id": "3450", + "fixed": false, + "raw": "GetById" + }, + "group": { + "$id": "3451", + "fixed": false, + "raw": "OrderModule" + }, + "serializedName": "OrderModule_GetById", + "url": "/api/order/customerOrders/{id}", + "isAbsoluteUrl": false, + "httpMethod": "get", + "responses": { + "OK": { + "$id": "3452", + "body": { + "$ref": "2011" + }, + "extensions": { + "$id": "3453", + "x-ms-metadata": { + "apiVersions": [ + "v1" + ], + "filename": [ + "mem:///104?oai3.shaken.json" + ], + "name": "paths·d7wnf7·api-order-customerorders-id·get·responses·200", + "originalLocations": [ + "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/responses/paths·d7wnf7·api-order-customerorders-id·get·responses·200" + ] + } + }, + "isNullable": true + }, + "Unauthorized": { + "$id": "3454", + "extensions": { + "$id": "3455", + "x-ms-metadata": { + "apiVersions": [ + "v1" + ], + "filename": [ + "mem:///104?oai3.shaken.json" + ], + "name": "paths·adisgq·api-order-customerorders-id·get·responses·401", + "originalLocations": [ + "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/responses/paths·adisgq·api-order-customerorders-id·get·responses·401" + ] + } + }, + "isNullable": true + }, + "Forbidden": { + "$id": "3456", + "extensions": { + "$id": "3457", + "x-ms-metadata": { + "apiVersions": [ + "v1" + ], + "filename": [ + "mem:///104?oai3.shaken.json" + ], + "name": "paths·eypik7·api-order-customerorders-id·get·responses·403", + "originalLocations": [ + "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/responses/paths·eypik7·api-order-customerorders-id·get·responses·403" + ] + } + }, + "isNullable": true + } + }, + "defaultResponse": { + "$id": "3458", + "isNullable": true + }, + "returnType": { + "$id": "3459", + "body": { + "$ref": "2011" + }, + "isNullable": true + }, + "description": "Return a single customer order with all nested documents or null if order was not found", + "summary": "Find customer order by id", + "requestContentType": "application/json; charset=utf-8", + "responseContentTypes": [ + "text/plain", + "application/json", + "text/json" + ], + "extensions": { + "servers": [], + "security": [ + { + "oauth2": [] + } + ] + }, + "deprecated": false, + "hidden": false + }, + { + "$id": "3460", + "parameters": [ + { + "$id": "3461", + "location": "body", + "collectionFormat": "none", + "defaultValue": { + "$id": "3462", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "3463", + "fixed": false, + "raw": "Customer order" + }, + "extensions": { + "x-ms-metadata": { + "apiVersions": [ + "v1" + ], + "filename": [ + "mem:///104?oai3.shaken.json" + ], + "name": "paths·12atkpt·api-order-customerorders-recalculate·put·requestbody", + "originalLocations": [ + "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/requestBodies/paths·12atkpt·api-order-customerorders-recalculate·put·requestbody" + ] + } + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "3464", + "fixed": false, + "raw": "body" + }, + "serializedName": "body", + "modelType": { + "$ref": "2011" + } + } + ], + "name": { + "$id": "3465", + "fixed": false, + "raw": "CalculateTotals" + }, + "group": { + "$id": "3466", + "fixed": false, + "raw": "OrderModule" + }, + "serializedName": "OrderModule_CalculateTotals", + "url": "/api/order/customerOrders/recalculate", + "isAbsoluteUrl": false, + "httpMethod": "put", + "responses": { + "OK": { + "$id": "3467", + "body": { + "$ref": "2011" + }, + "extensions": { + "$id": "3468", + "x-ms-metadata": { + "apiVersions": [ + "v1" + ], + "filename": [ + "mem:///104?oai3.shaken.json" + ], + "name": "paths·1qwdaku·api-order-customerorders-recalculate·put·responses·200", + "originalLocations": [ + "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/responses/paths·1qwdaku·api-order-customerorders-recalculate·put·responses·200" + ] + } + }, + "isNullable": true + }, + "Unauthorized": { + "$id": "3469", + "extensions": { + "$id": "3470", + "x-ms-metadata": { + "apiVersions": [ + "v1" + ], + "filename": [ + "mem:///104?oai3.shaken.json" + ], + "name": "paths·ck7mll·api-order-customerorders-recalculate·put·responses·401", + "originalLocations": [ + "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/responses/paths·ck7mll·api-order-customerorders-recalculate·put·responses·401" + ] + } + }, + "isNullable": true + }, + "Forbidden": { + "$id": "3471", + "extensions": { + "$id": "3472", + "x-ms-metadata": { + "apiVersions": [ + "v1" + ], + "filename": [ + "mem:///104?oai3.shaken.json" + ], + "name": "paths·12xepj5·api-order-customerorders-recalculate·put·responses·403", + "originalLocations": [ + "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/responses/paths·12xepj5·api-order-customerorders-recalculate·put·responses·403" + ] + } + }, + "isNullable": true + } + }, + "defaultResponse": { + "$id": "3473", + "isNullable": true + }, + "returnType": { + "$id": "3474", + "body": { + "$ref": "2011" + }, + "isNullable": true + }, + "description": "Return order with recalculated totals", + "summary": "Calculate order totals after changes", + "requestContentType": "application/json-patch+json; charset=utf-8", + "responseContentTypes": [ + "text/plain", + "application/json", + "text/json" + ], + "extensions": { + "servers": [], + "security": [ + { + "oauth2": [] + } + ] + }, + "deprecated": false, + "hidden": false + }, + { + "$id": "3475", + "parameters": [ + { + "$id": "3476", + "location": "body", + "collectionFormat": "none", + "defaultValue": { + "$id": "3477", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "3478", + "fixed": false, + "raw": "banking card information" + }, + "extensions": { + "x-ms-metadata": { + "apiVersions": [ + "v1" + ], + "filename": [ + "mem:///104?oai3.shaken.json" + ], + "name": "paths·w0pj5t·api-order-customerorders-orderid-processpayment-paymentid·post·requestbody", + "originalLocations": [ + "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/requestBodies/paths·w0pj5t·api-order-customerorders-orderid-processpayment-paymentid·post·requestbody" + ] + } + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "3479", + "fixed": false, + "raw": "body" + }, + "serializedName": "body", + "modelType": { + "$ref": "2793" + } + }, + { + "$id": "3480", + "clientProperty": { + "$ref": "3316" + }, + "location": "path", + "collectionFormat": "none", + "defaultValue": { + "$id": "3481", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "3482", + "fixed": false, + "raw": "customer order id" + }, + "extensions": { + "x-ms-metadata": { + "apiVersions": [ + "v1" + ], + "filename": [ + "mem:///104?oai3.shaken.json" + ], + "name": "paths·p6didn·api-order-customerorders-orderid-processpayment-paymentid·post·parameters·0", + "originalLocations": [ + "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/parameters/paths·p6didn·api-order-customerorders-orderid-processpayment-paymentid·post·parameters·0" + ] + }, + "x-ms-parameter-location": "method" + }, + "isRequired": true, + "isConstant": false, + "name": { + "$id": "3483", + "fixed": false, + "raw": "orderId" + }, + "serializedName": "orderId", + "modelType": { + "$id": "3484", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "3485", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + }, + { + "$id": "3486", + "clientProperty": { + "$ref": "3322" + }, + "location": "path", + "collectionFormat": "none", + "defaultValue": { + "$id": "3487", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "3488", + "fixed": false, + "raw": "payment id" + }, + "extensions": { + "x-ms-metadata": { + "apiVersions": [ + "v1" + ], + "filename": [ + "mem:///104?oai3.shaken.json" + ], + "name": "paths·7h8szw·api-order-customerorders-orderid-processpayment-paymentid·post·parameters·1", + "originalLocations": [ + "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/parameters/paths·7h8szw·api-order-customerorders-orderid-processpayment-paymentid·post·parameters·1" + ] + }, + "x-ms-parameter-location": "method" + }, + "isRequired": true, + "isConstant": false, + "name": { + "$id": "3489", + "fixed": false, + "raw": "paymentId" + }, + "serializedName": "paymentId", + "modelType": { + "$id": "3490", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "3491", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + } + ], + "name": { + "$id": "3492", + "fixed": false, + "raw": "ProcessOrderPayments" + }, + "group": { + "$id": "3493", + "fixed": false, + "raw": "OrderModule" + }, + "serializedName": "OrderModule_ProcessOrderPayments", + "url": "/api/order/customerOrders/{orderId}/processPayment/{paymentId}", + "isAbsoluteUrl": false, + "httpMethod": "post", + "responses": { + "OK": { + "$id": "3494", + "body": { + "$ref": "743" + }, + "extensions": { + "$id": "3495", + "x-ms-metadata": { + "apiVersions": [ + "v1" + ], + "filename": [ + "mem:///104?oai3.shaken.json" + ], + "name": "paths·e8ol75·api-order-customerorders-orderid-processpayment-paymentid·post·responses·200", + "originalLocations": [ + "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/responses/paths·e8ol75·api-order-customerorders-orderid-processpayment-paymentid·post·responses·200" + ] + } + }, + "isNullable": true + }, + "Unauthorized": { + "$id": "3496", + "extensions": { + "$id": "3497", + "x-ms-metadata": { + "apiVersions": [ + "v1" + ], + "filename": [ + "mem:///104?oai3.shaken.json" + ], + "name": "paths·cc5wm·api-order-customerorders-orderid-processpayment-paymentid·post·responses·401", + "originalLocations": [ + "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/responses/paths·cc5wm·api-order-customerorders-orderid-processpayment-paymentid·post·responses·401" + ] + } + }, + "isNullable": true + }, + "Forbidden": { + "$id": "3498", + "extensions": { + "$id": "3499", + "x-ms-metadata": { + "apiVersions": [ + "v1" + ], + "filename": [ + "mem:///104?oai3.shaken.json" + ], + "name": "paths·1miz5zx·api-order-customerorders-orderid-processpayment-paymentid·post·responses·403", + "originalLocations": [ + "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/responses/paths·1miz5zx·api-order-customerorders-orderid-processpayment-paymentid·post·responses·403" + ] + } + }, + "isNullable": true + } + }, + "defaultResponse": { + "$id": "3500", + "isNullable": true + }, + "returnType": { + "$id": "3501", + "body": { + "$ref": "743" + }, + "isNullable": true + }, + "description": "Used in storefront checkout or manual order payment registration", + "summary": "Register customer order payment in external payment system", + "requestContentType": "application/json; charset=utf-8", + "responseContentTypes": [ + "text/plain", + "application/json", + "text/json" + ], + "extensions": { + "servers": [], + "security": [ + { + "oauth2": [] + } + ] + }, + "deprecated": false, + "hidden": false + }, + { + "$id": "3502", + "parameters": [ + { + "$id": "3503", + "clientProperty": { + "$ref": "3328" + }, + "location": "path", + "collectionFormat": "none", + "defaultValue": { + "$id": "3504", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "3505", + "fixed": false, + "raw": "shopping cart id" + }, + "extensions": { + "x-ms-metadata": { + "apiVersions": [ + "v1" + ], + "filename": [ + "mem:///104?oai3.shaken.json" + ], + "name": "paths·1iieqg6·api-order-customerorders-cartid·post·parameters·0", + "originalLocations": [ + "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/parameters/paths·1iieqg6·api-order-customerorders-cartid·post·parameters·0" + ] + }, + "x-ms-parameter-location": "method" + }, + "isRequired": true, + "isConstant": false, + "name": { + "$id": "3506", + "fixed": false, + "raw": "cartId" + }, + "serializedName": "cartId", + "modelType": { + "$id": "3507", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "3508", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + } + ], + "name": { + "$id": "3509", + "fixed": false, + "raw": "CreateOrderFromCart" + }, + "group": { + "$id": "3510", + "fixed": false, + "raw": "OrderModule" + }, + "serializedName": "OrderModule_CreateOrderFromCart", + "url": "/api/order/customerOrders/{cartId}", + "isAbsoluteUrl": false, + "httpMethod": "post", + "responses": { + "OK": { + "$id": "3511", + "body": { + "$ref": "2011" + }, + "extensions": { + "$id": "3512", + "x-ms-metadata": { + "apiVersions": [ + "v1" + ], + "filename": [ + "mem:///104?oai3.shaken.json" + ], + "name": "paths·11o2l48·api-order-customerorders-cartid·post·responses·200", + "originalLocations": [ + "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/responses/paths·11o2l48·api-order-customerorders-cartid·post·responses·200" + ] + } + }, + "isNullable": true + }, + "Unauthorized": { + "$id": "3513", + "extensions": { + "$id": "3514", + "x-ms-metadata": { + "apiVersions": [ + "v1" + ], + "filename": [ + "mem:///104?oai3.shaken.json" + ], + "name": "paths·rp1r21·api-order-customerorders-cartid·post·responses·401", + "originalLocations": [ + "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/responses/paths·rp1r21·api-order-customerorders-cartid·post·responses·401" + ] + } + }, + "isNullable": true + }, + "Forbidden": { + "$id": "3515", + "extensions": { + "$id": "3516", + "x-ms-metadata": { + "apiVersions": [ + "v1" + ], + "filename": [ + "mem:///104?oai3.shaken.json" + ], + "name": "paths·s1zlff·api-order-customerorders-cartid·post·responses·403", + "originalLocations": [ + "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/responses/paths·s1zlff·api-order-customerorders-cartid·post·responses·403" + ] + } + }, + "isNullable": true + } + }, + "defaultResponse": { + "$id": "3517", + "isNullable": true + }, + "returnType": { + "$id": "3518", + "body": { + "$ref": "2011" + }, + "isNullable": true + }, + "summary": "Create new customer order based on shopping cart.", + "requestContentType": "application/json; charset=utf-8", + "responseContentTypes": [ + "text/plain", + "application/json", + "text/json" + ], + "extensions": { + "servers": [], + "security": [ + { + "oauth2": [ + "order:create" + ] + } + ] + }, + "deprecated": false, + "hidden": false + }, + { + "$id": "3519", + "parameters": [ + { + "$id": "3520", + "location": "body", + "collectionFormat": "none", + "defaultValue": { + "$id": "3521", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "3522", + "fixed": false, + "raw": "customer order" + }, + "extensions": { + "x-ms-metadata": { + "apiVersions": [ + "v1" + ], + "filename": [ + "mem:///104?oai3.shaken.json" + ], + "name": "paths·1vnkasa·api-order-customerorders·post·requestbody", + "originalLocations": [ + "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/requestBodies/paths·1vnkasa·api-order-customerorders·post·requestbody" + ] + } + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "3523", + "fixed": false, + "raw": "body" + }, + "serializedName": "body", + "modelType": { + "$ref": "2011" + } + } + ], + "name": { + "$id": "3524", + "fixed": false, + "raw": "CreateOrder" + }, + "group": { + "$id": "3525", + "fixed": false, + "raw": "OrderModule" + }, + "serializedName": "OrderModule_CreateOrder", + "url": "/api/order/customerOrders", + "isAbsoluteUrl": false, + "httpMethod": "post", + "responses": { + "OK": { + "$id": "3526", + "body": { + "$ref": "2011" + }, + "extensions": { + "$id": "3527", + "x-ms-metadata": { + "apiVersions": [ + "v1" + ], + "filename": [ + "mem:///104?oai3.shaken.json" + ], + "name": "paths·1jlnvjk·api-order-customerorders·post·responses·200", + "originalLocations": [ + "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/responses/paths·1jlnvjk·api-order-customerorders·post·responses·200" + ] + } + }, + "isNullable": true + }, + "Unauthorized": { + "$id": "3528", + "extensions": { + "$id": "3529", + "x-ms-metadata": { + "apiVersions": [ + "v1" + ], + "filename": [ + "mem:///104?oai3.shaken.json" + ], + "name": "paths·15lloet·api-order-customerorders·post·responses·401", + "originalLocations": [ + "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/responses/paths·15lloet·api-order-customerorders·post·responses·401" + ] + } + }, + "isNullable": true + }, + "Forbidden": { + "$id": "3530", + "extensions": { + "$id": "3531", + "x-ms-metadata": { + "apiVersions": [ + "v1" + ], + "filename": [ + "mem:///104?oai3.shaken.json" + ], + "name": "paths·1o6qr94·api-order-customerorders·post·responses·403", + "originalLocations": [ + "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/responses/paths·1o6qr94·api-order-customerorders·post·responses·403" + ] + } + }, + "isNullable": true + } + }, + "defaultResponse": { + "$id": "3532", + "isNullable": true + }, + "returnType": { + "$id": "3533", + "body": { + "$ref": "2011" + }, + "isNullable": true + }, + "summary": "Add new customer order to system", + "requestContentType": "application/json-patch+json; charset=utf-8", + "responseContentTypes": [ + "text/plain", + "application/json", + "text/json" + ], + "extensions": { + "servers": [], + "security": [ + { + "oauth2": [ + "order:create" + ] + } + ] + }, + "deprecated": false, + "hidden": false + }, + { + "$id": "3534", + "parameters": [ + { + "$id": "3535", + "location": "body", + "collectionFormat": "none", + "defaultValue": { + "$id": "3536", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "3537", + "fixed": false, + "raw": "customer order" + }, + "extensions": { + "x-ms-metadata": { + "apiVersions": [ + "v1" + ], + "filename": [ + "mem:///104?oai3.shaken.json" + ], + "name": "paths·tn1dq4·api-order-customerorders·put·requestbody", + "originalLocations": [ + "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/requestBodies/paths·tn1dq4·api-order-customerorders·put·requestbody" + ] + } + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "3538", + "fixed": false, + "raw": "body" + }, + "serializedName": "body", + "modelType": { + "$ref": "2011" + } + } + ], + "name": { + "$id": "3539", + "fixed": false, + "raw": "UpdateOrder" + }, + "group": { + "$id": "3540", + "fixed": false, + "raw": "OrderModule" + }, + "serializedName": "OrderModule_UpdateOrder", + "url": "/api/order/customerOrders", + "isAbsoluteUrl": false, + "httpMethod": "put", + "responses": { + "NoContent": { + "$id": "3541", + "extensions": { + "$id": "3542", + "x-ms-metadata": { + "apiVersions": [ + "v1" + ], + "filename": [ + "mem:///104?oai3.shaken.json" + ], + "name": "paths·14fqx29·api-order-customerorders·put·responses·204", + "originalLocations": [ + "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/responses/paths·14fqx29·api-order-customerorders·put·responses·204" + ] + } + }, + "isNullable": true + }, + "Unauthorized": { + "$id": "3543", + "extensions": { + "$id": "3544", + "x-ms-metadata": { + "apiVersions": [ + "v1" + ], + "filename": [ + "mem:///104?oai3.shaken.json" + ], + "name": "paths·1x51lrs·api-order-customerorders·put·responses·401", + "originalLocations": [ + "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/responses/paths·1x51lrs·api-order-customerorders·put·responses·401" + ] + } + }, + "isNullable": true + }, + "Forbidden": { + "$id": "3545", + "extensions": { + "$id": "3546", + "x-ms-metadata": { + "apiVersions": [ + "v1" + ], + "filename": [ + "mem:///104?oai3.shaken.json" + ], + "name": "paths·1x38354·api-order-customerorders·put·responses·403", + "originalLocations": [ + "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/responses/paths·1x38354·api-order-customerorders·put·responses·403" + ] + } + }, + "isNullable": true + } + }, + "defaultResponse": { + "$id": "3547", + "isNullable": true + }, + "returnType": { + "$id": "3548", + "isNullable": true + }, + "summary": "Update a existing customer order", + "requestContentType": "application/json-patch+json; charset=utf-8", + "responseContentTypes": [ + "application/json" + ], + "extensions": { + "servers": [], + "security": [ + { + "oauth2": [] + } + ] + }, + "deprecated": false, + "hidden": false + }, + { + "$id": "3549", + "parameters": [ + { + "$id": "3550", + "clientProperty": { + "$ref": "3334" + }, + "location": "query", + "collectionFormat": "csv", + "defaultValue": { + "$id": "3551", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "3552", + "fixed": false, + "raw": "customer order ids for delete" + }, + "extensions": { + "x-ms-metadata": { + "apiVersions": [ + "v1" + ], + "filename": [ + "mem:///104?oai3.shaken.json" + ], + "name": "paths·14ijh1o·api-order-customerorders·delete·parameters·0", + "originalLocations": [ + "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/parameters/paths·14ijh1o·api-order-customerorders·delete·parameters·0" + ] + }, + "x-ms-parameter-location": "method" + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "3553", + "fixed": false, + "raw": "ids" + }, + "serializedName": "ids", + "modelType": { + "$id": "3554", + "$type": "SequenceType", + "elementType": { + "$id": "3555", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "3556", + "fixed": false, + "raw": "String" + }, + "deprecated": false + }, + "name": { + "$id": "3557", + "fixed": false + }, + "deprecated": false + } + } + ], + "name": { + "$id": "3558", + "fixed": false, + "raw": "DeleteOrdersByIds" + }, + "group": { + "$id": "3559", + "fixed": false, + "raw": "OrderModule" + }, + "serializedName": "OrderModule_DeleteOrdersByIds", + "url": "/api/order/customerOrders", + "isAbsoluteUrl": false, + "httpMethod": "delete", + "responses": { + "NoContent": { + "$id": "3560", + "extensions": { + "$id": "3561", + "x-ms-metadata": { + "apiVersions": [ + "v1" + ], + "filename": [ + "mem:///104?oai3.shaken.json" + ], + "name": "paths·1ifzgtm·api-order-customerorders·delete·responses·204", + "originalLocations": [ + "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/responses/paths·1ifzgtm·api-order-customerorders·delete·responses·204" + ] + } + }, + "isNullable": true + }, + "Unauthorized": { + "$id": "3562", + "extensions": { + "$id": "3563", + "x-ms-metadata": { + "apiVersions": [ + "v1" + ], + "filename": [ + "mem:///104?oai3.shaken.json" + ], + "name": "paths·19319q8·api-order-customerorders·delete·responses·401", + "originalLocations": [ + "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/responses/paths·19319q8·api-order-customerorders·delete·responses·401" + ] + } + }, + "isNullable": true + }, + "Forbidden": { + "$id": "3564", + "extensions": { + "$id": "3565", + "x-ms-metadata": { + "apiVersions": [ + "v1" + ], + "filename": [ + "mem:///104?oai3.shaken.json" + ], + "name": "paths·1oae8z7·api-order-customerorders·delete·responses·403", + "originalLocations": [ + "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/responses/paths·1oae8z7·api-order-customerorders·delete·responses·403" + ] + } + }, + "isNullable": true + } + }, + "defaultResponse": { + "$id": "3566", + "isNullable": true + }, + "returnType": { + "$id": "3567", + "isNullable": true + }, + "summary": "Delete a whole customer orders", + "requestContentType": "application/json; charset=utf-8", + "responseContentTypes": [ + "application/json" + ], + "extensions": { + "servers": [], + "security": [ + { + "oauth2": [ + "order:delete" + ] + } + ] + }, + "deprecated": false, + "hidden": false + }, + { + "$id": "3568", + "parameters": [ + { + "$id": "3569", + "clientProperty": { + "$ref": "3304" + }, + "location": "path", + "collectionFormat": "none", + "defaultValue": { + "$id": "3570", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "3571", + "fixed": false, + "raw": "customer order id" + }, + "extensions": { + "x-ms-metadata": { + "apiVersions": [ + "v1" + ], + "filename": [ + "mem:///104?oai3.shaken.json" + ], + "name": "paths·1n4pioy·api-order-customerorders-id-shipments-new·get·parameters·0", + "originalLocations": [ + "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/parameters/paths·1n4pioy·api-order-customerorders-id-shipments-new·get·parameters·0" + ] + }, + "x-ms-parameter-location": "method" + }, + "isRequired": true, + "isConstant": false, + "name": { + "$id": "3572", + "fixed": false, + "raw": "id" + }, + "serializedName": "id", + "modelType": { + "$id": "3573", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "3574", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + } + ], + "name": { + "$id": "3575", + "fixed": false, + "raw": "GetNewShipment" + }, + "group": { + "$id": "3576", + "fixed": false, + "raw": "OrderModule" + }, + "serializedName": "OrderModule_GetNewShipment", + "url": "/api/order/customerOrders/{id}/shipments/new", + "isAbsoluteUrl": false, + "httpMethod": "get", + "responses": { + "OK": { + "$id": "3577", + "body": { + "$ref": "2131" + }, + "extensions": { + "$id": "3578", + "x-ms-metadata": { + "apiVersions": [ + "v1" + ], + "filename": [ + "mem:///104?oai3.shaken.json" + ], + "name": "paths·uewrw8·api-order-customerorders-id-shipments-new·get·responses·200", + "originalLocations": [ + "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/responses/paths·uewrw8·api-order-customerorders-id-shipments-new·get·responses·200" + ] + } + }, + "isNullable": true + }, + "Unauthorized": { + "$id": "3579", + "extensions": { + "$id": "3580", + "x-ms-metadata": { + "apiVersions": [ + "v1" + ], + "filename": [ + "mem:///104?oai3.shaken.json" + ], + "name": "paths·1du6ewh·api-order-customerorders-id-shipments-new·get·responses·401", + "originalLocations": [ + "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/responses/paths·1du6ewh·api-order-customerorders-id-shipments-new·get·responses·401" + ] + } + }, + "isNullable": true + }, + "Forbidden": { + "$id": "3581", + "extensions": { + "$id": "3582", + "x-ms-metadata": { + "apiVersions": [ + "v1" + ], + "filename": [ + "mem:///104?oai3.shaken.json" + ], + "name": "paths·t5gb61·api-order-customerorders-id-shipments-new·get·responses·403", + "originalLocations": [ + "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/responses/paths·t5gb61·api-order-customerorders-id-shipments-new·get·responses·403" + ] + } + }, + "isNullable": true + } + }, + "defaultResponse": { + "$id": "3583", + "isNullable": true + }, + "returnType": { + "$id": "3584", + "body": { + "$ref": "2131" + }, + "isNullable": true + }, + "description": "Return new shipment document with populates all required properties.", + "summary": "Get new shipment for specified customer order", + "requestContentType": "application/json; charset=utf-8", + "responseContentTypes": [ + "text/plain", + "application/json", + "text/json" + ], + "extensions": { + "servers": [], + "security": [ + { + "oauth2": [] + } + ] + }, + "deprecated": false, + "hidden": false + }, + { + "$id": "3585", + "parameters": [ + { + "$id": "3586", + "clientProperty": { + "$ref": "3304" + }, + "location": "path", + "collectionFormat": "none", + "defaultValue": { + "$id": "3587", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "3588", + "fixed": false, + "raw": "customer order id" + }, + "extensions": { + "x-ms-metadata": { + "apiVersions": [ + "v1" + ], + "filename": [ + "mem:///104?oai3.shaken.json" + ], + "name": "paths·1td2sv4·api-order-customerorders-id-payments-new·get·parameters·0", + "originalLocations": [ + "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/parameters/paths·1td2sv4·api-order-customerorders-id-payments-new·get·parameters·0" + ] + }, + "x-ms-parameter-location": "method" + }, + "isRequired": true, + "isConstant": false, + "name": { + "$id": "3589", + "fixed": false, + "raw": "id" + }, + "serializedName": "id", + "modelType": { + "$id": "3590", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "3591", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + } + ], + "name": { + "$id": "3592", + "fixed": false, + "raw": "GetNewPayment" + }, + "group": { + "$id": "3593", + "fixed": false, + "raw": "OrderModule" + }, + "serializedName": "OrderModule_GetNewPayment", + "url": "/api/order/customerOrders/{id}/payments/new", + "isAbsoluteUrl": false, + "httpMethod": "get", + "responses": { + "OK": { + "$id": "3594", + "body": { + "$ref": "1198" + }, + "extensions": { + "$id": "3595", + "x-ms-metadata": { + "apiVersions": [ + "v1" + ], + "filename": [ + "mem:///104?oai3.shaken.json" + ], + "name": "paths·bseyjz·api-order-customerorders-id-payments-new·get·responses·200", + "originalLocations": [ + "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/responses/paths·bseyjz·api-order-customerorders-id-payments-new·get·responses·200" + ] + } + }, + "isNullable": true + }, + "Unauthorized": { + "$id": "3596", + "extensions": { + "$id": "3597", + "x-ms-metadata": { + "apiVersions": [ + "v1" + ], + "filename": [ + "mem:///104?oai3.shaken.json" + ], + "name": "paths·nj1h8d·api-order-customerorders-id-payments-new·get·responses·401", + "originalLocations": [ + "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/responses/paths·nj1h8d·api-order-customerorders-id-payments-new·get·responses·401" + ] + } + }, + "isNullable": true + }, + "Forbidden": { + "$id": "3598", + "extensions": { + "$id": "3599", + "x-ms-metadata": { + "apiVersions": [ + "v1" + ], + "filename": [ + "mem:///104?oai3.shaken.json" + ], + "name": "paths·7r1lt8·api-order-customerorders-id-payments-new·get·responses·403", + "originalLocations": [ + "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/responses/paths·7r1lt8·api-order-customerorders-id-payments-new·get·responses·403" + ] + } + }, + "isNullable": true + } + }, + "defaultResponse": { + "$id": "3600", + "isNullable": true + }, + "returnType": { + "$id": "3601", + "body": { + "$ref": "1198" + }, + "isNullable": true + }, + "description": "Return new payment document with populates all required properties.", + "summary": "Get new payment for specified customer order", + "requestContentType": "application/json; charset=utf-8", + "responseContentTypes": [ + "text/plain", + "application/json", + "text/json" + ], + "extensions": { + "servers": [], + "security": [ + { + "oauth2": [] + } + ] + }, + "deprecated": false, + "hidden": false + }, + { + "$id": "3602", + "parameters": [ + { + "$id": "3603", + "clientProperty": { + "$ref": "3354" + }, + "location": "query", + "collectionFormat": "none", + "defaultValue": { + "$id": "3604", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "3605", + "fixed": false, + "raw": "start interval date" + }, + "extensions": { + "x-ms-metadata": { + "apiVersions": [ + "v1" + ], + "filename": [ + "mem:///104?oai3.shaken.json" + ], + "name": "paths·i0msig·api-order-dashboardstatistics·get·parameters·0", + "originalLocations": [ + "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/parameters/paths·i0msig·api-order-dashboardstatistics·get·parameters·0" + ] + }, + "x-ms-parameter-location": "method" + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "3606", + "fixed": false, + "raw": "start" + }, + "serializedName": "start", + "modelType": { + "$id": "3607", + "$type": "PrimaryType", + "format": "date-time", + "knownPrimaryType": "dateTime", + "name": { + "$id": "3608", + "fixed": false, + "raw": "DateTime" + }, + "deprecated": false + } + }, + { + "$id": "3609", + "clientProperty": { + "$ref": "3360" + }, + "location": "query", + "collectionFormat": "none", + "defaultValue": { + "$id": "3610", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "3611", + "fixed": false, + "raw": "end interval date" + }, + "extensions": { + "x-ms-metadata": { + "apiVersions": [ + "v1" + ], + "filename": [ + "mem:///104?oai3.shaken.json" + ], + "name": "paths·12txb9v·api-order-dashboardstatistics·get·parameters·1", + "originalLocations": [ + "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/parameters/paths·12txb9v·api-order-dashboardstatistics·get·parameters·1" + ] + }, + "x-ms-parameter-location": "method" + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "3612", + "fixed": false, + "raw": "end" + }, + "serializedName": "end", + "modelType": { + "$id": "3613", + "$type": "PrimaryType", + "format": "date-time", + "knownPrimaryType": "dateTime", + "name": { + "$id": "3614", + "fixed": false, + "raw": "DateTime" + }, + "deprecated": false + } + } + ], + "name": { + "$id": "3615", + "fixed": false, + "raw": "GetDashboardStatisticsAsync" + }, + "group": { + "$id": "3616", + "fixed": false, + "raw": "OrderModule" + }, + "serializedName": "OrderModule_GetDashboardStatisticsAsync", + "url": "/api/order/dashboardStatistics", + "isAbsoluteUrl": false, + "httpMethod": "get", + "responses": { + "OK": { + "$id": "3617", + "body": { + "$ref": "2871" + }, + "extensions": { + "$id": "3618", + "x-ms-metadata": { + "apiVersions": [ + "v1" + ], + "filename": [ + "mem:///104?oai3.shaken.json" + ], + "name": "paths·u1kaue·api-order-dashboardstatistics·get·responses·200", + "originalLocations": [ + "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/responses/paths·u1kaue·api-order-dashboardstatistics·get·responses·200" + ] + } + }, + "isNullable": true + }, + "Unauthorized": { + "$id": "3619", + "extensions": { + "$id": "3620", + "x-ms-metadata": { + "apiVersions": [ + "v1" + ], + "filename": [ + "mem:///104?oai3.shaken.json" + ], + "name": "paths·1li09i8·api-order-dashboardstatistics·get·responses·401", + "originalLocations": [ + "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/responses/paths·1li09i8·api-order-dashboardstatistics·get·responses·401" + ] + } + }, + "isNullable": true + }, + "Forbidden": { + "$id": "3621", + "extensions": { + "$id": "3622", + "x-ms-metadata": { + "apiVersions": [ + "v1" + ], + "filename": [ + "mem:///104?oai3.shaken.json" + ], + "name": "paths·xtn27l·api-order-dashboardstatistics·get·responses·403", + "originalLocations": [ + "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/responses/paths·xtn27l·api-order-dashboardstatistics·get·responses·403" + ] + } + }, + "isNullable": true + } + }, + "defaultResponse": { + "$id": "3623", + "isNullable": true + }, + "returnType": { + "$id": "3624", + "body": { + "$ref": "2871" + }, + "isNullable": true + }, + "summary": "Get a some order statistic information for Commerce manager dashboard", + "requestContentType": "application/json; charset=utf-8", + "responseContentTypes": [ + "text/plain", + "application/json", + "text/json" + ], + "extensions": { + "servers": [], + "security": [ + { + "oauth2": [] + } + ] + }, + "deprecated": false, + "hidden": false + }, + { + "$id": "3625", + "parameters": [ + { + "$id": "3626", + "location": "body", + "collectionFormat": "none", + "defaultValue": { + "$id": "3627", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "3628", + "fixed": false, + "raw": "payment callback parameters" + }, + "extensions": { + "x-ms-metadata": { + "apiVersions": [ + "v1" + ], + "filename": [ + "mem:///104?oai3.shaken.json" + ], + "name": "paths·gv6iui·api-paymentcallback·post·requestbody", + "originalLocations": [ + "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/requestBodies/paths·gv6iui·api-paymentcallback·post·requestbody" + ] + } + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "3629", + "fixed": false, + "raw": "body" + }, + "serializedName": "body", + "modelType": { + "$ref": "2953" + } + } + ], + "name": { + "$id": "3630", + "fixed": false, + "raw": "PostProcessPayment" + }, + "group": { + "$id": "3631", + "fixed": false, + "raw": "OrderModule" + }, + "serializedName": "OrderModule_PostProcessPayment", + "url": "/api/paymentcallback", + "isAbsoluteUrl": false, + "httpMethod": "post", + "responses": { + "OK": { + "$id": "3632", + "body": { + "$ref": "2961" + }, + "extensions": { + "$id": "3633", + "x-ms-metadata": { + "apiVersions": [ + "v1" + ], + "filename": [ + "mem:///104?oai3.shaken.json" + ], + "name": "paths·13hg9dt·api-paymentcallback·post·responses·200", + "originalLocations": [ + "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/responses/paths·13hg9dt·api-paymentcallback·post·responses·200" + ] + } + }, + "isNullable": true + }, + "Unauthorized": { + "$id": "3634", + "extensions": { + "$id": "3635", + "x-ms-metadata": { + "apiVersions": [ + "v1" + ], + "filename": [ + "mem:///104?oai3.shaken.json" + ], + "name": "paths·1cl7xy8·api-paymentcallback·post·responses·401", + "originalLocations": [ + "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/responses/paths·1cl7xy8·api-paymentcallback·post·responses·401" + ] + } + }, + "isNullable": true + }, + "Forbidden": { + "$id": "3636", + "extensions": { + "$id": "3637", + "x-ms-metadata": { + "apiVersions": [ + "v1" + ], + "filename": [ + "mem:///104?oai3.shaken.json" + ], + "name": "paths·13fhi34·api-paymentcallback·post·responses·403", + "originalLocations": [ + "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/responses/paths·13fhi34·api-paymentcallback·post·responses·403" + ] + } + }, + "isNullable": true + } + }, + "defaultResponse": { + "$id": "3638", + "isNullable": true + }, + "returnType": { + "$id": "3639", + "body": { + "$ref": "2961" + }, + "isNullable": true + }, + "summary": "Payment callback operation used by external payment services to inform post process payment in our system", + "requestContentType": "application/json-patch+json; charset=utf-8", + "responseContentTypes": [ + "text/plain", + "application/json", + "text/json" + ], + "extensions": { + "servers": [], + "security": [ + { + "oauth2": [] + } + ] + }, + "deprecated": false, + "hidden": false + }, + { + "$id": "3640", + "parameters": [ + { + "$id": "3641", + "clientProperty": { + "$ref": "3366" + }, + "location": "path", + "collectionFormat": "none", + "defaultValue": { + "$id": "3642", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "3643", + "fixed": false + }, + "extensions": { + "x-ms-metadata": { + "apiVersions": [ + "v1" + ], + "filename": [ + "mem:///104?oai3.shaken.json" + ], + "name": "paths·j0j8tt·api-order-customerorders-invoice-ordernumber·get·parameters·0", + "originalLocations": [ + "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/parameters/paths·j0j8tt·api-order-customerorders-invoice-ordernumber·get·parameters·0" + ] + }, + "x-ms-parameter-location": "method" + }, + "isRequired": true, + "isConstant": false, + "name": { + "$id": "3644", + "fixed": false, + "raw": "orderNumber" + }, + "serializedName": "orderNumber", + "modelType": { + "$id": "3645", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "3646", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + } + ], + "name": { + "$id": "3647", + "fixed": false, + "raw": "GetInvoicePdf" + }, + "group": { + "$id": "3648", + "fixed": false, + "raw": "OrderModule" + }, + "serializedName": "OrderModule_GetInvoicePdf", + "url": "/api/order/customerOrders/invoice/{orderNumber}", + "isAbsoluteUrl": false, + "httpMethod": "get", + "responses": { + "OK": { + "$id": "3649", + "body": { + "$id": "3650", + "$type": "PrimaryType", + "format": "binary", + "knownPrimaryType": "string", + "name": { + "$id": "3651", + "fixed": false, + "raw": "String" + }, + "deprecated": false + }, + "extensions": { + "$id": "3652", + "x-ms-metadata": { + "apiVersions": [ + "v1" + ], + "filename": [ + "mem:///104?oai3.shaken.json" + ], + "name": "paths·f6ykcf·api-order-customerorders-invoice-ordernumber·get·responses·200", + "originalLocations": [ + "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/responses/paths·f6ykcf·api-order-customerorders-invoice-ordernumber·get·responses·200" + ] + } + }, + "isNullable": true + }, + "Unauthorized": { + "$id": "3653", + "extensions": { + "$id": "3654", + "x-ms-metadata": { + "apiVersions": [ + "v1" + ], + "filename": [ + "mem:///104?oai3.shaken.json" + ], + "name": "paths·1uwsokg·api-order-customerorders-invoice-ordernumber·get·responses·401", + "originalLocations": [ + "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/responses/paths·1uwsokg·api-order-customerorders-invoice-ordernumber·get·responses·401" + ] + } + }, + "isNullable": true + }, + "Forbidden": { + "$id": "3655", + "extensions": { + "$id": "3656", + "x-ms-metadata": { + "apiVersions": [ + "v1" + ], + "filename": [ + "mem:///104?oai3.shaken.json" + ], + "name": "paths·ase5rb·api-order-customerorders-invoice-ordernumber·get·responses·403", + "originalLocations": [ + "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/responses/paths·ase5rb·api-order-customerorders-invoice-ordernumber·get·responses·403" + ] + } + }, + "isNullable": true + } + }, + "defaultResponse": { + "$id": "3657", + "isNullable": true + }, + "returnType": { + "$id": "3658", + "body": { + "$ref": "3650" + }, + "isNullable": true + }, + "requestContentType": "application/json; charset=utf-8", + "responseContentTypes": [ + "application/octet-stream" + ], + "extensions": { + "servers": [], + "security": [ + { + "oauth2": [] + } + ] + }, + "deprecated": false, + "hidden": false + }, + { + "$id": "3659", + "parameters": [ + { + "$id": "3660", + "clientProperty": { + "$ref": "3304" + }, + "location": "path", + "collectionFormat": "none", + "defaultValue": { + "$id": "3661", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "3662", + "fixed": false + }, + "extensions": { + "x-ms-metadata": { + "apiVersions": [ + "v1" + ], + "filename": [ + "mem:///104?oai3.shaken.json" + ], + "name": "paths·1jzm1qj·api-order-customerorders-id-changes·get·parameters·0", + "originalLocations": [ + "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/parameters/paths·1jzm1qj·api-order-customerorders-id-changes·get·parameters·0" + ] + }, + "x-ms-parameter-location": "method" + }, + "isRequired": true, + "isConstant": false, + "name": { + "$id": "3663", + "fixed": false, + "raw": "id" + }, + "serializedName": "id", + "modelType": { + "$id": "3664", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "3665", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + } + ], + "name": { + "$id": "3666", + "fixed": false, + "raw": "GetOrderChanges" + }, + "group": { + "$id": "3667", + "fixed": false, + "raw": "OrderModule" + }, + "serializedName": "OrderModule_GetOrderChanges", + "url": "/api/order/customerOrders/{id}/changes", + "isAbsoluteUrl": false, + "httpMethod": "get", + "responses": { + "OK": { + "$id": "3668", + "body": { + "$id": "3669", + "$type": "SequenceType", + "elementType": { + "$ref": "2" + }, + "name": { + "$id": "3670", + "fixed": false + }, + "deprecated": false + }, + "extensions": { + "$id": "3671", + "x-ms-metadata": { + "apiVersions": [ + "v1" + ], + "filename": [ + "mem:///104?oai3.shaken.json" + ], + "name": "paths·1iju18x·api-order-customerorders-id-changes·get·responses·200", + "originalLocations": [ + "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/responses/paths·1iju18x·api-order-customerorders-id-changes·get·responses·200" + ] + } + }, + "isNullable": true + }, + "Unauthorized": { + "$id": "3672", + "extensions": { + "$id": "3673", + "x-ms-metadata": { + "apiVersions": [ + "v1" + ], + "filename": [ + "mem:///104?oai3.shaken.json" + ], + "name": "paths·r40tgs·api-order-customerorders-id-changes·get·responses·401", + "originalLocations": [ + "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/responses/paths·r40tgs·api-order-customerorders-id-changes·get·responses·401" + ] + } + }, + "isNullable": true + }, + "Forbidden": { + "$id": "3674", + "extensions": { + "$id": "3675", + "x-ms-metadata": { + "apiVersions": [ + "v1" + ], + "filename": [ + "mem:///104?oai3.shaken.json" + ], + "name": "paths·ju17yy·api-order-customerorders-id-changes·get·responses·403", + "originalLocations": [ + "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/responses/paths·ju17yy·api-order-customerorders-id-changes·get·responses·403" + ] + } + }, + "isNullable": true + } + }, + "defaultResponse": { + "$id": "3676", + "isNullable": true + }, + "returnType": { + "$id": "3677", + "body": { + "$ref": "3669" + }, + "isNullable": true + }, + "requestContentType": "application/json; charset=utf-8", + "responseContentTypes": [ + "text/plain", + "application/json", + "text/json" + ], + "extensions": { + "servers": [], + "security": [ + { + "oauth2": [] + } + ] + }, + "deprecated": false, + "hidden": false + }, + { + "$id": "3678", + "parameters": [ + { + "$id": "3679", + "location": "body", + "collectionFormat": "none", + "defaultValue": { + "$id": "3680", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "3681", + "fixed": false + }, + "extensions": { + "x-ms-metadata": { + "apiVersions": [ + "v1" + ], + "filename": [ + "mem:///104?oai3.shaken.json" + ], + "name": "paths·1eu7wk4·api-order-customerorders-searchchanges·post·requestbody", + "originalLocations": [ + "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/requestBodies/paths·1eu7wk4·api-order-customerorders-searchchanges·post·requestbody" + ] + } + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "3682", + "fixed": false, + "raw": "body" + }, + "serializedName": "body", + "modelType": { + "$ref": "3016" + } + } + ], + "name": { + "$id": "3683", + "fixed": false, + "raw": "SearchOrderChanges" + }, + "group": { + "$id": "3684", + "fixed": false, + "raw": "OrderModule" + }, + "serializedName": "OrderModule_SearchOrderChanges", + "url": "/api/order/customerOrders/searchChanges", + "isAbsoluteUrl": false, + "httpMethod": "post", + "responses": { + "OK": { + "$id": "3685", + "body": { + "$ref": "3094" + }, + "extensions": { + "$id": "3686", + "x-ms-metadata": { + "apiVersions": [ + "v1" + ], + "filename": [ + "mem:///104?oai3.shaken.json" + ], + "name": "paths·13bjw4c·api-order-customerorders-searchchanges·post·responses·200", + "originalLocations": [ + "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/responses/paths·13bjw4c·api-order-customerorders-searchchanges·post·responses·200" + ] + } + }, + "isNullable": true + }, + "Unauthorized": { + "$id": "3687", + "extensions": { + "$id": "3688", + "x-ms-metadata": { + "apiVersions": [ + "v1" + ], + "filename": [ + "mem:///104?oai3.shaken.json" + ], + "name": "paths·nmxsen·api-order-customerorders-searchchanges·post·responses·401", + "originalLocations": [ + "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/responses/paths·nmxsen·api-order-customerorders-searchchanges·post·responses·401" + ] + } + }, + "isNullable": true + }, + "Forbidden": { + "$id": "3689", + "extensions": { + "$id": "3690", + "x-ms-metadata": { + "apiVersions": [ + "v1" + ], + "filename": [ + "mem:///104?oai3.shaken.json" + ], + "name": "paths·1twzh16·api-order-customerorders-searchchanges·post·responses·403", + "originalLocations": [ + "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/responses/paths·1twzh16·api-order-customerorders-searchchanges·post·responses·403" + ] + } + }, + "isNullable": true + } + }, + "defaultResponse": { + "$id": "3691", + "isNullable": true + }, + "returnType": { + "$id": "3692", + "body": { + "$ref": "3094" + }, + "isNullable": true + }, + "requestContentType": "application/json-patch+json; charset=utf-8", + "responseContentTypes": [ + "text/plain", + "application/json", + "text/json" + ], + "extensions": { + "servers": [], + "security": [ + { + "oauth2": [] + } + ] + }, + "deprecated": false, + "hidden": false + } + ], + "name": { + "$id": "3693", + "fixed": false, + "raw": "OrderModule" + }, + "typeName": { + "$id": "3694", + "fixed": false + }, + "nameForProperty": "OrderModule" + }, + { + "$id": "3695", + "methods": [ + { + "$id": "3696", + "parameters": [ + { + "$id": "3697", + "location": "body", + "collectionFormat": "none", + "defaultValue": { + "$id": "3698", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "3699", + "fixed": false, + "raw": "criteria" + }, + "extensions": { + "x-ms-metadata": { + "apiVersions": [ + "v1" + ], + "filename": [ + "mem:///104?oai3.shaken.json" + ], + "name": "paths·7ds44v·api-order-payments-search·post·requestbody", + "originalLocations": [ + "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/requestBodies/paths·7ds44v·api-order-payments-search·post·requestbody" + ] + } + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "3700", + "fixed": false, + "raw": "body" + }, + "serializedName": "body", + "modelType": { + "$ref": "3108" + } + } + ], + "name": { + "$id": "3701", + "fixed": false, + "raw": "SearchOrderPayments" + }, + "group": { + "$id": "3702", + "fixed": false, + "raw": "OrderModulePayments" + }, + "serializedName": "OrderModulePayments_SearchOrderPayments", + "url": "/api/order/payments/search", + "isAbsoluteUrl": false, + "httpMethod": "post", + "responses": { + "OK": { + "$id": "3703", + "body": { + "$ref": "3278" + }, + "extensions": { + "$id": "3704", + "x-ms-metadata": { + "apiVersions": [ + "v1" + ], + "filename": [ + "mem:///104?oai3.shaken.json" + ], + "name": "paths·hopb6m·api-order-payments-search·post·responses·200", + "originalLocations": [ + "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/responses/paths·hopb6m·api-order-payments-search·post·responses·200" + ] + } + }, + "isNullable": true + }, + "Unauthorized": { + "$id": "3705", + "extensions": { + "$id": "3706", + "x-ms-metadata": { + "apiVersions": [ + "v1" + ], + "filename": [ + "mem:///104?oai3.shaken.json" + ], + "name": "paths·1s4mqwl·api-order-payments-search·post·responses·401", + "originalLocations": [ + "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/responses/paths·1s4mqwl·api-order-payments-search·post·responses·401" + ] + } + }, + "isNullable": true + }, + "Forbidden": { + "$id": "3707", + "extensions": { + "$id": "3708", + "x-ms-metadata": { + "apiVersions": [ + "v1" + ], + "filename": [ + "mem:///104?oai3.shaken.json" + ], + "name": "paths·o22brz·api-order-payments-search·post·responses·403", + "originalLocations": [ + "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/responses/paths·o22brz·api-order-payments-search·post·responses·403" + ] + } + }, + "isNullable": true + } + }, + "defaultResponse": { + "$id": "3709", + "isNullable": true + }, + "returnType": { + "$id": "3710", + "body": { + "$ref": "3278" + }, + "isNullable": true + }, + "summary": "Search order payments by given criteria", + "requestContentType": "application/json-patch+json; charset=utf-8", + "responseContentTypes": [ + "text/plain", + "application/json", + "text/json" + ], + "extensions": { + "servers": [], + "security": [ + { + "oauth2": [] + } + ] + }, + "deprecated": false, + "hidden": false + }, + { + "$id": "3711", + "parameters": [ + { + "$id": "3712", + "clientProperty": { + "$ref": "3304" + }, + "location": "path", + "collectionFormat": "none", + "defaultValue": { + "$id": "3713", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "3714", + "fixed": false, + "raw": "order payment id" + }, + "extensions": { + "x-ms-metadata": { + "apiVersions": [ + "v1" + ], + "filename": [ + "mem:///104?oai3.shaken.json" + ], + "name": "paths·14rpel9·api-order-payments-id·get·parameters·0", + "originalLocations": [ + "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/parameters/paths·14rpel9·api-order-payments-id·get·parameters·0" + ] + }, + "x-ms-parameter-location": "method" + }, + "isRequired": true, + "isConstant": false, + "name": { + "$id": "3715", + "fixed": false, + "raw": "id" + }, + "serializedName": "id", + "modelType": { + "$id": "3716", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "3717", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + }, + { + "$id": "3718", + "clientProperty": { + "$ref": "3298" + }, + "location": "path", + "collectionFormat": "none", + "defaultValue": { + "$id": "3719", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "3720", + "fixed": false, + "raw": "" + }, + "extensions": { + "x-ms-metadata": { + "apiVersions": [ + "v1" + ], + "filename": [ + "mem:///104?oai3.shaken.json" + ], + "name": "paths·1dds9p4·api-order-payments-id·get·parameters·1", + "originalLocations": [ + "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/parameters/paths·1dds9p4·api-order-payments-id·get·parameters·1" + ] + }, + "x-ms-parameter-location": "method" + }, + "isRequired": true, + "isConstant": false, + "name": { + "$id": "3721", + "fixed": false, + "raw": "respGroup" + }, + "serializedName": "respGroup", + "modelType": { + "$id": "3722", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "3723", + "fixed": false, + "raw": "String" + }, + "deprecated": false + } + } + ], + "name": { + "$id": "3724", + "fixed": false, + "raw": "GetById" + }, + "group": { + "$id": "3725", + "fixed": false, + "raw": "OrderModulePayments" + }, + "serializedName": "OrderModulePayments_GetById", + "url": "/api/order/payments/{id}", + "isAbsoluteUrl": false, + "httpMethod": "get", + "responses": { + "OK": { + "$id": "3726", + "body": { + "$ref": "1198" + }, + "extensions": { + "$id": "3727", + "x-ms-metadata": { + "apiVersions": [ + "v1" + ], + "filename": [ + "mem:///104?oai3.shaken.json" + ], + "name": "paths·1s98poj·api-order-payments-id·get·responses·200", + "originalLocations": [ + "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/responses/paths·1s98poj·api-order-payments-id·get·responses·200" + ] + } + }, + "isNullable": true + }, + "Unauthorized": { + "$id": "3728", + "extensions": { + "$id": "3729", + "x-ms-metadata": { + "apiVersions": [ + "v1" + ], + "filename": [ + "mem:///104?oai3.shaken.json" + ], + "name": "paths·1sa5qmf·api-order-payments-id·get·responses·401", + "originalLocations": [ + "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/responses/paths·1sa5qmf·api-order-payments-id·get·responses·401" + ] + } + }, + "isNullable": true + }, + "Forbidden": { + "$id": "3730", + "extensions": { + "$id": "3731", + "x-ms-metadata": { + "apiVersions": [ + "v1" + ], + "filename": [ + "mem:///104?oai3.shaken.json" + ], + "name": "paths·3341pu·api-order-payments-id·get·responses·403", + "originalLocations": [ + "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/responses/paths·3341pu·api-order-payments-id·get·responses·403" + ] + } + }, + "isNullable": true + } + }, + "defaultResponse": { + "$id": "3732", + "isNullable": true + }, + "returnType": { + "$id": "3733", + "body": { + "$ref": "1198" + }, + "isNullable": true + }, + "description": "Return a single order payment with all nested documents or null if payment was not found", + "summary": "Find order payment by id", + "requestContentType": "application/json; charset=utf-8", + "responseContentTypes": [ + "text/plain", + "application/json", + "text/json" + ], + "extensions": { + "servers": [], + "security": [ + { + "oauth2": [] + } + ] + }, + "deprecated": false, + "hidden": false + }, + { + "$id": "3734", + "parameters": [ + { + "$id": "3735", + "location": "body", + "collectionFormat": "none", + "defaultValue": { + "$id": "3736", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "3737", + "fixed": false, + "raw": "payment" + }, + "extensions": { + "x-ms-metadata": { + "apiVersions": [ + "v1" + ], + "filename": [ + "mem:///104?oai3.shaken.json" + ], + "name": "paths·1c2uxsp·api-order-payments·post·requestbody", + "originalLocations": [ + "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/requestBodies/paths·1c2uxsp·api-order-payments·post·requestbody" + ] + } + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "3738", + "fixed": false, + "raw": "body" + }, + "serializedName": "body", + "modelType": { + "$ref": "1198" + } + } + ], + "name": { + "$id": "3739", + "fixed": false, + "raw": "CreatePayment" + }, + "group": { + "$id": "3740", + "fixed": false, + "raw": "OrderModulePayments" + }, + "serializedName": "OrderModulePayments_CreatePayment", + "url": "/api/order/payments", + "isAbsoluteUrl": false, + "httpMethod": "post", + "responses": { + "OK": { + "$id": "3741", + "body": { + "$ref": "2011" + }, + "extensions": { + "$id": "3742", + "x-ms-metadata": { + "apiVersions": [ + "v1" + ], + "filename": [ + "mem:///104?oai3.shaken.json" + ], + "name": "paths·slhvea·api-order-payments·post·responses·200", + "originalLocations": [ + "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/responses/paths·slhvea·api-order-payments·post·responses·200" + ] + } + }, + "isNullable": true + }, + "Unauthorized": { + "$id": "3743", + "extensions": { + "$id": "3744", + "x-ms-metadata": { + "apiVersions": [ + "v1" + ], + "filename": [ + "mem:///104?oai3.shaken.json" + ], + "name": "paths·1u1za5a·api-order-payments·post·responses·401", + "originalLocations": [ + "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/responses/paths·1u1za5a·api-order-payments·post·responses·401" + ] + } + }, + "isNullable": true + }, + "Forbidden": { + "$id": "3745", + "extensions": { + "$id": "3746", + "x-ms-metadata": { + "apiVersions": [ + "v1" + ], + "filename": [ + "mem:///104?oai3.shaken.json" + ], + "name": "paths·7a9g1s·api-order-payments·post·responses·403", + "originalLocations": [ + "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/responses/paths·7a9g1s·api-order-payments·post·responses·403" + ] + } + }, + "isNullable": true + } + }, + "defaultResponse": { + "$id": "3747", + "isNullable": true + }, + "returnType": { + "$id": "3748", + "body": { + "$ref": "2011" + }, + "isNullable": true + }, + "summary": "Create or update order payment", + "requestContentType": "application/json-patch+json; charset=utf-8", + "responseContentTypes": [ + "text/plain", + "application/json", + "text/json" + ], + "extensions": { + "servers": [], + "security": [ + { + "oauth2": [] + } + ] + }, + "deprecated": false, + "hidden": false + }, + { + "$id": "3749", + "parameters": [ + { + "$id": "3750", + "location": "body", + "collectionFormat": "none", + "defaultValue": { + "$id": "3751", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "3752", + "fixed": false + }, + "extensions": { + "x-ms-metadata": { + "apiVersions": [ + "v1" + ], + "filename": [ + "mem:///104?oai3.shaken.json" + ], + "name": "paths·9wz55f·api-order-payments·put·requestbody", + "originalLocations": [ + "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/requestBodies/paths·9wz55f·api-order-payments·put·requestbody" + ] + } + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "3753", + "fixed": false, + "raw": "body" + }, + "serializedName": "body", + "modelType": { + "$ref": "1198" + } + } + ], + "name": { + "$id": "3754", + "fixed": false, + "raw": "UpdatePayment" + }, + "group": { + "$id": "3755", + "fixed": false, + "raw": "OrderModulePayments" + }, + "serializedName": "OrderModulePayments_UpdatePayment", + "url": "/api/order/payments", + "isAbsoluteUrl": false, + "httpMethod": "put", + "responses": { + "OK": { + "$id": "3756", + "body": { + "$ref": "2011" + }, + "extensions": { + "$id": "3757", + "x-ms-metadata": { + "apiVersions": [ + "v1" + ], + "filename": [ + "mem:///104?oai3.shaken.json" + ], + "name": "paths·btmmbn·api-order-payments·put·responses·200", + "originalLocations": [ + "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/responses/paths·btmmbn·api-order-payments·put·responses·200" + ] + } + }, + "isNullable": true + }, + "Unauthorized": { + "$id": "3758", + "extensions": { + "$id": "3759", + "x-ms-metadata": { + "apiVersions": [ + "v1" + ], + "filename": [ + "mem:///104?oai3.shaken.json" + ], + "name": "paths·8kdfj5·api-order-payments·put·responses·401", + "originalLocations": [ + "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/responses/paths·8kdfj5·api-order-payments·put·responses·401" + ] + } + }, + "isNullable": true + }, + "Forbidden": { + "$id": "3760", + "extensions": { + "$id": "3761", + "x-ms-metadata": { + "apiVersions": [ + "v1" + ], + "filename": [ + "mem:///104?oai3.shaken.json" + ], + "name": "paths·afe6kw·api-order-payments·put·responses·403", + "originalLocations": [ + "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/responses/paths·afe6kw·api-order-payments·put·responses·403" + ] + } + }, + "isNullable": true + } + }, + "defaultResponse": { + "$id": "3762", + "isNullable": true + }, + "returnType": { + "$id": "3763", + "body": { + "$ref": "2011" + }, + "isNullable": true + }, + "requestContentType": "application/json-patch+json; charset=utf-8", + "responseContentTypes": [ + "text/plain", + "application/json", + "text/json" + ], + "extensions": { + "servers": [], + "security": [ + { + "oauth2": [] + } + ] + }, + "deprecated": false, + "hidden": false + }, + { + "$id": "3764", + "parameters": [ + { + "$id": "3765", + "clientProperty": { + "$ref": "3334" + }, + "location": "query", + "collectionFormat": "csv", + "defaultValue": { + "$id": "3766", + "fixed": false + }, + "deprecated": false, + "documentation": { + "$id": "3767", + "fixed": false, + "raw": "order payment ids" + }, + "extensions": { + "x-ms-metadata": { + "apiVersions": [ + "v1" + ], + "filename": [ + "mem:///104?oai3.shaken.json" + ], + "name": "paths·a6pvyl·api-order-payments·delete·parameters·0", + "originalLocations": [ + "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/parameters/paths·a6pvyl·api-order-payments·delete·parameters·0" + ] + }, + "x-ms-parameter-location": "method" + }, + "isRequired": false, + "isConstant": false, + "name": { + "$id": "3768", + "fixed": false, + "raw": "ids" + }, + "serializedName": "ids", + "modelType": { + "$id": "3769", + "$type": "SequenceType", + "elementType": { + "$id": "3770", + "$type": "PrimaryType", + "knownPrimaryType": "string", + "name": { + "$id": "3771", + "fixed": false, + "raw": "String" + }, + "deprecated": false + }, + "name": { + "$id": "3772", + "fixed": false + }, + "deprecated": false + } + } + ], + "name": { + "$id": "3773", + "fixed": false, + "raw": "DeleteOrderPaymentsByIds" + }, + "group": { + "$id": "3774", + "fixed": false, + "raw": "OrderModulePayments" + }, + "serializedName": "OrderModulePayments_DeleteOrderPaymentsByIds", + "url": "/api/order/payments", + "isAbsoluteUrl": false, + "httpMethod": "delete", + "responses": { + "OK": { + "$id": "3775", + "extensions": { + "$id": "3776", + "x-ms-metadata": { + "apiVersions": [ + "v1" + ], + "filename": [ + "mem:///104?oai3.shaken.json" + ], + "name": "paths·17l8ahv·api-order-payments·delete·responses·200", + "originalLocations": [ + "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/responses/paths·17l8ahv·api-order-payments·delete·responses·200" + ] + } + }, + "isNullable": true + }, + "Unauthorized": { + "$id": "3777", + "extensions": { + "$id": "3778", + "x-ms-metadata": { + "apiVersions": [ + "v1" + ], + "filename": [ + "mem:///104?oai3.shaken.json" + ], + "name": "paths·mcsucn·api-order-payments·delete·responses·401", + "originalLocations": [ + "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/responses/paths·mcsucn·api-order-payments·delete·responses·401" + ] + } + }, + "isNullable": true + }, + "Forbidden": { + "$id": "3779", + "extensions": { + "$id": "3780", + "x-ms-metadata": { + "apiVersions": [ + "v1" + ], + "filename": [ + "mem:///104?oai3.shaken.json" + ], + "name": "paths·37o6an·api-order-payments·delete·responses·403", + "originalLocations": [ + "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/responses/paths·37o6an·api-order-payments·delete·responses·403" + ] + } + }, + "isNullable": true + } + }, + "defaultResponse": { + "$id": "3781", + "isNullable": true + }, + "returnType": { + "$id": "3782", + "isNullable": true + }, + "summary": "Delete an order payment", + "requestContentType": "application/json; charset=utf-8", + "responseContentTypes": [ + "application/json" + ], + "extensions": { + "servers": [], + "security": [ + { + "oauth2": [] + } + ] + }, + "deprecated": false, + "hidden": false + } + ], + "name": { + "$id": "3783", + "fixed": false, + "raw": "OrderModulePayments" + }, + "typeName": { + "$id": "3784", + "fixed": false + }, + "nameForProperty": "OrderModulePayments" + } + ] +} \ No newline at end of file diff --git a/VirtoCommerce.Storefront/Controllers/Api/ApiCartController.cs b/VirtoCommerce.Storefront/Controllers/Api/ApiCartController.cs index 989037d8..1be63c9c 100644 --- a/VirtoCommerce.Storefront/Controllers/Api/ApiCartController.cs +++ b/VirtoCommerce.Storefront/Controllers/Api/ApiCartController.cs @@ -45,7 +45,7 @@ public ApiCartController(IWorkContextAccessor workContextAccessor, ICatalogServi // Get current user shopping cart // GET: storefrontapi/cart [HttpGet] - public async Task> GetCart() + public async Task> GetCart() { var cartBuilder = await LoadOrCreateCartAsync(); await cartBuilder.ValidateAsync(); @@ -268,7 +268,7 @@ public async Task> ValidateCoupon([FromBody] Coupon coupon) //Need lock to prevent concurrent access to same cart using (await AsyncLock.GetLockByKey(WorkContext.CurrentCart.Value.GetCacheKey()).LockAsync()) { - await _cartBuilder.TakeCartAsync(WorkContext.CurrentCart.Value.Clone() as ShoppingCart); + await _cartBuilder.TakeCartAsync(WorkContext.CurrentCart.Value.Clone() as CustomerOrder); _cartBuilder.Cart.Coupons = new[] { coupon }; await _cartBuilder.EvaluatePromotionsAsync(); return Ok(coupon); diff --git a/VirtoCommerce.Storefront/Controllers/Api/ApiListsController.cs b/VirtoCommerce.Storefront/Controllers/Api/ApiListsController.cs index 18761c51..4c358d7a 100644 --- a/VirtoCommerce.Storefront/Controllers/Api/ApiListsController.cs +++ b/VirtoCommerce.Storefront/Controllers/Api/ApiListsController.cs @@ -30,7 +30,7 @@ public ApiListsController(IWorkContextAccessor workContextAccessor, ICatalogServ // GET: storefrontapi/lists/{listName}/{type} [HttpGet("{listName}/{type}")] - public async Task> GetListByName([FromRoute]string listName, [FromRoute]string type) + public async Task> GetListByName([FromRoute]string listName, [FromRoute]string type) { var unescapedListName = Uri.UnescapeDataString(listName); using (await AsyncLock.GetLockByKey(GetAsyncListKey(WorkContext, unescapedListName, type)).LockAsync()) @@ -177,7 +177,7 @@ public async Task> SearchLists([FromBody] // POST: storefrontapi/lists/{listName}/{type}/create [HttpPost("{listName}/{type}/create")] [ValidateAntiForgeryToken] - public async Task> CreateList(string listName, string type) + public async Task> CreateList(string listName, string type) { var cartBuilder = await LoadOrCreateCartAsync(Uri.UnescapeDataString(listName), type); if (cartBuilder.Cart.IsTransient()) diff --git a/VirtoCommerce.Storefront/Controllers/Api/ApiOrderController.cs b/VirtoCommerce.Storefront/Controllers/Api/ApiOrderController.cs index 629cc35a..592fac4b 100644 --- a/VirtoCommerce.Storefront/Controllers/Api/ApiOrderController.cs +++ b/VirtoCommerce.Storefront/Controllers/Api/ApiOrderController.cs @@ -23,14 +23,18 @@ namespace VirtoCommerce.Storefront.Controllers.Api public class ApiOrderController : StorefrontControllerBase { private readonly IOrderModule _orderApi; + private readonly IDemoCustomerOrderService _orderService; private readonly IStoreService _storeService; private readonly IAuthorizationService _authorizationService; private readonly IPaymentSearchService _paymentSearchService; - public ApiOrderController(IWorkContextAccessor workContextAccessor, IStorefrontUrlBuilder urlBuilder, IOrderModule orderApi, IStoreService storeService, IAuthorizationService authorizationService, IPaymentSearchService paymentSearchService) + public ApiOrderController(IWorkContextAccessor workContextAccessor, IStorefrontUrlBuilder urlBuilder, + IOrderModule orderApi, IDemoCustomerOrderService orderService, IStoreService storeService, + IAuthorizationService authorizationService, IPaymentSearchService paymentSearchService) : base(workContextAccessor, urlBuilder) { _orderApi = orderApi; + _orderService = orderService; _storeService = storeService; _authorizationService = authorizationService; _paymentSearchService = paymentSearchService; @@ -77,10 +81,13 @@ public async Task> SearchCustomerOrders( criteria.CustomerId = WorkContext.CurrentUser.Id; } var result = await _orderApi.SearchCustomerOrderAsync(criteria.ToSearchCriteriaDto()); + var orders = result.Results.Select(x => x.ToCustomerOrder(WorkContext.AllCurrencies, WorkContext.CurrentLanguage)).ToArray(); + await _orderService.LoadProductsAsync(orders); + _orderService.SelectConfiguredProductParts(orders); return new CustomerOrderSearchResult { - Results = result.Results.Select(x => x.ToCustomerOrder(WorkContext.AllCurrencies, WorkContext.CurrentLanguage)).ToArray(), + Results = orders, TotalCount = result.TotalCount ?? default(int), }; } @@ -95,7 +102,10 @@ public async Task> GetCustomerOrder(string orderNumb { return Unauthorized(); } - return orderDto.ToCustomerOrder(WorkContext.AllCurrencies, WorkContext.CurrentLanguage); + var order = orderDto.ToCustomerOrder(WorkContext.AllCurrencies, WorkContext.CurrentLanguage); + await _orderService.LoadProductsAsync(order); + _orderService.SelectConfiguredProductParts(order); + return order; } // GET: storefrontapi/orders/{orderNumber}/newpaymentdata diff --git a/VirtoCommerce.Storefront/Domain/Cart/CartBuilder.cs b/VirtoCommerce.Storefront/Domain/Cart/CartBuilder.cs index 04100d69..7d08edab 100644 --- a/VirtoCommerce.Storefront/Domain/Cart/CartBuilder.cs +++ b/VirtoCommerce.Storefront/Domain/Cart/CartBuilder.cs @@ -52,9 +52,9 @@ public CartBuilder(IWorkContextAccessor workContextAccessor, ICartService cartSe #region ICartBuilder Members - public virtual ShoppingCart Cart { get; protected set; } + public virtual CustomerOrder Cart { get; protected set; } - public virtual async Task TakeCartAsync(ShoppingCart cart) + public virtual async Task TakeCartAsync(CustomerOrder cart) { var store = _workContextAccessor.WorkContext.AllStores.FirstOrDefault(x => x.Id.EqualsInvariant(cart.StoreId)); if (store == null) @@ -349,12 +349,12 @@ public virtual async Task AddOrUpdatePaymentAsync(Payment payment) } } - public virtual async Task MergeWithCartAsync(ShoppingCart cart) + public virtual async Task MergeWithCartAsync(CustomerOrder cart) { EnsureCartExists(); // Clone source cart to prevent its damage - cart = (ShoppingCart)cart.Clone(); + cart = (CustomerOrder)cart.Clone(); // Reset primary keys for all aggregated entities before merge // To prevent insertions same Ids for target cart @@ -561,9 +561,9 @@ protected virtual CartSearchCriteria CreateCartSearchCriteria(string cartName, S }; } - protected virtual ShoppingCart CreateCart(string cartName, Store store, User user, Language language, Currency currency, string type) + protected virtual CustomerOrder CreateCart(string cartName, Store store, User user, Language language, Currency currency, string type) { - var cart = new ShoppingCart(currency, language) + var cart = new CustomerOrder(currency, language) { CustomerId = user.Id, Name = cartName, @@ -670,7 +670,7 @@ protected virtual void EnsureCartExists() } } - protected virtual async Task PrepareCartAsync(ShoppingCart cart, Store store) + protected virtual async Task PrepareCartAsync(CustomerOrder cart, Store store) { if (cart == null) { @@ -685,7 +685,7 @@ protected virtual async Task PrepareCartAsync(ShoppingCart cart, Store store) await PrepareCartInternalAsync(cart, store); } - protected virtual async Task PrepareCartInternalAsync(ShoppingCart cart, Store store) + protected virtual async Task PrepareCartInternalAsync(CustomerOrder cart, Store store) { //Load products for cart line items if (cart.Items.Any()) diff --git a/VirtoCommerce.Storefront/Domain/Cart/CartCacheRegion.cs b/VirtoCommerce.Storefront/Domain/Cart/CartCacheRegion.cs index f65dbd55..93394b17 100644 --- a/VirtoCommerce.Storefront/Domain/Cart/CartCacheRegion.cs +++ b/VirtoCommerce.Storefront/Domain/Cart/CartCacheRegion.cs @@ -24,7 +24,7 @@ public static IChangeToken CreateCustomerChangeToken(string customerId) } - public static IChangeToken CreateChangeToken(ShoppingCart cart) + public static IChangeToken CreateChangeToken(CustomerOrder cart) { if (cart == null) { @@ -34,7 +34,7 @@ public static IChangeToken CreateChangeToken(ShoppingCart cart) return new CompositeChangeToken(new[] { CreateChangeToken(), new CancellationChangeToken(cancellationTokenSource.Token) }); } - public static void ExpireCart(ShoppingCart cart) + public static void ExpireCart(CustomerOrder cart) { if (cart != null) { diff --git a/VirtoCommerce.Storefront/Domain/Cart/CartConverter.cs b/VirtoCommerce.Storefront/Domain/Cart/CartConverter.cs index 7ac1bab5..d6e796f1 100644 --- a/VirtoCommerce.Storefront/Domain/Cart/CartConverter.cs +++ b/VirtoCommerce.Storefront/Domain/Cart/CartConverter.cs @@ -18,7 +18,7 @@ namespace VirtoCommerce.Storefront.Domain { - public static partial class CartConverter + public static partial class OrderConverter { public static cartDto.ShoppingCartSearchCriteria ToSearchCriteriaDto(this CartSearchCriteria criteria) { @@ -156,7 +156,7 @@ public static TaxLine[] ToTaxLines(this PaymentMethod paymentMethod) return retVal.ToArray(); } - public static CartShipmentItem ToShipmentItem(this cartDto.CartShipmentItem shipmentItemDto, ShoppingCart cart) + public static CartShipmentItem ToShipmentItem(this cartDto.CartShipmentItem shipmentItemDto, CustomerOrder cart) { var result = new CartShipmentItem { @@ -181,7 +181,7 @@ public static cartDto.CartShipmentItem ToShipmentItemDto(this CartShipmentItem s return result; } - public static Shipment ToShipment(this cartDto.CartShipment shipmentDto, ShoppingCart cart) + public static Shipment ToShipment(this cartDto.CartShipment shipmentDto, CustomerOrder cart) { var retVal = new Shipment(cart.Currency) { @@ -272,7 +272,7 @@ public static cartDto.CartShipment ToShipmentDto(this Shipment shipment) return retVal; } - public static PaymentMethod ToCartPaymentMethod(this cartDto.PaymentMethod paymentMethodDto, ShoppingCart cart) + public static PaymentMethod ToCartPaymentMethod(this cartDto.PaymentMethod paymentMethodDto, CustomerOrder cart) { var retVal = new PaymentMethod(cart.Currency) { @@ -304,7 +304,7 @@ public static PaymentMethod ToCartPaymentMethod(this cartDto.PaymentMethod payme return retVal; } - public static Payment ToCartPayment(this PaymentMethod paymentMethod, Money amount, ShoppingCart cart) + public static Payment ToCartPayment(this PaymentMethod paymentMethod, Money amount, CustomerOrder cart) { var result = new Payment(cart.Currency) { @@ -319,7 +319,7 @@ public static Payment ToCartPayment(this PaymentMethod paymentMethod, Money amou return result; } - public static Payment ToPayment(this cartDto.Payment paymentDto, ShoppingCart cart) + public static Payment ToPayment(this cartDto.Payment paymentDto, CustomerOrder cart) { var result = new Payment(cart.Currency) { @@ -399,7 +399,7 @@ public static Address ToAddress(this cartDto.CartAddress addressDto) return addressDto.JsonConvert().ToAddress(); } - public static PromotionEvaluationContext ToPromotionEvaluationContext(this ShoppingCart cart) + public static PromotionEvaluationContext ToPromotionEvaluationContext(this CustomerOrder cart) { var result = new PromotionEvaluationContext(cart.Language, cart.Currency) { @@ -413,9 +413,9 @@ public static PromotionEvaluationContext ToPromotionEvaluationContext(this Shopp return result; } - public static ShoppingCart ToShoppingCart(this cartDto.ShoppingCart cartDto, Currency currency, Language language, User user) + public static CustomerOrder ToShoppingCart(this cartDto.ShoppingCart cartDto, Currency currency, Language language, User user) { - var result = new ShoppingCart(currency, language) + var result = new CustomerOrder(currency, language) { ChannelId = cartDto.ChannelId, Comment = cartDto.Comment, @@ -504,7 +504,7 @@ public static ShoppingCart ToShoppingCart(this cartDto.ShoppingCart cartDto, Cur return result; } - public static cartDto.ShoppingCart ToShoppingCartDto(this ShoppingCart cart) + public static cartDto.ShoppingCart ToShoppingCartDto(this CustomerOrder cart) { var result = new cartDto.ShoppingCart { @@ -546,7 +546,7 @@ public static cartDto.ShoppingCart ToShoppingCartDto(this ShoppingCart cart) return result; } - public static TaxEvaluationContext ToTaxEvalContext(this ShoppingCart cart, Store store) + public static TaxEvaluationContext ToTaxEvalContext(this CustomerOrder cart, Store store) { var result = new TaxEvaluationContext(cart.StoreId) { diff --git a/VirtoCommerce.Storefront/Domain/Cart/CartService.cs b/VirtoCommerce.Storefront/Domain/Cart/CartService.cs index 680bbefc..2a86fae4 100644 --- a/VirtoCommerce.Storefront/Domain/Cart/CartService.cs +++ b/VirtoCommerce.Storefront/Domain/Cart/CartService.cs @@ -41,7 +41,7 @@ public async Task DeleteCartByIdAsync(string cartId) await _cartApi.DeleteCartsAsync(new[] { cartId }); } - public async Task> GetAvailablePaymentMethodsAsync(ShoppingCart cart) + public async Task> GetAvailablePaymentMethodsAsync(CustomerOrder cart) { if (cart == null) { @@ -56,7 +56,7 @@ public async Task> GetAvailablePaymentMethodsAsync(Sh return result; } - public virtual async Task> GetAvailableShippingMethodsAsync(ShoppingCart cart) + public virtual async Task> GetAvailableShippingMethodsAsync(CustomerOrder cart) { if (cart == null) { @@ -71,9 +71,9 @@ public virtual async Task> GetAvailableShippingMetho return result; } - public async Task GetByIdAsync(string cartId) + public async Task GetByIdAsync(string cartId) { - ShoppingCart result = null; + CustomerOrder result = null; var cartDto = await _cartApi.GetCartByIdAsync(cartId); if (cartDto != null) { @@ -84,7 +84,7 @@ public async Task GetByIdAsync(string cartId) return result; } - public virtual async Task SaveChanges(ShoppingCart cart) + public virtual async Task SaveChanges(CustomerOrder cart) { if (cart == null) { @@ -103,7 +103,7 @@ public virtual async Task SaveChanges(ShoppingCart cart) return result; } - public virtual async Task> SearchCartsAsync(CartSearchCriteria criteria) + public virtual async Task> SearchCartsAsync(CartSearchCriteria criteria) { if (criteria == null) { @@ -115,7 +115,7 @@ public virtual async Task> SearchCartsAsync(CartSearchC cacheEntry.AddExpirationToken(CartCacheRegion.CreateCustomerChangeToken(criteria.Customer?.Id)); var resultDto = await _cartApi.SearchShoppingCartAsync(criteria.ToSearchCriteriaDto()); - var result = new List(); + var result = new List(); foreach (var cartDto in resultDto.Results) { var currency = _workContextAccessor.WorkContext.AllCurrencies.FirstOrDefault(x => x.Equals(cartDto.Currency)); @@ -124,7 +124,7 @@ public virtual async Task> SearchCartsAsync(CartSearchC var cart = cartDto.ToShoppingCart(currency, language, user); result.Add(cart); } - return new StaticPagedList(result, criteria.PageNumber, criteria.PageSize, resultDto.TotalCount.Value); + return new StaticPagedList(result, criteria.PageNumber, criteria.PageSize, resultDto.TotalCount.Value); }); } diff --git a/VirtoCommerce.Storefront/Domain/Cart/CartWorkContextBuilderExtensions.cs b/VirtoCommerce.Storefront/Domain/Cart/CartWorkContextBuilderExtensions.cs index 933ac92f..8a729721 100644 --- a/VirtoCommerce.Storefront/Domain/Cart/CartWorkContextBuilderExtensions.cs +++ b/VirtoCommerce.Storefront/Domain/Cart/CartWorkContextBuilderExtensions.cs @@ -11,9 +11,9 @@ namespace VirtoCommerce.Storefront.Domain { public static class CartWorkContextBuilderExtensions { - public static Task WithDefaultShoppingCartAsync(this IWorkContextBuilder builder, Func factory) + public static Task WithDefaultShoppingCartAsync(this IWorkContextBuilder builder, Func factory) { - builder.WorkContext.CurrentCart = new Lazy(factory); + builder.WorkContext.CurrentCart = new Lazy(factory); return Task.CompletedTask; } @@ -23,7 +23,7 @@ public static Task WithDefaultShoppingCartAsync(this IWorkContextBuilder builder var serviceProvider = builder.HttpContext.RequestServices; var cartBuilder = serviceProvider.GetRequiredService(); - Func factory = () => + Func factory = () => { cartBuilder.LoadOrCreateNewTransientCart(cartName, store, user, language, currency); return cartBuilder.Cart; diff --git a/VirtoCommerce.Storefront/Domain/Cart/Demo/CartConverter.cs b/VirtoCommerce.Storefront/Domain/Cart/Demo/CartConverter.cs index 7851e542..4fc5b616 100644 --- a/VirtoCommerce.Storefront/Domain/Cart/Demo/CartConverter.cs +++ b/VirtoCommerce.Storefront/Domain/Cart/Demo/CartConverter.cs @@ -7,7 +7,7 @@ namespace VirtoCommerce.Storefront.Domain { - public static partial class CartConverter + public static partial class OrderConverter { public static cartDto.DemoCartConfiguredGroup ToConfiguredGroup(this ConfiguredGroup group) { @@ -39,7 +39,7 @@ public static cartDto.DemoCartConfiguredGroup ToConfiguredGroup(this ConfiguredG }; } - public static ConfiguredGroup ToConfiguredGroup(this cartDto.DemoCartConfiguredGroup group, ShoppingCart cart) + public static ConfiguredGroup ToConfiguredGroup(this cartDto.DemoCartConfiguredGroup group, CustomerOrder cart) { var result = new ConfiguredGroup(group.Quantity ?? 0, cart.Currency, group.ProductId) { diff --git a/VirtoCommerce.Storefront/Domain/Cart/Demo/DemoCartService.cs b/VirtoCommerce.Storefront/Domain/Cart/Demo/DemoCartService.cs index fbde97c6..af50a7fc 100644 --- a/VirtoCommerce.Storefront/Domain/Cart/Demo/DemoCartService.cs +++ b/VirtoCommerce.Storefront/Domain/Cart/Demo/DemoCartService.cs @@ -45,7 +45,7 @@ public DemoCartService( _catalogService = catalogService; } - public override async Task> SearchCartsAsync(CartSearchCriteria criteria) + public override async Task> SearchCartsAsync(CartSearchCriteria criteria) { if (criteria == null) { @@ -57,7 +57,7 @@ public override async Task> SearchCartsAsync(CartSearch cacheEntry.AddExpirationToken(CartCacheRegion.CreateCustomerChangeToken(criteria.Customer?.Id)); var resultDto = await _cartApi.SearchShoppingCartAsync(criteria.ToSearchCriteriaDto()); - var result = new List(); + var result = new List(); foreach (var cartDto in resultDto.Results) { var currency = _workContextAccessor.WorkContext.AllCurrencies.FirstOrDefault(x => x.Equals(cartDto.Currency)); @@ -70,11 +70,11 @@ public override async Task> SearchCartsAsync(CartSearch result.Add(cart); } - return new StaticPagedList(result, criteria.PageNumber, criteria.PageSize, resultDto.TotalCount.Value); + return new StaticPagedList(result, criteria.PageNumber, criteria.PageSize, resultDto.TotalCount.Value); }); } - protected virtual async Task FillProductPartsOfGroups(ShoppingCart cart, Language language, Currency currency) + protected virtual async Task FillProductPartsOfGroups(CustomerOrder cart, Language language, Currency currency) { if(cart.ConfiguredGroups.IsNullOrEmpty()) { diff --git a/VirtoCommerce.Storefront/Domain/Order/CustomerOrderService.cs b/VirtoCommerce.Storefront/Domain/Order/CustomerOrderService.cs index a7dae44b..8da1d9f9 100644 --- a/VirtoCommerce.Storefront/Domain/Order/CustomerOrderService.cs +++ b/VirtoCommerce.Storefront/Domain/Order/CustomerOrderService.cs @@ -32,14 +32,14 @@ public async Task> SearchOrdersAsync(OrderSearchCriter return await InnerSearchOrdersAsync(criteria, workContext); } - public async Task GetOrderByNumberAsync(string number) + public virtual async Task GetOrderByNumberAsync(string number) { var workContext = _workContextAccessor.WorkContext; return (await _orderApi.GetByNumberAsync(number, string.Empty))?.ToCustomerOrder(workContext.AllCurrencies, workContext.CurrentLanguage); } - public async Task GetOrderByIdAsync(string id) + public virtual async Task GetOrderByIdAsync(string id) { var workContext = _workContextAccessor.WorkContext; return (await _orderApi.GetByIdAsync(id, string.Empty))?.ToCustomerOrder(workContext.AllCurrencies, workContext.CurrentLanguage); diff --git a/VirtoCommerce.Storefront/Domain/Order/Demo/DemoCustomerOrderService.cs b/VirtoCommerce.Storefront/Domain/Order/Demo/DemoCustomerOrderService.cs new file mode 100644 index 00000000..2f561320 --- /dev/null +++ b/VirtoCommerce.Storefront/Domain/Order/Demo/DemoCustomerOrderService.cs @@ -0,0 +1,88 @@ +using System.Linq; +using System.Threading.Tasks; +using PagedList.Core; +using VirtoCommerce.Storefront.AutoRestClients.OrdersModuleApi; +using VirtoCommerce.Storefront.Model; +using VirtoCommerce.Storefront.Model.Catalog; +using VirtoCommerce.Storefront.Model.Catalog.Services; +using VirtoCommerce.Storefront.Model.Common; +using VirtoCommerce.Storefront.Model.Order; +using VirtoCommerce.Storefront.Model.Order.Services; +using VirtoCommerce.Storefront.Model.Services; + +namespace VirtoCommerce.Storefront.Domain +{ + public class DemoCustomerOrderService : CustomerOrderService, IDemoCustomerOrderService + { + private readonly ICatalogService _catalogService; + private readonly IDemoCatalogService _demoCatalogService; + + public DemoCustomerOrderService(IOrderModule orderApi, ICatalogService catalogService, IDemoCatalogService demoCatalogService, + IWorkContextAccessor workContextAccessor) : base(orderApi, workContextAccessor) + { + _catalogService = catalogService; + _demoCatalogService = demoCatalogService; + } + + public override async Task GetOrderByNumberAsync(string number) + { + var order = await base.GetOrderByNumberAsync(number); + await LoadProductsAsync(order); + SelectConfiguredProductParts(order); + return order; + } + + + public override async Task GetOrderByIdAsync(string id) + { + var order = await base.GetOrderByIdAsync(id); + await LoadProductsAsync(order); + SelectConfiguredProductParts(order); + return order; + } + + protected override async Task> InnerSearchOrdersAsync(OrderSearchCriteria criteria, WorkContext workContext) + { + var ordersPagedList = await base.InnerSearchOrdersAsync(criteria, workContext); + var orders = ordersPagedList.ToArray(); + await LoadProductsAsync(orders.ToArray()); + SelectConfiguredProductParts(orders); + return new StaticPagedList(ordersPagedList, ordersPagedList.PageNumber, ordersPagedList.PageSize, ordersPagedList.TotalItemCount); + } + + public async Task LoadProductsAsync(params CustomerOrder[] orders) + { + var productIds = orders.SelectMany(o => o.Items.Select(i => i.ProductId).Concat(o.ConfiguredGroups.Select(c => c.ProductId))).ToArray(); + var products = (await _catalogService.GetProductsAsync(productIds, ItemResponseGroup.None)).ToDictionary(x => x.Id, x => x); + + foreach (var lineItem in orders.SelectMany(o => o.Items)) + { + lineItem.Product = products[lineItem.ProductId]; + } + + foreach (var group in orders.SelectMany(x => x.ConfiguredGroups)) + { + group.Product = products[group.ProductId]; + } + } + + public void SelectConfiguredProductParts(params CustomerOrder[] orders) + { + foreach (var group in orders.SelectMany(x => x.ConfiguredGroups)) + { + var productParts = group.Items + .Select(x => + { + var result = _demoCatalogService.TryGetProductPartByCategoryId(x.CategoryId); + + result.SelectedItemId = x.Id; + + return result; + }) + .OrderBy(x => x.Name).ToArray(); + + group.Parts.AddRange(productParts); + } + } + } +} diff --git a/VirtoCommerce.Storefront/Domain/Order/Demo/OrderConverter.cs b/VirtoCommerce.Storefront/Domain/Order/Demo/OrderConverter.cs new file mode 100644 index 00000000..e2f20b11 --- /dev/null +++ b/VirtoCommerce.Storefront/Domain/Order/Demo/OrderConverter.cs @@ -0,0 +1,69 @@ +using System; +using System.Linq; +using VirtoCommerce.Storefront.Model.Order; +using VirtoCommerce.Storefront.Model.Order.Demo; +using VirtoCommerce.Storefront.Model.Common; +using orderDto = VirtoCommerce.Storefront.AutoRestClients.OrdersModuleApi.Models; + +namespace VirtoCommerce.Storefront.Domain +{ + public static partial class OrderConverter + { + public static orderDto.DemoOrderConfiguredGroup ToConfiguredGroup(this ConfiguredGroup group) + { + foreach (var lineItem in group.Items) + { + lineItem.Id = lineItem.Id ?? Guid.NewGuid().ToString("N"); + } + + return new orderDto.DemoOrderConfiguredGroup + { + Id = group.Id ?? Guid.NewGuid().ToString("N"), + ProductId = group.ProductId, + ItemIds = group.Items.Select(x => x.Id).ToList(), + CreatedBy = group.CreatedBy, + CreatedDate = group.CreatedDate, + ModifiedBy = group.ModifiedBy, + ModifiedDate = group.ModifiedDate, + Currency = group.Currency.Code, + ExtendedPrice = (double)group.ExtendedPrice.InternalAmount, + ExtendedPriceWithTax = (double)group.ExtendedPriceWithTax.InternalAmount, + Price = (double)group.Price.InternalAmount, + PriceWithTax = (double)group.PriceWithTax.InternalAmount, + PlacedPrice = (double)group.PlacedPrice.InternalAmount, + PlacedPriceWithTax = (double)group.PlacedPriceWithTax.InternalAmount, + TaxTotal = (double)group.TaxTotal.InternalAmount, + Quantity = group.Quantity + }; + } + + public static ConfiguredGroup ToConfiguredGroup(this orderDto.DemoOrderConfiguredGroup group, CustomerOrder order) + { + var result = new ConfiguredGroup(group.Quantity ?? 0, order.Currency, group.ProductId) + { + Id = group.Id, + CreatedBy = group.CreatedBy, + CreatedDate = group.CreatedDate ?? DateTime.UtcNow, + ModifiedBy = group.ModifiedBy, + ModifiedDate = group.ModifiedDate, + + ExtendedPrice = new Money(group.ExtendedPrice ?? 0, order.Currency), + ExtendedPriceWithTax = new Money(group.ExtendedPriceWithTax ?? 0, order.Currency), + TaxTotal = new Money(group.TaxTotal ?? 0, order.Currency), + + Price = new Money(group.Price ?? 0, order.Currency), + PriceWithTax = new Money(group.PriceWithTax ?? 0, order.Currency), + PlacedPrice = new Money(group.PlacedPrice ?? 0, order.Currency), + PlacedPriceWithTax = new Money(group.PlacedPriceWithTax ?? 0, order.Currency), + Currency = order.Currency, + }; + + foreach (var item in group.ItemIds.Select(id => order.Items.First(x => x.Id == id))) + { + result.Items.Add(item); + } + + return result; + } + } +} diff --git a/VirtoCommerce.Storefront/Domain/Order/OrderConverter.cs b/VirtoCommerce.Storefront/Domain/Order/OrderConverter.cs index 5d0d0d81..e72ae12c 100644 --- a/VirtoCommerce.Storefront/Domain/Order/OrderConverter.cs +++ b/VirtoCommerce.Storefront/Domain/Order/OrderConverter.cs @@ -230,7 +230,8 @@ public static LineItem ToOrderLineItem(this orderDto.OrderLineItem lineItemDto, CreatedBy = lineItemDto.CreatedBy, CreatedDate = lineItemDto.CreatedDate, ModifiedDate = lineItemDto.ModifiedDate, - ModifiedBy = lineItemDto.ModifiedBy + ModifiedBy = lineItemDto.ModifiedBy, + ConfiguredGropupId = lineItemDto.ConfiguredGroupId }; @@ -460,6 +461,11 @@ public static CustomerOrder ToCustomerOrder(this orderDto.CustomerOrder order, I result.Items = order.Items.Select(i => ToOrderLineItem(i, availCurrencies, language)).ToList(); } + if (order.ConfiguredGroups != null) + { + result.ConfiguredGroups = order.ConfiguredGroups.Select(x => x.ToConfiguredGroup(result)).ToList(); + } + if (order.Shipments != null) { result.Shipments = order.Shipments.Select(s => ToOrderShipment(s, availCurrencies, language)).ToList(); diff --git a/VirtoCommerce.Storefront/Startup.cs b/VirtoCommerce.Storefront/Startup.cs index 0a13f54b..c4f080fb 100644 --- a/VirtoCommerce.Storefront/Startup.cs +++ b/VirtoCommerce.Storefront/Startup.cs @@ -100,7 +100,9 @@ public void ConfigureServices(IServiceCollection services) services.AddSingleton(); services.AddSingleton(); services.AddSingleton(); - services.AddSingleton(); + services.AddSingleton(); + services.AddSingleton(x => x.GetRequiredService()); + services.AddSingleton(x => x.GetRequiredService()); services.AddSingleton(); services.AddSingleton(); services.AddSingleton(); From cfd2bc3aea2593c696d035809ef06d5a23a3c3be Mon Sep 17 00:00:00 2001 From: Aleksandr Vishniakov Date: Wed, 28 Oct 2020 16:34:07 +0200 Subject: [PATCH 09/21] Fix review issues --- .../Order/Demo/ConfiguredGroup.cs | 3 ++- .../Order/Demo/CustomerOrder.cs | 10 +--------- .../Domain/Order/OrderConverter.cs | 7 +++---- 3 files changed, 6 insertions(+), 14 deletions(-) diff --git a/VirtoCommerce.Storefront.Model/Order/Demo/ConfiguredGroup.cs b/VirtoCommerce.Storefront.Model/Order/Demo/ConfiguredGroup.cs index d766ac8a..2c0eb1a4 100644 --- a/VirtoCommerce.Storefront.Model/Order/Demo/ConfiguredGroup.cs +++ b/VirtoCommerce.Storefront.Model/Order/Demo/ConfiguredGroup.cs @@ -11,6 +11,7 @@ public class ConfiguredGroup : Entity public ConfiguredGroup(int quantity, Currency currency, string productId) { Id = Guid.NewGuid().ToString("N"); + Items = new List(); ProductId = productId; Quantity = quantity; Currency = currency; @@ -38,7 +39,7 @@ public ConfiguredGroup(int quantity, Currency currency, string productId) public string ModifiedBy { get; set; } [JsonRequired] - public virtual IList Items { get; set; } = new List(); + public virtual IList Items { get; set; } [JsonRequired] public int Quantity { get; set; } diff --git a/VirtoCommerce.Storefront.Model/Order/Demo/CustomerOrder.cs b/VirtoCommerce.Storefront.Model/Order/Demo/CustomerOrder.cs index 0d25f821..53a5d487 100644 --- a/VirtoCommerce.Storefront.Model/Order/Demo/CustomerOrder.cs +++ b/VirtoCommerce.Storefront.Model/Order/Demo/CustomerOrder.cs @@ -8,15 +8,7 @@ namespace VirtoCommerce.Storefront.Model.Order public partial class CustomerOrder { [JsonRequired] - public LineItem[] UsualItems - { - get - { - var result = Items.Where(x => !ConfiguredGroups.Any(y => y.Items.Contains(x))).ToArray(); - - return result; - } - } + public LineItem[] UsualItems => Items.Where(x => !ConfiguredGroups.Any(y => y.Items.Contains(x))).ToArray(); public ICollection ConfiguredGroups { get; set; } = new List(); } diff --git a/VirtoCommerce.Storefront/Domain/Order/OrderConverter.cs b/VirtoCommerce.Storefront/Domain/Order/OrderConverter.cs index e72ae12c..1e01ec5a 100644 --- a/VirtoCommerce.Storefront/Domain/Order/OrderConverter.cs +++ b/VirtoCommerce.Storefront/Domain/Order/OrderConverter.cs @@ -8,7 +8,6 @@ using coreDto = VirtoCommerce.Storefront.AutoRestClients.CoreModuleApi.Models; using platformDto = VirtoCommerce.Storefront.AutoRestClients.PlatformModuleApi.Models; using orderDto = VirtoCommerce.Storefront.AutoRestClients.OrdersModuleApi.Models; -using storeDto = VirtoCommerce.Storefront.AutoRestClients.StoreModuleApi.Models; using paymentDto = VirtoCommerce.Storefront.AutoRestClients.PaymentModuleApi.Models; namespace VirtoCommerce.Storefront.Domain @@ -439,13 +438,11 @@ public static CustomerOrder ToCustomerOrder(this orderDto.CustomerOrder order, I PurchaseOrderNumber = order.PurchaseOrderNumber }; - if (order.Addresses != null) { result.Addresses = order.Addresses.Select(ToAddress).ToList(); } - if (order.DynamicProperties != null) { result.DynamicProperties = order.DynamicProperties.Select(ToDynamicProperty).ToList(); @@ -461,7 +458,7 @@ public static CustomerOrder ToCustomerOrder(this orderDto.CustomerOrder order, I result.Items = order.Items.Select(i => ToOrderLineItem(i, availCurrencies, language)).ToList(); } - if (order.ConfiguredGroups != null) + if (!order.ConfiguredGroups.IsNullOrEmpty()) { result.ConfiguredGroups = order.ConfiguredGroups.Select(x => x.ToConfiguredGroup(result)).ToList(); } @@ -475,10 +472,12 @@ public static CustomerOrder ToCustomerOrder(this orderDto.CustomerOrder order, I { result.Discounts.AddRange(order.Discounts.Select(x => ToDiscount(x, new[] { currency }, language))); } + if (order.TaxDetails != null) { result.TaxDetails = order.TaxDetails.Select(td => ToTaxDetail(td, currency)).ToList(); } + result.DiscountAmount = new Money(order.DiscountAmount ?? 0, currency); result.DiscountTotal = new Money(order.DiscountTotal ?? 0, currency); result.DiscountTotalWithTax = new Money(order.DiscountTotalWithTax ?? 0, currency); From 261900166a058fc2766008d490d3876ac61fe089 Mon Sep 17 00:00:00 2001 From: Aleksandr Vishniakov Date: Wed, 28 Oct 2020 17:17:01 +0200 Subject: [PATCH 10/21] Add autorest model to gitignore --- .gitignore | 2 + .../AutoRestClients/code-model-v1 | 25185 ---------------- 2 files changed, 2 insertions(+), 25185 deletions(-) delete mode 100644 VirtoCommerce.Storefront/AutoRestClients/code-model-v1 diff --git a/.gitignore b/.gitignore index 7bc9642a..fd0c5552 100644 --- a/.gitignore +++ b/.gitignore @@ -270,3 +270,5 @@ __pycache__/ .vscode VirtoCommerce.Storefront/wwwroot/js/designer.bundle.js* + +core-model-v1 diff --git a/VirtoCommerce.Storefront/AutoRestClients/code-model-v1 b/VirtoCommerce.Storefront/AutoRestClients/code-model-v1 deleted file mode 100644 index 1078fe64..00000000 --- a/VirtoCommerce.Storefront/AutoRestClients/code-model-v1 +++ /dev/null @@ -1,25185 +0,0 @@ -{ - "$id": "1", - "modelTypes": [ - { - "$id": "2", - "$type": "CompositeType", - "properties": [ - { - "$id": "3", - "isReadOnly": false, - "realPath": [ - "objectType" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "4", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "5", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "6", - "fixed": false, - "raw": "objectType" - }, - "serializedName": "objectType", - "modelType": { - "$id": "7", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "8", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - }, - { - "$id": "9", - "isReadOnly": false, - "realPath": [ - "objectId" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "10", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "11", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "12", - "fixed": false, - "raw": "objectId" - }, - "serializedName": "objectId", - "modelType": { - "$id": "13", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "14", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - }, - { - "$id": "15", - "isReadOnly": false, - "realPath": [ - "operationType" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "16", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "17", - "fixed": false - }, - "extensions": { - "x-ms-metadata": { - "apiVersions": [ - "v1" - ], - "filename": [ - "mem:///104?oai3.shaken.json" - ], - "name": "EntryState", - "originalLocations": [ - "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/schemas/EntryState" - ] - } - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "18", - "fixed": false, - "raw": "operationType" - }, - "serializedName": "operationType", - "modelType": { - "$id": "19", - "$type": "EnumType", - "values": [ - { - "$id": "20", - "name": "Detached", - "serializedName": "Detached" - }, - { - "$id": "21", - "name": "Unchanged", - "serializedName": "Unchanged" - }, - { - "$id": "22", - "name": "Added", - "serializedName": "Added" - }, - { - "$id": "23", - "name": "Deleted", - "serializedName": "Deleted" - }, - { - "$id": "24", - "name": "Modified", - "serializedName": "Modified" - } - ], - "oldModelAsString": false, - "modelAsString": true, - "underlyingType": { - "$id": "25", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "26", - "fixed": false, - "raw": "String" - }, - "deprecated": false - }, - "name": { - "$id": "27", - "fixed": false, - "raw": "" - }, - "deprecated": false - } - }, - { - "$id": "28", - "isReadOnly": false, - "realPath": [ - "detail" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "29", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "30", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "31", - "fixed": false, - "raw": "detail" - }, - "serializedName": "detail", - "modelType": { - "$id": "32", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "33", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - }, - { - "$id": "34", - "isReadOnly": false, - "realPath": [ - "createdDate" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "35", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "36", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "37", - "fixed": false, - "raw": "createdDate" - }, - "serializedName": "createdDate", - "modelType": { - "$id": "38", - "$type": "PrimaryType", - "format": "date-time", - "knownPrimaryType": "dateTime", - "name": { - "$id": "39", - "fixed": false, - "raw": "DateTime" - }, - "deprecated": false - } - }, - { - "$id": "40", - "isReadOnly": false, - "realPath": [ - "modifiedDate" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "41", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "42", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "43", - "fixed": false, - "raw": "modifiedDate" - }, - "serializedName": "modifiedDate", - "modelType": { - "$id": "44", - "$type": "PrimaryType", - "format": "date-time", - "knownPrimaryType": "dateTime", - "name": { - "$id": "45", - "fixed": false, - "raw": "DateTime" - }, - "deprecated": false - } - }, - { - "$id": "46", - "isReadOnly": false, - "realPath": [ - "createdBy" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "47", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "48", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "49", - "fixed": false, - "raw": "createdBy" - }, - "serializedName": "createdBy", - "modelType": { - "$id": "50", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "51", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - }, - { - "$id": "52", - "isReadOnly": false, - "realPath": [ - "modifiedBy" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "53", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "54", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "55", - "fixed": false, - "raw": "modifiedBy" - }, - "serializedName": "modifiedBy", - "modelType": { - "$id": "56", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "57", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - }, - { - "$id": "58", - "isReadOnly": false, - "realPath": [ - "id" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "59", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "60", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "61", - "fixed": false, - "raw": "id" - }, - "serializedName": "id", - "modelType": { - "$id": "62", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "63", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - } - ], - "serializedName": "OperationLog", - "containsConstantProperties": false, - "name": { - "$id": "64", - "fixed": false, - "raw": "OperationLog" - }, - "extensions": { - "x-ms-metadata": { - "apiVersions": [ - "v1" - ], - "filename": [ - "mem:///104?oai3.shaken.json" - ], - "name": "OperationLog", - "originalLocations": [ - "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/schemas/OperationLog" - ] - } - }, - "deprecated": false - }, - { - "$id": "65", - "$type": "CompositeType", - "properties": [ - { - "$id": "66", - "isReadOnly": false, - "realPath": [ - "sortColumn" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "67", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "68", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "69", - "fixed": false, - "raw": "sortColumn" - }, - "serializedName": "sortColumn", - "modelType": { - "$id": "70", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "71", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - }, - { - "$id": "72", - "isReadOnly": false, - "realPath": [ - "sortDirection" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "73", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "74", - "fixed": false - }, - "extensions": { - "x-ms-metadata": { - "apiVersions": [ - "v1" - ], - "filename": [ - "mem:///104?oai3.shaken.json" - ], - "name": "SortDirection", - "originalLocations": [ - "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/schemas/SortDirection" - ] - } - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "75", - "fixed": false, - "raw": "sortDirection" - }, - "serializedName": "sortDirection", - "modelType": { - "$id": "76", - "$type": "EnumType", - "values": [ - { - "$id": "77", - "name": "Ascending", - "serializedName": "Ascending" - }, - { - "$id": "78", - "name": "Descending", - "serializedName": "Descending" - } - ], - "oldModelAsString": false, - "modelAsString": true, - "underlyingType": { - "$id": "79", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "80", - "fixed": false, - "raw": "String" - }, - "deprecated": false - }, - "name": { - "$id": "81", - "fixed": false, - "raw": "" - }, - "deprecated": false - } - } - ], - "serializedName": "SortInfo", - "containsConstantProperties": false, - "name": { - "$id": "82", - "fixed": false, - "raw": "SortInfo" - }, - "extensions": { - "x-ms-metadata": { - "apiVersions": [ - "v1" - ], - "filename": [ - "mem:///104?oai3.shaken.json" - ], - "name": "SortInfo", - "originalLocations": [ - "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/schemas/SortInfo" - ] - } - }, - "deprecated": false - }, - { - "$id": "83", - "$type": "CompositeType", - "properties": [ - { - "$id": "84", - "isReadOnly": false, - "realPath": [ - "withPrototypes" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "85", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "86", - "fixed": false, - "raw": "Search orders with flag IsPrototype" - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "87", - "fixed": false, - "raw": "withPrototypes" - }, - "serializedName": "withPrototypes", - "modelType": { - "$id": "88", - "$type": "PrimaryType", - "knownPrimaryType": "boolean", - "name": { - "$id": "89", - "fixed": false, - "raw": "Boolean" - }, - "deprecated": false - } - }, - { - "$id": "90", - "isReadOnly": false, - "realPath": [ - "onlyRecurring" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "91", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "92", - "fixed": false, - "raw": "Search only recurring orders created by subscription" - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "93", - "fixed": false, - "raw": "onlyRecurring" - }, - "serializedName": "onlyRecurring", - "modelType": { - "$id": "94", - "$type": "PrimaryType", - "knownPrimaryType": "boolean", - "name": { - "$id": "95", - "fixed": false, - "raw": "Boolean" - }, - "deprecated": false - } - }, - { - "$id": "96", - "isReadOnly": false, - "realPath": [ - "subscriptionId" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "97", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "98", - "fixed": false, - "raw": "Search orders with given subscription" - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "99", - "fixed": false, - "raw": "subscriptionId" - }, - "serializedName": "subscriptionId", - "modelType": { - "$id": "100", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "101", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - }, - { - "$id": "102", - "isReadOnly": false, - "realPath": [ - "subscriptionIds" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "103", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "104", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "105", - "fixed": false, - "raw": "subscriptionIds" - }, - "serializedName": "subscriptionIds", - "modelType": { - "$id": "106", - "$type": "SequenceType", - "elementType": { - "$id": "107", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "108", - "fixed": false, - "raw": "String" - }, - "deprecated": false - }, - "name": { - "$id": "109", - "fixed": false - }, - "deprecated": false - } - }, - { - "$id": "110", - "isReadOnly": false, - "realPath": [ - "operationId" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "111", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "112", - "fixed": false, - "raw": "It used to limit search within an operation (customer order for example)" - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "113", - "fixed": false, - "raw": "operationId" - }, - "serializedName": "operationId", - "modelType": { - "$id": "114", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "115", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - }, - { - "$id": "116", - "isReadOnly": false, - "realPath": [ - "customerId" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "117", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "118", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "119", - "fixed": false, - "raw": "customerId" - }, - "serializedName": "customerId", - "modelType": { - "$id": "120", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "121", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - }, - { - "$id": "122", - "isReadOnly": false, - "realPath": [ - "customerIds" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "123", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "124", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "125", - "fixed": false, - "raw": "customerIds" - }, - "serializedName": "customerIds", - "modelType": { - "$id": "126", - "$type": "SequenceType", - "elementType": { - "$id": "127", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "128", - "fixed": false, - "raw": "String" - }, - "deprecated": false - }, - "name": { - "$id": "129", - "fixed": false - }, - "deprecated": false - } - }, - { - "$id": "130", - "isReadOnly": false, - "realPath": [ - "ids" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "131", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "132", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "133", - "fixed": false, - "raw": "ids" - }, - "serializedName": "ids", - "modelType": { - "$id": "134", - "$type": "SequenceType", - "elementType": { - "$id": "135", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "136", - "fixed": false, - "raw": "String" - }, - "deprecated": false - }, - "name": { - "$id": "137", - "fixed": false - }, - "deprecated": false - } - }, - { - "$id": "138", - "isReadOnly": false, - "realPath": [ - "employeeId" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "139", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "140", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "141", - "fixed": false, - "raw": "employeeId" - }, - "serializedName": "employeeId", - "modelType": { - "$id": "142", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "143", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - }, - { - "$id": "144", - "isReadOnly": false, - "realPath": [ - "storeIds" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "145", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "146", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "147", - "fixed": false, - "raw": "storeIds" - }, - "serializedName": "storeIds", - "modelType": { - "$id": "148", - "$type": "SequenceType", - "elementType": { - "$id": "149", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "150", - "fixed": false, - "raw": "String" - }, - "deprecated": false - }, - "name": { - "$id": "151", - "fixed": false - }, - "deprecated": false - } - }, - { - "$id": "152", - "isReadOnly": false, - "realPath": [ - "status" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "153", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "154", - "fixed": false, - "raw": "Search by status" - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "155", - "fixed": false, - "raw": "status" - }, - "serializedName": "status", - "modelType": { - "$id": "156", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "157", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - }, - { - "$id": "158", - "isReadOnly": false, - "realPath": [ - "statuses" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "159", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "160", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "161", - "fixed": false, - "raw": "statuses" - }, - "serializedName": "statuses", - "modelType": { - "$id": "162", - "$type": "SequenceType", - "elementType": { - "$id": "163", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "164", - "fixed": false, - "raw": "String" - }, - "deprecated": false - }, - "name": { - "$id": "165", - "fixed": false - }, - "deprecated": false - } - }, - { - "$id": "166", - "isReadOnly": false, - "realPath": [ - "number" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "167", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "168", - "fixed": false, - "raw": "Search by numbers" - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "169", - "fixed": false, - "raw": "number" - }, - "serializedName": "number", - "modelType": { - "$id": "170", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "171", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - }, - { - "$id": "172", - "isReadOnly": false, - "realPath": [ - "numbers" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "173", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "174", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "175", - "fixed": false, - "raw": "numbers" - }, - "serializedName": "numbers", - "modelType": { - "$id": "176", - "$type": "SequenceType", - "elementType": { - "$id": "177", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "178", - "fixed": false, - "raw": "String" - }, - "deprecated": false - }, - "name": { - "$id": "179", - "fixed": false - }, - "deprecated": false - } - }, - { - "$id": "180", - "isReadOnly": false, - "realPath": [ - "startDate" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "181", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "182", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "183", - "fixed": false, - "raw": "startDate" - }, - "serializedName": "startDate", - "modelType": { - "$id": "184", - "$type": "PrimaryType", - "format": "date-time", - "knownPrimaryType": "dateTime", - "name": { - "$id": "185", - "fixed": false, - "raw": "DateTime" - }, - "deprecated": false - } - }, - { - "$id": "186", - "isReadOnly": false, - "realPath": [ - "endDate" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "187", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "188", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "189", - "fixed": false, - "raw": "endDate" - }, - "serializedName": "endDate", - "modelType": { - "$id": "190", - "$type": "PrimaryType", - "format": "date-time", - "knownPrimaryType": "dateTime", - "name": { - "$id": "191", - "fixed": false, - "raw": "DateTime" - }, - "deprecated": false - } - }, - { - "$id": "192", - "isReadOnly": false, - "realPath": [ - "responseGroup" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "193", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "194", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "195", - "fixed": false, - "raw": "responseGroup" - }, - "serializedName": "responseGroup", - "modelType": { - "$id": "196", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "197", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - }, - { - "$id": "198", - "isReadOnly": false, - "realPath": [ - "objectType" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "199", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "200", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "201", - "fixed": false, - "raw": "objectType" - }, - "serializedName": "objectType", - "modelType": { - "$id": "202", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "203", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - }, - { - "$id": "204", - "isReadOnly": false, - "realPath": [ - "objectTypes" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "205", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "206", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "207", - "fixed": false, - "raw": "objectTypes" - }, - "serializedName": "objectTypes", - "modelType": { - "$id": "208", - "$type": "SequenceType", - "elementType": { - "$id": "209", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "210", - "fixed": false, - "raw": "String" - }, - "deprecated": false - }, - "name": { - "$id": "211", - "fixed": false - }, - "deprecated": false - } - }, - { - "$id": "212", - "isReadOnly": false, - "realPath": [ - "objectIds" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "213", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "214", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "215", - "fixed": false, - "raw": "objectIds" - }, - "serializedName": "objectIds", - "modelType": { - "$id": "216", - "$type": "SequenceType", - "elementType": { - "$id": "217", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "218", - "fixed": false, - "raw": "String" - }, - "deprecated": false - }, - "name": { - "$id": "219", - "fixed": false - }, - "deprecated": false - } - }, - { - "$id": "220", - "isReadOnly": false, - "realPath": [ - "keyword" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "221", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "222", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "223", - "fixed": false, - "raw": "keyword" - }, - "serializedName": "keyword", - "modelType": { - "$id": "224", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "225", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - }, - { - "$id": "226", - "isReadOnly": false, - "realPath": [ - "searchPhrase" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "227", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "228", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "229", - "fixed": false, - "raw": "searchPhrase" - }, - "serializedName": "searchPhrase", - "modelType": { - "$id": "230", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "231", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - }, - { - "$id": "232", - "isReadOnly": false, - "realPath": [ - "languageCode" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "233", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "234", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "235", - "fixed": false, - "raw": "languageCode" - }, - "serializedName": "languageCode", - "modelType": { - "$id": "236", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "237", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - }, - { - "$id": "238", - "isReadOnly": false, - "realPath": [ - "sort" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "239", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "240", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "241", - "fixed": false, - "raw": "sort" - }, - "serializedName": "sort", - "modelType": { - "$id": "242", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "243", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - }, - { - "$id": "244", - "isReadOnly": true, - "realPath": [ - "sortInfos" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "245", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "246", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "247", - "fixed": false, - "raw": "sortInfos" - }, - "serializedName": "sortInfos", - "modelType": { - "$id": "248", - "$type": "SequenceType", - "elementType": { - "$ref": "65" - }, - "name": { - "$id": "249", - "fixed": false - }, - "deprecated": false - } - }, - { - "$id": "250", - "isReadOnly": false, - "realPath": [ - "skip" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "251", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "252", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "253", - "fixed": false, - "raw": "skip" - }, - "serializedName": "skip", - "modelType": { - "$id": "254", - "$type": "PrimaryType", - "format": "int32", - "knownPrimaryType": "int", - "name": { - "$id": "255", - "fixed": false, - "raw": "Int" - }, - "deprecated": false - } - }, - { - "$id": "256", - "isReadOnly": false, - "realPath": [ - "take" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "257", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "258", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "259", - "fixed": false, - "raw": "take" - }, - "serializedName": "take", - "modelType": { - "$id": "260", - "$type": "PrimaryType", - "format": "int32", - "knownPrimaryType": "int", - "name": { - "$id": "261", - "fixed": false, - "raw": "Int" - }, - "deprecated": false - } - } - ], - "serializedName": "CustomerOrderSearchCriteria", - "containsConstantProperties": false, - "name": { - "$id": "262", - "fixed": false, - "raw": "CustomerOrderSearchCriteria" - }, - "extensions": { - "x-ms-metadata": { - "apiVersions": [ - "v1" - ], - "filename": [ - "mem:///104?oai3.shaken.json" - ], - "name": "CustomerOrderSearchCriteria", - "originalLocations": [ - "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/schemas/CustomerOrderSearchCriteria" - ] - } - }, - "deprecated": false - }, - { - "$id": "263", - "$type": "CompositeType", - "properties": [ - { - "$id": "264", - "isReadOnly": false, - "realPath": [ - "productId" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "265", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "266", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "267", - "fixed": false, - "raw": "productId" - }, - "serializedName": "productId", - "modelType": { - "$id": "268", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "269", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - }, - { - "$id": "270", - "isReadOnly": false, - "realPath": [ - "itemIds" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "271", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "272", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "273", - "fixed": false, - "raw": "itemIds" - }, - "serializedName": "itemIds", - "modelType": { - "$id": "274", - "$type": "SequenceType", - "elementType": { - "$id": "275", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "276", - "fixed": false, - "raw": "String" - }, - "deprecated": false - }, - "name": { - "$id": "277", - "fixed": false - }, - "deprecated": false - } - }, - { - "$id": "278", - "isReadOnly": false, - "realPath": [ - "quantity" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "279", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "280", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "281", - "fixed": false, - "raw": "quantity" - }, - "serializedName": "quantity", - "modelType": { - "$id": "282", - "$type": "PrimaryType", - "format": "int32", - "knownPrimaryType": "int", - "name": { - "$id": "283", - "fixed": false, - "raw": "Int" - }, - "deprecated": false - } - }, - { - "$id": "284", - "isReadOnly": false, - "realPath": [ - "currency" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "285", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "286", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "287", - "fixed": false, - "raw": "currency" - }, - "serializedName": "currency", - "modelType": { - "$id": "288", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "289", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - }, - { - "$id": "290", - "isReadOnly": false, - "realPath": [ - "extendedPrice" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "291", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "292", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "293", - "fixed": false, - "raw": "extendedPrice" - }, - "serializedName": "extendedPrice", - "modelType": { - "$id": "294", - "$type": "PrimaryType", - "format": "double", - "knownPrimaryType": "double", - "name": { - "$id": "295", - "fixed": false, - "raw": "Double" - }, - "deprecated": false - } - }, - { - "$id": "296", - "isReadOnly": false, - "realPath": [ - "extendedPriceWithTax" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "297", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "298", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "299", - "fixed": false, - "raw": "extendedPriceWithTax" - }, - "serializedName": "extendedPriceWithTax", - "modelType": { - "$id": "300", - "$type": "PrimaryType", - "format": "double", - "knownPrimaryType": "double", - "name": { - "$id": "301", - "fixed": false, - "raw": "Double" - }, - "deprecated": false - } - }, - { - "$id": "302", - "isReadOnly": false, - "realPath": [ - "price" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "303", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "304", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "305", - "fixed": false, - "raw": "price" - }, - "serializedName": "price", - "modelType": { - "$id": "306", - "$type": "PrimaryType", - "format": "double", - "knownPrimaryType": "double", - "name": { - "$id": "307", - "fixed": false, - "raw": "Double" - }, - "deprecated": false - } - }, - { - "$id": "308", - "isReadOnly": false, - "realPath": [ - "priceWithTax" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "309", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "310", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "311", - "fixed": false, - "raw": "priceWithTax" - }, - "serializedName": "priceWithTax", - "modelType": { - "$id": "312", - "$type": "PrimaryType", - "format": "double", - "knownPrimaryType": "double", - "name": { - "$id": "313", - "fixed": false, - "raw": "Double" - }, - "deprecated": false - } - }, - { - "$id": "314", - "isReadOnly": false, - "realPath": [ - "placedPrice" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "315", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "316", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "317", - "fixed": false, - "raw": "placedPrice" - }, - "serializedName": "placedPrice", - "modelType": { - "$id": "318", - "$type": "PrimaryType", - "format": "double", - "knownPrimaryType": "double", - "name": { - "$id": "319", - "fixed": false, - "raw": "Double" - }, - "deprecated": false - } - }, - { - "$id": "320", - "isReadOnly": false, - "realPath": [ - "placedPriceWithTax" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "321", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "322", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "323", - "fixed": false, - "raw": "placedPriceWithTax" - }, - "serializedName": "placedPriceWithTax", - "modelType": { - "$id": "324", - "$type": "PrimaryType", - "format": "double", - "knownPrimaryType": "double", - "name": { - "$id": "325", - "fixed": false, - "raw": "Double" - }, - "deprecated": false - } - }, - { - "$id": "326", - "isReadOnly": false, - "realPath": [ - "taxTotal" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "327", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "328", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "329", - "fixed": false, - "raw": "taxTotal" - }, - "serializedName": "taxTotal", - "modelType": { - "$id": "330", - "$type": "PrimaryType", - "format": "double", - "knownPrimaryType": "double", - "name": { - "$id": "331", - "fixed": false, - "raw": "Double" - }, - "deprecated": false - } - }, - { - "$id": "332", - "isReadOnly": false, - "realPath": [ - "createdDate" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "333", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "334", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "335", - "fixed": false, - "raw": "createdDate" - }, - "serializedName": "createdDate", - "modelType": { - "$id": "336", - "$type": "PrimaryType", - "format": "date-time", - "knownPrimaryType": "dateTime", - "name": { - "$id": "337", - "fixed": false, - "raw": "DateTime" - }, - "deprecated": false - } - }, - { - "$id": "338", - "isReadOnly": false, - "realPath": [ - "modifiedDate" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "339", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "340", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "341", - "fixed": false, - "raw": "modifiedDate" - }, - "serializedName": "modifiedDate", - "modelType": { - "$id": "342", - "$type": "PrimaryType", - "format": "date-time", - "knownPrimaryType": "dateTime", - "name": { - "$id": "343", - "fixed": false, - "raw": "DateTime" - }, - "deprecated": false - } - }, - { - "$id": "344", - "isReadOnly": false, - "realPath": [ - "createdBy" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "345", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "346", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "347", - "fixed": false, - "raw": "createdBy" - }, - "serializedName": "createdBy", - "modelType": { - "$id": "348", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "349", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - }, - { - "$id": "350", - "isReadOnly": false, - "realPath": [ - "modifiedBy" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "351", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "352", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "353", - "fixed": false, - "raw": "modifiedBy" - }, - "serializedName": "modifiedBy", - "modelType": { - "$id": "354", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "355", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - }, - { - "$id": "356", - "isReadOnly": false, - "realPath": [ - "id" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "357", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "358", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "359", - "fixed": false, - "raw": "id" - }, - "serializedName": "id", - "modelType": { - "$id": "360", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "361", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - } - ], - "serializedName": "DemoOrderConfiguredGroup", - "containsConstantProperties": false, - "name": { - "$id": "362", - "fixed": false, - "raw": "DemoOrderConfiguredGroup" - }, - "extensions": { - "x-ms-metadata": { - "apiVersions": [ - "v1" - ], - "filename": [ - "mem:///104?oai3.shaken.json" - ], - "name": "DemoOrderConfiguredGroup", - "originalLocations": [ - "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/schemas/DemoOrderConfiguredGroup" - ] - } - }, - "deprecated": false - }, - { - "$id": "363", - "$type": "CompositeType", - "properties": [ - { - "$id": "364", - "isReadOnly": false, - "realPath": [ - "addressType" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "365", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "366", - "fixed": false - }, - "extensions": { - "x-ms-metadata": { - "apiVersions": [ - "v1" - ], - "filename": [ - "mem:///104?oai3.shaken.json" - ], - "name": "AddressType", - "originalLocations": [ - "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/schemas/AddressType" - ] - } - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "367", - "fixed": false, - "raw": "addressType" - }, - "serializedName": "addressType", - "modelType": { - "$id": "368", - "$type": "EnumType", - "values": [ - { - "$id": "369", - "name": "Billing", - "serializedName": "Billing" - }, - { - "$id": "370", - "name": "Shipping", - "serializedName": "Shipping" - }, - { - "$id": "371", - "name": "BillingAndShipping", - "serializedName": "BillingAndShipping" - }, - { - "$id": "372", - "name": "Pickup", - "serializedName": "Pickup" - } - ], - "oldModelAsString": false, - "modelAsString": true, - "underlyingType": { - "$id": "373", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "374", - "fixed": false, - "raw": "String" - }, - "deprecated": false - }, - "name": { - "$id": "375", - "fixed": false, - "raw": "" - }, - "deprecated": false - } - }, - { - "$id": "376", - "isReadOnly": false, - "realPath": [ - "key" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "377", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "378", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "379", - "fixed": false, - "raw": "key" - }, - "serializedName": "key", - "modelType": { - "$id": "380", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "381", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - }, - { - "$id": "382", - "isReadOnly": false, - "realPath": [ - "name" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "383", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "384", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "385", - "fixed": false, - "raw": "name" - }, - "serializedName": "name", - "modelType": { - "$id": "386", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "387", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - }, - { - "$id": "388", - "isReadOnly": false, - "realPath": [ - "organization" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "389", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "390", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "391", - "fixed": false, - "raw": "organization" - }, - "serializedName": "organization", - "modelType": { - "$id": "392", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "393", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - }, - { - "$id": "394", - "isReadOnly": false, - "realPath": [ - "countryCode" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "395", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "396", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "397", - "fixed": false, - "raw": "countryCode" - }, - "serializedName": "countryCode", - "modelType": { - "$id": "398", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "399", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - }, - { - "$id": "400", - "isReadOnly": false, - "realPath": [ - "countryName" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "401", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "402", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "403", - "fixed": false, - "raw": "countryName" - }, - "serializedName": "countryName", - "modelType": { - "$id": "404", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "405", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - }, - { - "$id": "406", - "isReadOnly": false, - "realPath": [ - "city" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "407", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "408", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "409", - "fixed": false, - "raw": "city" - }, - "serializedName": "city", - "modelType": { - "$id": "410", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "411", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - }, - { - "$id": "412", - "isReadOnly": false, - "realPath": [ - "postalCode" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "413", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "414", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "415", - "fixed": false, - "raw": "postalCode" - }, - "serializedName": "postalCode", - "modelType": { - "$id": "416", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "417", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - }, - { - "$id": "418", - "isReadOnly": false, - "realPath": [ - "zip" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "419", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "420", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "421", - "fixed": false, - "raw": "zip" - }, - "serializedName": "zip", - "modelType": { - "$id": "422", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "423", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - }, - { - "$id": "424", - "isReadOnly": false, - "realPath": [ - "line1" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "425", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "426", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "427", - "fixed": false, - "raw": "line1" - }, - "serializedName": "line1", - "modelType": { - "$id": "428", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "429", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - }, - { - "$id": "430", - "isReadOnly": false, - "realPath": [ - "line2" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "431", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "432", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "433", - "fixed": false, - "raw": "line2" - }, - "serializedName": "line2", - "modelType": { - "$id": "434", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "435", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - }, - { - "$id": "436", - "isReadOnly": false, - "realPath": [ - "regionId" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "437", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "438", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "439", - "fixed": false, - "raw": "regionId" - }, - "serializedName": "regionId", - "modelType": { - "$id": "440", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "441", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - }, - { - "$id": "442", - "isReadOnly": false, - "realPath": [ - "regionName" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "443", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "444", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "445", - "fixed": false, - "raw": "regionName" - }, - "serializedName": "regionName", - "modelType": { - "$id": "446", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "447", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - }, - { - "$id": "448", - "isReadOnly": false, - "realPath": [ - "firstName" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "449", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "450", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "451", - "fixed": false, - "raw": "firstName" - }, - "serializedName": "firstName", - "modelType": { - "$id": "452", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "453", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - }, - { - "$id": "454", - "isReadOnly": false, - "realPath": [ - "middleName" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "455", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "456", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "457", - "fixed": false, - "raw": "middleName" - }, - "serializedName": "middleName", - "modelType": { - "$id": "458", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "459", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - }, - { - "$id": "460", - "isReadOnly": false, - "realPath": [ - "lastName" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "461", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "462", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "463", - "fixed": false, - "raw": "lastName" - }, - "serializedName": "lastName", - "modelType": { - "$id": "464", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "465", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - }, - { - "$id": "466", - "isReadOnly": false, - "realPath": [ - "phone" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "467", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "468", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "469", - "fixed": false, - "raw": "phone" - }, - "serializedName": "phone", - "modelType": { - "$id": "470", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "471", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - }, - { - "$id": "472", - "isReadOnly": false, - "realPath": [ - "email" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "473", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "474", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "475", - "fixed": false, - "raw": "email" - }, - "serializedName": "email", - "modelType": { - "$id": "476", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "477", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - } - ], - "serializedName": "OrderAddress", - "containsConstantProperties": false, - "name": { - "$id": "478", - "fixed": false, - "raw": "OrderAddress" - }, - "extensions": { - "x-ms-metadata": { - "apiVersions": [ - "v1" - ], - "filename": [ - "mem:///104?oai3.shaken.json" - ], - "name": "OrderAddress", - "originalLocations": [ - "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/schemas/OrderAddress" - ] - } - }, - "deprecated": false - }, - { - "$id": "479", - "$type": "CompositeType", - "properties": [ - { - "$id": "480", - "isReadOnly": true, - "realPath": [ - "itHasValues" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "481", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "482", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "483", - "fixed": false, - "raw": "itHasValues" - }, - "serializedName": "itHasValues", - "modelType": { - "$id": "484", - "$type": "PrimaryType", - "knownPrimaryType": "boolean", - "name": { - "$id": "485", - "fixed": false, - "raw": "Boolean" - }, - "deprecated": false - } - }, - { - "$id": "486", - "isReadOnly": false, - "realPath": [ - "objectId" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "487", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "488", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "489", - "fixed": false, - "raw": "objectId" - }, - "serializedName": "objectId", - "modelType": { - "$id": "490", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "491", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - }, - { - "$id": "492", - "isReadOnly": false, - "realPath": [ - "objectType" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "493", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "494", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "495", - "fixed": false, - "raw": "objectType" - }, - "serializedName": "objectType", - "modelType": { - "$id": "496", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "497", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - }, - { - "$id": "498", - "isReadOnly": false, - "realPath": [ - "value" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "499", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "500", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "501", - "fixed": false, - "raw": "value" - }, - "serializedName": "value", - "modelType": { - "$id": "502", - "$type": "PrimaryType", - "knownPrimaryType": "object", - "name": { - "$id": "503", - "fixed": false, - "raw": "Object" - }, - "deprecated": false - } - }, - { - "$id": "504", - "isReadOnly": false, - "realPath": [ - "restartRequired" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "505", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "506", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "507", - "fixed": false, - "raw": "restartRequired" - }, - "serializedName": "restartRequired", - "modelType": { - "$id": "508", - "$type": "PrimaryType", - "knownPrimaryType": "boolean", - "name": { - "$id": "509", - "fixed": false, - "raw": "Boolean" - }, - "deprecated": false - } - }, - { - "$id": "510", - "isReadOnly": false, - "realPath": [ - "moduleId" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "511", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "512", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "513", - "fixed": false, - "raw": "moduleId" - }, - "serializedName": "moduleId", - "modelType": { - "$id": "514", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "515", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - }, - { - "$id": "516", - "isReadOnly": false, - "realPath": [ - "groupName" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "517", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "518", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "519", - "fixed": false, - "raw": "groupName" - }, - "serializedName": "groupName", - "modelType": { - "$id": "520", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "521", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - }, - { - "$id": "522", - "isReadOnly": false, - "realPath": [ - "name" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "523", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "524", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "525", - "fixed": false, - "raw": "name" - }, - "serializedName": "name", - "modelType": { - "$id": "526", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "527", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - }, - { - "$id": "528", - "isReadOnly": false, - "realPath": [ - "isHidden" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "529", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "530", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "531", - "fixed": false, - "raw": "isHidden" - }, - "serializedName": "isHidden", - "modelType": { - "$id": "532", - "$type": "PrimaryType", - "knownPrimaryType": "boolean", - "name": { - "$id": "533", - "fixed": false, - "raw": "Boolean" - }, - "deprecated": false - } - }, - { - "$id": "534", - "isReadOnly": false, - "realPath": [ - "valueType" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "535", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "536", - "fixed": false - }, - "extensions": { - "x-ms-metadata": { - "apiVersions": [ - "v1" - ], - "filename": [ - "mem:///104?oai3.shaken.json" - ], - "name": "SettingValueType", - "originalLocations": [ - "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/schemas/SettingValueType" - ] - } - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "537", - "fixed": false, - "raw": "valueType" - }, - "serializedName": "valueType", - "modelType": { - "$id": "538", - "$type": "EnumType", - "values": [ - { - "$id": "539", - "name": "ShortText", - "serializedName": "ShortText" - }, - { - "$id": "540", - "name": "LongText", - "serializedName": "LongText" - }, - { - "$id": "541", - "name": "Integer", - "serializedName": "Integer" - }, - { - "$id": "542", - "name": "Decimal", - "serializedName": "Decimal" - }, - { - "$id": "543", - "name": "DateTime", - "serializedName": "DateTime" - }, - { - "$id": "544", - "name": "Boolean", - "serializedName": "Boolean" - }, - { - "$id": "545", - "name": "SecureString", - "serializedName": "SecureString" - }, - { - "$id": "546", - "name": "Json", - "serializedName": "Json" - } - ], - "oldModelAsString": false, - "modelAsString": true, - "underlyingType": { - "$id": "547", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "548", - "fixed": false, - "raw": "String" - }, - "deprecated": false - }, - "name": { - "$id": "549", - "fixed": false, - "raw": "" - }, - "deprecated": false - } - }, - { - "$id": "550", - "isReadOnly": false, - "realPath": [ - "allowedValues" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "551", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "552", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "553", - "fixed": false, - "raw": "allowedValues" - }, - "serializedName": "allowedValues", - "modelType": { - "$id": "554", - "$type": "SequenceType", - "elementType": { - "$id": "555", - "$type": "PrimaryType", - "knownPrimaryType": "object", - "name": { - "$id": "556", - "fixed": false, - "raw": "Object" - }, - "deprecated": false - }, - "name": { - "$id": "557", - "fixed": false - }, - "deprecated": false - } - }, - { - "$id": "558", - "isReadOnly": false, - "realPath": [ - "defaultValue" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "559", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "560", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "561", - "fixed": false, - "raw": "defaultValue" - }, - "serializedName": "defaultValue", - "modelType": { - "$id": "562", - "$type": "PrimaryType", - "knownPrimaryType": "object", - "name": { - "$id": "563", - "fixed": false, - "raw": "Object" - }, - "deprecated": false - } - }, - { - "$id": "564", - "isReadOnly": false, - "realPath": [ - "isDictionary" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "565", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "566", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "567", - "fixed": false, - "raw": "isDictionary" - }, - "serializedName": "isDictionary", - "modelType": { - "$id": "568", - "$type": "PrimaryType", - "knownPrimaryType": "boolean", - "name": { - "$id": "569", - "fixed": false, - "raw": "Boolean" - }, - "deprecated": false - } - } - ], - "serializedName": "ObjectSettingEntry", - "containsConstantProperties": false, - "name": { - "$id": "570", - "fixed": false, - "raw": "ObjectSettingEntry" - }, - "extensions": { - "x-ms-metadata": { - "apiVersions": [ - "v1" - ], - "filename": [ - "mem:///104?oai3.shaken.json" - ], - "name": "ObjectSettingEntry", - "originalLocations": [ - "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/schemas/ObjectSettingEntry" - ] - } - }, - "deprecated": false - }, - { - "$id": "571", - "$type": "CompositeType", - "properties": [ - { - "$id": "572", - "isReadOnly": false, - "realPath": [ - "rate" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "573", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "574", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "575", - "fixed": false, - "raw": "rate" - }, - "serializedName": "rate", - "modelType": { - "$id": "576", - "$type": "PrimaryType", - "format": "double", - "knownPrimaryType": "double", - "name": { - "$id": "577", - "fixed": false, - "raw": "Double" - }, - "deprecated": false - } - }, - { - "$id": "578", - "isReadOnly": false, - "realPath": [ - "amount" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "579", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "580", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "581", - "fixed": false, - "raw": "amount" - }, - "serializedName": "amount", - "modelType": { - "$id": "582", - "$type": "PrimaryType", - "format": "double", - "knownPrimaryType": "double", - "name": { - "$id": "583", - "fixed": false, - "raw": "Double" - }, - "deprecated": false - } - }, - { - "$id": "584", - "isReadOnly": false, - "realPath": [ - "name" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "585", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "586", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "587", - "fixed": false, - "raw": "name" - }, - "serializedName": "name", - "modelType": { - "$id": "588", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "589", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - } - ], - "serializedName": "TaxDetail", - "containsConstantProperties": false, - "name": { - "$id": "590", - "fixed": false, - "raw": "TaxDetail" - }, - "extensions": { - "x-ms-metadata": { - "apiVersions": [ - "v1" - ], - "filename": [ - "mem:///104?oai3.shaken.json" - ], - "name": "TaxDetail", - "originalLocations": [ - "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/schemas/TaxDetail" - ] - } - }, - "deprecated": false - }, - { - "$id": "591", - "$type": "CompositeType", - "properties": [ - { - "$id": "592", - "isReadOnly": false, - "realPath": [ - "code" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "593", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "594", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "595", - "fixed": false, - "raw": "code" - }, - "serializedName": "code", - "modelType": { - "$id": "596", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "597", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - }, - { - "$id": "598", - "isReadOnly": true, - "realPath": [ - "name" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "599", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "600", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "601", - "fixed": false, - "raw": "name" - }, - "serializedName": "name", - "modelType": { - "$id": "602", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "603", - "fixed": false, - "raw": "String" - }, - "deprecationMessage": "This type is deprecated. Please do not use it any longer.", - "deprecated": true - } - }, - { - "$id": "604", - "isReadOnly": false, - "realPath": [ - "logoUrl" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "605", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "606", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "607", - "fixed": false, - "raw": "logoUrl" - }, - "serializedName": "logoUrl", - "modelType": { - "$id": "608", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "609", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - }, - { - "$id": "610", - "isReadOnly": false, - "realPath": [ - "isActive" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "611", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "612", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "613", - "fixed": false, - "raw": "isActive" - }, - "serializedName": "isActive", - "modelType": { - "$id": "614", - "$type": "PrimaryType", - "knownPrimaryType": "boolean", - "name": { - "$id": "615", - "fixed": false, - "raw": "Boolean" - }, - "deprecated": false - } - }, - { - "$id": "616", - "isReadOnly": false, - "realPath": [ - "priority" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "617", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "618", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "619", - "fixed": false, - "raw": "priority" - }, - "serializedName": "priority", - "modelType": { - "$id": "620", - "$type": "PrimaryType", - "format": "int32", - "knownPrimaryType": "int", - "name": { - "$id": "621", - "fixed": false, - "raw": "Int" - }, - "deprecated": false - } - }, - { - "$id": "622", - "isReadOnly": false, - "realPath": [ - "isAvailableForPartial" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "623", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "624", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "625", - "fixed": false, - "raw": "isAvailableForPartial" - }, - "serializedName": "isAvailableForPartial", - "modelType": { - "$id": "626", - "$type": "PrimaryType", - "knownPrimaryType": "boolean", - "name": { - "$id": "627", - "fixed": false, - "raw": "Boolean" - }, - "deprecated": false - } - }, - { - "$id": "628", - "isReadOnly": false, - "realPath": [ - "currency" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "629", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "630", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "631", - "fixed": false, - "raw": "currency" - }, - "serializedName": "currency", - "modelType": { - "$id": "632", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "633", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - }, - { - "$id": "634", - "isReadOnly": false, - "realPath": [ - "price" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "635", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "636", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "637", - "fixed": false, - "raw": "price" - }, - "serializedName": "price", - "modelType": { - "$id": "638", - "$type": "PrimaryType", - "format": "double", - "knownPrimaryType": "double", - "name": { - "$id": "639", - "fixed": false, - "raw": "Double" - }, - "deprecated": false - } - }, - { - "$id": "640", - "isReadOnly": true, - "realPath": [ - "priceWithTax" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "641", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "642", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "643", - "fixed": false, - "raw": "priceWithTax" - }, - "serializedName": "priceWithTax", - "modelType": { - "$id": "644", - "$type": "PrimaryType", - "format": "double", - "knownPrimaryType": "double", - "name": { - "$id": "645", - "fixed": false, - "raw": "Double" - }, - "deprecated": false - } - }, - { - "$id": "646", - "isReadOnly": true, - "realPath": [ - "total" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "647", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "648", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "649", - "fixed": false, - "raw": "total" - }, - "serializedName": "total", - "modelType": { - "$id": "650", - "$type": "PrimaryType", - "format": "double", - "knownPrimaryType": "double", - "name": { - "$id": "651", - "fixed": false, - "raw": "Double" - }, - "deprecated": false - } - }, - { - "$id": "652", - "isReadOnly": true, - "realPath": [ - "totalWithTax" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "653", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "654", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "655", - "fixed": false, - "raw": "totalWithTax" - }, - "serializedName": "totalWithTax", - "modelType": { - "$id": "656", - "$type": "PrimaryType", - "format": "double", - "knownPrimaryType": "double", - "name": { - "$id": "657", - "fixed": false, - "raw": "Double" - }, - "deprecated": false - } - }, - { - "$id": "658", - "isReadOnly": false, - "realPath": [ - "discountAmount" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "659", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "660", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "661", - "fixed": false, - "raw": "discountAmount" - }, - "serializedName": "discountAmount", - "modelType": { - "$id": "662", - "$type": "PrimaryType", - "format": "double", - "knownPrimaryType": "double", - "name": { - "$id": "663", - "fixed": false, - "raw": "Double" - }, - "deprecated": false - } - }, - { - "$id": "664", - "isReadOnly": true, - "realPath": [ - "discountAmountWithTax" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "665", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "666", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "667", - "fixed": false, - "raw": "discountAmountWithTax" - }, - "serializedName": "discountAmountWithTax", - "modelType": { - "$id": "668", - "$type": "PrimaryType", - "format": "double", - "knownPrimaryType": "double", - "name": { - "$id": "669", - "fixed": false, - "raw": "Double" - }, - "deprecated": false - } - }, - { - "$id": "670", - "isReadOnly": false, - "realPath": [ - "storeId" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "671", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "672", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "673", - "fixed": false, - "raw": "storeId" - }, - "serializedName": "storeId", - "modelType": { - "$id": "674", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "675", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - }, - { - "$id": "676", - "isReadOnly": true, - "realPath": [ - "typeName" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "677", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "678", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "679", - "fixed": false, - "raw": "typeName" - }, - "serializedName": "typeName", - "modelType": { - "$id": "680", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "681", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - }, - { - "$id": "682", - "isReadOnly": false, - "realPath": [ - "settings" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "683", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "684", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "685", - "fixed": false, - "raw": "settings" - }, - "serializedName": "settings", - "modelType": { - "$id": "686", - "$type": "SequenceType", - "elementType": { - "$ref": "479" - }, - "name": { - "$id": "687", - "fixed": false - }, - "deprecated": false - } - }, - { - "$id": "688", - "isReadOnly": false, - "realPath": [ - "taxType" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "689", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "690", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "691", - "fixed": false, - "raw": "taxType" - }, - "serializedName": "taxType", - "modelType": { - "$id": "692", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "693", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - }, - { - "$id": "694", - "isReadOnly": true, - "realPath": [ - "taxTotal" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "695", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "696", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "697", - "fixed": false, - "raw": "taxTotal" - }, - "serializedName": "taxTotal", - "modelType": { - "$id": "698", - "$type": "PrimaryType", - "format": "double", - "knownPrimaryType": "double", - "name": { - "$id": "699", - "fixed": false, - "raw": "Double" - }, - "deprecated": false - } - }, - { - "$id": "700", - "isReadOnly": false, - "realPath": [ - "taxPercentRate" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "701", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "702", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "703", - "fixed": false, - "raw": "taxPercentRate" - }, - "serializedName": "taxPercentRate", - "modelType": { - "$id": "704", - "$type": "PrimaryType", - "format": "double", - "knownPrimaryType": "double", - "name": { - "$id": "705", - "fixed": false, - "raw": "Double" - }, - "deprecated": false - } - }, - { - "$id": "706", - "isReadOnly": false, - "realPath": [ - "taxDetails" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "707", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "708", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "709", - "fixed": false, - "raw": "taxDetails" - }, - "serializedName": "taxDetails", - "modelType": { - "$id": "710", - "$type": "SequenceType", - "elementType": { - "$ref": "571" - }, - "name": { - "$id": "711", - "fixed": false - }, - "deprecated": false - } - }, - { - "$id": "712", - "isReadOnly": false, - "realPath": [ - "paymentMethodType" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "713", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "714", - "fixed": false - }, - "extensions": { - "x-ms-metadata": { - "apiVersions": [ - "v1" - ], - "filename": [ - "mem:///104?oai3.shaken.json" - ], - "name": "PaymentMethodType", - "originalLocations": [ - "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/schemas/PaymentMethodType" - ] - } - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "715", - "fixed": false, - "raw": "paymentMethodType" - }, - "serializedName": "paymentMethodType", - "modelType": { - "$id": "716", - "$type": "EnumType", - "values": [ - { - "$id": "717", - "name": "Unknown", - "serializedName": "Unknown" - }, - { - "$id": "718", - "name": "Standard", - "serializedName": "Standard" - }, - { - "$id": "719", - "name": "Redirection", - "serializedName": "Redirection" - }, - { - "$id": "720", - "name": "PreparedForm", - "serializedName": "PreparedForm" - } - ], - "oldModelAsString": false, - "modelAsString": true, - "underlyingType": { - "$id": "721", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "722", - "fixed": false, - "raw": "String" - }, - "deprecated": false - }, - "name": { - "$id": "723", - "fixed": false, - "raw": "" - }, - "deprecated": false - } - }, - { - "$id": "724", - "isReadOnly": false, - "realPath": [ - "paymentMethodGroupType" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "725", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "726", - "fixed": false - }, - "extensions": { - "x-ms-metadata": { - "apiVersions": [ - "v1" - ], - "filename": [ - "mem:///104?oai3.shaken.json" - ], - "name": "PaymentMethodGroupType", - "originalLocations": [ - "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/schemas/PaymentMethodGroupType" - ] - } - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "727", - "fixed": false, - "raw": "paymentMethodGroupType" - }, - "serializedName": "paymentMethodGroupType", - "modelType": { - "$id": "728", - "$type": "EnumType", - "values": [ - { - "$id": "729", - "name": "Paypal", - "serializedName": "Paypal" - }, - { - "$id": "730", - "name": "BankCard", - "serializedName": "BankCard" - }, - { - "$id": "731", - "name": "Alternative", - "serializedName": "Alternative" - }, - { - "$id": "732", - "name": "Manual", - "serializedName": "Manual" - } - ], - "oldModelAsString": false, - "modelAsString": true, - "underlyingType": { - "$id": "733", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "734", - "fixed": false, - "raw": "String" - }, - "deprecated": false - }, - "name": { - "$id": "735", - "fixed": false, - "raw": "" - }, - "deprecated": false - } - }, - { - "$id": "736", - "isReadOnly": false, - "realPath": [ - "id" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "737", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "738", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "739", - "fixed": false, - "raw": "id" - }, - "serializedName": "id", - "modelType": { - "$id": "740", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "741", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - } - ], - "serializedName": "PaymentMethod", - "containsConstantProperties": false, - "name": { - "$id": "742", - "fixed": false, - "raw": "PaymentMethod" - }, - "extensions": { - "x-ms-metadata": { - "apiVersions": [ - "v1" - ], - "filename": [ - "mem:///104?oai3.shaken.json" - ], - "name": "PaymentMethod", - "originalLocations": [ - "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/schemas/PaymentMethod" - ] - } - }, - "deprecated": false - }, - { - "$id": "743", - "$type": "CompositeType", - "properties": [ - { - "$id": "744", - "isReadOnly": false, - "realPath": [ - "redirectUrl" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "745", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "746", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "747", - "fixed": false, - "raw": "redirectUrl" - }, - "serializedName": "redirectUrl", - "modelType": { - "$id": "748", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "749", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - }, - { - "$id": "750", - "isReadOnly": false, - "realPath": [ - "htmlForm" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "751", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "752", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "753", - "fixed": false, - "raw": "htmlForm" - }, - "serializedName": "htmlForm", - "modelType": { - "$id": "754", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "755", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - }, - { - "$id": "756", - "isReadOnly": false, - "realPath": [ - "outerId" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "757", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "758", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "759", - "fixed": false, - "raw": "outerId" - }, - "serializedName": "outerId", - "modelType": { - "$id": "760", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "761", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - }, - { - "$id": "762", - "isReadOnly": false, - "realPath": [ - "paymentMethod" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "763", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "764", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "765", - "fixed": false, - "raw": "paymentMethod" - }, - "serializedName": "paymentMethod", - "modelType": { - "$ref": "591" - } - }, - { - "$id": "766", - "isReadOnly": false, - "realPath": [ - "isSuccess" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "767", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "768", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "769", - "fixed": false, - "raw": "isSuccess" - }, - "serializedName": "isSuccess", - "modelType": { - "$id": "770", - "$type": "PrimaryType", - "knownPrimaryType": "boolean", - "name": { - "$id": "771", - "fixed": false, - "raw": "Boolean" - }, - "deprecated": false - } - }, - { - "$id": "772", - "isReadOnly": false, - "realPath": [ - "errorMessage" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "773", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "774", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "775", - "fixed": false, - "raw": "errorMessage" - }, - "serializedName": "errorMessage", - "modelType": { - "$id": "776", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "777", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - }, - { - "$id": "778", - "isReadOnly": false, - "realPath": [ - "newPaymentStatus" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "779", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "780", - "fixed": false - }, - "extensions": { - "x-ms-metadata": { - "apiVersions": [ - "v1" - ], - "filename": [ - "mem:///104?oai3.shaken.json" - ], - "name": "PaymentStatus", - "originalLocations": [ - "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/schemas/PaymentStatus" - ] - } - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "781", - "fixed": false, - "raw": "newPaymentStatus" - }, - "serializedName": "newPaymentStatus", - "modelType": { - "$id": "782", - "$type": "EnumType", - "values": [ - { - "$id": "783", - "name": "New", - "serializedName": "New" - }, - { - "$id": "784", - "name": "Pending", - "serializedName": "Pending" - }, - { - "$id": "785", - "name": "Authorized", - "serializedName": "Authorized" - }, - { - "$id": "786", - "name": "Paid", - "serializedName": "Paid" - }, - { - "$id": "787", - "name": "PartiallyRefunded", - "serializedName": "PartiallyRefunded" - }, - { - "$id": "788", - "name": "Refunded", - "serializedName": "Refunded" - }, - { - "$id": "789", - "name": "Voided", - "serializedName": "Voided" - }, - { - "$id": "790", - "name": "Custom", - "serializedName": "Custom" - }, - { - "$id": "791", - "name": "Cancelled", - "serializedName": "Cancelled" - }, - { - "$id": "792", - "name": "Declined", - "serializedName": "Declined" - }, - { - "$id": "793", - "name": "Error", - "serializedName": "Error" - } - ], - "oldModelAsString": false, - "modelAsString": true, - "underlyingType": { - "$id": "794", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "795", - "fixed": false, - "raw": "String" - }, - "deprecated": false - }, - "name": { - "$id": "796", - "fixed": false, - "raw": "" - }, - "deprecated": false - } - } - ], - "serializedName": "ProcessPaymentRequestResult", - "containsConstantProperties": false, - "name": { - "$id": "797", - "fixed": false, - "raw": "ProcessPaymentRequestResult" - }, - "extensions": { - "x-ms-metadata": { - "apiVersions": [ - "v1" - ], - "filename": [ - "mem:///104?oai3.shaken.json" - ], - "name": "ProcessPaymentRequestResult", - "originalLocations": [ - "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/schemas/ProcessPaymentRequestResult" - ] - } - }, - "deprecated": false - }, - { - "$id": "798", - "$type": "CompositeType", - "properties": [ - { - "$id": "799", - "isReadOnly": false, - "realPath": [ - "promotionId" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "800", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "801", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "802", - "fixed": false, - "raw": "promotionId" - }, - "serializedName": "promotionId", - "modelType": { - "$id": "803", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "804", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - }, - { - "$id": "805", - "isReadOnly": false, - "realPath": [ - "currency" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "806", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "807", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "808", - "fixed": false, - "raw": "currency" - }, - "serializedName": "currency", - "modelType": { - "$id": "809", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "810", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - }, - { - "$id": "811", - "isReadOnly": false, - "realPath": [ - "discountAmount" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "812", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "813", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "814", - "fixed": false, - "raw": "discountAmount" - }, - "serializedName": "discountAmount", - "modelType": { - "$id": "815", - "$type": "PrimaryType", - "format": "double", - "knownPrimaryType": "double", - "name": { - "$id": "816", - "fixed": false, - "raw": "Double" - }, - "deprecated": false - } - }, - { - "$id": "817", - "isReadOnly": false, - "realPath": [ - "discountAmountWithTax" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "818", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "819", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "820", - "fixed": false, - "raw": "discountAmountWithTax" - }, - "serializedName": "discountAmountWithTax", - "modelType": { - "$id": "821", - "$type": "PrimaryType", - "format": "double", - "knownPrimaryType": "double", - "name": { - "$id": "822", - "fixed": false, - "raw": "Double" - }, - "deprecated": false - } - }, - { - "$id": "823", - "isReadOnly": false, - "realPath": [ - "coupon" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "824", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "825", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "826", - "fixed": false, - "raw": "coupon" - }, - "serializedName": "coupon", - "modelType": { - "$id": "827", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "828", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - }, - { - "$id": "829", - "isReadOnly": false, - "realPath": [ - "description" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "830", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "831", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "832", - "fixed": false, - "raw": "description" - }, - "serializedName": "description", - "modelType": { - "$id": "833", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "834", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - }, - { - "$id": "835", - "isReadOnly": false, - "realPath": [ - "id" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "836", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "837", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "838", - "fixed": false, - "raw": "id" - }, - "serializedName": "id", - "modelType": { - "$id": "839", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "840", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - } - ], - "serializedName": "Discount", - "containsConstantProperties": false, - "name": { - "$id": "841", - "fixed": false, - "raw": "Discount" - }, - "extensions": { - "x-ms-metadata": { - "apiVersions": [ - "v1" - ], - "filename": [ - "mem:///104?oai3.shaken.json" - ], - "name": "Discount", - "originalLocations": [ - "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/schemas/Discount" - ] - } - }, - "deprecated": false - }, - { - "$id": "842", - "$type": "CompositeType", - "properties": [ - { - "$id": "843", - "isReadOnly": false, - "realPath": [ - "amount" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "844", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "845", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "846", - "fixed": false, - "raw": "amount" - }, - "serializedName": "amount", - "modelType": { - "$id": "847", - "$type": "PrimaryType", - "format": "double", - "knownPrimaryType": "double", - "name": { - "$id": "848", - "fixed": false, - "raw": "Double" - }, - "deprecated": false - } - }, - { - "$id": "849", - "isReadOnly": false, - "realPath": [ - "currencyCode" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "850", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "851", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "852", - "fixed": false, - "raw": "currencyCode" - }, - "serializedName": "currencyCode", - "modelType": { - "$id": "853", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "854", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - }, - { - "$id": "855", - "isReadOnly": false, - "realPath": [ - "isProcessed" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "856", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "857", - "fixed": false, - "raw": "Flag represent that current transaction is processed" - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "858", - "fixed": false, - "raw": "isProcessed" - }, - "serializedName": "isProcessed", - "modelType": { - "$id": "859", - "$type": "PrimaryType", - "knownPrimaryType": "boolean", - "name": { - "$id": "860", - "fixed": false, - "raw": "Boolean" - }, - "deprecated": false - } - }, - { - "$id": "861", - "isReadOnly": false, - "realPath": [ - "processedDate" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "862", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "863", - "fixed": false, - "raw": "Date when this transaction was handled" - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "864", - "fixed": false, - "raw": "processedDate" - }, - "serializedName": "processedDate", - "modelType": { - "$id": "865", - "$type": "PrimaryType", - "format": "date-time", - "knownPrimaryType": "dateTime", - "name": { - "$id": "866", - "fixed": false, - "raw": "DateTime" - }, - "deprecated": false - } - }, - { - "$id": "867", - "isReadOnly": false, - "realPath": [ - "processError" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "868", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "869", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "870", - "fixed": false, - "raw": "processError" - }, - "serializedName": "processError", - "modelType": { - "$id": "871", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "872", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - }, - { - "$id": "873", - "isReadOnly": false, - "realPath": [ - "processAttemptCount" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "874", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "875", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "876", - "fixed": false, - "raw": "processAttemptCount" - }, - "serializedName": "processAttemptCount", - "modelType": { - "$id": "877", - "$type": "PrimaryType", - "format": "int32", - "knownPrimaryType": "int", - "name": { - "$id": "878", - "fixed": false, - "raw": "Int" - }, - "deprecated": false - } - }, - { - "$id": "879", - "isReadOnly": false, - "realPath": [ - "requestData" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "880", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "881", - "fixed": false, - "raw": "Raw request data" - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "882", - "fixed": false, - "raw": "requestData" - }, - "serializedName": "requestData", - "modelType": { - "$id": "883", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "884", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - }, - { - "$id": "885", - "isReadOnly": false, - "realPath": [ - "responseData" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "886", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "887", - "fixed": false, - "raw": "Raw response data" - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "888", - "fixed": false, - "raw": "responseData" - }, - "serializedName": "responseData", - "modelType": { - "$id": "889", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "890", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - }, - { - "$id": "891", - "isReadOnly": false, - "realPath": [ - "responseCode" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "892", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "893", - "fixed": false, - "raw": "Gateway or VC response status code" - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "894", - "fixed": false, - "raw": "responseCode" - }, - "serializedName": "responseCode", - "modelType": { - "$id": "895", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "896", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - }, - { - "$id": "897", - "isReadOnly": false, - "realPath": [ - "gatewayIpAddress" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "898", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "899", - "fixed": false, - "raw": "Gateway IP address" - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "900", - "fixed": false, - "raw": "gatewayIpAddress" - }, - "serializedName": "gatewayIpAddress", - "modelType": { - "$id": "901", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "902", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - }, - { - "$id": "903", - "isReadOnly": false, - "realPath": [ - "type" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "904", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "905", - "fixed": false, - "raw": "The type of payment interaction.The payment can be Capture or CheckReceived. \r\nThe value also includes customer payment interactions such as Website, Call, Store, or Unknown." - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "906", - "fixed": false, - "raw": "type" - }, - "serializedName": "type", - "modelType": { - "$id": "907", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "908", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - }, - { - "$id": "909", - "isReadOnly": false, - "realPath": [ - "status" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "910", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "911", - "fixed": false, - "raw": "\"Active\", \"Expired\", and \"Inactive\" or other" - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "912", - "fixed": false, - "raw": "status" - }, - "serializedName": "status", - "modelType": { - "$id": "913", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "914", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - }, - { - "$id": "915", - "isReadOnly": false, - "realPath": [ - "note" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "916", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "917", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "918", - "fixed": false, - "raw": "note" - }, - "serializedName": "note", - "modelType": { - "$id": "919", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "920", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - }, - { - "$id": "921", - "isReadOnly": false, - "realPath": [ - "createdDate" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "922", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "923", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "924", - "fixed": false, - "raw": "createdDate" - }, - "serializedName": "createdDate", - "modelType": { - "$id": "925", - "$type": "PrimaryType", - "format": "date-time", - "knownPrimaryType": "dateTime", - "name": { - "$id": "926", - "fixed": false, - "raw": "DateTime" - }, - "deprecated": false - } - }, - { - "$id": "927", - "isReadOnly": false, - "realPath": [ - "modifiedDate" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "928", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "929", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "930", - "fixed": false, - "raw": "modifiedDate" - }, - "serializedName": "modifiedDate", - "modelType": { - "$id": "931", - "$type": "PrimaryType", - "format": "date-time", - "knownPrimaryType": "dateTime", - "name": { - "$id": "932", - "fixed": false, - "raw": "DateTime" - }, - "deprecated": false - } - }, - { - "$id": "933", - "isReadOnly": false, - "realPath": [ - "createdBy" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "934", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "935", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "936", - "fixed": false, - "raw": "createdBy" - }, - "serializedName": "createdBy", - "modelType": { - "$id": "937", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "938", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - }, - { - "$id": "939", - "isReadOnly": false, - "realPath": [ - "modifiedBy" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "940", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "941", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "942", - "fixed": false, - "raw": "modifiedBy" - }, - "serializedName": "modifiedBy", - "modelType": { - "$id": "943", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "944", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - }, - { - "$id": "945", - "isReadOnly": false, - "realPath": [ - "id" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "946", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "947", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "948", - "fixed": false, - "raw": "id" - }, - "serializedName": "id", - "modelType": { - "$id": "949", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "950", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - } - ], - "serializedName": "PaymentGatewayTransaction", - "containsConstantProperties": false, - "name": { - "$id": "951", - "fixed": false, - "raw": "PaymentGatewayTransaction" - }, - "extensions": { - "x-ms-metadata": { - "apiVersions": [ - "v1" - ], - "filename": [ - "mem:///104?oai3.shaken.json" - ], - "name": "PaymentGatewayTransaction", - "originalLocations": [ - "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/schemas/PaymentGatewayTransaction" - ] - } - }, - "deprecated": false - }, - { - "$id": "952", - "$type": "CompositeType", - "properties": [ - { - "$id": "953", - "isReadOnly": false, - "realPath": [ - "operationType" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "954", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "955", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "956", - "fixed": false, - "raw": "operationType" - }, - "serializedName": "operationType", - "modelType": { - "$id": "957", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "958", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - }, - { - "$id": "959", - "isReadOnly": false, - "realPath": [ - "number" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "960", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "961", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "962", - "fixed": false, - "raw": "number" - }, - "serializedName": "number", - "modelType": { - "$id": "963", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "964", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - }, - { - "$id": "965", - "isReadOnly": false, - "realPath": [ - "isApproved" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "966", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "967", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "968", - "fixed": false, - "raw": "isApproved" - }, - "serializedName": "isApproved", - "modelType": { - "$id": "969", - "$type": "PrimaryType", - "knownPrimaryType": "boolean", - "name": { - "$id": "970", - "fixed": false, - "raw": "Boolean" - }, - "deprecated": false - } - }, - { - "$id": "971", - "isReadOnly": false, - "realPath": [ - "status" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "972", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "973", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "974", - "fixed": false, - "raw": "status" - }, - "serializedName": "status", - "modelType": { - "$id": "975", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "976", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - }, - { - "$id": "977", - "isReadOnly": false, - "realPath": [ - "comment" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "978", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "979", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "980", - "fixed": false, - "raw": "comment" - }, - "serializedName": "comment", - "modelType": { - "$id": "981", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "982", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - }, - { - "$id": "983", - "isReadOnly": false, - "realPath": [ - "currency" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "984", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "985", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "986", - "fixed": false, - "raw": "currency" - }, - "serializedName": "currency", - "modelType": { - "$id": "987", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "988", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - }, - { - "$id": "989", - "isReadOnly": false, - "realPath": [ - "parentOperationId" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "990", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "991", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "992", - "fixed": false, - "raw": "parentOperationId" - }, - "serializedName": "parentOperationId", - "modelType": { - "$id": "993", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "994", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - }, - { - "$id": "995", - "isReadOnly": false, - "realPath": [ - "childrenOperations" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "996", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "997", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "998", - "fixed": false, - "raw": "childrenOperations" - }, - "serializedName": "childrenOperations", - "modelType": { - "$id": "999", - "$type": "SequenceType", - "elementType": { - "$ref": "952" - }, - "name": { - "$id": "1000", - "fixed": false - }, - "deprecated": false - } - }, - { - "$id": "1001", - "isReadOnly": false, - "realPath": [ - "id" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "1002", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "1003", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "1004", - "fixed": false, - "raw": "id" - }, - "serializedName": "id", - "modelType": { - "$id": "1005", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "1006", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - } - ], - "serializedName": "IOperation", - "containsConstantProperties": false, - "name": { - "$id": "1007", - "fixed": false, - "raw": "IOperation" - }, - "extensions": { - "x-ms-metadata": { - "apiVersions": [ - "v1" - ], - "filename": [ - "mem:///104?oai3.shaken.json" - ], - "name": "IOperation", - "originalLocations": [ - "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/schemas/IOperation" - ] - } - }, - "deprecated": false - }, - { - "$id": "1008", - "$type": "CompositeType", - "properties": [ - { - "$id": "1009", - "isReadOnly": false, - "realPath": [ - "objectType" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "1010", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "1011", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "1012", - "fixed": false, - "raw": "objectType" - }, - "serializedName": "objectType", - "modelType": { - "$id": "1013", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "1014", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - }, - { - "$id": "1015", - "isReadOnly": false, - "realPath": [ - "objectId" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "1016", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "1017", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "1018", - "fixed": false, - "raw": "objectId" - }, - "serializedName": "objectId", - "modelType": { - "$id": "1019", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "1020", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - }, - { - "$id": "1021", - "isReadOnly": false, - "realPath": [ - "locale" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "1022", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "1023", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "1024", - "fixed": false, - "raw": "locale" - }, - "serializedName": "locale", - "modelType": { - "$id": "1025", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "1026", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - }, - { - "$id": "1027", - "isReadOnly": false, - "realPath": [ - "value" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "1028", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "1029", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "1030", - "fixed": false, - "raw": "value" - }, - "serializedName": "value", - "modelType": { - "$id": "1031", - "$type": "PrimaryType", - "knownPrimaryType": "object", - "name": { - "$id": "1032", - "fixed": false, - "raw": "Object" - }, - "deprecated": false - } - }, - { - "$id": "1033", - "isReadOnly": false, - "realPath": [ - "valueId" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "1034", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "1035", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "1036", - "fixed": false, - "raw": "valueId" - }, - "serializedName": "valueId", - "modelType": { - "$id": "1037", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "1038", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - }, - { - "$id": "1039", - "isReadOnly": false, - "realPath": [ - "valueType" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "1040", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "1041", - "fixed": false - }, - "extensions": { - "x-ms-metadata": { - "apiVersions": [ - "v1" - ], - "filename": [ - "mem:///104?oai3.shaken.json" - ], - "name": "DynamicPropertyValueType", - "originalLocations": [ - "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/schemas/DynamicPropertyValueType" - ] - } - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "1042", - "fixed": false, - "raw": "valueType" - }, - "serializedName": "valueType", - "modelType": { - "$id": "1043", - "$type": "EnumType", - "values": [ - { - "$id": "1044", - "name": "Undefined", - "serializedName": "Undefined" - }, - { - "$id": "1045", - "name": "ShortText", - "serializedName": "ShortText" - }, - { - "$id": "1046", - "name": "LongText", - "serializedName": "LongText" - }, - { - "$id": "1047", - "name": "Integer", - "serializedName": "Integer" - }, - { - "$id": "1048", - "name": "Decimal", - "serializedName": "Decimal" - }, - { - "$id": "1049", - "name": "DateTime", - "serializedName": "DateTime" - }, - { - "$id": "1050", - "name": "Boolean", - "serializedName": "Boolean" - }, - { - "$id": "1051", - "name": "Html", - "serializedName": "Html" - }, - { - "$id": "1052", - "name": "Image", - "serializedName": "Image" - } - ], - "oldModelAsString": false, - "modelAsString": true, - "underlyingType": { - "$id": "1053", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "1054", - "fixed": false, - "raw": "String" - }, - "deprecated": false - }, - "name": { - "$id": "1055", - "fixed": false, - "raw": "" - }, - "deprecated": false - } - }, - { - "$id": "1056", - "isReadOnly": false, - "realPath": [ - "propertyId" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "1057", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "1058", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "1059", - "fixed": false, - "raw": "propertyId" - }, - "serializedName": "propertyId", - "modelType": { - "$id": "1060", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "1061", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - }, - { - "$id": "1062", - "isReadOnly": false, - "realPath": [ - "propertyName" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "1063", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "1064", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "1065", - "fixed": false, - "raw": "propertyName" - }, - "serializedName": "propertyName", - "modelType": { - "$id": "1066", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "1067", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - } - ], - "serializedName": "DynamicPropertyObjectValue", - "containsConstantProperties": false, - "name": { - "$id": "1068", - "fixed": false, - "raw": "DynamicPropertyObjectValue" - }, - "extensions": { - "x-ms-metadata": { - "apiVersions": [ - "v1" - ], - "filename": [ - "mem:///104?oai3.shaken.json" - ], - "name": "DynamicPropertyObjectValue", - "originalLocations": [ - "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/schemas/DynamicPropertyObjectValue" - ] - } - }, - "deprecated": false - }, - { - "$id": "1069", - "$type": "CompositeType", - "properties": [ - { - "$id": "1070", - "isReadOnly": false, - "realPath": [ - "locale" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "1071", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "1072", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "1073", - "fixed": false, - "raw": "locale" - }, - "serializedName": "locale", - "modelType": { - "$id": "1074", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "1075", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - }, - { - "$id": "1076", - "isReadOnly": false, - "realPath": [ - "name" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "1077", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "1078", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "1079", - "fixed": false, - "raw": "name" - }, - "serializedName": "name", - "modelType": { - "$id": "1080", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "1081", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - } - ], - "serializedName": "DynamicPropertyName", - "containsConstantProperties": false, - "name": { - "$id": "1082", - "fixed": false, - "raw": "DynamicPropertyName" - }, - "extensions": { - "x-ms-metadata": { - "apiVersions": [ - "v1" - ], - "filename": [ - "mem:///104?oai3.shaken.json" - ], - "name": "DynamicPropertyName", - "originalLocations": [ - "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/schemas/DynamicPropertyName" - ] - } - }, - "deprecated": false - }, - { - "$id": "1083", - "$type": "CompositeType", - "properties": [ - { - "$id": "1084", - "isReadOnly": false, - "realPath": [ - "objectId" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "1085", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "1086", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "1087", - "fixed": false, - "raw": "objectId" - }, - "serializedName": "objectId", - "modelType": { - "$id": "1088", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "1089", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - }, - { - "$id": "1090", - "isReadOnly": false, - "realPath": [ - "values" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "1091", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "1092", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "1093", - "fixed": false, - "raw": "values" - }, - "serializedName": "values", - "modelType": { - "$id": "1094", - "$type": "SequenceType", - "elementType": { - "$ref": "1008" - }, - "name": { - "$id": "1095", - "fixed": false - }, - "deprecated": false - } - }, - { - "$id": "1096", - "isReadOnly": false, - "realPath": [ - "name" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "1097", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "1098", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "1099", - "fixed": false, - "raw": "name" - }, - "serializedName": "name", - "modelType": { - "$id": "1100", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "1101", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - }, - { - "$id": "1102", - "isReadOnly": false, - "realPath": [ - "description" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "1103", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "1104", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "1105", - "fixed": false, - "raw": "description" - }, - "serializedName": "description", - "modelType": { - "$id": "1106", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "1107", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - }, - { - "$id": "1108", - "isReadOnly": false, - "realPath": [ - "objectType" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "1109", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "1110", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "1111", - "fixed": false, - "raw": "objectType" - }, - "serializedName": "objectType", - "modelType": { - "$id": "1112", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "1113", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - }, - { - "$id": "1114", - "isReadOnly": false, - "realPath": [ - "isArray" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "1115", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "1116", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "1117", - "fixed": false, - "raw": "isArray" - }, - "serializedName": "isArray", - "modelType": { - "$id": "1118", - "$type": "PrimaryType", - "knownPrimaryType": "boolean", - "name": { - "$id": "1119", - "fixed": false, - "raw": "Boolean" - }, - "deprecated": false - } - }, - { - "$id": "1120", - "isReadOnly": false, - "realPath": [ - "isDictionary" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "1121", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "1122", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "1123", - "fixed": false, - "raw": "isDictionary" - }, - "serializedName": "isDictionary", - "modelType": { - "$id": "1124", - "$type": "PrimaryType", - "knownPrimaryType": "boolean", - "name": { - "$id": "1125", - "fixed": false, - "raw": "Boolean" - }, - "deprecated": false - } - }, - { - "$id": "1126", - "isReadOnly": false, - "realPath": [ - "isMultilingual" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "1127", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "1128", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "1129", - "fixed": false, - "raw": "isMultilingual" - }, - "serializedName": "isMultilingual", - "modelType": { - "$id": "1130", - "$type": "PrimaryType", - "knownPrimaryType": "boolean", - "name": { - "$id": "1131", - "fixed": false, - "raw": "Boolean" - }, - "deprecated": false - } - }, - { - "$id": "1132", - "isReadOnly": false, - "realPath": [ - "isRequired" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "1133", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "1134", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "1135", - "fixed": false, - "raw": "isRequired" - }, - "serializedName": "isRequired", - "modelType": { - "$id": "1136", - "$type": "PrimaryType", - "knownPrimaryType": "boolean", - "name": { - "$id": "1137", - "fixed": false, - "raw": "Boolean" - }, - "deprecated": false - } - }, - { - "$id": "1138", - "isReadOnly": false, - "realPath": [ - "displayOrder" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "1139", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "1140", - "fixed": false - }, - "extensions": { - "x-nullable": true - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "1141", - "fixed": false, - "raw": "displayOrder" - }, - "serializedName": "displayOrder", - "modelType": { - "$id": "1142", - "$type": "PrimaryType", - "format": "int32", - "knownPrimaryType": "int", - "name": { - "$id": "1143", - "fixed": false, - "raw": "Int" - }, - "deprecated": false - } - }, - { - "$id": "1144", - "isReadOnly": false, - "realPath": [ - "valueType" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "1145", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "1146", - "fixed": false - }, - "extensions": { - "x-ms-metadata": { - "apiVersions": [ - "v1" - ], - "filename": [ - "mem:///104?oai3.shaken.json" - ], - "name": "DynamicPropertyValueType", - "originalLocations": [ - "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/schemas/DynamicPropertyValueType" - ] - } - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "1147", - "fixed": false, - "raw": "valueType" - }, - "serializedName": "valueType", - "modelType": { - "$id": "1148", - "$type": "EnumType", - "values": [ - { - "$id": "1149", - "name": "Undefined", - "serializedName": "Undefined" - }, - { - "$id": "1150", - "name": "ShortText", - "serializedName": "ShortText" - }, - { - "$id": "1151", - "name": "LongText", - "serializedName": "LongText" - }, - { - "$id": "1152", - "name": "Integer", - "serializedName": "Integer" - }, - { - "$id": "1153", - "name": "Decimal", - "serializedName": "Decimal" - }, - { - "$id": "1154", - "name": "DateTime", - "serializedName": "DateTime" - }, - { - "$id": "1155", - "name": "Boolean", - "serializedName": "Boolean" - }, - { - "$id": "1156", - "name": "Html", - "serializedName": "Html" - }, - { - "$id": "1157", - "name": "Image", - "serializedName": "Image" - } - ], - "oldModelAsString": false, - "modelAsString": true, - "underlyingType": { - "$id": "1158", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "1159", - "fixed": false, - "raw": "String" - }, - "deprecated": false - }, - "name": { - "$id": "1160", - "fixed": false, - "raw": "" - }, - "deprecated": false - } - }, - { - "$id": "1161", - "isReadOnly": false, - "realPath": [ - "displayNames" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "1162", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "1163", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "1164", - "fixed": false, - "raw": "displayNames" - }, - "serializedName": "displayNames", - "modelType": { - "$id": "1165", - "$type": "SequenceType", - "elementType": { - "$ref": "1069" - }, - "name": { - "$id": "1166", - "fixed": false - }, - "deprecated": false - } - }, - { - "$id": "1167", - "isReadOnly": false, - "realPath": [ - "createdDate" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "1168", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "1169", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "1170", - "fixed": false, - "raw": "createdDate" - }, - "serializedName": "createdDate", - "modelType": { - "$id": "1171", - "$type": "PrimaryType", - "format": "date-time", - "knownPrimaryType": "dateTime", - "name": { - "$id": "1172", - "fixed": false, - "raw": "DateTime" - }, - "deprecated": false - } - }, - { - "$id": "1173", - "isReadOnly": false, - "realPath": [ - "modifiedDate" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "1174", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "1175", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "1176", - "fixed": false, - "raw": "modifiedDate" - }, - "serializedName": "modifiedDate", - "modelType": { - "$id": "1177", - "$type": "PrimaryType", - "format": "date-time", - "knownPrimaryType": "dateTime", - "name": { - "$id": "1178", - "fixed": false, - "raw": "DateTime" - }, - "deprecated": false - } - }, - { - "$id": "1179", - "isReadOnly": false, - "realPath": [ - "createdBy" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "1180", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "1181", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "1182", - "fixed": false, - "raw": "createdBy" - }, - "serializedName": "createdBy", - "modelType": { - "$id": "1183", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "1184", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - }, - { - "$id": "1185", - "isReadOnly": false, - "realPath": [ - "modifiedBy" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "1186", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "1187", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "1188", - "fixed": false, - "raw": "modifiedBy" - }, - "serializedName": "modifiedBy", - "modelType": { - "$id": "1189", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "1190", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - }, - { - "$id": "1191", - "isReadOnly": false, - "realPath": [ - "id" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "1192", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "1193", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "1194", - "fixed": false, - "raw": "id" - }, - "serializedName": "id", - "modelType": { - "$id": "1195", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "1196", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - } - ], - "serializedName": "DynamicObjectProperty", - "containsConstantProperties": false, - "name": { - "$id": "1197", - "fixed": false, - "raw": "DynamicObjectProperty" - }, - "extensions": { - "x-ms-metadata": { - "apiVersions": [ - "v1" - ], - "filename": [ - "mem:///104?oai3.shaken.json" - ], - "name": "DynamicObjectProperty", - "originalLocations": [ - "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/schemas/DynamicObjectProperty" - ] - } - }, - "deprecated": false - }, - { - "$id": "1198", - "$type": "CompositeType", - "properties": [ - { - "$id": "1199", - "isReadOnly": false, - "realPath": [ - "orderId" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "1200", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "1201", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "1202", - "fixed": false, - "raw": "orderId" - }, - "serializedName": "orderId", - "modelType": { - "$id": "1203", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "1204", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - }, - { - "$id": "1205", - "isReadOnly": false, - "realPath": [ - "purpose" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "1206", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "1207", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "1208", - "fixed": false, - "raw": "purpose" - }, - "serializedName": "purpose", - "modelType": { - "$id": "1209", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "1210", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - }, - { - "$id": "1211", - "isReadOnly": false, - "realPath": [ - "gatewayCode" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "1212", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "1213", - "fixed": false, - "raw": "Payment method (gateway) code" - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "1214", - "fixed": false, - "raw": "gatewayCode" - }, - "serializedName": "gatewayCode", - "modelType": { - "$id": "1215", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "1216", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - }, - { - "$id": "1217", - "isReadOnly": false, - "realPath": [ - "paymentMethod" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "1218", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "1219", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "1220", - "fixed": false, - "raw": "paymentMethod" - }, - "serializedName": "paymentMethod", - "modelType": { - "$ref": "591" - } - }, - { - "$id": "1221", - "isReadOnly": false, - "realPath": [ - "organizationId" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "1222", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "1223", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "1224", - "fixed": false, - "raw": "organizationId" - }, - "serializedName": "organizationId", - "modelType": { - "$id": "1225", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "1226", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - }, - { - "$id": "1227", - "isReadOnly": false, - "realPath": [ - "organizationName" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "1228", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "1229", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "1230", - "fixed": false, - "raw": "organizationName" - }, - "serializedName": "organizationName", - "modelType": { - "$id": "1231", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "1232", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - }, - { - "$id": "1233", - "isReadOnly": false, - "realPath": [ - "customerId" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "1234", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "1235", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "1236", - "fixed": false, - "raw": "customerId" - }, - "serializedName": "customerId", - "modelType": { - "$id": "1237", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "1238", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - }, - { - "$id": "1239", - "isReadOnly": false, - "realPath": [ - "customerName" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "1240", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "1241", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "1242", - "fixed": false, - "raw": "customerName" - }, - "serializedName": "customerName", - "modelType": { - "$id": "1243", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "1244", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - }, - { - "$id": "1245", - "isReadOnly": false, - "realPath": [ - "incomingDate" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "1246", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "1247", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "1248", - "fixed": false, - "raw": "incomingDate" - }, - "serializedName": "incomingDate", - "modelType": { - "$id": "1249", - "$type": "PrimaryType", - "format": "date-time", - "knownPrimaryType": "dateTime", - "name": { - "$id": "1250", - "fixed": false, - "raw": "DateTime" - }, - "deprecated": false - } - }, - { - "$id": "1251", - "isReadOnly": false, - "realPath": [ - "billingAddress" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "1252", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "1253", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "1254", - "fixed": false, - "raw": "billingAddress" - }, - "serializedName": "billingAddress", - "modelType": { - "$ref": "363" - } - }, - { - "$id": "1255", - "isReadOnly": false, - "realPath": [ - "paymentStatus" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "1256", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "1257", - "fixed": false - }, - "extensions": { - "x-ms-metadata": { - "apiVersions": [ - "v1" - ], - "filename": [ - "mem:///104?oai3.shaken.json" - ], - "name": "PaymentStatus", - "originalLocations": [ - "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/schemas/PaymentStatus" - ] - } - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "1258", - "fixed": false, - "raw": "paymentStatus" - }, - "serializedName": "paymentStatus", - "modelType": { - "$id": "1259", - "$type": "EnumType", - "values": [ - { - "$id": "1260", - "name": "New", - "serializedName": "New" - }, - { - "$id": "1261", - "name": "Pending", - "serializedName": "Pending" - }, - { - "$id": "1262", - "name": "Authorized", - "serializedName": "Authorized" - }, - { - "$id": "1263", - "name": "Paid", - "serializedName": "Paid" - }, - { - "$id": "1264", - "name": "PartiallyRefunded", - "serializedName": "PartiallyRefunded" - }, - { - "$id": "1265", - "name": "Refunded", - "serializedName": "Refunded" - }, - { - "$id": "1266", - "name": "Voided", - "serializedName": "Voided" - }, - { - "$id": "1267", - "name": "Custom", - "serializedName": "Custom" - }, - { - "$id": "1268", - "name": "Cancelled", - "serializedName": "Cancelled" - }, - { - "$id": "1269", - "name": "Declined", - "serializedName": "Declined" - }, - { - "$id": "1270", - "name": "Error", - "serializedName": "Error" - } - ], - "oldModelAsString": false, - "modelAsString": true, - "underlyingType": { - "$id": "1271", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "1272", - "fixed": false, - "raw": "String" - }, - "deprecated": false - }, - "name": { - "$id": "1273", - "fixed": false, - "raw": "" - }, - "deprecated": false - } - }, - { - "$id": "1274", - "isReadOnly": false, - "realPath": [ - "authorizedDate" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "1275", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "1276", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "1277", - "fixed": false, - "raw": "authorizedDate" - }, - "serializedName": "authorizedDate", - "modelType": { - "$id": "1278", - "$type": "PrimaryType", - "format": "date-time", - "knownPrimaryType": "dateTime", - "name": { - "$id": "1279", - "fixed": false, - "raw": "DateTime" - }, - "deprecated": false - } - }, - { - "$id": "1280", - "isReadOnly": false, - "realPath": [ - "capturedDate" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "1281", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "1282", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "1283", - "fixed": false, - "raw": "capturedDate" - }, - "serializedName": "capturedDate", - "modelType": { - "$id": "1284", - "$type": "PrimaryType", - "format": "date-time", - "knownPrimaryType": "dateTime", - "name": { - "$id": "1285", - "fixed": false, - "raw": "DateTime" - }, - "deprecated": false - } - }, - { - "$id": "1286", - "isReadOnly": false, - "realPath": [ - "voidedDate" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "1287", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "1288", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "1289", - "fixed": false, - "raw": "voidedDate" - }, - "serializedName": "voidedDate", - "modelType": { - "$id": "1290", - "$type": "PrimaryType", - "format": "date-time", - "knownPrimaryType": "dateTime", - "name": { - "$id": "1291", - "fixed": false, - "raw": "DateTime" - }, - "deprecated": false - } - }, - { - "$id": "1292", - "isReadOnly": false, - "realPath": [ - "processPaymentResult" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "1293", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "1294", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "1295", - "fixed": false, - "raw": "processPaymentResult" - }, - "serializedName": "processPaymentResult", - "modelType": { - "$ref": "743" - } - }, - { - "$id": "1296", - "isReadOnly": false, - "realPath": [ - "price" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "1297", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "1298", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "1299", - "fixed": false, - "raw": "price" - }, - "serializedName": "price", - "modelType": { - "$id": "1300", - "$type": "PrimaryType", - "format": "double", - "knownPrimaryType": "double", - "name": { - "$id": "1301", - "fixed": false, - "raw": "Double" - }, - "deprecated": false - } - }, - { - "$id": "1302", - "isReadOnly": false, - "realPath": [ - "priceWithTax" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "1303", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "1304", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "1305", - "fixed": false, - "raw": "priceWithTax" - }, - "serializedName": "priceWithTax", - "modelType": { - "$id": "1306", - "$type": "PrimaryType", - "format": "double", - "knownPrimaryType": "double", - "name": { - "$id": "1307", - "fixed": false, - "raw": "Double" - }, - "deprecated": false - } - }, - { - "$id": "1308", - "isReadOnly": false, - "realPath": [ - "total" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "1309", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "1310", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "1311", - "fixed": false, - "raw": "total" - }, - "serializedName": "total", - "modelType": { - "$id": "1312", - "$type": "PrimaryType", - "format": "double", - "knownPrimaryType": "double", - "name": { - "$id": "1313", - "fixed": false, - "raw": "Double" - }, - "deprecated": false - } - }, - { - "$id": "1314", - "isReadOnly": false, - "realPath": [ - "totalWithTax" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "1315", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "1316", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "1317", - "fixed": false, - "raw": "totalWithTax" - }, - "serializedName": "totalWithTax", - "modelType": { - "$id": "1318", - "$type": "PrimaryType", - "format": "double", - "knownPrimaryType": "double", - "name": { - "$id": "1319", - "fixed": false, - "raw": "Double" - }, - "deprecated": false - } - }, - { - "$id": "1320", - "isReadOnly": false, - "realPath": [ - "discountAmount" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "1321", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "1322", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "1323", - "fixed": false, - "raw": "discountAmount" - }, - "serializedName": "discountAmount", - "modelType": { - "$id": "1324", - "$type": "PrimaryType", - "format": "double", - "knownPrimaryType": "double", - "name": { - "$id": "1325", - "fixed": false, - "raw": "Double" - }, - "deprecated": false - } - }, - { - "$id": "1326", - "isReadOnly": false, - "realPath": [ - "discountAmountWithTax" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "1327", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "1328", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "1329", - "fixed": false, - "raw": "discountAmountWithTax" - }, - "serializedName": "discountAmountWithTax", - "modelType": { - "$id": "1330", - "$type": "PrimaryType", - "format": "double", - "knownPrimaryType": "double", - "name": { - "$id": "1331", - "fixed": false, - "raw": "Double" - }, - "deprecated": false - } - }, - { - "$id": "1332", - "isReadOnly": false, - "realPath": [ - "objectType" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "1333", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "1334", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "1335", - "fixed": false, - "raw": "objectType" - }, - "serializedName": "objectType", - "modelType": { - "$id": "1336", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "1337", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - }, - { - "$id": "1338", - "isReadOnly": false, - "realPath": [ - "taxType" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "1339", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "1340", - "fixed": false, - "raw": "Tax category or type" - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "1341", - "fixed": false, - "raw": "taxType" - }, - "serializedName": "taxType", - "modelType": { - "$id": "1342", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "1343", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - }, - { - "$id": "1344", - "isReadOnly": false, - "realPath": [ - "taxTotal" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "1345", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "1346", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "1347", - "fixed": false, - "raw": "taxTotal" - }, - "serializedName": "taxTotal", - "modelType": { - "$id": "1348", - "$type": "PrimaryType", - "format": "double", - "knownPrimaryType": "double", - "name": { - "$id": "1349", - "fixed": false, - "raw": "Double" - }, - "deprecated": false - } - }, - { - "$id": "1350", - "isReadOnly": false, - "realPath": [ - "taxPercentRate" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "1351", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "1352", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "1353", - "fixed": false, - "raw": "taxPercentRate" - }, - "serializedName": "taxPercentRate", - "modelType": { - "$id": "1354", - "$type": "PrimaryType", - "format": "double", - "knownPrimaryType": "double", - "name": { - "$id": "1355", - "fixed": false, - "raw": "Double" - }, - "deprecated": false - } - }, - { - "$id": "1356", - "isReadOnly": false, - "realPath": [ - "taxDetails" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "1357", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "1358", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "1359", - "fixed": false, - "raw": "taxDetails" - }, - "serializedName": "taxDetails", - "modelType": { - "$id": "1360", - "$type": "SequenceType", - "elementType": { - "$ref": "571" - }, - "name": { - "$id": "1361", - "fixed": false - }, - "deprecated": false - } - }, - { - "$id": "1362", - "isReadOnly": false, - "realPath": [ - "discounts" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "1363", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "1364", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "1365", - "fixed": false, - "raw": "discounts" - }, - "serializedName": "discounts", - "modelType": { - "$id": "1366", - "$type": "SequenceType", - "elementType": { - "$ref": "798" - }, - "name": { - "$id": "1367", - "fixed": false - }, - "deprecated": false - } - }, - { - "$id": "1368", - "isReadOnly": false, - "realPath": [ - "transactions" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "1369", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "1370", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "1371", - "fixed": false, - "raw": "transactions" - }, - "serializedName": "transactions", - "modelType": { - "$id": "1372", - "$type": "SequenceType", - "elementType": { - "$ref": "842" - }, - "name": { - "$id": "1373", - "fixed": false - }, - "deprecated": false - } - }, - { - "$id": "1374", - "isReadOnly": false, - "realPath": [ - "operationType" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "1375", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "1376", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "1377", - "fixed": false, - "raw": "operationType" - }, - "serializedName": "operationType", - "modelType": { - "$id": "1378", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "1379", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - }, - { - "$id": "1380", - "isReadOnly": false, - "realPath": [ - "parentOperationId" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "1381", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "1382", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "1383", - "fixed": false, - "raw": "parentOperationId" - }, - "serializedName": "parentOperationId", - "modelType": { - "$id": "1384", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "1385", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - }, - { - "$id": "1386", - "isReadOnly": false, - "realPath": [ - "number" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "1387", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "1388", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "1389", - "fixed": false, - "raw": "number" - }, - "serializedName": "number", - "modelType": { - "$id": "1390", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "1391", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - }, - { - "$id": "1392", - "isReadOnly": false, - "realPath": [ - "isApproved" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "1393", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "1394", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "1395", - "fixed": false, - "raw": "isApproved" - }, - "serializedName": "isApproved", - "modelType": { - "$id": "1396", - "$type": "PrimaryType", - "knownPrimaryType": "boolean", - "name": { - "$id": "1397", - "fixed": false, - "raw": "Boolean" - }, - "deprecated": false - } - }, - { - "$id": "1398", - "isReadOnly": false, - "realPath": [ - "status" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "1399", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "1400", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "1401", - "fixed": false, - "raw": "status" - }, - "serializedName": "status", - "modelType": { - "$id": "1402", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "1403", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - }, - { - "$id": "1404", - "isReadOnly": false, - "realPath": [ - "comment" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "1405", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "1406", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "1407", - "fixed": false, - "raw": "comment" - }, - "serializedName": "comment", - "modelType": { - "$id": "1408", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "1409", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - }, - { - "$id": "1410", - "isReadOnly": false, - "realPath": [ - "currency" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "1411", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "1412", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "1413", - "fixed": false, - "raw": "currency" - }, - "serializedName": "currency", - "modelType": { - "$id": "1414", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "1415", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - }, - { - "$id": "1416", - "isReadOnly": false, - "realPath": [ - "sum" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "1417", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "1418", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "1419", - "fixed": false, - "raw": "sum" - }, - "serializedName": "sum", - "modelType": { - "$id": "1420", - "$type": "PrimaryType", - "format": "double", - "knownPrimaryType": "double", - "name": { - "$id": "1421", - "fixed": false, - "raw": "Double" - }, - "deprecated": false - } - }, - { - "$id": "1422", - "isReadOnly": false, - "realPath": [ - "outerId" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "1423", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "1424", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "1425", - "fixed": false, - "raw": "outerId" - }, - "serializedName": "outerId", - "modelType": { - "$id": "1426", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "1427", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - }, - { - "$id": "1428", - "isReadOnly": false, - "realPath": [ - "isCancelled" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "1429", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "1430", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "1431", - "fixed": false, - "raw": "isCancelled" - }, - "serializedName": "isCancelled", - "modelType": { - "$id": "1432", - "$type": "PrimaryType", - "knownPrimaryType": "boolean", - "name": { - "$id": "1433", - "fixed": false, - "raw": "Boolean" - }, - "deprecated": false - } - }, - { - "$id": "1434", - "isReadOnly": false, - "realPath": [ - "cancelledDate" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "1435", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "1436", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "1437", - "fixed": false, - "raw": "cancelledDate" - }, - "serializedName": "cancelledDate", - "modelType": { - "$id": "1438", - "$type": "PrimaryType", - "format": "date-time", - "knownPrimaryType": "dateTime", - "name": { - "$id": "1439", - "fixed": false, - "raw": "DateTime" - }, - "deprecated": false - } - }, - { - "$id": "1440", - "isReadOnly": false, - "realPath": [ - "cancelReason" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "1441", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "1442", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "1443", - "fixed": false, - "raw": "cancelReason" - }, - "serializedName": "cancelReason", - "modelType": { - "$id": "1444", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "1445", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - }, - { - "$id": "1446", - "isReadOnly": false, - "realPath": [ - "dynamicProperties" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "1447", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "1448", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "1449", - "fixed": false, - "raw": "dynamicProperties" - }, - "serializedName": "dynamicProperties", - "modelType": { - "$id": "1450", - "$type": "SequenceType", - "elementType": { - "$ref": "1083" - }, - "name": { - "$id": "1451", - "fixed": false - }, - "deprecated": false - } - }, - { - "$id": "1452", - "isReadOnly": false, - "realPath": [ - "operationsLog" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "1453", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "1454", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "1455", - "fixed": false, - "raw": "operationsLog" - }, - "serializedName": "operationsLog", - "modelType": { - "$id": "1456", - "$type": "SequenceType", - "elementType": { - "$ref": "2" - }, - "name": { - "$id": "1457", - "fixed": false - }, - "deprecated": false - } - }, - { - "$id": "1458", - "isReadOnly": false, - "realPath": [ - "createdDate" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "1459", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "1460", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "1461", - "fixed": false, - "raw": "createdDate" - }, - "serializedName": "createdDate", - "modelType": { - "$id": "1462", - "$type": "PrimaryType", - "format": "date-time", - "knownPrimaryType": "dateTime", - "name": { - "$id": "1463", - "fixed": false, - "raw": "DateTime" - }, - "deprecated": false - } - }, - { - "$id": "1464", - "isReadOnly": false, - "realPath": [ - "modifiedDate" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "1465", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "1466", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "1467", - "fixed": false, - "raw": "modifiedDate" - }, - "serializedName": "modifiedDate", - "modelType": { - "$id": "1468", - "$type": "PrimaryType", - "format": "date-time", - "knownPrimaryType": "dateTime", - "name": { - "$id": "1469", - "fixed": false, - "raw": "DateTime" - }, - "deprecated": false - } - }, - { - "$id": "1470", - "isReadOnly": false, - "realPath": [ - "createdBy" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "1471", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "1472", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "1473", - "fixed": false, - "raw": "createdBy" - }, - "serializedName": "createdBy", - "modelType": { - "$id": "1474", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "1475", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - }, - { - "$id": "1476", - "isReadOnly": false, - "realPath": [ - "modifiedBy" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "1477", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "1478", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "1479", - "fixed": false, - "raw": "modifiedBy" - }, - "serializedName": "modifiedBy", - "modelType": { - "$id": "1480", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "1481", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - }, - { - "$id": "1482", - "isReadOnly": false, - "realPath": [ - "id" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "1483", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "1484", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "1485", - "fixed": false, - "raw": "id" - }, - "serializedName": "id", - "modelType": { - "$id": "1486", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "1487", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - } - ], - "serializedName": "PaymentIn", - "containsConstantProperties": false, - "name": { - "$id": "1488", - "fixed": false, - "raw": "PaymentIn" - }, - "extensions": { - "x-ms-metadata": { - "apiVersions": [ - "v1" - ], - "filename": [ - "mem:///104?oai3.shaken.json" - ], - "name": "PaymentIn", - "originalLocations": [ - "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/schemas/PaymentIn" - ] - } - }, - "deprecated": false - }, - { - "$id": "1489", - "$type": "CompositeType", - "properties": [ - { - "$id": "1490", - "isReadOnly": false, - "realPath": [ - "configuredGroupId" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "1491", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "1492", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "1493", - "fixed": false, - "raw": "configuredGroupId" - }, - "serializedName": "configuredGroupId", - "modelType": { - "$id": "1494", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "1495", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - }, - { - "$id": "1496", - "isReadOnly": false, - "realPath": [ - "priceId" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "1497", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "1498", - "fixed": false, - "raw": "Price id" - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "1499", - "fixed": false, - "raw": "priceId" - }, - "serializedName": "priceId", - "modelType": { - "$id": "1500", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "1501", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - }, - { - "$id": "1502", - "isReadOnly": false, - "realPath": [ - "currency" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "1503", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "1504", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "1505", - "fixed": false, - "raw": "currency" - }, - "serializedName": "currency", - "modelType": { - "$id": "1506", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "1507", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - }, - { - "$id": "1508", - "isReadOnly": false, - "realPath": [ - "price" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "1509", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "1510", - "fixed": false, - "raw": "unit price without discount and tax" - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "1511", - "fixed": false, - "raw": "price" - }, - "serializedName": "price", - "modelType": { - "$id": "1512", - "$type": "PrimaryType", - "format": "double", - "knownPrimaryType": "double", - "name": { - "$id": "1513", - "fixed": false, - "raw": "Double" - }, - "deprecated": false - } - }, - { - "$id": "1514", - "isReadOnly": false, - "realPath": [ - "priceWithTax" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "1515", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "1516", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "1517", - "fixed": false, - "raw": "priceWithTax" - }, - "serializedName": "priceWithTax", - "modelType": { - "$id": "1518", - "$type": "PrimaryType", - "format": "double", - "knownPrimaryType": "double", - "name": { - "$id": "1519", - "fixed": false, - "raw": "Double" - }, - "deprecated": false - } - }, - { - "$id": "1520", - "isReadOnly": false, - "realPath": [ - "placedPrice" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "1521", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "1522", - "fixed": false, - "raw": "Resulting price with discount for one unit" - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "1523", - "fixed": false, - "raw": "placedPrice" - }, - "serializedName": "placedPrice", - "modelType": { - "$id": "1524", - "$type": "PrimaryType", - "format": "double", - "knownPrimaryType": "double", - "name": { - "$id": "1525", - "fixed": false, - "raw": "Double" - }, - "deprecated": false - } - }, - { - "$id": "1526", - "isReadOnly": false, - "realPath": [ - "placedPriceWithTax" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "1527", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "1528", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "1529", - "fixed": false, - "raw": "placedPriceWithTax" - }, - "serializedName": "placedPriceWithTax", - "modelType": { - "$id": "1530", - "$type": "PrimaryType", - "format": "double", - "knownPrimaryType": "double", - "name": { - "$id": "1531", - "fixed": false, - "raw": "Double" - }, - "deprecated": false - } - }, - { - "$id": "1532", - "isReadOnly": false, - "realPath": [ - "extendedPrice" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "1533", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "1534", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "1535", - "fixed": false, - "raw": "extendedPrice" - }, - "serializedName": "extendedPrice", - "modelType": { - "$id": "1536", - "$type": "PrimaryType", - "format": "double", - "knownPrimaryType": "double", - "name": { - "$id": "1537", - "fixed": false, - "raw": "Double" - }, - "deprecated": false - } - }, - { - "$id": "1538", - "isReadOnly": false, - "realPath": [ - "extendedPriceWithTax" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "1539", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "1540", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "1541", - "fixed": false, - "raw": "extendedPriceWithTax" - }, - "serializedName": "extendedPriceWithTax", - "modelType": { - "$id": "1542", - "$type": "PrimaryType", - "format": "double", - "knownPrimaryType": "double", - "name": { - "$id": "1543", - "fixed": false, - "raw": "Double" - }, - "deprecated": false - } - }, - { - "$id": "1544", - "isReadOnly": false, - "realPath": [ - "discountAmount" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "1545", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "1546", - "fixed": false, - "raw": "Gets the value of the single qty line item discount amount" - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "1547", - "fixed": false, - "raw": "discountAmount" - }, - "serializedName": "discountAmount", - "modelType": { - "$id": "1548", - "$type": "PrimaryType", - "format": "double", - "knownPrimaryType": "double", - "name": { - "$id": "1549", - "fixed": false, - "raw": "Double" - }, - "deprecated": false - } - }, - { - "$id": "1550", - "isReadOnly": false, - "realPath": [ - "discountAmountWithTax" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "1551", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "1552", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "1553", - "fixed": false, - "raw": "discountAmountWithTax" - }, - "serializedName": "discountAmountWithTax", - "modelType": { - "$id": "1554", - "$type": "PrimaryType", - "format": "double", - "knownPrimaryType": "double", - "name": { - "$id": "1555", - "fixed": false, - "raw": "Double" - }, - "deprecated": false - } - }, - { - "$id": "1556", - "isReadOnly": false, - "realPath": [ - "discountTotal" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "1557", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "1558", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "1559", - "fixed": false, - "raw": "discountTotal" - }, - "serializedName": "discountTotal", - "modelType": { - "$id": "1560", - "$type": "PrimaryType", - "format": "double", - "knownPrimaryType": "double", - "name": { - "$id": "1561", - "fixed": false, - "raw": "Double" - }, - "deprecated": false - } - }, - { - "$id": "1562", - "isReadOnly": false, - "realPath": [ - "discountTotalWithTax" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "1563", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "1564", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "1565", - "fixed": false, - "raw": "discountTotalWithTax" - }, - "serializedName": "discountTotalWithTax", - "modelType": { - "$id": "1566", - "$type": "PrimaryType", - "format": "double", - "knownPrimaryType": "double", - "name": { - "$id": "1567", - "fixed": false, - "raw": "Double" - }, - "deprecated": false - } - }, - { - "$id": "1568", - "isReadOnly": false, - "realPath": [ - "fee" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "1569", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "1570", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "1571", - "fixed": false, - "raw": "fee" - }, - "serializedName": "fee", - "modelType": { - "$id": "1572", - "$type": "PrimaryType", - "format": "double", - "knownPrimaryType": "double", - "name": { - "$id": "1573", - "fixed": false, - "raw": "Double" - }, - "deprecated": false - } - }, - { - "$id": "1574", - "isReadOnly": false, - "realPath": [ - "feeWithTax" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "1575", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "1576", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "1577", - "fixed": false, - "raw": "feeWithTax" - }, - "serializedName": "feeWithTax", - "modelType": { - "$id": "1578", - "$type": "PrimaryType", - "format": "double", - "knownPrimaryType": "double", - "name": { - "$id": "1579", - "fixed": false, - "raw": "Double" - }, - "deprecated": false - } - }, - { - "$id": "1580", - "isReadOnly": false, - "realPath": [ - "taxType" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "1581", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "1582", - "fixed": false, - "raw": "Tax category or type" - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "1583", - "fixed": false, - "raw": "taxType" - }, - "serializedName": "taxType", - "modelType": { - "$id": "1584", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "1585", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - }, - { - "$id": "1586", - "isReadOnly": false, - "realPath": [ - "taxTotal" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "1587", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "1588", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "1589", - "fixed": false, - "raw": "taxTotal" - }, - "serializedName": "taxTotal", - "modelType": { - "$id": "1590", - "$type": "PrimaryType", - "format": "double", - "knownPrimaryType": "double", - "name": { - "$id": "1591", - "fixed": false, - "raw": "Double" - }, - "deprecated": false - } - }, - { - "$id": "1592", - "isReadOnly": false, - "realPath": [ - "taxPercentRate" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "1593", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "1594", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "1595", - "fixed": false, - "raw": "taxPercentRate" - }, - "serializedName": "taxPercentRate", - "modelType": { - "$id": "1596", - "$type": "PrimaryType", - "format": "double", - "knownPrimaryType": "double", - "name": { - "$id": "1597", - "fixed": false, - "raw": "Double" - }, - "deprecated": false - } - }, - { - "$id": "1598", - "isReadOnly": false, - "realPath": [ - "reserveQuantity" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "1599", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "1600", - "fixed": false, - "raw": "Reserve quantity" - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "1601", - "fixed": false, - "raw": "reserveQuantity" - }, - "serializedName": "reserveQuantity", - "modelType": { - "$id": "1602", - "$type": "PrimaryType", - "format": "int32", - "knownPrimaryType": "int", - "name": { - "$id": "1603", - "fixed": false, - "raw": "Int" - }, - "deprecated": false - } - }, - { - "$id": "1604", - "isReadOnly": false, - "realPath": [ - "quantity" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "1605", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "1606", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "1607", - "fixed": false, - "raw": "quantity" - }, - "serializedName": "quantity", - "modelType": { - "$id": "1608", - "$type": "PrimaryType", - "format": "int32", - "knownPrimaryType": "int", - "name": { - "$id": "1609", - "fixed": false, - "raw": "Int" - }, - "deprecated": false - } - }, - { - "$id": "1610", - "isReadOnly": false, - "realPath": [ - "productId" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "1611", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "1612", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "1613", - "fixed": false, - "raw": "productId" - }, - "serializedName": "productId", - "modelType": { - "$id": "1614", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "1615", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - }, - { - "$id": "1616", - "isReadOnly": false, - "realPath": [ - "sku" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "1617", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "1618", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "1619", - "fixed": false, - "raw": "sku" - }, - "serializedName": "sku", - "modelType": { - "$id": "1620", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "1621", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - }, - { - "$id": "1622", - "isReadOnly": false, - "realPath": [ - "productType" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "1623", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "1624", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "1625", - "fixed": false, - "raw": "productType" - }, - "serializedName": "productType", - "modelType": { - "$id": "1626", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "1627", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - }, - { - "$id": "1628", - "isReadOnly": false, - "realPath": [ - "catalogId" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "1629", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "1630", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "1631", - "fixed": false, - "raw": "catalogId" - }, - "serializedName": "catalogId", - "modelType": { - "$id": "1632", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "1633", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - }, - { - "$id": "1634", - "isReadOnly": false, - "realPath": [ - "categoryId" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "1635", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "1636", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "1637", - "fixed": false, - "raw": "categoryId" - }, - "serializedName": "categoryId", - "modelType": { - "$id": "1638", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "1639", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - }, - { - "$id": "1640", - "isReadOnly": false, - "realPath": [ - "name" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "1641", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "1642", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "1643", - "fixed": false, - "raw": "name" - }, - "serializedName": "name", - "modelType": { - "$id": "1644", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "1645", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - }, - { - "$id": "1646", - "isReadOnly": false, - "realPath": [ - "comment" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "1647", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "1648", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "1649", - "fixed": false, - "raw": "comment" - }, - "serializedName": "comment", - "modelType": { - "$id": "1650", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "1651", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - }, - { - "$id": "1652", - "isReadOnly": false, - "realPath": [ - "imageUrl" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "1653", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "1654", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "1655", - "fixed": false, - "raw": "imageUrl" - }, - "serializedName": "imageUrl", - "modelType": { - "$id": "1656", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "1657", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - }, - { - "$id": "1658", - "isReadOnly": false, - "realPath": [ - "isGift" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "1659", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "1660", - "fixed": false - }, - "extensions": { - "x-nullable": true - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "1661", - "fixed": false, - "raw": "isGift" - }, - "serializedName": "isGift", - "modelType": { - "$id": "1662", - "$type": "PrimaryType", - "knownPrimaryType": "boolean", - "name": { - "$id": "1663", - "fixed": false, - "raw": "Boolean" - }, - "deprecated": false - } - }, - { - "$id": "1664", - "isReadOnly": false, - "realPath": [ - "shippingMethodCode" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "1665", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "1666", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "1667", - "fixed": false, - "raw": "shippingMethodCode" - }, - "serializedName": "shippingMethodCode", - "modelType": { - "$id": "1668", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "1669", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - }, - { - "$id": "1670", - "isReadOnly": false, - "realPath": [ - "fulfillmentLocationCode" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "1671", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "1672", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "1673", - "fixed": false, - "raw": "fulfillmentLocationCode" - }, - "serializedName": "fulfillmentLocationCode", - "modelType": { - "$id": "1674", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "1675", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - }, - { - "$id": "1676", - "isReadOnly": false, - "realPath": [ - "fulfillmentCenterId" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "1677", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "1678", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "1679", - "fixed": false, - "raw": "fulfillmentCenterId" - }, - "serializedName": "fulfillmentCenterId", - "modelType": { - "$id": "1680", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "1681", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - }, - { - "$id": "1682", - "isReadOnly": false, - "realPath": [ - "fulfillmentCenterName" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "1683", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "1684", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "1685", - "fixed": false, - "raw": "fulfillmentCenterName" - }, - "serializedName": "fulfillmentCenterName", - "modelType": { - "$id": "1686", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "1687", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - }, - { - "$id": "1688", - "isReadOnly": false, - "realPath": [ - "outerId" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "1689", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "1690", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "1691", - "fixed": false, - "raw": "outerId" - }, - "serializedName": "outerId", - "modelType": { - "$id": "1692", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "1693", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - }, - { - "$id": "1694", - "isReadOnly": false, - "realPath": [ - "weightUnit" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "1695", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "1696", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "1697", - "fixed": false, - "raw": "weightUnit" - }, - "serializedName": "weightUnit", - "modelType": { - "$id": "1698", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "1699", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - }, - { - "$id": "1700", - "isReadOnly": false, - "realPath": [ - "weight" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "1701", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "1702", - "fixed": false - }, - "extensions": { - "x-nullable": true - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "1703", - "fixed": false, - "raw": "weight" - }, - "serializedName": "weight", - "modelType": { - "$id": "1704", - "$type": "PrimaryType", - "format": "double", - "knownPrimaryType": "double", - "name": { - "$id": "1705", - "fixed": false, - "raw": "Double" - }, - "deprecated": false - } - }, - { - "$id": "1706", - "isReadOnly": false, - "realPath": [ - "measureUnit" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "1707", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "1708", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "1709", - "fixed": false, - "raw": "measureUnit" - }, - "serializedName": "measureUnit", - "modelType": { - "$id": "1710", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "1711", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - }, - { - "$id": "1712", - "isReadOnly": false, - "realPath": [ - "height" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "1713", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "1714", - "fixed": false - }, - "extensions": { - "x-nullable": true - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "1715", - "fixed": false, - "raw": "height" - }, - "serializedName": "height", - "modelType": { - "$id": "1716", - "$type": "PrimaryType", - "format": "double", - "knownPrimaryType": "double", - "name": { - "$id": "1717", - "fixed": false, - "raw": "Double" - }, - "deprecated": false - } - }, - { - "$id": "1718", - "isReadOnly": false, - "realPath": [ - "length" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "1719", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "1720", - "fixed": false - }, - "extensions": { - "x-nullable": true - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "1721", - "fixed": false, - "raw": "length" - }, - "serializedName": "length", - "modelType": { - "$id": "1722", - "$type": "PrimaryType", - "format": "double", - "knownPrimaryType": "double", - "name": { - "$id": "1723", - "fixed": false, - "raw": "Double" - }, - "deprecated": false - } - }, - { - "$id": "1724", - "isReadOnly": false, - "realPath": [ - "width" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "1725", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "1726", - "fixed": false - }, - "extensions": { - "x-nullable": true - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "1727", - "fixed": false, - "raw": "width" - }, - "serializedName": "width", - "modelType": { - "$id": "1728", - "$type": "PrimaryType", - "format": "double", - "knownPrimaryType": "double", - "name": { - "$id": "1729", - "fixed": false, - "raw": "Double" - }, - "deprecated": false - } - }, - { - "$id": "1730", - "isReadOnly": false, - "realPath": [ - "isCancelled" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "1731", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "1732", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "1733", - "fixed": false, - "raw": "isCancelled" - }, - "serializedName": "isCancelled", - "modelType": { - "$id": "1734", - "$type": "PrimaryType", - "knownPrimaryType": "boolean", - "name": { - "$id": "1735", - "fixed": false, - "raw": "Boolean" - }, - "deprecated": false - } - }, - { - "$id": "1736", - "isReadOnly": false, - "realPath": [ - "cancelledDate" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "1737", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "1738", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "1739", - "fixed": false, - "raw": "cancelledDate" - }, - "serializedName": "cancelledDate", - "modelType": { - "$id": "1740", - "$type": "PrimaryType", - "format": "date-time", - "knownPrimaryType": "dateTime", - "name": { - "$id": "1741", - "fixed": false, - "raw": "DateTime" - }, - "deprecated": false - } - }, - { - "$id": "1742", - "isReadOnly": false, - "realPath": [ - "cancelReason" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "1743", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "1744", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "1745", - "fixed": false, - "raw": "cancelReason" - }, - "serializedName": "cancelReason", - "modelType": { - "$id": "1746", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "1747", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - }, - { - "$id": "1748", - "isReadOnly": true, - "realPath": [ - "objectType" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "1749", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "1750", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "1751", - "fixed": false, - "raw": "objectType" - }, - "serializedName": "objectType", - "modelType": { - "$id": "1752", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "1753", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - }, - { - "$id": "1754", - "isReadOnly": false, - "realPath": [ - "dynamicProperties" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "1755", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "1756", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "1757", - "fixed": false, - "raw": "dynamicProperties" - }, - "serializedName": "dynamicProperties", - "modelType": { - "$id": "1758", - "$type": "SequenceType", - "elementType": { - "$ref": "1083" - }, - "name": { - "$id": "1759", - "fixed": false - }, - "deprecated": false - } - }, - { - "$id": "1760", - "isReadOnly": false, - "realPath": [ - "discounts" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "1761", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "1762", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "1763", - "fixed": false, - "raw": "discounts" - }, - "serializedName": "discounts", - "modelType": { - "$id": "1764", - "$type": "SequenceType", - "elementType": { - "$ref": "798" - }, - "name": { - "$id": "1765", - "fixed": false - }, - "deprecated": false - } - }, - { - "$id": "1766", - "isReadOnly": false, - "realPath": [ - "taxDetails" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "1767", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "1768", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "1769", - "fixed": false, - "raw": "taxDetails" - }, - "serializedName": "taxDetails", - "modelType": { - "$id": "1770", - "$type": "SequenceType", - "elementType": { - "$ref": "571" - }, - "name": { - "$id": "1771", - "fixed": false - }, - "deprecated": false - } - }, - { - "$id": "1772", - "isReadOnly": false, - "realPath": [ - "createdDate" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "1773", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "1774", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "1775", - "fixed": false, - "raw": "createdDate" - }, - "serializedName": "createdDate", - "modelType": { - "$id": "1776", - "$type": "PrimaryType", - "format": "date-time", - "knownPrimaryType": "dateTime", - "name": { - "$id": "1777", - "fixed": false, - "raw": "DateTime" - }, - "deprecated": false - } - }, - { - "$id": "1778", - "isReadOnly": false, - "realPath": [ - "modifiedDate" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "1779", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "1780", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "1781", - "fixed": false, - "raw": "modifiedDate" - }, - "serializedName": "modifiedDate", - "modelType": { - "$id": "1782", - "$type": "PrimaryType", - "format": "date-time", - "knownPrimaryType": "dateTime", - "name": { - "$id": "1783", - "fixed": false, - "raw": "DateTime" - }, - "deprecated": false - } - }, - { - "$id": "1784", - "isReadOnly": false, - "realPath": [ - "createdBy" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "1785", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "1786", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "1787", - "fixed": false, - "raw": "createdBy" - }, - "serializedName": "createdBy", - "modelType": { - "$id": "1788", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "1789", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - }, - { - "$id": "1790", - "isReadOnly": false, - "realPath": [ - "modifiedBy" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "1791", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "1792", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "1793", - "fixed": false, - "raw": "modifiedBy" - }, - "serializedName": "modifiedBy", - "modelType": { - "$id": "1794", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "1795", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - }, - { - "$id": "1796", - "isReadOnly": false, - "realPath": [ - "id" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "1797", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "1798", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "1799", - "fixed": false, - "raw": "id" - }, - "serializedName": "id", - "modelType": { - "$id": "1800", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "1801", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - } - ], - "serializedName": "OrderLineItem", - "containsConstantProperties": false, - "name": { - "$id": "1802", - "fixed": false, - "raw": "OrderLineItem" - }, - "extensions": { - "x-ms-metadata": { - "apiVersions": [ - "v1" - ], - "filename": [ - "mem:///104?oai3.shaken.json" - ], - "name": "OrderLineItem", - "originalLocations": [ - "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/schemas/OrderLineItem" - ] - } - }, - "deprecated": false - }, - { - "$id": "1803", - "$type": "CompositeType", - "properties": [ - { - "$id": "1804", - "isReadOnly": false, - "realPath": [ - "code" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "1805", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "1806", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "1807", - "fixed": false, - "raw": "code" - }, - "serializedName": "code", - "modelType": { - "$id": "1808", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "1809", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - }, - { - "$id": "1810", - "isReadOnly": true, - "realPath": [ - "name" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "1811", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "1812", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "1813", - "fixed": false, - "raw": "name" - }, - "serializedName": "name", - "modelType": { - "$id": "1814", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "1815", - "fixed": false, - "raw": "String" - }, - "deprecationMessage": "This type is deprecated. Please do not use it any longer.", - "deprecated": true - } - }, - { - "$id": "1816", - "isReadOnly": false, - "realPath": [ - "logoUrl" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "1817", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "1818", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "1819", - "fixed": false, - "raw": "logoUrl" - }, - "serializedName": "logoUrl", - "modelType": { - "$id": "1820", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "1821", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - }, - { - "$id": "1822", - "isReadOnly": false, - "realPath": [ - "isActive" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "1823", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "1824", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "1825", - "fixed": false, - "raw": "isActive" - }, - "serializedName": "isActive", - "modelType": { - "$id": "1826", - "$type": "PrimaryType", - "knownPrimaryType": "boolean", - "name": { - "$id": "1827", - "fixed": false, - "raw": "Boolean" - }, - "deprecated": false - } - }, - { - "$id": "1828", - "isReadOnly": false, - "realPath": [ - "priority" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "1829", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "1830", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "1831", - "fixed": false, - "raw": "priority" - }, - "serializedName": "priority", - "modelType": { - "$id": "1832", - "$type": "PrimaryType", - "format": "int32", - "knownPrimaryType": "int", - "name": { - "$id": "1833", - "fixed": false, - "raw": "Int" - }, - "deprecated": false - } - }, - { - "$id": "1834", - "isReadOnly": false, - "realPath": [ - "taxType" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "1835", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "1836", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "1837", - "fixed": false, - "raw": "taxType" - }, - "serializedName": "taxType", - "modelType": { - "$id": "1838", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "1839", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - }, - { - "$id": "1840", - "isReadOnly": false, - "realPath": [ - "storeId" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "1841", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "1842", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "1843", - "fixed": false, - "raw": "storeId" - }, - "serializedName": "storeId", - "modelType": { - "$id": "1844", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "1845", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - }, - { - "$id": "1846", - "isReadOnly": false, - "realPath": [ - "settings" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "1847", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "1848", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "1849", - "fixed": false, - "raw": "settings" - }, - "serializedName": "settings", - "modelType": { - "$id": "1850", - "$type": "SequenceType", - "elementType": { - "$ref": "479" - }, - "name": { - "$id": "1851", - "fixed": false - }, - "deprecated": false - } - }, - { - "$id": "1852", - "isReadOnly": true, - "realPath": [ - "typeName" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "1853", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "1854", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "1855", - "fixed": false, - "raw": "typeName" - }, - "serializedName": "typeName", - "modelType": { - "$id": "1856", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "1857", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - }, - { - "$id": "1858", - "isReadOnly": false, - "realPath": [ - "id" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "1859", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "1860", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "1861", - "fixed": false, - "raw": "id" - }, - "serializedName": "id", - "modelType": { - "$id": "1862", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "1863", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - } - ], - "serializedName": "ShippingMethod", - "containsConstantProperties": false, - "name": { - "$id": "1864", - "fixed": false, - "raw": "ShippingMethod" - }, - "extensions": { - "x-ms-metadata": { - "apiVersions": [ - "v1" - ], - "filename": [ - "mem:///104?oai3.shaken.json" - ], - "name": "ShippingMethod", - "originalLocations": [ - "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/schemas/ShippingMethod" - ] - } - }, - "deprecated": false - }, - { - "$id": "1865", - "$type": "CompositeType", - "properties": [ - { - "$id": "1866", - "isReadOnly": false, - "realPath": [ - "lineItemId" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "1867", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "1868", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "1869", - "fixed": false, - "raw": "lineItemId" - }, - "serializedName": "lineItemId", - "modelType": { - "$id": "1870", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "1871", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - }, - { - "$id": "1872", - "isReadOnly": false, - "realPath": [ - "lineItem" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "1873", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "1874", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "1875", - "fixed": false, - "raw": "lineItem" - }, - "serializedName": "lineItem", - "modelType": { - "$ref": "1489" - } - }, - { - "$id": "1876", - "isReadOnly": false, - "realPath": [ - "barCode" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "1877", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "1878", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "1879", - "fixed": false, - "raw": "barCode" - }, - "serializedName": "barCode", - "modelType": { - "$id": "1880", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "1881", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - }, - { - "$id": "1882", - "isReadOnly": false, - "realPath": [ - "quantity" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "1883", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "1884", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "1885", - "fixed": false, - "raw": "quantity" - }, - "serializedName": "quantity", - "modelType": { - "$id": "1886", - "$type": "PrimaryType", - "format": "int32", - "knownPrimaryType": "int", - "name": { - "$id": "1887", - "fixed": false, - "raw": "Int" - }, - "deprecated": false - } - }, - { - "$id": "1888", - "isReadOnly": false, - "realPath": [ - "outerId" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "1889", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "1890", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "1891", - "fixed": false, - "raw": "outerId" - }, - "serializedName": "outerId", - "modelType": { - "$id": "1892", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "1893", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - }, - { - "$id": "1894", - "isReadOnly": false, - "realPath": [ - "createdDate" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "1895", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "1896", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "1897", - "fixed": false, - "raw": "createdDate" - }, - "serializedName": "createdDate", - "modelType": { - "$id": "1898", - "$type": "PrimaryType", - "format": "date-time", - "knownPrimaryType": "dateTime", - "name": { - "$id": "1899", - "fixed": false, - "raw": "DateTime" - }, - "deprecated": false - } - }, - { - "$id": "1900", - "isReadOnly": false, - "realPath": [ - "modifiedDate" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "1901", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "1902", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "1903", - "fixed": false, - "raw": "modifiedDate" - }, - "serializedName": "modifiedDate", - "modelType": { - "$id": "1904", - "$type": "PrimaryType", - "format": "date-time", - "knownPrimaryType": "dateTime", - "name": { - "$id": "1905", - "fixed": false, - "raw": "DateTime" - }, - "deprecated": false - } - }, - { - "$id": "1906", - "isReadOnly": false, - "realPath": [ - "createdBy" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "1907", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "1908", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "1909", - "fixed": false, - "raw": "createdBy" - }, - "serializedName": "createdBy", - "modelType": { - "$id": "1910", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "1911", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - }, - { - "$id": "1912", - "isReadOnly": false, - "realPath": [ - "modifiedBy" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "1913", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "1914", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "1915", - "fixed": false, - "raw": "modifiedBy" - }, - "serializedName": "modifiedBy", - "modelType": { - "$id": "1916", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "1917", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - }, - { - "$id": "1918", - "isReadOnly": false, - "realPath": [ - "id" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "1919", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "1920", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "1921", - "fixed": false, - "raw": "id" - }, - "serializedName": "id", - "modelType": { - "$id": "1922", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "1923", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - } - ], - "serializedName": "OrderShipmentItem", - "containsConstantProperties": false, - "name": { - "$id": "1924", - "fixed": false, - "raw": "OrderShipmentItem" - }, - "extensions": { - "x-ms-metadata": { - "apiVersions": [ - "v1" - ], - "filename": [ - "mem:///104?oai3.shaken.json" - ], - "name": "OrderShipmentItem", - "originalLocations": [ - "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/schemas/OrderShipmentItem" - ] - } - }, - "deprecated": false - }, - { - "$id": "1925", - "$type": "CompositeType", - "properties": [ - { - "$id": "1926", - "isReadOnly": false, - "realPath": [ - "barCode" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "1927", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "1928", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "1929", - "fixed": false, - "raw": "barCode" - }, - "serializedName": "barCode", - "modelType": { - "$id": "1930", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "1931", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - }, - { - "$id": "1932", - "isReadOnly": false, - "realPath": [ - "packageType" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "1933", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "1934", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "1935", - "fixed": false, - "raw": "packageType" - }, - "serializedName": "packageType", - "modelType": { - "$id": "1936", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "1937", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - }, - { - "$id": "1938", - "isReadOnly": false, - "realPath": [ - "items" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "1939", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "1940", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "1941", - "fixed": false, - "raw": "items" - }, - "serializedName": "items", - "modelType": { - "$id": "1942", - "$type": "SequenceType", - "elementType": { - "$ref": "1865" - }, - "name": { - "$id": "1943", - "fixed": false - }, - "deprecated": false - } - }, - { - "$id": "1944", - "isReadOnly": false, - "realPath": [ - "weightUnit" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "1945", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "1946", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "1947", - "fixed": false, - "raw": "weightUnit" - }, - "serializedName": "weightUnit", - "modelType": { - "$id": "1948", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "1949", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - }, - { - "$id": "1950", - "isReadOnly": false, - "realPath": [ - "weight" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "1951", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "1952", - "fixed": false - }, - "extensions": { - "x-nullable": true - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "1953", - "fixed": false, - "raw": "weight" - }, - "serializedName": "weight", - "modelType": { - "$id": "1954", - "$type": "PrimaryType", - "format": "double", - "knownPrimaryType": "double", - "name": { - "$id": "1955", - "fixed": false, - "raw": "Double" - }, - "deprecated": false - } - }, - { - "$id": "1956", - "isReadOnly": false, - "realPath": [ - "measureUnit" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "1957", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "1958", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "1959", - "fixed": false, - "raw": "measureUnit" - }, - "serializedName": "measureUnit", - "modelType": { - "$id": "1960", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "1961", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - }, - { - "$id": "1962", - "isReadOnly": false, - "realPath": [ - "height" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "1963", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "1964", - "fixed": false - }, - "extensions": { - "x-nullable": true - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "1965", - "fixed": false, - "raw": "height" - }, - "serializedName": "height", - "modelType": { - "$id": "1966", - "$type": "PrimaryType", - "format": "double", - "knownPrimaryType": "double", - "name": { - "$id": "1967", - "fixed": false, - "raw": "Double" - }, - "deprecated": false - } - }, - { - "$id": "1968", - "isReadOnly": false, - "realPath": [ - "length" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "1969", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "1970", - "fixed": false - }, - "extensions": { - "x-nullable": true - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "1971", - "fixed": false, - "raw": "length" - }, - "serializedName": "length", - "modelType": { - "$id": "1972", - "$type": "PrimaryType", - "format": "double", - "knownPrimaryType": "double", - "name": { - "$id": "1973", - "fixed": false, - "raw": "Double" - }, - "deprecated": false - } - }, - { - "$id": "1974", - "isReadOnly": false, - "realPath": [ - "width" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "1975", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "1976", - "fixed": false - }, - "extensions": { - "x-nullable": true - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "1977", - "fixed": false, - "raw": "width" - }, - "serializedName": "width", - "modelType": { - "$id": "1978", - "$type": "PrimaryType", - "format": "double", - "knownPrimaryType": "double", - "name": { - "$id": "1979", - "fixed": false, - "raw": "Double" - }, - "deprecated": false - } - }, - { - "$id": "1980", - "isReadOnly": false, - "realPath": [ - "createdDate" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "1981", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "1982", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "1983", - "fixed": false, - "raw": "createdDate" - }, - "serializedName": "createdDate", - "modelType": { - "$id": "1984", - "$type": "PrimaryType", - "format": "date-time", - "knownPrimaryType": "dateTime", - "name": { - "$id": "1985", - "fixed": false, - "raw": "DateTime" - }, - "deprecated": false - } - }, - { - "$id": "1986", - "isReadOnly": false, - "realPath": [ - "modifiedDate" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "1987", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "1988", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "1989", - "fixed": false, - "raw": "modifiedDate" - }, - "serializedName": "modifiedDate", - "modelType": { - "$id": "1990", - "$type": "PrimaryType", - "format": "date-time", - "knownPrimaryType": "dateTime", - "name": { - "$id": "1991", - "fixed": false, - "raw": "DateTime" - }, - "deprecated": false - } - }, - { - "$id": "1992", - "isReadOnly": false, - "realPath": [ - "createdBy" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "1993", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "1994", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "1995", - "fixed": false, - "raw": "createdBy" - }, - "serializedName": "createdBy", - "modelType": { - "$id": "1996", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "1997", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - }, - { - "$id": "1998", - "isReadOnly": false, - "realPath": [ - "modifiedBy" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "1999", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "2000", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "2001", - "fixed": false, - "raw": "modifiedBy" - }, - "serializedName": "modifiedBy", - "modelType": { - "$id": "2002", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "2003", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - }, - { - "$id": "2004", - "isReadOnly": false, - "realPath": [ - "id" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "2005", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "2006", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "2007", - "fixed": false, - "raw": "id" - }, - "serializedName": "id", - "modelType": { - "$id": "2008", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "2009", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - } - ], - "serializedName": "ShipmentPackage", - "containsConstantProperties": false, - "name": { - "$id": "2010", - "fixed": false, - "raw": "ShipmentPackage" - }, - "extensions": { - "x-ms-metadata": { - "apiVersions": [ - "v1" - ], - "filename": [ - "mem:///104?oai3.shaken.json" - ], - "name": "ShipmentPackage", - "originalLocations": [ - "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/schemas/ShipmentPackage" - ] - } - }, - "deprecated": false - }, - { - "$id": "2011", - "$type": "CompositeType", - "properties": [ - { - "$id": "2012", - "isReadOnly": false, - "realPath": [ - "configuredGroups" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "2013", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "2014", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "2015", - "fixed": false, - "raw": "configuredGroups" - }, - "serializedName": "configuredGroups", - "modelType": { - "$id": "2016", - "$type": "SequenceType", - "elementType": { - "$ref": "263" - }, - "name": { - "$id": "2017", - "fixed": false - }, - "deprecated": false - } - }, - { - "$id": "2018", - "isReadOnly": false, - "realPath": [ - "customerId" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "2019", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "2020", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "2021", - "fixed": false, - "raw": "customerId" - }, - "serializedName": "customerId", - "modelType": { - "$id": "2022", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "2023", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - }, - { - "$id": "2024", - "isReadOnly": false, - "realPath": [ - "customerName" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "2025", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "2026", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "2027", - "fixed": false, - "raw": "customerName" - }, - "serializedName": "customerName", - "modelType": { - "$id": "2028", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "2029", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - }, - { - "$id": "2030", - "isReadOnly": false, - "realPath": [ - "channelId" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "2031", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "2032", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "2033", - "fixed": false, - "raw": "channelId" - }, - "serializedName": "channelId", - "modelType": { - "$id": "2034", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "2035", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - }, - { - "$id": "2036", - "isReadOnly": false, - "realPath": [ - "storeId" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "2037", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "2038", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "2039", - "fixed": false, - "raw": "storeId" - }, - "serializedName": "storeId", - "modelType": { - "$id": "2040", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "2041", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - }, - { - "$id": "2042", - "isReadOnly": false, - "realPath": [ - "storeName" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "2043", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "2044", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "2045", - "fixed": false, - "raw": "storeName" - }, - "serializedName": "storeName", - "modelType": { - "$id": "2046", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "2047", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - }, - { - "$id": "2048", - "isReadOnly": false, - "realPath": [ - "organizationId" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "2049", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "2050", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "2051", - "fixed": false, - "raw": "organizationId" - }, - "serializedName": "organizationId", - "modelType": { - "$id": "2052", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "2053", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - }, - { - "$id": "2054", - "isReadOnly": false, - "realPath": [ - "organizationName" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "2055", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "2056", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "2057", - "fixed": false, - "raw": "organizationName" - }, - "serializedName": "organizationName", - "modelType": { - "$id": "2058", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "2059", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - }, - { - "$id": "2060", - "isReadOnly": false, - "realPath": [ - "employeeId" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "2061", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "2062", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "2063", - "fixed": false, - "raw": "employeeId" - }, - "serializedName": "employeeId", - "modelType": { - "$id": "2064", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "2065", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - }, - { - "$id": "2066", - "isReadOnly": false, - "realPath": [ - "employeeName" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "2067", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "2068", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "2069", - "fixed": false, - "raw": "employeeName" - }, - "serializedName": "employeeName", - "modelType": { - "$id": "2070", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "2071", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - }, - { - "$id": "2072", - "isReadOnly": false, - "realPath": [ - "shoppingCartId" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "2073", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "2074", - "fixed": false, - "raw": "The basis shopping cart id of which the order was created" - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "2075", - "fixed": false, - "raw": "shoppingCartId" - }, - "serializedName": "shoppingCartId", - "modelType": { - "$id": "2076", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "2077", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - }, - { - "$id": "2078", - "isReadOnly": false, - "realPath": [ - "isPrototype" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "2079", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "2080", - "fixed": false, - "raw": "Flag determines that the order is the prototype" - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "2081", - "fixed": false, - "raw": "isPrototype" - }, - "serializedName": "isPrototype", - "modelType": { - "$id": "2082", - "$type": "PrimaryType", - "knownPrimaryType": "boolean", - "name": { - "$id": "2083", - "fixed": false, - "raw": "Boolean" - }, - "deprecated": false - } - }, - { - "$id": "2084", - "isReadOnly": false, - "realPath": [ - "purchaseOrderNumber" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "2085", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "2086", - "fixed": false, - "raw": "Internal number of order provided by customer" - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "2087", - "fixed": false, - "raw": "purchaseOrderNumber" - }, - "serializedName": "purchaseOrderNumber", - "modelType": { - "$id": "2088", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "2089", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - }, - { - "$id": "2090", - "isReadOnly": false, - "realPath": [ - "subscriptionNumber" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "2091", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "2092", - "fixed": false, - "raw": "Number for subscription associated with this order" - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "2093", - "fixed": false, - "raw": "subscriptionNumber" - }, - "serializedName": "subscriptionNumber", - "modelType": { - "$id": "2094", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "2095", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - }, - { - "$id": "2096", - "isReadOnly": false, - "realPath": [ - "subscriptionId" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "2097", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "2098", - "fixed": false, - "raw": "Identifier for subscription associated with this order" - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "2099", - "fixed": false, - "raw": "subscriptionId" - }, - "serializedName": "subscriptionId", - "modelType": { - "$id": "2100", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "2101", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - }, - { - "$id": "2102", - "isReadOnly": false, - "realPath": [ - "objectType" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "2103", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "2104", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "2105", - "fixed": false, - "raw": "objectType" - }, - "serializedName": "objectType", - "modelType": { - "$id": "2106", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "2107", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - }, - { - "$id": "2108", - "isReadOnly": false, - "realPath": [ - "addresses" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "2109", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "2110", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "2111", - "fixed": false, - "raw": "addresses" - }, - "serializedName": "addresses", - "modelType": { - "$id": "2112", - "$type": "SequenceType", - "elementType": { - "$ref": "363" - }, - "name": { - "$id": "2113", - "fixed": false - }, - "deprecated": false - } - }, - { - "$id": "2114", - "isReadOnly": false, - "realPath": [ - "inPayments" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "2115", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "2116", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "2117", - "fixed": false, - "raw": "inPayments" - }, - "serializedName": "inPayments", - "modelType": { - "$id": "2118", - "$type": "SequenceType", - "elementType": { - "$ref": "1198" - }, - "name": { - "$id": "2119", - "fixed": false - }, - "deprecated": false - } - }, - { - "$id": "2120", - "isReadOnly": false, - "realPath": [ - "items" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "2121", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "2122", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "2123", - "fixed": false, - "raw": "items" - }, - "serializedName": "items", - "modelType": { - "$id": "2124", - "$type": "SequenceType", - "elementType": { - "$ref": "1489" - }, - "name": { - "$id": "2125", - "fixed": false - }, - "deprecated": false - } - }, - { - "$id": "2126", - "isReadOnly": false, - "realPath": [ - "shipments" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "2127", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "2128", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "2129", - "fixed": false, - "raw": "shipments" - }, - "serializedName": "shipments", - "modelType": { - "$id": "2130", - "$type": "SequenceType", - "elementType": { - "$id": "2131", - "$type": "CompositeType", - "properties": [ - { - "$id": "2132", - "isReadOnly": false, - "realPath": [ - "organizationId" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "2133", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "2134", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "2135", - "fixed": false, - "raw": "organizationId" - }, - "serializedName": "organizationId", - "modelType": { - "$id": "2136", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "2137", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - }, - { - "$id": "2138", - "isReadOnly": false, - "realPath": [ - "organizationName" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "2139", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "2140", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "2141", - "fixed": false, - "raw": "organizationName" - }, - "serializedName": "organizationName", - "modelType": { - "$id": "2142", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "2143", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - }, - { - "$id": "2144", - "isReadOnly": false, - "realPath": [ - "fulfillmentCenterId" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "2145", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "2146", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "2147", - "fixed": false, - "raw": "fulfillmentCenterId" - }, - "serializedName": "fulfillmentCenterId", - "modelType": { - "$id": "2148", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "2149", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - }, - { - "$id": "2150", - "isReadOnly": false, - "realPath": [ - "fulfillmentCenterName" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "2151", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "2152", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "2153", - "fixed": false, - "raw": "fulfillmentCenterName" - }, - "serializedName": "fulfillmentCenterName", - "modelType": { - "$id": "2154", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "2155", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - }, - { - "$id": "2156", - "isReadOnly": false, - "realPath": [ - "employeeId" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "2157", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "2158", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "2159", - "fixed": false, - "raw": "employeeId" - }, - "serializedName": "employeeId", - "modelType": { - "$id": "2160", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "2161", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - }, - { - "$id": "2162", - "isReadOnly": false, - "realPath": [ - "employeeName" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "2163", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "2164", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "2165", - "fixed": false, - "raw": "employeeName" - }, - "serializedName": "employeeName", - "modelType": { - "$id": "2166", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "2167", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - }, - { - "$id": "2168", - "isReadOnly": false, - "realPath": [ - "shipmentMethodCode" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "2169", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "2170", - "fixed": false, - "raw": "Current shipment method code" - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "2171", - "fixed": false, - "raw": "shipmentMethodCode" - }, - "serializedName": "shipmentMethodCode", - "modelType": { - "$id": "2172", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "2173", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - }, - { - "$id": "2174", - "isReadOnly": false, - "realPath": [ - "shipmentMethodOption" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "2175", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "2176", - "fixed": false, - "raw": "Current shipment option code" - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "2177", - "fixed": false, - "raw": "shipmentMethodOption" - }, - "serializedName": "shipmentMethodOption", - "modelType": { - "$id": "2178", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "2179", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - }, - { - "$id": "2180", - "isReadOnly": false, - "realPath": [ - "shippingMethod" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "2181", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "2182", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "2183", - "fixed": false, - "raw": "shippingMethod" - }, - "serializedName": "shippingMethod", - "modelType": { - "$ref": "1803" - } - }, - { - "$id": "2184", - "isReadOnly": false, - "realPath": [ - "customerOrderId" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "2185", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "2186", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "2187", - "fixed": false, - "raw": "customerOrderId" - }, - "serializedName": "customerOrderId", - "modelType": { - "$id": "2188", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "2189", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - }, - { - "$id": "2190", - "isReadOnly": false, - "realPath": [ - "customerOrder" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "2191", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "2192", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "2193", - "fixed": false, - "raw": "customerOrder" - }, - "serializedName": "customerOrder", - "modelType": { - "$ref": "2011" - } - }, - { - "$id": "2194", - "isReadOnly": false, - "realPath": [ - "items" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "2195", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "2196", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "2197", - "fixed": false, - "raw": "items" - }, - "serializedName": "items", - "modelType": { - "$id": "2198", - "$type": "SequenceType", - "elementType": { - "$ref": "1865" - }, - "name": { - "$id": "2199", - "fixed": false - }, - "deprecated": false - } - }, - { - "$id": "2200", - "isReadOnly": false, - "realPath": [ - "packages" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "2201", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "2202", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "2203", - "fixed": false, - "raw": "packages" - }, - "serializedName": "packages", - "modelType": { - "$id": "2204", - "$type": "SequenceType", - "elementType": { - "$ref": "1925" - }, - "name": { - "$id": "2205", - "fixed": false - }, - "deprecated": false - } - }, - { - "$id": "2206", - "isReadOnly": false, - "realPath": [ - "inPayments" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "2207", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "2208", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "2209", - "fixed": false, - "raw": "inPayments" - }, - "serializedName": "inPayments", - "modelType": { - "$id": "2210", - "$type": "SequenceType", - "elementType": { - "$ref": "1198" - }, - "name": { - "$id": "2211", - "fixed": false - }, - "deprecated": false - } - }, - { - "$id": "2212", - "isReadOnly": false, - "realPath": [ - "weightUnit" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "2213", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "2214", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "2215", - "fixed": false, - "raw": "weightUnit" - }, - "serializedName": "weightUnit", - "modelType": { - "$id": "2216", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "2217", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - }, - { - "$id": "2218", - "isReadOnly": false, - "realPath": [ - "weight" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "2219", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "2220", - "fixed": false - }, - "extensions": { - "x-nullable": true - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "2221", - "fixed": false, - "raw": "weight" - }, - "serializedName": "weight", - "modelType": { - "$id": "2222", - "$type": "PrimaryType", - "format": "double", - "knownPrimaryType": "double", - "name": { - "$id": "2223", - "fixed": false, - "raw": "Double" - }, - "deprecated": false - } - }, - { - "$id": "2224", - "isReadOnly": false, - "realPath": [ - "measureUnit" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "2225", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "2226", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "2227", - "fixed": false, - "raw": "measureUnit" - }, - "serializedName": "measureUnit", - "modelType": { - "$id": "2228", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "2229", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - }, - { - "$id": "2230", - "isReadOnly": false, - "realPath": [ - "height" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "2231", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "2232", - "fixed": false - }, - "extensions": { - "x-nullable": true - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "2233", - "fixed": false, - "raw": "height" - }, - "serializedName": "height", - "modelType": { - "$id": "2234", - "$type": "PrimaryType", - "format": "double", - "knownPrimaryType": "double", - "name": { - "$id": "2235", - "fixed": false, - "raw": "Double" - }, - "deprecated": false - } - }, - { - "$id": "2236", - "isReadOnly": false, - "realPath": [ - "length" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "2237", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "2238", - "fixed": false - }, - "extensions": { - "x-nullable": true - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "2239", - "fixed": false, - "raw": "length" - }, - "serializedName": "length", - "modelType": { - "$id": "2240", - "$type": "PrimaryType", - "format": "double", - "knownPrimaryType": "double", - "name": { - "$id": "2241", - "fixed": false, - "raw": "Double" - }, - "deprecated": false - } - }, - { - "$id": "2242", - "isReadOnly": false, - "realPath": [ - "width" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "2243", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "2244", - "fixed": false - }, - "extensions": { - "x-nullable": true - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "2245", - "fixed": false, - "raw": "width" - }, - "serializedName": "width", - "modelType": { - "$id": "2246", - "$type": "PrimaryType", - "format": "double", - "knownPrimaryType": "double", - "name": { - "$id": "2247", - "fixed": false, - "raw": "Double" - }, - "deprecated": false - } - }, - { - "$id": "2248", - "isReadOnly": false, - "realPath": [ - "discounts" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "2249", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "2250", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "2251", - "fixed": false, - "raw": "discounts" - }, - "serializedName": "discounts", - "modelType": { - "$id": "2252", - "$type": "SequenceType", - "elementType": { - "$ref": "798" - }, - "name": { - "$id": "2253", - "fixed": false - }, - "deprecated": false - } - }, - { - "$id": "2254", - "isReadOnly": false, - "realPath": [ - "deliveryAddress" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "2255", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "2256", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "2257", - "fixed": false, - "raw": "deliveryAddress" - }, - "serializedName": "deliveryAddress", - "modelType": { - "$ref": "363" - } - }, - { - "$id": "2258", - "isReadOnly": false, - "realPath": [ - "price" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "2259", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "2260", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "2261", - "fixed": false, - "raw": "price" - }, - "serializedName": "price", - "modelType": { - "$id": "2262", - "$type": "PrimaryType", - "format": "double", - "knownPrimaryType": "double", - "name": { - "$id": "2263", - "fixed": false, - "raw": "Double" - }, - "deprecated": false - } - }, - { - "$id": "2264", - "isReadOnly": false, - "realPath": [ - "priceWithTax" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "2265", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "2266", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "2267", - "fixed": false, - "raw": "priceWithTax" - }, - "serializedName": "priceWithTax", - "modelType": { - "$id": "2268", - "$type": "PrimaryType", - "format": "double", - "knownPrimaryType": "double", - "name": { - "$id": "2269", - "fixed": false, - "raw": "Double" - }, - "deprecated": false - } - }, - { - "$id": "2270", - "isReadOnly": false, - "realPath": [ - "total" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "2271", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "2272", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "2273", - "fixed": false, - "raw": "total" - }, - "serializedName": "total", - "modelType": { - "$id": "2274", - "$type": "PrimaryType", - "format": "double", - "knownPrimaryType": "double", - "name": { - "$id": "2275", - "fixed": false, - "raw": "Double" - }, - "deprecated": false - } - }, - { - "$id": "2276", - "isReadOnly": false, - "realPath": [ - "totalWithTax" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "2277", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "2278", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "2279", - "fixed": false, - "raw": "totalWithTax" - }, - "serializedName": "totalWithTax", - "modelType": { - "$id": "2280", - "$type": "PrimaryType", - "format": "double", - "knownPrimaryType": "double", - "name": { - "$id": "2281", - "fixed": false, - "raw": "Double" - }, - "deprecated": false - } - }, - { - "$id": "2282", - "isReadOnly": false, - "realPath": [ - "discountAmount" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "2283", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "2284", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "2285", - "fixed": false, - "raw": "discountAmount" - }, - "serializedName": "discountAmount", - "modelType": { - "$id": "2286", - "$type": "PrimaryType", - "format": "double", - "knownPrimaryType": "double", - "name": { - "$id": "2287", - "fixed": false, - "raw": "Double" - }, - "deprecated": false - } - }, - { - "$id": "2288", - "isReadOnly": false, - "realPath": [ - "discountAmountWithTax" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "2289", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "2290", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "2291", - "fixed": false, - "raw": "discountAmountWithTax" - }, - "serializedName": "discountAmountWithTax", - "modelType": { - "$id": "2292", - "$type": "PrimaryType", - "format": "double", - "knownPrimaryType": "double", - "name": { - "$id": "2293", - "fixed": false, - "raw": "Double" - }, - "deprecated": false - } - }, - { - "$id": "2294", - "isReadOnly": false, - "realPath": [ - "fee" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "2295", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "2296", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "2297", - "fixed": false, - "raw": "fee" - }, - "serializedName": "fee", - "modelType": { - "$id": "2298", - "$type": "PrimaryType", - "format": "double", - "knownPrimaryType": "double", - "name": { - "$id": "2299", - "fixed": false, - "raw": "Double" - }, - "deprecated": false - } - }, - { - "$id": "2300", - "isReadOnly": false, - "realPath": [ - "feeWithTax" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "2301", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "2302", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "2303", - "fixed": false, - "raw": "feeWithTax" - }, - "serializedName": "feeWithTax", - "modelType": { - "$id": "2304", - "$type": "PrimaryType", - "format": "double", - "knownPrimaryType": "double", - "name": { - "$id": "2305", - "fixed": false, - "raw": "Double" - }, - "deprecated": false - } - }, - { - "$id": "2306", - "isReadOnly": false, - "realPath": [ - "objectType" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "2307", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "2308", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "2309", - "fixed": false, - "raw": "objectType" - }, - "serializedName": "objectType", - "modelType": { - "$id": "2310", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "2311", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - }, - { - "$id": "2312", - "isReadOnly": false, - "realPath": [ - "taxType" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "2313", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "2314", - "fixed": false, - "raw": "Tax category or type" - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "2315", - "fixed": false, - "raw": "taxType" - }, - "serializedName": "taxType", - "modelType": { - "$id": "2316", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "2317", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - }, - { - "$id": "2318", - "isReadOnly": false, - "realPath": [ - "taxTotal" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "2319", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "2320", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "2321", - "fixed": false, - "raw": "taxTotal" - }, - "serializedName": "taxTotal", - "modelType": { - "$id": "2322", - "$type": "PrimaryType", - "format": "double", - "knownPrimaryType": "double", - "name": { - "$id": "2323", - "fixed": false, - "raw": "Double" - }, - "deprecated": false - } - }, - { - "$id": "2324", - "isReadOnly": false, - "realPath": [ - "taxPercentRate" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "2325", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "2326", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "2327", - "fixed": false, - "raw": "taxPercentRate" - }, - "serializedName": "taxPercentRate", - "modelType": { - "$id": "2328", - "$type": "PrimaryType", - "format": "double", - "knownPrimaryType": "double", - "name": { - "$id": "2329", - "fixed": false, - "raw": "Double" - }, - "deprecated": false - } - }, - { - "$id": "2330", - "isReadOnly": false, - "realPath": [ - "taxDetails" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "2331", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "2332", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "2333", - "fixed": false, - "raw": "taxDetails" - }, - "serializedName": "taxDetails", - "modelType": { - "$id": "2334", - "$type": "SequenceType", - "elementType": { - "$ref": "571" - }, - "name": { - "$id": "2335", - "fixed": false - }, - "deprecated": false - } - }, - { - "$id": "2336", - "isReadOnly": false, - "realPath": [ - "operationType" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "2337", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "2338", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "2339", - "fixed": false, - "raw": "operationType" - }, - "serializedName": "operationType", - "modelType": { - "$id": "2340", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "2341", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - }, - { - "$id": "2342", - "isReadOnly": false, - "realPath": [ - "parentOperationId" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "2343", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "2344", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "2345", - "fixed": false, - "raw": "parentOperationId" - }, - "serializedName": "parentOperationId", - "modelType": { - "$id": "2346", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "2347", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - }, - { - "$id": "2348", - "isReadOnly": false, - "realPath": [ - "number" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "2349", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "2350", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "2351", - "fixed": false, - "raw": "number" - }, - "serializedName": "number", - "modelType": { - "$id": "2352", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "2353", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - }, - { - "$id": "2354", - "isReadOnly": false, - "realPath": [ - "isApproved" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "2355", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "2356", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "2357", - "fixed": false, - "raw": "isApproved" - }, - "serializedName": "isApproved", - "modelType": { - "$id": "2358", - "$type": "PrimaryType", - "knownPrimaryType": "boolean", - "name": { - "$id": "2359", - "fixed": false, - "raw": "Boolean" - }, - "deprecated": false - } - }, - { - "$id": "2360", - "isReadOnly": false, - "realPath": [ - "status" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "2361", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "2362", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "2363", - "fixed": false, - "raw": "status" - }, - "serializedName": "status", - "modelType": { - "$id": "2364", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "2365", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - }, - { - "$id": "2366", - "isReadOnly": false, - "realPath": [ - "comment" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "2367", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "2368", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "2369", - "fixed": false, - "raw": "comment" - }, - "serializedName": "comment", - "modelType": { - "$id": "2370", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "2371", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - }, - { - "$id": "2372", - "isReadOnly": false, - "realPath": [ - "currency" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "2373", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "2374", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "2375", - "fixed": false, - "raw": "currency" - }, - "serializedName": "currency", - "modelType": { - "$id": "2376", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "2377", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - }, - { - "$id": "2378", - "isReadOnly": false, - "realPath": [ - "sum" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "2379", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "2380", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "2381", - "fixed": false, - "raw": "sum" - }, - "serializedName": "sum", - "modelType": { - "$id": "2382", - "$type": "PrimaryType", - "format": "double", - "knownPrimaryType": "double", - "name": { - "$id": "2383", - "fixed": false, - "raw": "Double" - }, - "deprecated": false - } - }, - { - "$id": "2384", - "isReadOnly": false, - "realPath": [ - "outerId" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "2385", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "2386", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "2387", - "fixed": false, - "raw": "outerId" - }, - "serializedName": "outerId", - "modelType": { - "$id": "2388", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "2389", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - }, - { - "$id": "2390", - "isReadOnly": false, - "realPath": [ - "isCancelled" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "2391", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "2392", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "2393", - "fixed": false, - "raw": "isCancelled" - }, - "serializedName": "isCancelled", - "modelType": { - "$id": "2394", - "$type": "PrimaryType", - "knownPrimaryType": "boolean", - "name": { - "$id": "2395", - "fixed": false, - "raw": "Boolean" - }, - "deprecated": false - } - }, - { - "$id": "2396", - "isReadOnly": false, - "realPath": [ - "cancelledDate" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "2397", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "2398", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "2399", - "fixed": false, - "raw": "cancelledDate" - }, - "serializedName": "cancelledDate", - "modelType": { - "$id": "2400", - "$type": "PrimaryType", - "format": "date-time", - "knownPrimaryType": "dateTime", - "name": { - "$id": "2401", - "fixed": false, - "raw": "DateTime" - }, - "deprecated": false - } - }, - { - "$id": "2402", - "isReadOnly": false, - "realPath": [ - "cancelReason" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "2403", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "2404", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "2405", - "fixed": false, - "raw": "cancelReason" - }, - "serializedName": "cancelReason", - "modelType": { - "$id": "2406", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "2407", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - }, - { - "$id": "2408", - "isReadOnly": false, - "realPath": [ - "dynamicProperties" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "2409", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "2410", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "2411", - "fixed": false, - "raw": "dynamicProperties" - }, - "serializedName": "dynamicProperties", - "modelType": { - "$id": "2412", - "$type": "SequenceType", - "elementType": { - "$ref": "1083" - }, - "name": { - "$id": "2413", - "fixed": false - }, - "deprecated": false - } - }, - { - "$id": "2414", - "isReadOnly": false, - "realPath": [ - "operationsLog" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "2415", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "2416", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "2417", - "fixed": false, - "raw": "operationsLog" - }, - "serializedName": "operationsLog", - "modelType": { - "$id": "2418", - "$type": "SequenceType", - "elementType": { - "$ref": "2" - }, - "name": { - "$id": "2419", - "fixed": false - }, - "deprecated": false - } - }, - { - "$id": "2420", - "isReadOnly": false, - "realPath": [ - "createdDate" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "2421", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "2422", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "2423", - "fixed": false, - "raw": "createdDate" - }, - "serializedName": "createdDate", - "modelType": { - "$id": "2424", - "$type": "PrimaryType", - "format": "date-time", - "knownPrimaryType": "dateTime", - "name": { - "$id": "2425", - "fixed": false, - "raw": "DateTime" - }, - "deprecated": false - } - }, - { - "$id": "2426", - "isReadOnly": false, - "realPath": [ - "modifiedDate" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "2427", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "2428", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "2429", - "fixed": false, - "raw": "modifiedDate" - }, - "serializedName": "modifiedDate", - "modelType": { - "$id": "2430", - "$type": "PrimaryType", - "format": "date-time", - "knownPrimaryType": "dateTime", - "name": { - "$id": "2431", - "fixed": false, - "raw": "DateTime" - }, - "deprecated": false - } - }, - { - "$id": "2432", - "isReadOnly": false, - "realPath": [ - "createdBy" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "2433", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "2434", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "2435", - "fixed": false, - "raw": "createdBy" - }, - "serializedName": "createdBy", - "modelType": { - "$id": "2436", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "2437", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - }, - { - "$id": "2438", - "isReadOnly": false, - "realPath": [ - "modifiedBy" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "2439", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "2440", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "2441", - "fixed": false, - "raw": "modifiedBy" - }, - "serializedName": "modifiedBy", - "modelType": { - "$id": "2442", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "2443", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - }, - { - "$id": "2444", - "isReadOnly": false, - "realPath": [ - "id" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "2445", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "2446", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "2447", - "fixed": false, - "raw": "id" - }, - "serializedName": "id", - "modelType": { - "$id": "2448", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "2449", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - } - ], - "serializedName": "OrderShipment", - "containsConstantProperties": false, - "name": { - "$id": "2450", - "fixed": false, - "raw": "OrderShipment" - }, - "extensions": { - "x-ms-metadata": { - "apiVersions": [ - "v1" - ], - "filename": [ - "mem:///104?oai3.shaken.json" - ], - "name": "OrderShipment", - "originalLocations": [ - "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/schemas/OrderShipment" - ] - } - }, - "deprecated": false - }, - "name": { - "$id": "2451", - "fixed": false - }, - "deprecated": false - } - }, - { - "$id": "2452", - "isReadOnly": false, - "realPath": [ - "discounts" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "2453", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "2454", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "2455", - "fixed": false, - "raw": "discounts" - }, - "serializedName": "discounts", - "modelType": { - "$id": "2456", - "$type": "SequenceType", - "elementType": { - "$ref": "798" - }, - "name": { - "$id": "2457", - "fixed": false - }, - "deprecated": false - } - }, - { - "$id": "2458", - "isReadOnly": false, - "realPath": [ - "discountAmount" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "2459", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "2460", - "fixed": false, - "raw": "When a discount is applied to the order, the tax calculation has already been applied, and is reflected in the tax.\r\nTherefore, a discount applying to the order will occur after tax. \r\nFor instance, if the cart subtotal is $100, and $15 is the tax subtotal, a cart-wide discount of 10% will yield a total of $105 ($100 subtotal – $10 discount + $15 tax on the original $100)." - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "2461", - "fixed": false, - "raw": "discountAmount" - }, - "serializedName": "discountAmount", - "modelType": { - "$id": "2462", - "$type": "PrimaryType", - "format": "double", - "knownPrimaryType": "double", - "name": { - "$id": "2463", - "fixed": false, - "raw": "Double" - }, - "deprecated": false - } - }, - { - "$id": "2464", - "isReadOnly": false, - "realPath": [ - "taxDetails" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "2465", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "2466", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "2467", - "fixed": false, - "raw": "taxDetails" - }, - "serializedName": "taxDetails", - "modelType": { - "$id": "2468", - "$type": "SequenceType", - "elementType": { - "$ref": "571" - }, - "name": { - "$id": "2469", - "fixed": false - }, - "deprecated": false - } - }, - { - "$id": "2470", - "isReadOnly": false, - "realPath": [ - "scopes" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "2471", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "2472", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "2473", - "fixed": false, - "raw": "scopes" - }, - "serializedName": "scopes", - "modelType": { - "$id": "2474", - "$type": "SequenceType", - "elementType": { - "$id": "2475", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "2476", - "fixed": false, - "raw": "String" - }, - "deprecated": false - }, - "name": { - "$id": "2477", - "fixed": false - }, - "deprecated": false - } - }, - { - "$id": "2478", - "isReadOnly": false, - "realPath": [ - "total" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "2479", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "2480", - "fixed": false, - "raw": "Grand order total" - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "2481", - "fixed": false, - "raw": "total" - }, - "serializedName": "total", - "modelType": { - "$id": "2482", - "$type": "PrimaryType", - "format": "double", - "knownPrimaryType": "double", - "name": { - "$id": "2483", - "fixed": false, - "raw": "Double" - }, - "deprecated": false - } - }, - { - "$id": "2484", - "isReadOnly": false, - "realPath": [ - "subTotal" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "2485", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "2486", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "2487", - "fixed": false, - "raw": "subTotal" - }, - "serializedName": "subTotal", - "modelType": { - "$id": "2488", - "$type": "PrimaryType", - "format": "double", - "knownPrimaryType": "double", - "name": { - "$id": "2489", - "fixed": false, - "raw": "Double" - }, - "deprecated": false - } - }, - { - "$id": "2490", - "isReadOnly": false, - "realPath": [ - "subTotalWithTax" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "2491", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "2492", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "2493", - "fixed": false, - "raw": "subTotalWithTax" - }, - "serializedName": "subTotalWithTax", - "modelType": { - "$id": "2494", - "$type": "PrimaryType", - "format": "double", - "knownPrimaryType": "double", - "name": { - "$id": "2495", - "fixed": false, - "raw": "Double" - }, - "deprecated": false - } - }, - { - "$id": "2496", - "isReadOnly": false, - "realPath": [ - "subTotalDiscount" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "2497", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "2498", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "2499", - "fixed": false, - "raw": "subTotalDiscount" - }, - "serializedName": "subTotalDiscount", - "modelType": { - "$id": "2500", - "$type": "PrimaryType", - "format": "double", - "knownPrimaryType": "double", - "name": { - "$id": "2501", - "fixed": false, - "raw": "Double" - }, - "deprecated": false - } - }, - { - "$id": "2502", - "isReadOnly": false, - "realPath": [ - "subTotalDiscountWithTax" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "2503", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "2504", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "2505", - "fixed": false, - "raw": "subTotalDiscountWithTax" - }, - "serializedName": "subTotalDiscountWithTax", - "modelType": { - "$id": "2506", - "$type": "PrimaryType", - "format": "double", - "knownPrimaryType": "double", - "name": { - "$id": "2507", - "fixed": false, - "raw": "Double" - }, - "deprecated": false - } - }, - { - "$id": "2508", - "isReadOnly": false, - "realPath": [ - "subTotalTaxTotal" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "2509", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "2510", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "2511", - "fixed": false, - "raw": "subTotalTaxTotal" - }, - "serializedName": "subTotalTaxTotal", - "modelType": { - "$id": "2512", - "$type": "PrimaryType", - "format": "double", - "knownPrimaryType": "double", - "name": { - "$id": "2513", - "fixed": false, - "raw": "Double" - }, - "deprecated": false - } - }, - { - "$id": "2514", - "isReadOnly": false, - "realPath": [ - "shippingTotal" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "2515", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "2516", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "2517", - "fixed": false, - "raw": "shippingTotal" - }, - "serializedName": "shippingTotal", - "modelType": { - "$id": "2518", - "$type": "PrimaryType", - "format": "double", - "knownPrimaryType": "double", - "name": { - "$id": "2519", - "fixed": false, - "raw": "Double" - }, - "deprecated": false - } - }, - { - "$id": "2520", - "isReadOnly": false, - "realPath": [ - "shippingTotalWithTax" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "2521", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "2522", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "2523", - "fixed": false, - "raw": "shippingTotalWithTax" - }, - "serializedName": "shippingTotalWithTax", - "modelType": { - "$id": "2524", - "$type": "PrimaryType", - "format": "double", - "knownPrimaryType": "double", - "name": { - "$id": "2525", - "fixed": false, - "raw": "Double" - }, - "deprecated": false - } - }, - { - "$id": "2526", - "isReadOnly": false, - "realPath": [ - "shippingSubTotal" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "2527", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "2528", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "2529", - "fixed": false, - "raw": "shippingSubTotal" - }, - "serializedName": "shippingSubTotal", - "modelType": { - "$id": "2530", - "$type": "PrimaryType", - "format": "double", - "knownPrimaryType": "double", - "name": { - "$id": "2531", - "fixed": false, - "raw": "Double" - }, - "deprecated": false - } - }, - { - "$id": "2532", - "isReadOnly": false, - "realPath": [ - "shippingSubTotalWithTax" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "2533", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "2534", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "2535", - "fixed": false, - "raw": "shippingSubTotalWithTax" - }, - "serializedName": "shippingSubTotalWithTax", - "modelType": { - "$id": "2536", - "$type": "PrimaryType", - "format": "double", - "knownPrimaryType": "double", - "name": { - "$id": "2537", - "fixed": false, - "raw": "Double" - }, - "deprecated": false - } - }, - { - "$id": "2538", - "isReadOnly": false, - "realPath": [ - "shippingDiscountTotal" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "2539", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "2540", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "2541", - "fixed": false, - "raw": "shippingDiscountTotal" - }, - "serializedName": "shippingDiscountTotal", - "modelType": { - "$id": "2542", - "$type": "PrimaryType", - "format": "double", - "knownPrimaryType": "double", - "name": { - "$id": "2543", - "fixed": false, - "raw": "Double" - }, - "deprecated": false - } - }, - { - "$id": "2544", - "isReadOnly": false, - "realPath": [ - "shippingDiscountTotalWithTax" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "2545", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "2546", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "2547", - "fixed": false, - "raw": "shippingDiscountTotalWithTax" - }, - "serializedName": "shippingDiscountTotalWithTax", - "modelType": { - "$id": "2548", - "$type": "PrimaryType", - "format": "double", - "knownPrimaryType": "double", - "name": { - "$id": "2549", - "fixed": false, - "raw": "Double" - }, - "deprecated": false - } - }, - { - "$id": "2550", - "isReadOnly": false, - "realPath": [ - "shippingTaxTotal" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "2551", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "2552", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "2553", - "fixed": false, - "raw": "shippingTaxTotal" - }, - "serializedName": "shippingTaxTotal", - "modelType": { - "$id": "2554", - "$type": "PrimaryType", - "format": "double", - "knownPrimaryType": "double", - "name": { - "$id": "2555", - "fixed": false, - "raw": "Double" - }, - "deprecated": false - } - }, - { - "$id": "2556", - "isReadOnly": false, - "realPath": [ - "paymentTotal" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "2557", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "2558", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "2559", - "fixed": false, - "raw": "paymentTotal" - }, - "serializedName": "paymentTotal", - "modelType": { - "$id": "2560", - "$type": "PrimaryType", - "format": "double", - "knownPrimaryType": "double", - "name": { - "$id": "2561", - "fixed": false, - "raw": "Double" - }, - "deprecated": false - } - }, - { - "$id": "2562", - "isReadOnly": false, - "realPath": [ - "paymentTotalWithTax" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "2563", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "2564", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "2565", - "fixed": false, - "raw": "paymentTotalWithTax" - }, - "serializedName": "paymentTotalWithTax", - "modelType": { - "$id": "2566", - "$type": "PrimaryType", - "format": "double", - "knownPrimaryType": "double", - "name": { - "$id": "2567", - "fixed": false, - "raw": "Double" - }, - "deprecated": false - } - }, - { - "$id": "2568", - "isReadOnly": false, - "realPath": [ - "paymentSubTotal" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "2569", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "2570", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "2571", - "fixed": false, - "raw": "paymentSubTotal" - }, - "serializedName": "paymentSubTotal", - "modelType": { - "$id": "2572", - "$type": "PrimaryType", - "format": "double", - "knownPrimaryType": "double", - "name": { - "$id": "2573", - "fixed": false, - "raw": "Double" - }, - "deprecated": false - } - }, - { - "$id": "2574", - "isReadOnly": false, - "realPath": [ - "paymentSubTotalWithTax" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "2575", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "2576", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "2577", - "fixed": false, - "raw": "paymentSubTotalWithTax" - }, - "serializedName": "paymentSubTotalWithTax", - "modelType": { - "$id": "2578", - "$type": "PrimaryType", - "format": "double", - "knownPrimaryType": "double", - "name": { - "$id": "2579", - "fixed": false, - "raw": "Double" - }, - "deprecated": false - } - }, - { - "$id": "2580", - "isReadOnly": false, - "realPath": [ - "paymentDiscountTotal" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "2581", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "2582", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "2583", - "fixed": false, - "raw": "paymentDiscountTotal" - }, - "serializedName": "paymentDiscountTotal", - "modelType": { - "$id": "2584", - "$type": "PrimaryType", - "format": "double", - "knownPrimaryType": "double", - "name": { - "$id": "2585", - "fixed": false, - "raw": "Double" - }, - "deprecated": false - } - }, - { - "$id": "2586", - "isReadOnly": false, - "realPath": [ - "paymentDiscountTotalWithTax" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "2587", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "2588", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "2589", - "fixed": false, - "raw": "paymentDiscountTotalWithTax" - }, - "serializedName": "paymentDiscountTotalWithTax", - "modelType": { - "$id": "2590", - "$type": "PrimaryType", - "format": "double", - "knownPrimaryType": "double", - "name": { - "$id": "2591", - "fixed": false, - "raw": "Double" - }, - "deprecated": false - } - }, - { - "$id": "2592", - "isReadOnly": false, - "realPath": [ - "paymentTaxTotal" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "2593", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "2594", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "2595", - "fixed": false, - "raw": "paymentTaxTotal" - }, - "serializedName": "paymentTaxTotal", - "modelType": { - "$id": "2596", - "$type": "PrimaryType", - "format": "double", - "knownPrimaryType": "double", - "name": { - "$id": "2597", - "fixed": false, - "raw": "Double" - }, - "deprecated": false - } - }, - { - "$id": "2598", - "isReadOnly": false, - "realPath": [ - "discountTotal" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "2599", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "2600", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "2601", - "fixed": false, - "raw": "discountTotal" - }, - "serializedName": "discountTotal", - "modelType": { - "$id": "2602", - "$type": "PrimaryType", - "format": "double", - "knownPrimaryType": "double", - "name": { - "$id": "2603", - "fixed": false, - "raw": "Double" - }, - "deprecated": false - } - }, - { - "$id": "2604", - "isReadOnly": false, - "realPath": [ - "discountTotalWithTax" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "2605", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "2606", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "2607", - "fixed": false, - "raw": "discountTotalWithTax" - }, - "serializedName": "discountTotalWithTax", - "modelType": { - "$id": "2608", - "$type": "PrimaryType", - "format": "double", - "knownPrimaryType": "double", - "name": { - "$id": "2609", - "fixed": false, - "raw": "Double" - }, - "deprecated": false - } - }, - { - "$id": "2610", - "isReadOnly": false, - "realPath": [ - "fee" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "2611", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "2612", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "2613", - "fixed": false, - "raw": "fee" - }, - "serializedName": "fee", - "modelType": { - "$id": "2614", - "$type": "PrimaryType", - "format": "double", - "knownPrimaryType": "double", - "name": { - "$id": "2615", - "fixed": false, - "raw": "Double" - }, - "deprecated": false - } - }, - { - "$id": "2616", - "isReadOnly": false, - "realPath": [ - "feeWithTax" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "2617", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "2618", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "2619", - "fixed": false, - "raw": "feeWithTax" - }, - "serializedName": "feeWithTax", - "modelType": { - "$id": "2620", - "$type": "PrimaryType", - "format": "double", - "knownPrimaryType": "double", - "name": { - "$id": "2621", - "fixed": false, - "raw": "Double" - }, - "deprecated": false - } - }, - { - "$id": "2622", - "isReadOnly": false, - "realPath": [ - "feeTotal" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "2623", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "2624", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "2625", - "fixed": false, - "raw": "feeTotal" - }, - "serializedName": "feeTotal", - "modelType": { - "$id": "2626", - "$type": "PrimaryType", - "format": "double", - "knownPrimaryType": "double", - "name": { - "$id": "2627", - "fixed": false, - "raw": "Double" - }, - "deprecated": false - } - }, - { - "$id": "2628", - "isReadOnly": false, - "realPath": [ - "feeTotalWithTax" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "2629", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "2630", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "2631", - "fixed": false, - "raw": "feeTotalWithTax" - }, - "serializedName": "feeTotalWithTax", - "modelType": { - "$id": "2632", - "$type": "PrimaryType", - "format": "double", - "knownPrimaryType": "double", - "name": { - "$id": "2633", - "fixed": false, - "raw": "Double" - }, - "deprecated": false - } - }, - { - "$id": "2634", - "isReadOnly": false, - "realPath": [ - "taxType" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "2635", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "2636", - "fixed": false, - "raw": "Tax category or type" - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "2637", - "fixed": false, - "raw": "taxType" - }, - "serializedName": "taxType", - "modelType": { - "$id": "2638", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "2639", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - }, - { - "$id": "2640", - "isReadOnly": false, - "realPath": [ - "taxTotal" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "2641", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "2642", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "2643", - "fixed": false, - "raw": "taxTotal" - }, - "serializedName": "taxTotal", - "modelType": { - "$id": "2644", - "$type": "PrimaryType", - "format": "double", - "knownPrimaryType": "double", - "name": { - "$id": "2645", - "fixed": false, - "raw": "Double" - }, - "deprecated": false - } - }, - { - "$id": "2646", - "isReadOnly": false, - "realPath": [ - "taxPercentRate" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "2647", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "2648", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "2649", - "fixed": false, - "raw": "taxPercentRate" - }, - "serializedName": "taxPercentRate", - "modelType": { - "$id": "2650", - "$type": "PrimaryType", - "format": "double", - "knownPrimaryType": "double", - "name": { - "$id": "2651", - "fixed": false, - "raw": "Double" - }, - "deprecated": false - } - }, - { - "$id": "2652", - "isReadOnly": false, - "realPath": [ - "languageCode" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "2653", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "2654", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "2655", - "fixed": false, - "raw": "languageCode" - }, - "serializedName": "languageCode", - "modelType": { - "$id": "2656", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "2657", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - }, - { - "$id": "2658", - "isReadOnly": false, - "realPath": [ - "operationType" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "2659", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "2660", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "2661", - "fixed": false, - "raw": "operationType" - }, - "serializedName": "operationType", - "modelType": { - "$id": "2662", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "2663", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - }, - { - "$id": "2664", - "isReadOnly": false, - "realPath": [ - "parentOperationId" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "2665", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "2666", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "2667", - "fixed": false, - "raw": "parentOperationId" - }, - "serializedName": "parentOperationId", - "modelType": { - "$id": "2668", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "2669", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - }, - { - "$id": "2670", - "isReadOnly": false, - "realPath": [ - "number" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "2671", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "2672", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "2673", - "fixed": false, - "raw": "number" - }, - "serializedName": "number", - "modelType": { - "$id": "2674", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "2675", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - }, - { - "$id": "2676", - "isReadOnly": false, - "realPath": [ - "isApproved" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "2677", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "2678", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "2679", - "fixed": false, - "raw": "isApproved" - }, - "serializedName": "isApproved", - "modelType": { - "$id": "2680", - "$type": "PrimaryType", - "knownPrimaryType": "boolean", - "name": { - "$id": "2681", - "fixed": false, - "raw": "Boolean" - }, - "deprecated": false - } - }, - { - "$id": "2682", - "isReadOnly": false, - "realPath": [ - "status" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "2683", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "2684", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "2685", - "fixed": false, - "raw": "status" - }, - "serializedName": "status", - "modelType": { - "$id": "2686", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "2687", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - }, - { - "$id": "2688", - "isReadOnly": false, - "realPath": [ - "comment" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "2689", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "2690", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "2691", - "fixed": false, - "raw": "comment" - }, - "serializedName": "comment", - "modelType": { - "$id": "2692", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "2693", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - }, - { - "$id": "2694", - "isReadOnly": false, - "realPath": [ - "currency" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "2695", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "2696", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "2697", - "fixed": false, - "raw": "currency" - }, - "serializedName": "currency", - "modelType": { - "$id": "2698", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "2699", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - }, - { - "$id": "2700", - "isReadOnly": false, - "realPath": [ - "sum" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "2701", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "2702", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "2703", - "fixed": false, - "raw": "sum" - }, - "serializedName": "sum", - "modelType": { - "$id": "2704", - "$type": "PrimaryType", - "format": "double", - "knownPrimaryType": "double", - "name": { - "$id": "2705", - "fixed": false, - "raw": "Double" - }, - "deprecated": false - } - }, - { - "$id": "2706", - "isReadOnly": false, - "realPath": [ - "outerId" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "2707", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "2708", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "2709", - "fixed": false, - "raw": "outerId" - }, - "serializedName": "outerId", - "modelType": { - "$id": "2710", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "2711", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - }, - { - "$id": "2712", - "isReadOnly": false, - "realPath": [ - "isCancelled" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "2713", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "2714", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "2715", - "fixed": false, - "raw": "isCancelled" - }, - "serializedName": "isCancelled", - "modelType": { - "$id": "2716", - "$type": "PrimaryType", - "knownPrimaryType": "boolean", - "name": { - "$id": "2717", - "fixed": false, - "raw": "Boolean" - }, - "deprecated": false - } - }, - { - "$id": "2718", - "isReadOnly": false, - "realPath": [ - "cancelledDate" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "2719", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "2720", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "2721", - "fixed": false, - "raw": "cancelledDate" - }, - "serializedName": "cancelledDate", - "modelType": { - "$id": "2722", - "$type": "PrimaryType", - "format": "date-time", - "knownPrimaryType": "dateTime", - "name": { - "$id": "2723", - "fixed": false, - "raw": "DateTime" - }, - "deprecated": false - } - }, - { - "$id": "2724", - "isReadOnly": false, - "realPath": [ - "cancelReason" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "2725", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "2726", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "2727", - "fixed": false, - "raw": "cancelReason" - }, - "serializedName": "cancelReason", - "modelType": { - "$id": "2728", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "2729", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - }, - { - "$id": "2730", - "isReadOnly": false, - "realPath": [ - "dynamicProperties" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "2731", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "2732", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "2733", - "fixed": false, - "raw": "dynamicProperties" - }, - "serializedName": "dynamicProperties", - "modelType": { - "$id": "2734", - "$type": "SequenceType", - "elementType": { - "$ref": "1083" - }, - "name": { - "$id": "2735", - "fixed": false - }, - "deprecated": false - } - }, - { - "$id": "2736", - "isReadOnly": false, - "realPath": [ - "operationsLog" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "2737", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "2738", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "2739", - "fixed": false, - "raw": "operationsLog" - }, - "serializedName": "operationsLog", - "modelType": { - "$id": "2740", - "$type": "SequenceType", - "elementType": { - "$ref": "2" - }, - "name": { - "$id": "2741", - "fixed": false - }, - "deprecated": false - } - }, - { - "$id": "2742", - "isReadOnly": false, - "realPath": [ - "createdDate" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "2743", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "2744", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "2745", - "fixed": false, - "raw": "createdDate" - }, - "serializedName": "createdDate", - "modelType": { - "$id": "2746", - "$type": "PrimaryType", - "format": "date-time", - "knownPrimaryType": "dateTime", - "name": { - "$id": "2747", - "fixed": false, - "raw": "DateTime" - }, - "deprecated": false - } - }, - { - "$id": "2748", - "isReadOnly": false, - "realPath": [ - "modifiedDate" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "2749", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "2750", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "2751", - "fixed": false, - "raw": "modifiedDate" - }, - "serializedName": "modifiedDate", - "modelType": { - "$id": "2752", - "$type": "PrimaryType", - "format": "date-time", - "knownPrimaryType": "dateTime", - "name": { - "$id": "2753", - "fixed": false, - "raw": "DateTime" - }, - "deprecated": false - } - }, - { - "$id": "2754", - "isReadOnly": false, - "realPath": [ - "createdBy" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "2755", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "2756", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "2757", - "fixed": false, - "raw": "createdBy" - }, - "serializedName": "createdBy", - "modelType": { - "$id": "2758", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "2759", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - }, - { - "$id": "2760", - "isReadOnly": false, - "realPath": [ - "modifiedBy" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "2761", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "2762", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "2763", - "fixed": false, - "raw": "modifiedBy" - }, - "serializedName": "modifiedBy", - "modelType": { - "$id": "2764", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "2765", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - }, - { - "$id": "2766", - "isReadOnly": false, - "realPath": [ - "id" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "2767", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "2768", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "2769", - "fixed": false, - "raw": "id" - }, - "serializedName": "id", - "modelType": { - "$id": "2770", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "2771", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - } - ], - "serializedName": "CustomerOrder", - "containsConstantProperties": false, - "name": { - "$id": "2772", - "fixed": false, - "raw": "CustomerOrder" - }, - "extensions": { - "x-ms-metadata": { - "apiVersions": [ - "v1" - ], - "filename": [ - "mem:///104?oai3.shaken.json" - ], - "name": "CustomerOrder", - "originalLocations": [ - "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/schemas/CustomerOrder" - ] - } - }, - "deprecated": false - }, - { - "$ref": "2131" - }, - { - "$id": "2773", - "$type": "CompositeType", - "properties": [ - { - "$id": "2774", - "isReadOnly": true, - "realPath": [ - "customerOrders" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "2775", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "2776", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "2777", - "fixed": false, - "raw": "customerOrders" - }, - "serializedName": "customerOrders", - "modelType": { - "$id": "2778", - "$type": "SequenceType", - "elementType": { - "$ref": "2011" - }, - "name": { - "$id": "2779", - "fixed": false - }, - "deprecationMessage": "This type is deprecated. Please do not use it any longer.", - "deprecated": true - } - }, - { - "$id": "2780", - "isReadOnly": false, - "realPath": [ - "totalCount" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "2781", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "2782", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "2783", - "fixed": false, - "raw": "totalCount" - }, - "serializedName": "totalCount", - "modelType": { - "$id": "2784", - "$type": "PrimaryType", - "format": "int32", - "knownPrimaryType": "int", - "name": { - "$id": "2785", - "fixed": false, - "raw": "Int" - }, - "deprecated": false - } - }, - { - "$id": "2786", - "isReadOnly": false, - "realPath": [ - "results" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "2787", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "2788", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "2789", - "fixed": false, - "raw": "results" - }, - "serializedName": "results", - "modelType": { - "$id": "2790", - "$type": "SequenceType", - "elementType": { - "$ref": "2011" - }, - "name": { - "$id": "2791", - "fixed": false - }, - "deprecated": false - } - } - ], - "serializedName": "CustomerOrderSearchResult", - "containsConstantProperties": false, - "name": { - "$id": "2792", - "fixed": false, - "raw": "CustomerOrderSearchResult" - }, - "extensions": { - "x-ms-metadata": { - "apiVersions": [ - "v1" - ], - "filename": [ - "mem:///104?oai3.shaken.json" - ], - "name": "CustomerOrderSearchResult", - "originalLocations": [ - "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/schemas/CustomerOrderSearchResult" - ] - } - }, - "deprecated": false - }, - { - "$id": "2793", - "$type": "CompositeType", - "properties": [ - { - "$id": "2794", - "isReadOnly": false, - "realPath": [ - "bankCardNumber" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "2795", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "2796", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "2797", - "fixed": false, - "raw": "bankCardNumber" - }, - "serializedName": "bankCardNumber", - "modelType": { - "$id": "2798", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "2799", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - }, - { - "$id": "2800", - "isReadOnly": false, - "realPath": [ - "bankCardType" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "2801", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "2802", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "2803", - "fixed": false, - "raw": "bankCardType" - }, - "serializedName": "bankCardType", - "modelType": { - "$id": "2804", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "2805", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - }, - { - "$id": "2806", - "isReadOnly": false, - "realPath": [ - "bankCardMonth" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "2807", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "2808", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "2809", - "fixed": false, - "raw": "bankCardMonth" - }, - "serializedName": "bankCardMonth", - "modelType": { - "$id": "2810", - "$type": "PrimaryType", - "format": "int32", - "knownPrimaryType": "int", - "name": { - "$id": "2811", - "fixed": false, - "raw": "Int" - }, - "deprecated": false - } - }, - { - "$id": "2812", - "isReadOnly": false, - "realPath": [ - "bankCardYear" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "2813", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "2814", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "2815", - "fixed": false, - "raw": "bankCardYear" - }, - "serializedName": "bankCardYear", - "modelType": { - "$id": "2816", - "$type": "PrimaryType", - "format": "int32", - "knownPrimaryType": "int", - "name": { - "$id": "2817", - "fixed": false, - "raw": "Int" - }, - "deprecated": false - } - }, - { - "$id": "2818", - "isReadOnly": false, - "realPath": [ - "bankCardCVV2" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "2819", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "2820", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "2821", - "fixed": false, - "raw": "bankCardCVV2" - }, - "serializedName": "bankCardCVV2", - "modelType": { - "$id": "2822", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "2823", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - }, - { - "$id": "2824", - "isReadOnly": false, - "realPath": [ - "cardholderName" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "2825", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "2826", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "2827", - "fixed": false, - "raw": "cardholderName" - }, - "serializedName": "cardholderName", - "modelType": { - "$id": "2828", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "2829", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - } - ], - "serializedName": "BankCardInfo", - "containsConstantProperties": false, - "name": { - "$id": "2830", - "fixed": false, - "raw": "BankCardInfo" - }, - "extensions": { - "x-ms-metadata": { - "apiVersions": [ - "v1" - ], - "filename": [ - "mem:///104?oai3.shaken.json" - ], - "name": "BankCardInfo", - "originalLocations": [ - "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/schemas/BankCardInfo" - ] - } - }, - "deprecated": false - }, - { - "$id": "2831", - "$type": "CompositeType", - "properties": [ - { - "$id": "2832", - "isReadOnly": false, - "realPath": [ - "currency" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "2833", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "2834", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "2835", - "fixed": false, - "raw": "currency" - }, - "serializedName": "currency", - "modelType": { - "$id": "2836", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "2837", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - }, - { - "$id": "2838", - "isReadOnly": false, - "realPath": [ - "amount" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "2839", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "2840", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "2841", - "fixed": false, - "raw": "amount" - }, - "serializedName": "amount", - "modelType": { - "$id": "2842", - "$type": "PrimaryType", - "format": "double", - "knownPrimaryType": "double", - "name": { - "$id": "2843", - "fixed": false, - "raw": "Double" - }, - "deprecated": false - } - } - ], - "serializedName": "Money", - "containsConstantProperties": false, - "name": { - "$id": "2844", - "fixed": false, - "raw": "Money" - }, - "extensions": { - "x-ms-metadata": { - "apiVersions": [ - "v1" - ], - "filename": [ - "mem:///104?oai3.shaken.json" - ], - "name": "Money", - "originalLocations": [ - "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/schemas/Money" - ] - } - }, - "deprecated": false - }, - { - "$id": "2845", - "$type": "CompositeType", - "properties": [ - { - "$id": "2846", - "isReadOnly": false, - "realPath": [ - "year" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "2847", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "2848", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "2849", - "fixed": false, - "raw": "year" - }, - "serializedName": "year", - "modelType": { - "$id": "2850", - "$type": "PrimaryType", - "format": "int32", - "knownPrimaryType": "int", - "name": { - "$id": "2851", - "fixed": false, - "raw": "Int" - }, - "deprecated": false - } - }, - { - "$id": "2852", - "isReadOnly": false, - "realPath": [ - "quarter" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "2853", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "2854", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "2855", - "fixed": false, - "raw": "quarter" - }, - "serializedName": "quarter", - "modelType": { - "$id": "2856", - "$type": "PrimaryType", - "format": "int32", - "knownPrimaryType": "int", - "name": { - "$id": "2857", - "fixed": false, - "raw": "Int" - }, - "deprecated": false - } - }, - { - "$id": "2858", - "isReadOnly": false, - "realPath": [ - "currency" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "2859", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "2860", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "2861", - "fixed": false, - "raw": "currency" - }, - "serializedName": "currency", - "modelType": { - "$id": "2862", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "2863", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - }, - { - "$id": "2864", - "isReadOnly": false, - "realPath": [ - "amount" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "2865", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "2866", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "2867", - "fixed": false, - "raw": "amount" - }, - "serializedName": "amount", - "modelType": { - "$id": "2868", - "$type": "PrimaryType", - "format": "double", - "knownPrimaryType": "double", - "name": { - "$id": "2869", - "fixed": false, - "raw": "Double" - }, - "deprecated": false - } - } - ], - "serializedName": "QuarterPeriodMoney", - "containsConstantProperties": false, - "name": { - "$id": "2870", - "fixed": false, - "raw": "QuarterPeriodMoney" - }, - "extensions": { - "x-ms-metadata": { - "apiVersions": [ - "v1" - ], - "filename": [ - "mem:///104?oai3.shaken.json" - ], - "name": "QuarterPeriodMoney", - "originalLocations": [ - "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/schemas/QuarterPeriodMoney" - ] - } - }, - "deprecated": false - }, - { - "$id": "2871", - "$type": "CompositeType", - "properties": [ - { - "$id": "2872", - "isReadOnly": false, - "realPath": [ - "startDate" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "2873", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "2874", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "2875", - "fixed": false, - "raw": "startDate" - }, - "serializedName": "startDate", - "modelType": { - "$id": "2876", - "$type": "PrimaryType", - "format": "date-time", - "knownPrimaryType": "dateTime", - "name": { - "$id": "2877", - "fixed": false, - "raw": "DateTime" - }, - "deprecated": false - } - }, - { - "$id": "2878", - "isReadOnly": false, - "realPath": [ - "endDate" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "2879", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "2880", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "2881", - "fixed": false, - "raw": "endDate" - }, - "serializedName": "endDate", - "modelType": { - "$id": "2882", - "$type": "PrimaryType", - "format": "date-time", - "knownPrimaryType": "dateTime", - "name": { - "$id": "2883", - "fixed": false, - "raw": "DateTime" - }, - "deprecated": false - } - }, - { - "$id": "2884", - "isReadOnly": false, - "realPath": [ - "revenue" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "2885", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "2886", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "2887", - "fixed": false, - "raw": "revenue" - }, - "serializedName": "revenue", - "modelType": { - "$id": "2888", - "$type": "SequenceType", - "elementType": { - "$ref": "2831" - }, - "name": { - "$id": "2889", - "fixed": false - }, - "deprecated": false - } - }, - { - "$id": "2890", - "isReadOnly": false, - "realPath": [ - "revenuePeriodDetails" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "2891", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "2892", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "2893", - "fixed": false, - "raw": "revenuePeriodDetails" - }, - "serializedName": "revenuePeriodDetails", - "modelType": { - "$id": "2894", - "$type": "SequenceType", - "elementType": { - "$ref": "2845" - }, - "name": { - "$id": "2895", - "fixed": false - }, - "deprecated": false - } - }, - { - "$id": "2896", - "isReadOnly": false, - "realPath": [ - "orderCount" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "2897", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "2898", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "2899", - "fixed": false, - "raw": "orderCount" - }, - "serializedName": "orderCount", - "modelType": { - "$id": "2900", - "$type": "PrimaryType", - "format": "int32", - "knownPrimaryType": "int", - "name": { - "$id": "2901", - "fixed": false, - "raw": "Int" - }, - "deprecated": false - } - }, - { - "$id": "2902", - "isReadOnly": false, - "realPath": [ - "customersCount" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "2903", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "2904", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "2905", - "fixed": false, - "raw": "customersCount" - }, - "serializedName": "customersCount", - "modelType": { - "$id": "2906", - "$type": "PrimaryType", - "format": "int32", - "knownPrimaryType": "int", - "name": { - "$id": "2907", - "fixed": false, - "raw": "Int" - }, - "deprecated": false - } - }, - { - "$id": "2908", - "isReadOnly": false, - "realPath": [ - "revenuePerCustomer" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "2909", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "2910", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "2911", - "fixed": false, - "raw": "revenuePerCustomer" - }, - "serializedName": "revenuePerCustomer", - "modelType": { - "$id": "2912", - "$type": "SequenceType", - "elementType": { - "$ref": "2831" - }, - "name": { - "$id": "2913", - "fixed": false - }, - "deprecated": false - } - }, - { - "$id": "2914", - "isReadOnly": false, - "realPath": [ - "avgOrderValue" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "2915", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "2916", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "2917", - "fixed": false, - "raw": "avgOrderValue" - }, - "serializedName": "avgOrderValue", - "modelType": { - "$id": "2918", - "$type": "SequenceType", - "elementType": { - "$ref": "2831" - }, - "name": { - "$id": "2919", - "fixed": false - }, - "deprecated": false - } - }, - { - "$id": "2920", - "isReadOnly": false, - "realPath": [ - "avgOrderValuePeriodDetails" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "2921", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "2922", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "2923", - "fixed": false, - "raw": "avgOrderValuePeriodDetails" - }, - "serializedName": "avgOrderValuePeriodDetails", - "modelType": { - "$id": "2924", - "$type": "SequenceType", - "elementType": { - "$ref": "2845" - }, - "name": { - "$id": "2925", - "fixed": false - }, - "deprecated": false - } - }, - { - "$id": "2926", - "isReadOnly": false, - "realPath": [ - "itemsPurchased" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "2927", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "2928", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "2929", - "fixed": false, - "raw": "itemsPurchased" - }, - "serializedName": "itemsPurchased", - "modelType": { - "$id": "2930", - "$type": "PrimaryType", - "format": "int32", - "knownPrimaryType": "int", - "name": { - "$id": "2931", - "fixed": false, - "raw": "Int" - }, - "deprecated": false - } - }, - { - "$id": "2932", - "isReadOnly": false, - "realPath": [ - "lineitemsPerOrder" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "2933", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "2934", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "2935", - "fixed": false, - "raw": "lineitemsPerOrder" - }, - "serializedName": "lineitemsPerOrder", - "modelType": { - "$id": "2936", - "$type": "PrimaryType", - "format": "double", - "knownPrimaryType": "double", - "name": { - "$id": "2937", - "fixed": false, - "raw": "Double" - }, - "deprecated": false - } - } - ], - "serializedName": "DashboardStatisticsResult", - "containsConstantProperties": false, - "name": { - "$id": "2938", - "fixed": false, - "raw": "DashboardStatisticsResult" - }, - "extensions": { - "x-ms-metadata": { - "apiVersions": [ - "v1" - ], - "filename": [ - "mem:///104?oai3.shaken.json" - ], - "name": "DashboardStatisticsResult", - "originalLocations": [ - "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/schemas/DashboardStatisticsResult" - ] - } - }, - "deprecated": false - }, - { - "$id": "2939", - "$type": "CompositeType", - "properties": [ - { - "$id": "2940", - "isReadOnly": false, - "realPath": [ - "key" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "2941", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "2942", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "2943", - "fixed": false, - "raw": "key" - }, - "serializedName": "key", - "modelType": { - "$id": "2944", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "2945", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - }, - { - "$id": "2946", - "isReadOnly": false, - "realPath": [ - "value" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "2947", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "2948", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "2949", - "fixed": false, - "raw": "value" - }, - "serializedName": "value", - "modelType": { - "$id": "2950", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "2951", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - } - ], - "serializedName": "KeyValuePair", - "containsConstantProperties": false, - "name": { - "$id": "2952", - "fixed": false, - "raw": "KeyValuePair" - }, - "extensions": { - "x-ms-metadata": { - "apiVersions": [ - "v1" - ], - "filename": [ - "mem:///104?oai3.shaken.json" - ], - "name": "KeyValuePair", - "originalLocations": [ - "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/schemas/KeyValuePair" - ] - } - }, - "deprecated": false - }, - { - "$id": "2953", - "$type": "CompositeType", - "properties": [ - { - "$id": "2954", - "isReadOnly": false, - "realPath": [ - "parameters" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "2955", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "2956", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "2957", - "fixed": false, - "raw": "parameters" - }, - "serializedName": "parameters", - "modelType": { - "$id": "2958", - "$type": "SequenceType", - "elementType": { - "$ref": "2939" - }, - "name": { - "$id": "2959", - "fixed": false - }, - "deprecated": false - } - } - ], - "serializedName": "PaymentCallbackParameters", - "containsConstantProperties": false, - "name": { - "$id": "2960", - "fixed": false, - "raw": "PaymentCallbackParameters" - }, - "extensions": { - "x-ms-metadata": { - "apiVersions": [ - "v1" - ], - "filename": [ - "mem:///104?oai3.shaken.json" - ], - "name": "PaymentCallbackParameters", - "originalLocations": [ - "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/schemas/PaymentCallbackParameters" - ] - } - }, - "deprecated": false - }, - { - "$id": "2961", - "$type": "CompositeType", - "properties": [ - { - "$id": "2962", - "isReadOnly": false, - "realPath": [ - "returnUrl" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "2963", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "2964", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "2965", - "fixed": false, - "raw": "returnUrl" - }, - "serializedName": "returnUrl", - "modelType": { - "$id": "2966", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "2967", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - }, - { - "$id": "2968", - "isReadOnly": false, - "realPath": [ - "orderId" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "2969", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "2970", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "2971", - "fixed": false, - "raw": "orderId" - }, - "serializedName": "orderId", - "modelType": { - "$id": "2972", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "2973", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - }, - { - "$id": "2974", - "isReadOnly": false, - "realPath": [ - "outerId" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "2975", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "2976", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "2977", - "fixed": false, - "raw": "outerId" - }, - "serializedName": "outerId", - "modelType": { - "$id": "2978", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "2979", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - }, - { - "$id": "2980", - "isReadOnly": false, - "realPath": [ - "paymentMethod" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "2981", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "2982", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "2983", - "fixed": false, - "raw": "paymentMethod" - }, - "serializedName": "paymentMethod", - "modelType": { - "$ref": "591" - } - }, - { - "$id": "2984", - "isReadOnly": false, - "realPath": [ - "isSuccess" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "2985", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "2986", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "2987", - "fixed": false, - "raw": "isSuccess" - }, - "serializedName": "isSuccess", - "modelType": { - "$id": "2988", - "$type": "PrimaryType", - "knownPrimaryType": "boolean", - "name": { - "$id": "2989", - "fixed": false, - "raw": "Boolean" - }, - "deprecated": false - } - }, - { - "$id": "2990", - "isReadOnly": false, - "realPath": [ - "errorMessage" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "2991", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "2992", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "2993", - "fixed": false, - "raw": "errorMessage" - }, - "serializedName": "errorMessage", - "modelType": { - "$id": "2994", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "2995", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - }, - { - "$id": "2996", - "isReadOnly": false, - "realPath": [ - "newPaymentStatus" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "2997", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "2998", - "fixed": false - }, - "extensions": { - "x-ms-metadata": { - "apiVersions": [ - "v1" - ], - "filename": [ - "mem:///104?oai3.shaken.json" - ], - "name": "PaymentStatus", - "originalLocations": [ - "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/schemas/PaymentStatus" - ] - } - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "2999", - "fixed": false, - "raw": "newPaymentStatus" - }, - "serializedName": "newPaymentStatus", - "modelType": { - "$id": "3000", - "$type": "EnumType", - "values": [ - { - "$id": "3001", - "name": "New", - "serializedName": "New" - }, - { - "$id": "3002", - "name": "Pending", - "serializedName": "Pending" - }, - { - "$id": "3003", - "name": "Authorized", - "serializedName": "Authorized" - }, - { - "$id": "3004", - "name": "Paid", - "serializedName": "Paid" - }, - { - "$id": "3005", - "name": "PartiallyRefunded", - "serializedName": "PartiallyRefunded" - }, - { - "$id": "3006", - "name": "Refunded", - "serializedName": "Refunded" - }, - { - "$id": "3007", - "name": "Voided", - "serializedName": "Voided" - }, - { - "$id": "3008", - "name": "Custom", - "serializedName": "Custom" - }, - { - "$id": "3009", - "name": "Cancelled", - "serializedName": "Cancelled" - }, - { - "$id": "3010", - "name": "Declined", - "serializedName": "Declined" - }, - { - "$id": "3011", - "name": "Error", - "serializedName": "Error" - } - ], - "oldModelAsString": false, - "modelAsString": true, - "underlyingType": { - "$id": "3012", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "3013", - "fixed": false, - "raw": "String" - }, - "deprecated": false - }, - "name": { - "$id": "3014", - "fixed": false, - "raw": "" - }, - "deprecated": false - } - } - ], - "serializedName": "PostProcessPaymentRequestResult", - "containsConstantProperties": false, - "name": { - "$id": "3015", - "fixed": false, - "raw": "PostProcessPaymentRequestResult" - }, - "extensions": { - "x-ms-metadata": { - "apiVersions": [ - "v1" - ], - "filename": [ - "mem:///104?oai3.shaken.json" - ], - "name": "PostProcessPaymentRequestResult", - "originalLocations": [ - "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/schemas/PostProcessPaymentRequestResult" - ] - } - }, - "deprecated": false - }, - { - "$id": "3016", - "$type": "CompositeType", - "properties": [ - { - "$id": "3017", - "isReadOnly": false, - "realPath": [ - "orderId" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "3018", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "3019", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "3020", - "fixed": false, - "raw": "orderId" - }, - "serializedName": "orderId", - "modelType": { - "$id": "3021", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "3022", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - }, - { - "$id": "3023", - "isReadOnly": false, - "realPath": [ - "responseGroup" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "3024", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "3025", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "3026", - "fixed": false, - "raw": "responseGroup" - }, - "serializedName": "responseGroup", - "modelType": { - "$id": "3027", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "3028", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - }, - { - "$id": "3029", - "isReadOnly": false, - "realPath": [ - "objectType" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "3030", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "3031", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "3032", - "fixed": false, - "raw": "objectType" - }, - "serializedName": "objectType", - "modelType": { - "$id": "3033", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "3034", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - }, - { - "$id": "3035", - "isReadOnly": false, - "realPath": [ - "objectTypes" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "3036", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "3037", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "3038", - "fixed": false, - "raw": "objectTypes" - }, - "serializedName": "objectTypes", - "modelType": { - "$id": "3039", - "$type": "SequenceType", - "elementType": { - "$id": "3040", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "3041", - "fixed": false, - "raw": "String" - }, - "deprecated": false - }, - "name": { - "$id": "3042", - "fixed": false - }, - "deprecated": false - } - }, - { - "$id": "3043", - "isReadOnly": false, - "realPath": [ - "objectIds" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "3044", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "3045", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "3046", - "fixed": false, - "raw": "objectIds" - }, - "serializedName": "objectIds", - "modelType": { - "$id": "3047", - "$type": "SequenceType", - "elementType": { - "$id": "3048", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "3049", - "fixed": false, - "raw": "String" - }, - "deprecated": false - }, - "name": { - "$id": "3050", - "fixed": false - }, - "deprecated": false - } - }, - { - "$id": "3051", - "isReadOnly": false, - "realPath": [ - "keyword" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "3052", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "3053", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "3054", - "fixed": false, - "raw": "keyword" - }, - "serializedName": "keyword", - "modelType": { - "$id": "3055", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "3056", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - }, - { - "$id": "3057", - "isReadOnly": false, - "realPath": [ - "searchPhrase" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "3058", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "3059", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "3060", - "fixed": false, - "raw": "searchPhrase" - }, - "serializedName": "searchPhrase", - "modelType": { - "$id": "3061", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "3062", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - }, - { - "$id": "3063", - "isReadOnly": false, - "realPath": [ - "languageCode" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "3064", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "3065", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "3066", - "fixed": false, - "raw": "languageCode" - }, - "serializedName": "languageCode", - "modelType": { - "$id": "3067", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "3068", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - }, - { - "$id": "3069", - "isReadOnly": false, - "realPath": [ - "sort" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "3070", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "3071", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "3072", - "fixed": false, - "raw": "sort" - }, - "serializedName": "sort", - "modelType": { - "$id": "3073", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "3074", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - }, - { - "$id": "3075", - "isReadOnly": true, - "realPath": [ - "sortInfos" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "3076", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "3077", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "3078", - "fixed": false, - "raw": "sortInfos" - }, - "serializedName": "sortInfos", - "modelType": { - "$id": "3079", - "$type": "SequenceType", - "elementType": { - "$ref": "65" - }, - "name": { - "$id": "3080", - "fixed": false - }, - "deprecated": false - } - }, - { - "$id": "3081", - "isReadOnly": false, - "realPath": [ - "skip" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "3082", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "3083", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "3084", - "fixed": false, - "raw": "skip" - }, - "serializedName": "skip", - "modelType": { - "$id": "3085", - "$type": "PrimaryType", - "format": "int32", - "knownPrimaryType": "int", - "name": { - "$id": "3086", - "fixed": false, - "raw": "Int" - }, - "deprecated": false - } - }, - { - "$id": "3087", - "isReadOnly": false, - "realPath": [ - "take" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "3088", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "3089", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "3090", - "fixed": false, - "raw": "take" - }, - "serializedName": "take", - "modelType": { - "$id": "3091", - "$type": "PrimaryType", - "format": "int32", - "knownPrimaryType": "int", - "name": { - "$id": "3092", - "fixed": false, - "raw": "Int" - }, - "deprecated": false - } - } - ], - "serializedName": "CustomerOrderHistorySearchCriteria", - "containsConstantProperties": false, - "name": { - "$id": "3093", - "fixed": false, - "raw": "CustomerOrderHistorySearchCriteria" - }, - "extensions": { - "x-ms-metadata": { - "apiVersions": [ - "v1" - ], - "filename": [ - "mem:///104?oai3.shaken.json" - ], - "name": "CustomerOrderHistorySearchCriteria", - "originalLocations": [ - "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/schemas/CustomerOrderHistorySearchCriteria" - ] - } - }, - "deprecated": false - }, - { - "$id": "3094", - "$type": "CompositeType", - "properties": [ - { - "$id": "3095", - "isReadOnly": false, - "realPath": [ - "totalCount" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "3096", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "3097", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "3098", - "fixed": false, - "raw": "totalCount" - }, - "serializedName": "totalCount", - "modelType": { - "$id": "3099", - "$type": "PrimaryType", - "format": "int32", - "knownPrimaryType": "int", - "name": { - "$id": "3100", - "fixed": false, - "raw": "Int" - }, - "deprecated": false - } - }, - { - "$id": "3101", - "isReadOnly": false, - "realPath": [ - "results" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "3102", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "3103", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "3104", - "fixed": false, - "raw": "results" - }, - "serializedName": "results", - "modelType": { - "$id": "3105", - "$type": "SequenceType", - "elementType": { - "$ref": "2" - }, - "name": { - "$id": "3106", - "fixed": false - }, - "deprecated": false - } - } - ], - "serializedName": "ChangeLogSearchResult", - "containsConstantProperties": false, - "name": { - "$id": "3107", - "fixed": false, - "raw": "ChangeLogSearchResult" - }, - "extensions": { - "x-ms-metadata": { - "apiVersions": [ - "v1" - ], - "filename": [ - "mem:///104?oai3.shaken.json" - ], - "name": "ChangeLogSearchResult", - "originalLocations": [ - "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/schemas/ChangeLogSearchResult" - ] - } - }, - "deprecated": false - }, - { - "$id": "3108", - "$type": "CompositeType", - "properties": [ - { - "$id": "3109", - "isReadOnly": false, - "realPath": [ - "orderId" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "3110", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "3111", - "fixed": false, - "raw": "It used to limit search within a customer order id" - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "3112", - "fixed": false, - "raw": "orderId" - }, - "serializedName": "orderId", - "modelType": { - "$id": "3113", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "3114", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - }, - { - "$id": "3115", - "isReadOnly": false, - "realPath": [ - "orderNumber" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "3116", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "3117", - "fixed": false, - "raw": "It used to limit search within a customer order number" - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "3118", - "fixed": false, - "raw": "orderNumber" - }, - "serializedName": "orderNumber", - "modelType": { - "$id": "3119", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "3120", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - }, - { - "$id": "3121", - "isReadOnly": false, - "realPath": [ - "capturedStartDate" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "3122", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "3123", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "3124", - "fixed": false, - "raw": "capturedStartDate" - }, - "serializedName": "capturedStartDate", - "modelType": { - "$id": "3125", - "$type": "PrimaryType", - "format": "date-time", - "knownPrimaryType": "dateTime", - "name": { - "$id": "3126", - "fixed": false, - "raw": "DateTime" - }, - "deprecated": false - } - }, - { - "$id": "3127", - "isReadOnly": false, - "realPath": [ - "capturedEndDate" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "3128", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "3129", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "3130", - "fixed": false, - "raw": "capturedEndDate" - }, - "serializedName": "capturedEndDate", - "modelType": { - "$id": "3131", - "$type": "PrimaryType", - "format": "date-time", - "knownPrimaryType": "dateTime", - "name": { - "$id": "3132", - "fixed": false, - "raw": "DateTime" - }, - "deprecated": false - } - }, - { - "$id": "3133", - "isReadOnly": false, - "realPath": [ - "authorizedStartDate" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "3134", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "3135", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "3136", - "fixed": false, - "raw": "authorizedStartDate" - }, - "serializedName": "authorizedStartDate", - "modelType": { - "$id": "3137", - "$type": "PrimaryType", - "format": "date-time", - "knownPrimaryType": "dateTime", - "name": { - "$id": "3138", - "fixed": false, - "raw": "DateTime" - }, - "deprecated": false - } - }, - { - "$id": "3139", - "isReadOnly": false, - "realPath": [ - "authorizedEndDate" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "3140", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "3141", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "3142", - "fixed": false, - "raw": "authorizedEndDate" - }, - "serializedName": "authorizedEndDate", - "modelType": { - "$id": "3143", - "$type": "PrimaryType", - "format": "date-time", - "knownPrimaryType": "dateTime", - "name": { - "$id": "3144", - "fixed": false, - "raw": "DateTime" - }, - "deprecated": false - } - }, - { - "$id": "3145", - "isReadOnly": false, - "realPath": [ - "ids" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "3146", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "3147", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "3148", - "fixed": false, - "raw": "ids" - }, - "serializedName": "ids", - "modelType": { - "$id": "3149", - "$type": "SequenceType", - "elementType": { - "$id": "3150", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "3151", - "fixed": false, - "raw": "String" - }, - "deprecated": false - }, - "name": { - "$id": "3152", - "fixed": false - }, - "deprecated": false - } - }, - { - "$id": "3153", - "isReadOnly": false, - "realPath": [ - "employeeId" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "3154", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "3155", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "3156", - "fixed": false, - "raw": "employeeId" - }, - "serializedName": "employeeId", - "modelType": { - "$id": "3157", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "3158", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - }, - { - "$id": "3159", - "isReadOnly": false, - "realPath": [ - "storeIds" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "3160", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "3161", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "3162", - "fixed": false, - "raw": "storeIds" - }, - "serializedName": "storeIds", - "modelType": { - "$id": "3163", - "$type": "SequenceType", - "elementType": { - "$id": "3164", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "3165", - "fixed": false, - "raw": "String" - }, - "deprecated": false - }, - "name": { - "$id": "3166", - "fixed": false - }, - "deprecated": false - } - }, - { - "$id": "3167", - "isReadOnly": false, - "realPath": [ - "status" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "3168", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "3169", - "fixed": false, - "raw": "Search by status" - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "3170", - "fixed": false, - "raw": "status" - }, - "serializedName": "status", - "modelType": { - "$id": "3171", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "3172", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - }, - { - "$id": "3173", - "isReadOnly": false, - "realPath": [ - "statuses" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "3174", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "3175", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "3176", - "fixed": false, - "raw": "statuses" - }, - "serializedName": "statuses", - "modelType": { - "$id": "3177", - "$type": "SequenceType", - "elementType": { - "$id": "3178", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "3179", - "fixed": false, - "raw": "String" - }, - "deprecated": false - }, - "name": { - "$id": "3180", - "fixed": false - }, - "deprecated": false - } - }, - { - "$id": "3181", - "isReadOnly": false, - "realPath": [ - "number" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "3182", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "3183", - "fixed": false, - "raw": "Search by numbers" - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "3184", - "fixed": false, - "raw": "number" - }, - "serializedName": "number", - "modelType": { - "$id": "3185", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "3186", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - }, - { - "$id": "3187", - "isReadOnly": false, - "realPath": [ - "numbers" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "3188", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "3189", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "3190", - "fixed": false, - "raw": "numbers" - }, - "serializedName": "numbers", - "modelType": { - "$id": "3191", - "$type": "SequenceType", - "elementType": { - "$id": "3192", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "3193", - "fixed": false, - "raw": "String" - }, - "deprecated": false - }, - "name": { - "$id": "3194", - "fixed": false - }, - "deprecated": false - } - }, - { - "$id": "3195", - "isReadOnly": false, - "realPath": [ - "startDate" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "3196", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "3197", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "3198", - "fixed": false, - "raw": "startDate" - }, - "serializedName": "startDate", - "modelType": { - "$id": "3199", - "$type": "PrimaryType", - "format": "date-time", - "knownPrimaryType": "dateTime", - "name": { - "$id": "3200", - "fixed": false, - "raw": "DateTime" - }, - "deprecated": false - } - }, - { - "$id": "3201", - "isReadOnly": false, - "realPath": [ - "endDate" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "3202", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "3203", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "3204", - "fixed": false, - "raw": "endDate" - }, - "serializedName": "endDate", - "modelType": { - "$id": "3205", - "$type": "PrimaryType", - "format": "date-time", - "knownPrimaryType": "dateTime", - "name": { - "$id": "3206", - "fixed": false, - "raw": "DateTime" - }, - "deprecated": false - } - }, - { - "$id": "3207", - "isReadOnly": false, - "realPath": [ - "responseGroup" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "3208", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "3209", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "3210", - "fixed": false, - "raw": "responseGroup" - }, - "serializedName": "responseGroup", - "modelType": { - "$id": "3211", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "3212", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - }, - { - "$id": "3213", - "isReadOnly": false, - "realPath": [ - "objectType" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "3214", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "3215", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "3216", - "fixed": false, - "raw": "objectType" - }, - "serializedName": "objectType", - "modelType": { - "$id": "3217", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "3218", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - }, - { - "$id": "3219", - "isReadOnly": false, - "realPath": [ - "objectTypes" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "3220", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "3221", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "3222", - "fixed": false, - "raw": "objectTypes" - }, - "serializedName": "objectTypes", - "modelType": { - "$id": "3223", - "$type": "SequenceType", - "elementType": { - "$id": "3224", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "3225", - "fixed": false, - "raw": "String" - }, - "deprecated": false - }, - "name": { - "$id": "3226", - "fixed": false - }, - "deprecated": false - } - }, - { - "$id": "3227", - "isReadOnly": false, - "realPath": [ - "objectIds" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "3228", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "3229", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "3230", - "fixed": false, - "raw": "objectIds" - }, - "serializedName": "objectIds", - "modelType": { - "$id": "3231", - "$type": "SequenceType", - "elementType": { - "$id": "3232", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "3233", - "fixed": false, - "raw": "String" - }, - "deprecated": false - }, - "name": { - "$id": "3234", - "fixed": false - }, - "deprecated": false - } - }, - { - "$id": "3235", - "isReadOnly": false, - "realPath": [ - "keyword" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "3236", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "3237", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "3238", - "fixed": false, - "raw": "keyword" - }, - "serializedName": "keyword", - "modelType": { - "$id": "3239", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "3240", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - }, - { - "$id": "3241", - "isReadOnly": false, - "realPath": [ - "searchPhrase" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "3242", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "3243", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "3244", - "fixed": false, - "raw": "searchPhrase" - }, - "serializedName": "searchPhrase", - "modelType": { - "$id": "3245", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "3246", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - }, - { - "$id": "3247", - "isReadOnly": false, - "realPath": [ - "languageCode" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "3248", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "3249", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "3250", - "fixed": false, - "raw": "languageCode" - }, - "serializedName": "languageCode", - "modelType": { - "$id": "3251", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "3252", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - }, - { - "$id": "3253", - "isReadOnly": false, - "realPath": [ - "sort" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "3254", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "3255", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "3256", - "fixed": false, - "raw": "sort" - }, - "serializedName": "sort", - "modelType": { - "$id": "3257", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "3258", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - }, - { - "$id": "3259", - "isReadOnly": true, - "realPath": [ - "sortInfos" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "3260", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "3261", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "3262", - "fixed": false, - "raw": "sortInfos" - }, - "serializedName": "sortInfos", - "modelType": { - "$id": "3263", - "$type": "SequenceType", - "elementType": { - "$ref": "65" - }, - "name": { - "$id": "3264", - "fixed": false - }, - "deprecated": false - } - }, - { - "$id": "3265", - "isReadOnly": false, - "realPath": [ - "skip" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "3266", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "3267", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "3268", - "fixed": false, - "raw": "skip" - }, - "serializedName": "skip", - "modelType": { - "$id": "3269", - "$type": "PrimaryType", - "format": "int32", - "knownPrimaryType": "int", - "name": { - "$id": "3270", - "fixed": false, - "raw": "Int" - }, - "deprecated": false - } - }, - { - "$id": "3271", - "isReadOnly": false, - "realPath": [ - "take" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "3272", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "3273", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "3274", - "fixed": false, - "raw": "take" - }, - "serializedName": "take", - "modelType": { - "$id": "3275", - "$type": "PrimaryType", - "format": "int32", - "knownPrimaryType": "int", - "name": { - "$id": "3276", - "fixed": false, - "raw": "Int" - }, - "deprecated": false - } - } - ], - "serializedName": "PaymentSearchCriteria", - "containsConstantProperties": false, - "name": { - "$id": "3277", - "fixed": false, - "raw": "PaymentSearchCriteria" - }, - "extensions": { - "x-ms-metadata": { - "apiVersions": [ - "v1" - ], - "filename": [ - "mem:///104?oai3.shaken.json" - ], - "name": "PaymentSearchCriteria", - "originalLocations": [ - "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/schemas/PaymentSearchCriteria" - ] - } - }, - "deprecated": false - }, - { - "$id": "3278", - "$type": "CompositeType", - "properties": [ - { - "$id": "3279", - "isReadOnly": false, - "realPath": [ - "totalCount" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "3280", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "3281", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "3282", - "fixed": false, - "raw": "totalCount" - }, - "serializedName": "totalCount", - "modelType": { - "$id": "3283", - "$type": "PrimaryType", - "format": "int32", - "knownPrimaryType": "int", - "name": { - "$id": "3284", - "fixed": false, - "raw": "Int" - }, - "deprecated": false - } - }, - { - "$id": "3285", - "isReadOnly": false, - "realPath": [ - "results" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "3286", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "3287", - "fixed": false - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "3288", - "fixed": false, - "raw": "results" - }, - "serializedName": "results", - "modelType": { - "$id": "3289", - "$type": "SequenceType", - "elementType": { - "$ref": "1198" - }, - "name": { - "$id": "3290", - "fixed": false - }, - "deprecated": false - } - } - ], - "serializedName": "PaymentSearchResult", - "containsConstantProperties": false, - "name": { - "$id": "3291", - "fixed": false, - "raw": "PaymentSearchResult" - }, - "extensions": { - "x-ms-metadata": { - "apiVersions": [ - "v1" - ], - "filename": [ - "mem:///104?oai3.shaken.json" - ], - "name": "PaymentSearchResult", - "originalLocations": [ - "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/schemas/PaymentSearchResult" - ] - } - }, - "deprecated": false - } - ], - "name": "VirtoCommerceOrders", - "namespace": "VirtoCommerce.Storefront.AutoRestClients.OrdersModuleApi", - "modelsName": "Models", - "apiVersion": "v1", - "baseUrl": "http://localhost", - "properties": [ - { - "$id": "3292", - "isReadOnly": false, - "realPath": [ - "number" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "3293", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "3294", - "fixed": false, - "raw": "customer order number" - }, - "extensions": { - "x-ms-metadata": { - "apiVersions": [ - "v1" - ], - "filename": [ - "mem:///104?oai3.shaken.json" - ], - "name": "paths·e5gwje·api-order-customerorders-number-number·get·parameters·0", - "originalLocations": [ - "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/parameters/paths·e5gwje·api-order-customerorders-number-number·get·parameters·0" - ] - }, - "x-ms-parameter-location": "method" - }, - "isRequired": true, - "isConstant": false, - "name": { - "$id": "3295", - "fixed": false, - "raw": "number" - }, - "serializedName": "number", - "modelType": { - "$id": "3296", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "3297", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - }, - { - "$id": "3298", - "isReadOnly": false, - "realPath": [ - "respGroup" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "3299", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "3300", - "fixed": false, - "raw": "" - }, - "extensions": { - "x-ms-metadata": { - "apiVersions": [ - "v1" - ], - "filename": [ - "mem:///104?oai3.shaken.json" - ], - "name": "paths·i3qwr4·api-order-customerorders-number-number·get·parameters·1", - "originalLocations": [ - "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/parameters/paths·i3qwr4·api-order-customerorders-number-number·get·parameters·1" - ] - }, - "x-ms-parameter-location": "method" - }, - "isRequired": true, - "isConstant": false, - "name": { - "$id": "3301", - "fixed": false, - "raw": "respGroup" - }, - "serializedName": "respGroup", - "modelType": { - "$id": "3302", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "3303", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - }, - { - "$id": "3304", - "isReadOnly": false, - "realPath": [ - "id" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "3305", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "3306", - "fixed": false, - "raw": "customer order id" - }, - "extensions": { - "x-ms-metadata": { - "apiVersions": [ - "v1" - ], - "filename": [ - "mem:///104?oai3.shaken.json" - ], - "name": "paths·wsx48v·api-order-customerorders-id·get·parameters·0", - "originalLocations": [ - "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/parameters/paths·wsx48v·api-order-customerorders-id·get·parameters·0" - ] - }, - "x-ms-parameter-location": "method" - }, - "isRequired": true, - "isConstant": false, - "name": { - "$id": "3307", - "fixed": false, - "raw": "id" - }, - "serializedName": "id", - "modelType": { - "$id": "3308", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "3309", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - }, - { - "$id": "3310", - "isReadOnly": false, - "realPath": [ - "respGroup" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "3311", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "3312", - "fixed": false, - "raw": "" - }, - "extensions": { - "x-ms-metadata": { - "apiVersions": [ - "v1" - ], - "filename": [ - "mem:///104?oai3.shaken.json" - ], - "name": "paths·1jomc5o·api-order-customerorders-id·get·parameters·1", - "originalLocations": [ - "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/parameters/paths·1jomc5o·api-order-customerorders-id·get·parameters·1" - ] - }, - "x-ms-parameter-location": "method" - }, - "isRequired": true, - "isConstant": false, - "name": { - "$id": "3313", - "fixed": false, - "raw": "RespGroup1" - }, - "serializedName": "respGroup", - "modelType": { - "$id": "3314", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "3315", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - }, - { - "$id": "3316", - "isReadOnly": false, - "realPath": [ - "orderId" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "3317", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "3318", - "fixed": false, - "raw": "customer order id" - }, - "extensions": { - "x-ms-metadata": { - "apiVersions": [ - "v1" - ], - "filename": [ - "mem:///104?oai3.shaken.json" - ], - "name": "paths·p6didn·api-order-customerorders-orderid-processpayment-paymentid·post·parameters·0", - "originalLocations": [ - "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/parameters/paths·p6didn·api-order-customerorders-orderid-processpayment-paymentid·post·parameters·0" - ] - }, - "x-ms-parameter-location": "method" - }, - "isRequired": true, - "isConstant": false, - "name": { - "$id": "3319", - "fixed": false, - "raw": "orderId" - }, - "serializedName": "orderId", - "modelType": { - "$id": "3320", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "3321", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - }, - { - "$id": "3322", - "isReadOnly": false, - "realPath": [ - "paymentId" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "3323", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "3324", - "fixed": false, - "raw": "payment id" - }, - "extensions": { - "x-ms-metadata": { - "apiVersions": [ - "v1" - ], - "filename": [ - "mem:///104?oai3.shaken.json" - ], - "name": "paths·7h8szw·api-order-customerorders-orderid-processpayment-paymentid·post·parameters·1", - "originalLocations": [ - "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/parameters/paths·7h8szw·api-order-customerorders-orderid-processpayment-paymentid·post·parameters·1" - ] - }, - "x-ms-parameter-location": "method" - }, - "isRequired": true, - "isConstant": false, - "name": { - "$id": "3325", - "fixed": false, - "raw": "paymentId" - }, - "serializedName": "paymentId", - "modelType": { - "$id": "3326", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "3327", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - }, - { - "$id": "3328", - "isReadOnly": false, - "realPath": [ - "cartId" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "3329", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "3330", - "fixed": false, - "raw": "shopping cart id" - }, - "extensions": { - "x-ms-metadata": { - "apiVersions": [ - "v1" - ], - "filename": [ - "mem:///104?oai3.shaken.json" - ], - "name": "paths·1iieqg6·api-order-customerorders-cartid·post·parameters·0", - "originalLocations": [ - "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/parameters/paths·1iieqg6·api-order-customerorders-cartid·post·parameters·0" - ] - }, - "x-ms-parameter-location": "method" - }, - "isRequired": true, - "isConstant": false, - "name": { - "$id": "3331", - "fixed": false, - "raw": "cartId" - }, - "serializedName": "cartId", - "modelType": { - "$id": "3332", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "3333", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - }, - { - "$id": "3334", - "isReadOnly": false, - "realPath": [ - "ids" - ], - "collectionFormat": "csv", - "defaultValue": { - "$id": "3335", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "3336", - "fixed": false, - "raw": "customer order ids for delete" - }, - "extensions": { - "x-ms-metadata": { - "apiVersions": [ - "v1" - ], - "filename": [ - "mem:///104?oai3.shaken.json" - ], - "name": "paths·14ijh1o·api-order-customerorders·delete·parameters·0", - "originalLocations": [ - "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/parameters/paths·14ijh1o·api-order-customerorders·delete·parameters·0" - ] - }, - "x-ms-parameter-location": "method" - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "3337", - "fixed": false, - "raw": "ids" - }, - "serializedName": "ids", - "modelType": { - "$id": "3338", - "$type": "SequenceType", - "elementType": { - "$id": "3339", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "3340", - "fixed": false, - "raw": "String" - }, - "deprecated": false - }, - "name": { - "$id": "3341", - "fixed": false - }, - "deprecated": false - } - }, - { - "$id": "3342", - "isReadOnly": false, - "realPath": [ - "id" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "3343", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "3344", - "fixed": false, - "raw": "customer order id" - }, - "extensions": { - "x-ms-metadata": { - "apiVersions": [ - "v1" - ], - "filename": [ - "mem:///104?oai3.shaken.json" - ], - "name": "paths·1n4pioy·api-order-customerorders-id-shipments-new·get·parameters·0", - "originalLocations": [ - "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/parameters/paths·1n4pioy·api-order-customerorders-id-shipments-new·get·parameters·0" - ] - }, - "x-ms-parameter-location": "method" - }, - "isRequired": true, - "isConstant": false, - "name": { - "$id": "3345", - "fixed": false, - "raw": "Id1" - }, - "serializedName": "id", - "modelType": { - "$id": "3346", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "3347", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - }, - { - "$id": "3348", - "isReadOnly": false, - "realPath": [ - "id" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "3349", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "3350", - "fixed": false, - "raw": "customer order id" - }, - "extensions": { - "x-ms-metadata": { - "apiVersions": [ - "v1" - ], - "filename": [ - "mem:///104?oai3.shaken.json" - ], - "name": "paths·1td2sv4·api-order-customerorders-id-payments-new·get·parameters·0", - "originalLocations": [ - "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/parameters/paths·1td2sv4·api-order-customerorders-id-payments-new·get·parameters·0" - ] - }, - "x-ms-parameter-location": "method" - }, - "isRequired": true, - "isConstant": false, - "name": { - "$id": "3351", - "fixed": false, - "raw": "Id2" - }, - "serializedName": "id", - "modelType": { - "$id": "3352", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "3353", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - }, - { - "$id": "3354", - "isReadOnly": false, - "realPath": [ - "start" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "3355", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "3356", - "fixed": false, - "raw": "start interval date" - }, - "extensions": { - "x-ms-metadata": { - "apiVersions": [ - "v1" - ], - "filename": [ - "mem:///104?oai3.shaken.json" - ], - "name": "paths·i0msig·api-order-dashboardstatistics·get·parameters·0", - "originalLocations": [ - "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/parameters/paths·i0msig·api-order-dashboardstatistics·get·parameters·0" - ] - }, - "x-ms-parameter-location": "method" - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "3357", - "fixed": false, - "raw": "start" - }, - "serializedName": "start", - "modelType": { - "$id": "3358", - "$type": "PrimaryType", - "format": "date-time", - "knownPrimaryType": "dateTime", - "name": { - "$id": "3359", - "fixed": false, - "raw": "DateTime" - }, - "deprecated": false - } - }, - { - "$id": "3360", - "isReadOnly": false, - "realPath": [ - "end" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "3361", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "3362", - "fixed": false, - "raw": "end interval date" - }, - "extensions": { - "x-ms-metadata": { - "apiVersions": [ - "v1" - ], - "filename": [ - "mem:///104?oai3.shaken.json" - ], - "name": "paths·12txb9v·api-order-dashboardstatistics·get·parameters·1", - "originalLocations": [ - "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/parameters/paths·12txb9v·api-order-dashboardstatistics·get·parameters·1" - ] - }, - "x-ms-parameter-location": "method" - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "3363", - "fixed": false, - "raw": "end" - }, - "serializedName": "end", - "modelType": { - "$id": "3364", - "$type": "PrimaryType", - "format": "date-time", - "knownPrimaryType": "dateTime", - "name": { - "$id": "3365", - "fixed": false, - "raw": "DateTime" - }, - "deprecated": false - } - }, - { - "$id": "3366", - "isReadOnly": false, - "realPath": [ - "orderNumber" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "3367", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "3368", - "fixed": false - }, - "extensions": { - "x-ms-metadata": { - "apiVersions": [ - "v1" - ], - "filename": [ - "mem:///104?oai3.shaken.json" - ], - "name": "paths·j0j8tt·api-order-customerorders-invoice-ordernumber·get·parameters·0", - "originalLocations": [ - "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/parameters/paths·j0j8tt·api-order-customerorders-invoice-ordernumber·get·parameters·0" - ] - }, - "x-ms-parameter-location": "method" - }, - "isRequired": true, - "isConstant": false, - "name": { - "$id": "3369", - "fixed": false, - "raw": "orderNumber" - }, - "serializedName": "orderNumber", - "modelType": { - "$id": "3370", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "3371", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - }, - { - "$id": "3372", - "isReadOnly": false, - "realPath": [ - "id" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "3373", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "3374", - "fixed": false - }, - "extensions": { - "x-ms-metadata": { - "apiVersions": [ - "v1" - ], - "filename": [ - "mem:///104?oai3.shaken.json" - ], - "name": "paths·1jzm1qj·api-order-customerorders-id-changes·get·parameters·0", - "originalLocations": [ - "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/parameters/paths·1jzm1qj·api-order-customerorders-id-changes·get·parameters·0" - ] - }, - "x-ms-parameter-location": "method" - }, - "isRequired": true, - "isConstant": false, - "name": { - "$id": "3375", - "fixed": false, - "raw": "Id3" - }, - "serializedName": "id", - "modelType": { - "$id": "3376", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "3377", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - }, - { - "$id": "3378", - "isReadOnly": false, - "realPath": [ - "id" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "3379", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "3380", - "fixed": false, - "raw": "order payment id" - }, - "extensions": { - "x-ms-metadata": { - "apiVersions": [ - "v1" - ], - "filename": [ - "mem:///104?oai3.shaken.json" - ], - "name": "paths·14rpel9·api-order-payments-id·get·parameters·0", - "originalLocations": [ - "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/parameters/paths·14rpel9·api-order-payments-id·get·parameters·0" - ] - }, - "x-ms-parameter-location": "method" - }, - "isRequired": true, - "isConstant": false, - "name": { - "$id": "3381", - "fixed": false, - "raw": "Id4" - }, - "serializedName": "id", - "modelType": { - "$id": "3382", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "3383", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - }, - { - "$id": "3384", - "isReadOnly": false, - "realPath": [ - "respGroup" - ], - "collectionFormat": "none", - "defaultValue": { - "$id": "3385", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "3386", - "fixed": false, - "raw": "" - }, - "extensions": { - "x-ms-metadata": { - "apiVersions": [ - "v1" - ], - "filename": [ - "mem:///104?oai3.shaken.json" - ], - "name": "paths·1dds9p4·api-order-payments-id·get·parameters·1", - "originalLocations": [ - "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/parameters/paths·1dds9p4·api-order-payments-id·get·parameters·1" - ] - }, - "x-ms-parameter-location": "method" - }, - "isRequired": true, - "isConstant": false, - "name": { - "$id": "3387", - "fixed": false, - "raw": "RespGroup2" - }, - "serializedName": "respGroup", - "modelType": { - "$id": "3388", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "3389", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - }, - { - "$id": "3390", - "isReadOnly": false, - "realPath": [ - "ids" - ], - "collectionFormat": "csv", - "defaultValue": { - "$id": "3391", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "3392", - "fixed": false, - "raw": "order payment ids" - }, - "extensions": { - "x-ms-metadata": { - "apiVersions": [ - "v1" - ], - "filename": [ - "mem:///104?oai3.shaken.json" - ], - "name": "paths·a6pvyl·api-order-payments·delete·parameters·0", - "originalLocations": [ - "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/parameters/paths·a6pvyl·api-order-payments·delete·parameters·0" - ] - }, - "x-ms-parameter-location": "method" - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "3393", - "fixed": false, - "raw": "Ids1" - }, - "serializedName": "ids", - "modelType": { - "$id": "3394", - "$type": "SequenceType", - "elementType": { - "$id": "3395", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "3396", - "fixed": false, - "raw": "String" - }, - "deprecated": false - }, - "name": { - "$id": "3397", - "fixed": false - }, - "deprecated": false - } - } - ], - "operations": [ - { - "$id": "3398", - "methods": [ - { - "$id": "3399", - "parameters": [ - { - "$id": "3400", - "location": "body", - "collectionFormat": "none", - "defaultValue": { - "$id": "3401", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "3402", - "fixed": false, - "raw": "criteria" - }, - "extensions": { - "x-ms-metadata": { - "apiVersions": [ - "v1" - ], - "filename": [ - "mem:///104?oai3.shaken.json" - ], - "name": "paths·4ta6oy·api-order-customerorders-search·post·requestbody", - "originalLocations": [ - "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/requestBodies/paths·4ta6oy·api-order-customerorders-search·post·requestbody" - ] - } - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "3403", - "fixed": false, - "raw": "body" - }, - "serializedName": "body", - "modelType": { - "$ref": "83" - } - } - ], - "name": { - "$id": "3404", - "fixed": false, - "raw": "SearchCustomerOrder" - }, - "group": { - "$id": "3405", - "fixed": false, - "raw": "OrderModule" - }, - "serializedName": "OrderModule_SearchCustomerOrder", - "url": "/api/order/customerOrders/search", - "isAbsoluteUrl": false, - "httpMethod": "post", - "responses": { - "OK": { - "$id": "3406", - "body": { - "$ref": "2773" - }, - "extensions": { - "$id": "3407", - "x-ms-metadata": { - "apiVersions": [ - "v1" - ], - "filename": [ - "mem:///104?oai3.shaken.json" - ], - "name": "paths·1btnoio·api-order-customerorders-search·post·responses·200", - "originalLocations": [ - "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/responses/paths·1btnoio·api-order-customerorders-search·post·responses·200" - ] - } - }, - "isNullable": true - }, - "Unauthorized": { - "$id": "3408", - "extensions": { - "$id": "3409", - "x-ms-metadata": { - "apiVersions": [ - "v1" - ], - "filename": [ - "mem:///104?oai3.shaken.json" - ], - "name": "paths·gbzpbc·api-order-customerorders-search·post·responses·401", - "originalLocations": [ - "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/responses/paths·gbzpbc·api-order-customerorders-search·post·responses·401" - ] - } - }, - "isNullable": true - }, - "Forbidden": { - "$id": "3410", - "extensions": { - "$id": "3411", - "x-ms-metadata": { - "apiVersions": [ - "v1" - ], - "filename": [ - "mem:///104?oai3.shaken.json" - ], - "name": "paths·1er92qx·api-order-customerorders-search·post·responses·403", - "originalLocations": [ - "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/responses/paths·1er92qx·api-order-customerorders-search·post·responses·403" - ] - } - }, - "isNullable": true - } - }, - "defaultResponse": { - "$id": "3412", - "isNullable": true - }, - "returnType": { - "$id": "3413", - "body": { - "$ref": "2773" - }, - "isNullable": true - }, - "summary": "Search customer orders by given criteria", - "requestContentType": "application/json-patch+json; charset=utf-8", - "responseContentTypes": [ - "text/plain", - "application/json", - "text/json" - ], - "extensions": { - "servers": [], - "security": [ - { - "oauth2": [] - } - ] - }, - "deprecated": false, - "hidden": false - }, - { - "$id": "3414", - "parameters": [ - { - "$id": "3415", - "clientProperty": { - "$ref": "3292" - }, - "location": "path", - "collectionFormat": "none", - "defaultValue": { - "$id": "3416", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "3417", - "fixed": false, - "raw": "customer order number" - }, - "extensions": { - "x-ms-metadata": { - "apiVersions": [ - "v1" - ], - "filename": [ - "mem:///104?oai3.shaken.json" - ], - "name": "paths·e5gwje·api-order-customerorders-number-number·get·parameters·0", - "originalLocations": [ - "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/parameters/paths·e5gwje·api-order-customerorders-number-number·get·parameters·0" - ] - }, - "x-ms-parameter-location": "method" - }, - "isRequired": true, - "isConstant": false, - "name": { - "$id": "3418", - "fixed": false, - "raw": "number" - }, - "serializedName": "number", - "modelType": { - "$id": "3419", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "3420", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - }, - { - "$id": "3421", - "clientProperty": { - "$ref": "3298" - }, - "location": "path", - "collectionFormat": "none", - "defaultValue": { - "$id": "3422", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "3423", - "fixed": false, - "raw": "" - }, - "extensions": { - "x-ms-metadata": { - "apiVersions": [ - "v1" - ], - "filename": [ - "mem:///104?oai3.shaken.json" - ], - "name": "paths·i3qwr4·api-order-customerorders-number-number·get·parameters·1", - "originalLocations": [ - "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/parameters/paths·i3qwr4·api-order-customerorders-number-number·get·parameters·1" - ] - }, - "x-ms-parameter-location": "method" - }, - "isRequired": true, - "isConstant": false, - "name": { - "$id": "3424", - "fixed": false, - "raw": "respGroup" - }, - "serializedName": "respGroup", - "modelType": { - "$id": "3425", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "3426", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - } - ], - "name": { - "$id": "3427", - "fixed": false, - "raw": "GetByNumber" - }, - "group": { - "$id": "3428", - "fixed": false, - "raw": "OrderModule" - }, - "serializedName": "OrderModule_GetByNumber", - "url": "/api/order/customerOrders/number/{number}", - "isAbsoluteUrl": false, - "httpMethod": "get", - "responses": { - "OK": { - "$id": "3429", - "body": { - "$ref": "2011" - }, - "extensions": { - "$id": "3430", - "x-ms-metadata": { - "apiVersions": [ - "v1" - ], - "filename": [ - "mem:///104?oai3.shaken.json" - ], - "name": "paths·rdx1eb·api-order-customerorders-number-number·get·responses·200", - "originalLocations": [ - "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/responses/paths·rdx1eb·api-order-customerorders-number-number·get·responses·200" - ] - } - }, - "isNullable": true - }, - "Unauthorized": { - "$id": "3431", - "extensions": { - "$id": "3432", - "x-ms-metadata": { - "apiVersions": [ - "v1" - ], - "filename": [ - "mem:///104?oai3.shaken.json" - ], - "name": "paths·1sto2zw·api-order-customerorders-number-number·get·responses·401", - "originalLocations": [ - "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/responses/paths·1sto2zw·api-order-customerorders-number-number·get·responses·401" - ] - } - }, - "isNullable": true - }, - "Forbidden": { - "$id": "3433", - "extensions": { - "$id": "3434", - "x-ms-metadata": { - "apiVersions": [ - "v1" - ], - "filename": [ - "mem:///104?oai3.shaken.json" - ], - "name": "paths·efhsba·api-order-customerorders-number-number·get·responses·403", - "originalLocations": [ - "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/responses/paths·efhsba·api-order-customerorders-number-number·get·responses·403" - ] - } - }, - "isNullable": true - } - }, - "defaultResponse": { - "$id": "3435", - "isNullable": true - }, - "returnType": { - "$id": "3436", - "body": { - "$ref": "2011" - }, - "isNullable": true - }, - "description": "Return a single customer order with all nested documents or null if order was not found", - "summary": "Find customer order by number", - "requestContentType": "application/json; charset=utf-8", - "responseContentTypes": [ - "text/plain", - "application/json", - "text/json" - ], - "extensions": { - "servers": [], - "security": [ - { - "oauth2": [] - } - ] - }, - "deprecated": false, - "hidden": false - }, - { - "$id": "3437", - "parameters": [ - { - "$id": "3438", - "clientProperty": { - "$ref": "3304" - }, - "location": "path", - "collectionFormat": "none", - "defaultValue": { - "$id": "3439", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "3440", - "fixed": false, - "raw": "customer order id" - }, - "extensions": { - "x-ms-metadata": { - "apiVersions": [ - "v1" - ], - "filename": [ - "mem:///104?oai3.shaken.json" - ], - "name": "paths·wsx48v·api-order-customerorders-id·get·parameters·0", - "originalLocations": [ - "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/parameters/paths·wsx48v·api-order-customerorders-id·get·parameters·0" - ] - }, - "x-ms-parameter-location": "method" - }, - "isRequired": true, - "isConstant": false, - "name": { - "$id": "3441", - "fixed": false, - "raw": "id" - }, - "serializedName": "id", - "modelType": { - "$id": "3442", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "3443", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - }, - { - "$id": "3444", - "clientProperty": { - "$ref": "3298" - }, - "location": "path", - "collectionFormat": "none", - "defaultValue": { - "$id": "3445", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "3446", - "fixed": false, - "raw": "" - }, - "extensions": { - "x-ms-metadata": { - "apiVersions": [ - "v1" - ], - "filename": [ - "mem:///104?oai3.shaken.json" - ], - "name": "paths·1jomc5o·api-order-customerorders-id·get·parameters·1", - "originalLocations": [ - "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/parameters/paths·1jomc5o·api-order-customerorders-id·get·parameters·1" - ] - }, - "x-ms-parameter-location": "method" - }, - "isRequired": true, - "isConstant": false, - "name": { - "$id": "3447", - "fixed": false, - "raw": "respGroup" - }, - "serializedName": "respGroup", - "modelType": { - "$id": "3448", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "3449", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - } - ], - "name": { - "$id": "3450", - "fixed": false, - "raw": "GetById" - }, - "group": { - "$id": "3451", - "fixed": false, - "raw": "OrderModule" - }, - "serializedName": "OrderModule_GetById", - "url": "/api/order/customerOrders/{id}", - "isAbsoluteUrl": false, - "httpMethod": "get", - "responses": { - "OK": { - "$id": "3452", - "body": { - "$ref": "2011" - }, - "extensions": { - "$id": "3453", - "x-ms-metadata": { - "apiVersions": [ - "v1" - ], - "filename": [ - "mem:///104?oai3.shaken.json" - ], - "name": "paths·d7wnf7·api-order-customerorders-id·get·responses·200", - "originalLocations": [ - "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/responses/paths·d7wnf7·api-order-customerorders-id·get·responses·200" - ] - } - }, - "isNullable": true - }, - "Unauthorized": { - "$id": "3454", - "extensions": { - "$id": "3455", - "x-ms-metadata": { - "apiVersions": [ - "v1" - ], - "filename": [ - "mem:///104?oai3.shaken.json" - ], - "name": "paths·adisgq·api-order-customerorders-id·get·responses·401", - "originalLocations": [ - "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/responses/paths·adisgq·api-order-customerorders-id·get·responses·401" - ] - } - }, - "isNullable": true - }, - "Forbidden": { - "$id": "3456", - "extensions": { - "$id": "3457", - "x-ms-metadata": { - "apiVersions": [ - "v1" - ], - "filename": [ - "mem:///104?oai3.shaken.json" - ], - "name": "paths·eypik7·api-order-customerorders-id·get·responses·403", - "originalLocations": [ - "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/responses/paths·eypik7·api-order-customerorders-id·get·responses·403" - ] - } - }, - "isNullable": true - } - }, - "defaultResponse": { - "$id": "3458", - "isNullable": true - }, - "returnType": { - "$id": "3459", - "body": { - "$ref": "2011" - }, - "isNullable": true - }, - "description": "Return a single customer order with all nested documents or null if order was not found", - "summary": "Find customer order by id", - "requestContentType": "application/json; charset=utf-8", - "responseContentTypes": [ - "text/plain", - "application/json", - "text/json" - ], - "extensions": { - "servers": [], - "security": [ - { - "oauth2": [] - } - ] - }, - "deprecated": false, - "hidden": false - }, - { - "$id": "3460", - "parameters": [ - { - "$id": "3461", - "location": "body", - "collectionFormat": "none", - "defaultValue": { - "$id": "3462", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "3463", - "fixed": false, - "raw": "Customer order" - }, - "extensions": { - "x-ms-metadata": { - "apiVersions": [ - "v1" - ], - "filename": [ - "mem:///104?oai3.shaken.json" - ], - "name": "paths·12atkpt·api-order-customerorders-recalculate·put·requestbody", - "originalLocations": [ - "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/requestBodies/paths·12atkpt·api-order-customerorders-recalculate·put·requestbody" - ] - } - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "3464", - "fixed": false, - "raw": "body" - }, - "serializedName": "body", - "modelType": { - "$ref": "2011" - } - } - ], - "name": { - "$id": "3465", - "fixed": false, - "raw": "CalculateTotals" - }, - "group": { - "$id": "3466", - "fixed": false, - "raw": "OrderModule" - }, - "serializedName": "OrderModule_CalculateTotals", - "url": "/api/order/customerOrders/recalculate", - "isAbsoluteUrl": false, - "httpMethod": "put", - "responses": { - "OK": { - "$id": "3467", - "body": { - "$ref": "2011" - }, - "extensions": { - "$id": "3468", - "x-ms-metadata": { - "apiVersions": [ - "v1" - ], - "filename": [ - "mem:///104?oai3.shaken.json" - ], - "name": "paths·1qwdaku·api-order-customerorders-recalculate·put·responses·200", - "originalLocations": [ - "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/responses/paths·1qwdaku·api-order-customerorders-recalculate·put·responses·200" - ] - } - }, - "isNullable": true - }, - "Unauthorized": { - "$id": "3469", - "extensions": { - "$id": "3470", - "x-ms-metadata": { - "apiVersions": [ - "v1" - ], - "filename": [ - "mem:///104?oai3.shaken.json" - ], - "name": "paths·ck7mll·api-order-customerorders-recalculate·put·responses·401", - "originalLocations": [ - "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/responses/paths·ck7mll·api-order-customerorders-recalculate·put·responses·401" - ] - } - }, - "isNullable": true - }, - "Forbidden": { - "$id": "3471", - "extensions": { - "$id": "3472", - "x-ms-metadata": { - "apiVersions": [ - "v1" - ], - "filename": [ - "mem:///104?oai3.shaken.json" - ], - "name": "paths·12xepj5·api-order-customerorders-recalculate·put·responses·403", - "originalLocations": [ - "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/responses/paths·12xepj5·api-order-customerorders-recalculate·put·responses·403" - ] - } - }, - "isNullable": true - } - }, - "defaultResponse": { - "$id": "3473", - "isNullable": true - }, - "returnType": { - "$id": "3474", - "body": { - "$ref": "2011" - }, - "isNullable": true - }, - "description": "Return order with recalculated totals", - "summary": "Calculate order totals after changes", - "requestContentType": "application/json-patch+json; charset=utf-8", - "responseContentTypes": [ - "text/plain", - "application/json", - "text/json" - ], - "extensions": { - "servers": [], - "security": [ - { - "oauth2": [] - } - ] - }, - "deprecated": false, - "hidden": false - }, - { - "$id": "3475", - "parameters": [ - { - "$id": "3476", - "location": "body", - "collectionFormat": "none", - "defaultValue": { - "$id": "3477", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "3478", - "fixed": false, - "raw": "banking card information" - }, - "extensions": { - "x-ms-metadata": { - "apiVersions": [ - "v1" - ], - "filename": [ - "mem:///104?oai3.shaken.json" - ], - "name": "paths·w0pj5t·api-order-customerorders-orderid-processpayment-paymentid·post·requestbody", - "originalLocations": [ - "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/requestBodies/paths·w0pj5t·api-order-customerorders-orderid-processpayment-paymentid·post·requestbody" - ] - } - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "3479", - "fixed": false, - "raw": "body" - }, - "serializedName": "body", - "modelType": { - "$ref": "2793" - } - }, - { - "$id": "3480", - "clientProperty": { - "$ref": "3316" - }, - "location": "path", - "collectionFormat": "none", - "defaultValue": { - "$id": "3481", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "3482", - "fixed": false, - "raw": "customer order id" - }, - "extensions": { - "x-ms-metadata": { - "apiVersions": [ - "v1" - ], - "filename": [ - "mem:///104?oai3.shaken.json" - ], - "name": "paths·p6didn·api-order-customerorders-orderid-processpayment-paymentid·post·parameters·0", - "originalLocations": [ - "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/parameters/paths·p6didn·api-order-customerorders-orderid-processpayment-paymentid·post·parameters·0" - ] - }, - "x-ms-parameter-location": "method" - }, - "isRequired": true, - "isConstant": false, - "name": { - "$id": "3483", - "fixed": false, - "raw": "orderId" - }, - "serializedName": "orderId", - "modelType": { - "$id": "3484", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "3485", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - }, - { - "$id": "3486", - "clientProperty": { - "$ref": "3322" - }, - "location": "path", - "collectionFormat": "none", - "defaultValue": { - "$id": "3487", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "3488", - "fixed": false, - "raw": "payment id" - }, - "extensions": { - "x-ms-metadata": { - "apiVersions": [ - "v1" - ], - "filename": [ - "mem:///104?oai3.shaken.json" - ], - "name": "paths·7h8szw·api-order-customerorders-orderid-processpayment-paymentid·post·parameters·1", - "originalLocations": [ - "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/parameters/paths·7h8szw·api-order-customerorders-orderid-processpayment-paymentid·post·parameters·1" - ] - }, - "x-ms-parameter-location": "method" - }, - "isRequired": true, - "isConstant": false, - "name": { - "$id": "3489", - "fixed": false, - "raw": "paymentId" - }, - "serializedName": "paymentId", - "modelType": { - "$id": "3490", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "3491", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - } - ], - "name": { - "$id": "3492", - "fixed": false, - "raw": "ProcessOrderPayments" - }, - "group": { - "$id": "3493", - "fixed": false, - "raw": "OrderModule" - }, - "serializedName": "OrderModule_ProcessOrderPayments", - "url": "/api/order/customerOrders/{orderId}/processPayment/{paymentId}", - "isAbsoluteUrl": false, - "httpMethod": "post", - "responses": { - "OK": { - "$id": "3494", - "body": { - "$ref": "743" - }, - "extensions": { - "$id": "3495", - "x-ms-metadata": { - "apiVersions": [ - "v1" - ], - "filename": [ - "mem:///104?oai3.shaken.json" - ], - "name": "paths·e8ol75·api-order-customerorders-orderid-processpayment-paymentid·post·responses·200", - "originalLocations": [ - "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/responses/paths·e8ol75·api-order-customerorders-orderid-processpayment-paymentid·post·responses·200" - ] - } - }, - "isNullable": true - }, - "Unauthorized": { - "$id": "3496", - "extensions": { - "$id": "3497", - "x-ms-metadata": { - "apiVersions": [ - "v1" - ], - "filename": [ - "mem:///104?oai3.shaken.json" - ], - "name": "paths·cc5wm·api-order-customerorders-orderid-processpayment-paymentid·post·responses·401", - "originalLocations": [ - "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/responses/paths·cc5wm·api-order-customerorders-orderid-processpayment-paymentid·post·responses·401" - ] - } - }, - "isNullable": true - }, - "Forbidden": { - "$id": "3498", - "extensions": { - "$id": "3499", - "x-ms-metadata": { - "apiVersions": [ - "v1" - ], - "filename": [ - "mem:///104?oai3.shaken.json" - ], - "name": "paths·1miz5zx·api-order-customerorders-orderid-processpayment-paymentid·post·responses·403", - "originalLocations": [ - "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/responses/paths·1miz5zx·api-order-customerorders-orderid-processpayment-paymentid·post·responses·403" - ] - } - }, - "isNullable": true - } - }, - "defaultResponse": { - "$id": "3500", - "isNullable": true - }, - "returnType": { - "$id": "3501", - "body": { - "$ref": "743" - }, - "isNullable": true - }, - "description": "Used in storefront checkout or manual order payment registration", - "summary": "Register customer order payment in external payment system", - "requestContentType": "application/json; charset=utf-8", - "responseContentTypes": [ - "text/plain", - "application/json", - "text/json" - ], - "extensions": { - "servers": [], - "security": [ - { - "oauth2": [] - } - ] - }, - "deprecated": false, - "hidden": false - }, - { - "$id": "3502", - "parameters": [ - { - "$id": "3503", - "clientProperty": { - "$ref": "3328" - }, - "location": "path", - "collectionFormat": "none", - "defaultValue": { - "$id": "3504", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "3505", - "fixed": false, - "raw": "shopping cart id" - }, - "extensions": { - "x-ms-metadata": { - "apiVersions": [ - "v1" - ], - "filename": [ - "mem:///104?oai3.shaken.json" - ], - "name": "paths·1iieqg6·api-order-customerorders-cartid·post·parameters·0", - "originalLocations": [ - "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/parameters/paths·1iieqg6·api-order-customerorders-cartid·post·parameters·0" - ] - }, - "x-ms-parameter-location": "method" - }, - "isRequired": true, - "isConstant": false, - "name": { - "$id": "3506", - "fixed": false, - "raw": "cartId" - }, - "serializedName": "cartId", - "modelType": { - "$id": "3507", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "3508", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - } - ], - "name": { - "$id": "3509", - "fixed": false, - "raw": "CreateOrderFromCart" - }, - "group": { - "$id": "3510", - "fixed": false, - "raw": "OrderModule" - }, - "serializedName": "OrderModule_CreateOrderFromCart", - "url": "/api/order/customerOrders/{cartId}", - "isAbsoluteUrl": false, - "httpMethod": "post", - "responses": { - "OK": { - "$id": "3511", - "body": { - "$ref": "2011" - }, - "extensions": { - "$id": "3512", - "x-ms-metadata": { - "apiVersions": [ - "v1" - ], - "filename": [ - "mem:///104?oai3.shaken.json" - ], - "name": "paths·11o2l48·api-order-customerorders-cartid·post·responses·200", - "originalLocations": [ - "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/responses/paths·11o2l48·api-order-customerorders-cartid·post·responses·200" - ] - } - }, - "isNullable": true - }, - "Unauthorized": { - "$id": "3513", - "extensions": { - "$id": "3514", - "x-ms-metadata": { - "apiVersions": [ - "v1" - ], - "filename": [ - "mem:///104?oai3.shaken.json" - ], - "name": "paths·rp1r21·api-order-customerorders-cartid·post·responses·401", - "originalLocations": [ - "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/responses/paths·rp1r21·api-order-customerorders-cartid·post·responses·401" - ] - } - }, - "isNullable": true - }, - "Forbidden": { - "$id": "3515", - "extensions": { - "$id": "3516", - "x-ms-metadata": { - "apiVersions": [ - "v1" - ], - "filename": [ - "mem:///104?oai3.shaken.json" - ], - "name": "paths·s1zlff·api-order-customerorders-cartid·post·responses·403", - "originalLocations": [ - "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/responses/paths·s1zlff·api-order-customerorders-cartid·post·responses·403" - ] - } - }, - "isNullable": true - } - }, - "defaultResponse": { - "$id": "3517", - "isNullable": true - }, - "returnType": { - "$id": "3518", - "body": { - "$ref": "2011" - }, - "isNullable": true - }, - "summary": "Create new customer order based on shopping cart.", - "requestContentType": "application/json; charset=utf-8", - "responseContentTypes": [ - "text/plain", - "application/json", - "text/json" - ], - "extensions": { - "servers": [], - "security": [ - { - "oauth2": [ - "order:create" - ] - } - ] - }, - "deprecated": false, - "hidden": false - }, - { - "$id": "3519", - "parameters": [ - { - "$id": "3520", - "location": "body", - "collectionFormat": "none", - "defaultValue": { - "$id": "3521", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "3522", - "fixed": false, - "raw": "customer order" - }, - "extensions": { - "x-ms-metadata": { - "apiVersions": [ - "v1" - ], - "filename": [ - "mem:///104?oai3.shaken.json" - ], - "name": "paths·1vnkasa·api-order-customerorders·post·requestbody", - "originalLocations": [ - "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/requestBodies/paths·1vnkasa·api-order-customerorders·post·requestbody" - ] - } - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "3523", - "fixed": false, - "raw": "body" - }, - "serializedName": "body", - "modelType": { - "$ref": "2011" - } - } - ], - "name": { - "$id": "3524", - "fixed": false, - "raw": "CreateOrder" - }, - "group": { - "$id": "3525", - "fixed": false, - "raw": "OrderModule" - }, - "serializedName": "OrderModule_CreateOrder", - "url": "/api/order/customerOrders", - "isAbsoluteUrl": false, - "httpMethod": "post", - "responses": { - "OK": { - "$id": "3526", - "body": { - "$ref": "2011" - }, - "extensions": { - "$id": "3527", - "x-ms-metadata": { - "apiVersions": [ - "v1" - ], - "filename": [ - "mem:///104?oai3.shaken.json" - ], - "name": "paths·1jlnvjk·api-order-customerorders·post·responses·200", - "originalLocations": [ - "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/responses/paths·1jlnvjk·api-order-customerorders·post·responses·200" - ] - } - }, - "isNullable": true - }, - "Unauthorized": { - "$id": "3528", - "extensions": { - "$id": "3529", - "x-ms-metadata": { - "apiVersions": [ - "v1" - ], - "filename": [ - "mem:///104?oai3.shaken.json" - ], - "name": "paths·15lloet·api-order-customerorders·post·responses·401", - "originalLocations": [ - "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/responses/paths·15lloet·api-order-customerorders·post·responses·401" - ] - } - }, - "isNullable": true - }, - "Forbidden": { - "$id": "3530", - "extensions": { - "$id": "3531", - "x-ms-metadata": { - "apiVersions": [ - "v1" - ], - "filename": [ - "mem:///104?oai3.shaken.json" - ], - "name": "paths·1o6qr94·api-order-customerorders·post·responses·403", - "originalLocations": [ - "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/responses/paths·1o6qr94·api-order-customerorders·post·responses·403" - ] - } - }, - "isNullable": true - } - }, - "defaultResponse": { - "$id": "3532", - "isNullable": true - }, - "returnType": { - "$id": "3533", - "body": { - "$ref": "2011" - }, - "isNullable": true - }, - "summary": "Add new customer order to system", - "requestContentType": "application/json-patch+json; charset=utf-8", - "responseContentTypes": [ - "text/plain", - "application/json", - "text/json" - ], - "extensions": { - "servers": [], - "security": [ - { - "oauth2": [ - "order:create" - ] - } - ] - }, - "deprecated": false, - "hidden": false - }, - { - "$id": "3534", - "parameters": [ - { - "$id": "3535", - "location": "body", - "collectionFormat": "none", - "defaultValue": { - "$id": "3536", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "3537", - "fixed": false, - "raw": "customer order" - }, - "extensions": { - "x-ms-metadata": { - "apiVersions": [ - "v1" - ], - "filename": [ - "mem:///104?oai3.shaken.json" - ], - "name": "paths·tn1dq4·api-order-customerorders·put·requestbody", - "originalLocations": [ - "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/requestBodies/paths·tn1dq4·api-order-customerorders·put·requestbody" - ] - } - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "3538", - "fixed": false, - "raw": "body" - }, - "serializedName": "body", - "modelType": { - "$ref": "2011" - } - } - ], - "name": { - "$id": "3539", - "fixed": false, - "raw": "UpdateOrder" - }, - "group": { - "$id": "3540", - "fixed": false, - "raw": "OrderModule" - }, - "serializedName": "OrderModule_UpdateOrder", - "url": "/api/order/customerOrders", - "isAbsoluteUrl": false, - "httpMethod": "put", - "responses": { - "NoContent": { - "$id": "3541", - "extensions": { - "$id": "3542", - "x-ms-metadata": { - "apiVersions": [ - "v1" - ], - "filename": [ - "mem:///104?oai3.shaken.json" - ], - "name": "paths·14fqx29·api-order-customerorders·put·responses·204", - "originalLocations": [ - "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/responses/paths·14fqx29·api-order-customerorders·put·responses·204" - ] - } - }, - "isNullable": true - }, - "Unauthorized": { - "$id": "3543", - "extensions": { - "$id": "3544", - "x-ms-metadata": { - "apiVersions": [ - "v1" - ], - "filename": [ - "mem:///104?oai3.shaken.json" - ], - "name": "paths·1x51lrs·api-order-customerorders·put·responses·401", - "originalLocations": [ - "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/responses/paths·1x51lrs·api-order-customerorders·put·responses·401" - ] - } - }, - "isNullable": true - }, - "Forbidden": { - "$id": "3545", - "extensions": { - "$id": "3546", - "x-ms-metadata": { - "apiVersions": [ - "v1" - ], - "filename": [ - "mem:///104?oai3.shaken.json" - ], - "name": "paths·1x38354·api-order-customerorders·put·responses·403", - "originalLocations": [ - "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/responses/paths·1x38354·api-order-customerorders·put·responses·403" - ] - } - }, - "isNullable": true - } - }, - "defaultResponse": { - "$id": "3547", - "isNullable": true - }, - "returnType": { - "$id": "3548", - "isNullable": true - }, - "summary": "Update a existing customer order", - "requestContentType": "application/json-patch+json; charset=utf-8", - "responseContentTypes": [ - "application/json" - ], - "extensions": { - "servers": [], - "security": [ - { - "oauth2": [] - } - ] - }, - "deprecated": false, - "hidden": false - }, - { - "$id": "3549", - "parameters": [ - { - "$id": "3550", - "clientProperty": { - "$ref": "3334" - }, - "location": "query", - "collectionFormat": "csv", - "defaultValue": { - "$id": "3551", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "3552", - "fixed": false, - "raw": "customer order ids for delete" - }, - "extensions": { - "x-ms-metadata": { - "apiVersions": [ - "v1" - ], - "filename": [ - "mem:///104?oai3.shaken.json" - ], - "name": "paths·14ijh1o·api-order-customerorders·delete·parameters·0", - "originalLocations": [ - "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/parameters/paths·14ijh1o·api-order-customerorders·delete·parameters·0" - ] - }, - "x-ms-parameter-location": "method" - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "3553", - "fixed": false, - "raw": "ids" - }, - "serializedName": "ids", - "modelType": { - "$id": "3554", - "$type": "SequenceType", - "elementType": { - "$id": "3555", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "3556", - "fixed": false, - "raw": "String" - }, - "deprecated": false - }, - "name": { - "$id": "3557", - "fixed": false - }, - "deprecated": false - } - } - ], - "name": { - "$id": "3558", - "fixed": false, - "raw": "DeleteOrdersByIds" - }, - "group": { - "$id": "3559", - "fixed": false, - "raw": "OrderModule" - }, - "serializedName": "OrderModule_DeleteOrdersByIds", - "url": "/api/order/customerOrders", - "isAbsoluteUrl": false, - "httpMethod": "delete", - "responses": { - "NoContent": { - "$id": "3560", - "extensions": { - "$id": "3561", - "x-ms-metadata": { - "apiVersions": [ - "v1" - ], - "filename": [ - "mem:///104?oai3.shaken.json" - ], - "name": "paths·1ifzgtm·api-order-customerorders·delete·responses·204", - "originalLocations": [ - "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/responses/paths·1ifzgtm·api-order-customerorders·delete·responses·204" - ] - } - }, - "isNullable": true - }, - "Unauthorized": { - "$id": "3562", - "extensions": { - "$id": "3563", - "x-ms-metadata": { - "apiVersions": [ - "v1" - ], - "filename": [ - "mem:///104?oai3.shaken.json" - ], - "name": "paths·19319q8·api-order-customerorders·delete·responses·401", - "originalLocations": [ - "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/responses/paths·19319q8·api-order-customerorders·delete·responses·401" - ] - } - }, - "isNullable": true - }, - "Forbidden": { - "$id": "3564", - "extensions": { - "$id": "3565", - "x-ms-metadata": { - "apiVersions": [ - "v1" - ], - "filename": [ - "mem:///104?oai3.shaken.json" - ], - "name": "paths·1oae8z7·api-order-customerorders·delete·responses·403", - "originalLocations": [ - "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/responses/paths·1oae8z7·api-order-customerorders·delete·responses·403" - ] - } - }, - "isNullable": true - } - }, - "defaultResponse": { - "$id": "3566", - "isNullable": true - }, - "returnType": { - "$id": "3567", - "isNullable": true - }, - "summary": "Delete a whole customer orders", - "requestContentType": "application/json; charset=utf-8", - "responseContentTypes": [ - "application/json" - ], - "extensions": { - "servers": [], - "security": [ - { - "oauth2": [ - "order:delete" - ] - } - ] - }, - "deprecated": false, - "hidden": false - }, - { - "$id": "3568", - "parameters": [ - { - "$id": "3569", - "clientProperty": { - "$ref": "3304" - }, - "location": "path", - "collectionFormat": "none", - "defaultValue": { - "$id": "3570", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "3571", - "fixed": false, - "raw": "customer order id" - }, - "extensions": { - "x-ms-metadata": { - "apiVersions": [ - "v1" - ], - "filename": [ - "mem:///104?oai3.shaken.json" - ], - "name": "paths·1n4pioy·api-order-customerorders-id-shipments-new·get·parameters·0", - "originalLocations": [ - "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/parameters/paths·1n4pioy·api-order-customerorders-id-shipments-new·get·parameters·0" - ] - }, - "x-ms-parameter-location": "method" - }, - "isRequired": true, - "isConstant": false, - "name": { - "$id": "3572", - "fixed": false, - "raw": "id" - }, - "serializedName": "id", - "modelType": { - "$id": "3573", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "3574", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - } - ], - "name": { - "$id": "3575", - "fixed": false, - "raw": "GetNewShipment" - }, - "group": { - "$id": "3576", - "fixed": false, - "raw": "OrderModule" - }, - "serializedName": "OrderModule_GetNewShipment", - "url": "/api/order/customerOrders/{id}/shipments/new", - "isAbsoluteUrl": false, - "httpMethod": "get", - "responses": { - "OK": { - "$id": "3577", - "body": { - "$ref": "2131" - }, - "extensions": { - "$id": "3578", - "x-ms-metadata": { - "apiVersions": [ - "v1" - ], - "filename": [ - "mem:///104?oai3.shaken.json" - ], - "name": "paths·uewrw8·api-order-customerorders-id-shipments-new·get·responses·200", - "originalLocations": [ - "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/responses/paths·uewrw8·api-order-customerorders-id-shipments-new·get·responses·200" - ] - } - }, - "isNullable": true - }, - "Unauthorized": { - "$id": "3579", - "extensions": { - "$id": "3580", - "x-ms-metadata": { - "apiVersions": [ - "v1" - ], - "filename": [ - "mem:///104?oai3.shaken.json" - ], - "name": "paths·1du6ewh·api-order-customerorders-id-shipments-new·get·responses·401", - "originalLocations": [ - "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/responses/paths·1du6ewh·api-order-customerorders-id-shipments-new·get·responses·401" - ] - } - }, - "isNullable": true - }, - "Forbidden": { - "$id": "3581", - "extensions": { - "$id": "3582", - "x-ms-metadata": { - "apiVersions": [ - "v1" - ], - "filename": [ - "mem:///104?oai3.shaken.json" - ], - "name": "paths·t5gb61·api-order-customerorders-id-shipments-new·get·responses·403", - "originalLocations": [ - "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/responses/paths·t5gb61·api-order-customerorders-id-shipments-new·get·responses·403" - ] - } - }, - "isNullable": true - } - }, - "defaultResponse": { - "$id": "3583", - "isNullable": true - }, - "returnType": { - "$id": "3584", - "body": { - "$ref": "2131" - }, - "isNullable": true - }, - "description": "Return new shipment document with populates all required properties.", - "summary": "Get new shipment for specified customer order", - "requestContentType": "application/json; charset=utf-8", - "responseContentTypes": [ - "text/plain", - "application/json", - "text/json" - ], - "extensions": { - "servers": [], - "security": [ - { - "oauth2": [] - } - ] - }, - "deprecated": false, - "hidden": false - }, - { - "$id": "3585", - "parameters": [ - { - "$id": "3586", - "clientProperty": { - "$ref": "3304" - }, - "location": "path", - "collectionFormat": "none", - "defaultValue": { - "$id": "3587", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "3588", - "fixed": false, - "raw": "customer order id" - }, - "extensions": { - "x-ms-metadata": { - "apiVersions": [ - "v1" - ], - "filename": [ - "mem:///104?oai3.shaken.json" - ], - "name": "paths·1td2sv4·api-order-customerorders-id-payments-new·get·parameters·0", - "originalLocations": [ - "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/parameters/paths·1td2sv4·api-order-customerorders-id-payments-new·get·parameters·0" - ] - }, - "x-ms-parameter-location": "method" - }, - "isRequired": true, - "isConstant": false, - "name": { - "$id": "3589", - "fixed": false, - "raw": "id" - }, - "serializedName": "id", - "modelType": { - "$id": "3590", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "3591", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - } - ], - "name": { - "$id": "3592", - "fixed": false, - "raw": "GetNewPayment" - }, - "group": { - "$id": "3593", - "fixed": false, - "raw": "OrderModule" - }, - "serializedName": "OrderModule_GetNewPayment", - "url": "/api/order/customerOrders/{id}/payments/new", - "isAbsoluteUrl": false, - "httpMethod": "get", - "responses": { - "OK": { - "$id": "3594", - "body": { - "$ref": "1198" - }, - "extensions": { - "$id": "3595", - "x-ms-metadata": { - "apiVersions": [ - "v1" - ], - "filename": [ - "mem:///104?oai3.shaken.json" - ], - "name": "paths·bseyjz·api-order-customerorders-id-payments-new·get·responses·200", - "originalLocations": [ - "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/responses/paths·bseyjz·api-order-customerorders-id-payments-new·get·responses·200" - ] - } - }, - "isNullable": true - }, - "Unauthorized": { - "$id": "3596", - "extensions": { - "$id": "3597", - "x-ms-metadata": { - "apiVersions": [ - "v1" - ], - "filename": [ - "mem:///104?oai3.shaken.json" - ], - "name": "paths·nj1h8d·api-order-customerorders-id-payments-new·get·responses·401", - "originalLocations": [ - "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/responses/paths·nj1h8d·api-order-customerorders-id-payments-new·get·responses·401" - ] - } - }, - "isNullable": true - }, - "Forbidden": { - "$id": "3598", - "extensions": { - "$id": "3599", - "x-ms-metadata": { - "apiVersions": [ - "v1" - ], - "filename": [ - "mem:///104?oai3.shaken.json" - ], - "name": "paths·7r1lt8·api-order-customerorders-id-payments-new·get·responses·403", - "originalLocations": [ - "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/responses/paths·7r1lt8·api-order-customerorders-id-payments-new·get·responses·403" - ] - } - }, - "isNullable": true - } - }, - "defaultResponse": { - "$id": "3600", - "isNullable": true - }, - "returnType": { - "$id": "3601", - "body": { - "$ref": "1198" - }, - "isNullable": true - }, - "description": "Return new payment document with populates all required properties.", - "summary": "Get new payment for specified customer order", - "requestContentType": "application/json; charset=utf-8", - "responseContentTypes": [ - "text/plain", - "application/json", - "text/json" - ], - "extensions": { - "servers": [], - "security": [ - { - "oauth2": [] - } - ] - }, - "deprecated": false, - "hidden": false - }, - { - "$id": "3602", - "parameters": [ - { - "$id": "3603", - "clientProperty": { - "$ref": "3354" - }, - "location": "query", - "collectionFormat": "none", - "defaultValue": { - "$id": "3604", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "3605", - "fixed": false, - "raw": "start interval date" - }, - "extensions": { - "x-ms-metadata": { - "apiVersions": [ - "v1" - ], - "filename": [ - "mem:///104?oai3.shaken.json" - ], - "name": "paths·i0msig·api-order-dashboardstatistics·get·parameters·0", - "originalLocations": [ - "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/parameters/paths·i0msig·api-order-dashboardstatistics·get·parameters·0" - ] - }, - "x-ms-parameter-location": "method" - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "3606", - "fixed": false, - "raw": "start" - }, - "serializedName": "start", - "modelType": { - "$id": "3607", - "$type": "PrimaryType", - "format": "date-time", - "knownPrimaryType": "dateTime", - "name": { - "$id": "3608", - "fixed": false, - "raw": "DateTime" - }, - "deprecated": false - } - }, - { - "$id": "3609", - "clientProperty": { - "$ref": "3360" - }, - "location": "query", - "collectionFormat": "none", - "defaultValue": { - "$id": "3610", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "3611", - "fixed": false, - "raw": "end interval date" - }, - "extensions": { - "x-ms-metadata": { - "apiVersions": [ - "v1" - ], - "filename": [ - "mem:///104?oai3.shaken.json" - ], - "name": "paths·12txb9v·api-order-dashboardstatistics·get·parameters·1", - "originalLocations": [ - "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/parameters/paths·12txb9v·api-order-dashboardstatistics·get·parameters·1" - ] - }, - "x-ms-parameter-location": "method" - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "3612", - "fixed": false, - "raw": "end" - }, - "serializedName": "end", - "modelType": { - "$id": "3613", - "$type": "PrimaryType", - "format": "date-time", - "knownPrimaryType": "dateTime", - "name": { - "$id": "3614", - "fixed": false, - "raw": "DateTime" - }, - "deprecated": false - } - } - ], - "name": { - "$id": "3615", - "fixed": false, - "raw": "GetDashboardStatisticsAsync" - }, - "group": { - "$id": "3616", - "fixed": false, - "raw": "OrderModule" - }, - "serializedName": "OrderModule_GetDashboardStatisticsAsync", - "url": "/api/order/dashboardStatistics", - "isAbsoluteUrl": false, - "httpMethod": "get", - "responses": { - "OK": { - "$id": "3617", - "body": { - "$ref": "2871" - }, - "extensions": { - "$id": "3618", - "x-ms-metadata": { - "apiVersions": [ - "v1" - ], - "filename": [ - "mem:///104?oai3.shaken.json" - ], - "name": "paths·u1kaue·api-order-dashboardstatistics·get·responses·200", - "originalLocations": [ - "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/responses/paths·u1kaue·api-order-dashboardstatistics·get·responses·200" - ] - } - }, - "isNullable": true - }, - "Unauthorized": { - "$id": "3619", - "extensions": { - "$id": "3620", - "x-ms-metadata": { - "apiVersions": [ - "v1" - ], - "filename": [ - "mem:///104?oai3.shaken.json" - ], - "name": "paths·1li09i8·api-order-dashboardstatistics·get·responses·401", - "originalLocations": [ - "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/responses/paths·1li09i8·api-order-dashboardstatistics·get·responses·401" - ] - } - }, - "isNullable": true - }, - "Forbidden": { - "$id": "3621", - "extensions": { - "$id": "3622", - "x-ms-metadata": { - "apiVersions": [ - "v1" - ], - "filename": [ - "mem:///104?oai3.shaken.json" - ], - "name": "paths·xtn27l·api-order-dashboardstatistics·get·responses·403", - "originalLocations": [ - "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/responses/paths·xtn27l·api-order-dashboardstatistics·get·responses·403" - ] - } - }, - "isNullable": true - } - }, - "defaultResponse": { - "$id": "3623", - "isNullable": true - }, - "returnType": { - "$id": "3624", - "body": { - "$ref": "2871" - }, - "isNullable": true - }, - "summary": "Get a some order statistic information for Commerce manager dashboard", - "requestContentType": "application/json; charset=utf-8", - "responseContentTypes": [ - "text/plain", - "application/json", - "text/json" - ], - "extensions": { - "servers": [], - "security": [ - { - "oauth2": [] - } - ] - }, - "deprecated": false, - "hidden": false - }, - { - "$id": "3625", - "parameters": [ - { - "$id": "3626", - "location": "body", - "collectionFormat": "none", - "defaultValue": { - "$id": "3627", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "3628", - "fixed": false, - "raw": "payment callback parameters" - }, - "extensions": { - "x-ms-metadata": { - "apiVersions": [ - "v1" - ], - "filename": [ - "mem:///104?oai3.shaken.json" - ], - "name": "paths·gv6iui·api-paymentcallback·post·requestbody", - "originalLocations": [ - "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/requestBodies/paths·gv6iui·api-paymentcallback·post·requestbody" - ] - } - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "3629", - "fixed": false, - "raw": "body" - }, - "serializedName": "body", - "modelType": { - "$ref": "2953" - } - } - ], - "name": { - "$id": "3630", - "fixed": false, - "raw": "PostProcessPayment" - }, - "group": { - "$id": "3631", - "fixed": false, - "raw": "OrderModule" - }, - "serializedName": "OrderModule_PostProcessPayment", - "url": "/api/paymentcallback", - "isAbsoluteUrl": false, - "httpMethod": "post", - "responses": { - "OK": { - "$id": "3632", - "body": { - "$ref": "2961" - }, - "extensions": { - "$id": "3633", - "x-ms-metadata": { - "apiVersions": [ - "v1" - ], - "filename": [ - "mem:///104?oai3.shaken.json" - ], - "name": "paths·13hg9dt·api-paymentcallback·post·responses·200", - "originalLocations": [ - "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/responses/paths·13hg9dt·api-paymentcallback·post·responses·200" - ] - } - }, - "isNullable": true - }, - "Unauthorized": { - "$id": "3634", - "extensions": { - "$id": "3635", - "x-ms-metadata": { - "apiVersions": [ - "v1" - ], - "filename": [ - "mem:///104?oai3.shaken.json" - ], - "name": "paths·1cl7xy8·api-paymentcallback·post·responses·401", - "originalLocations": [ - "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/responses/paths·1cl7xy8·api-paymentcallback·post·responses·401" - ] - } - }, - "isNullable": true - }, - "Forbidden": { - "$id": "3636", - "extensions": { - "$id": "3637", - "x-ms-metadata": { - "apiVersions": [ - "v1" - ], - "filename": [ - "mem:///104?oai3.shaken.json" - ], - "name": "paths·13fhi34·api-paymentcallback·post·responses·403", - "originalLocations": [ - "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/responses/paths·13fhi34·api-paymentcallback·post·responses·403" - ] - } - }, - "isNullable": true - } - }, - "defaultResponse": { - "$id": "3638", - "isNullable": true - }, - "returnType": { - "$id": "3639", - "body": { - "$ref": "2961" - }, - "isNullable": true - }, - "summary": "Payment callback operation used by external payment services to inform post process payment in our system", - "requestContentType": "application/json-patch+json; charset=utf-8", - "responseContentTypes": [ - "text/plain", - "application/json", - "text/json" - ], - "extensions": { - "servers": [], - "security": [ - { - "oauth2": [] - } - ] - }, - "deprecated": false, - "hidden": false - }, - { - "$id": "3640", - "parameters": [ - { - "$id": "3641", - "clientProperty": { - "$ref": "3366" - }, - "location": "path", - "collectionFormat": "none", - "defaultValue": { - "$id": "3642", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "3643", - "fixed": false - }, - "extensions": { - "x-ms-metadata": { - "apiVersions": [ - "v1" - ], - "filename": [ - "mem:///104?oai3.shaken.json" - ], - "name": "paths·j0j8tt·api-order-customerorders-invoice-ordernumber·get·parameters·0", - "originalLocations": [ - "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/parameters/paths·j0j8tt·api-order-customerorders-invoice-ordernumber·get·parameters·0" - ] - }, - "x-ms-parameter-location": "method" - }, - "isRequired": true, - "isConstant": false, - "name": { - "$id": "3644", - "fixed": false, - "raw": "orderNumber" - }, - "serializedName": "orderNumber", - "modelType": { - "$id": "3645", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "3646", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - } - ], - "name": { - "$id": "3647", - "fixed": false, - "raw": "GetInvoicePdf" - }, - "group": { - "$id": "3648", - "fixed": false, - "raw": "OrderModule" - }, - "serializedName": "OrderModule_GetInvoicePdf", - "url": "/api/order/customerOrders/invoice/{orderNumber}", - "isAbsoluteUrl": false, - "httpMethod": "get", - "responses": { - "OK": { - "$id": "3649", - "body": { - "$id": "3650", - "$type": "PrimaryType", - "format": "binary", - "knownPrimaryType": "string", - "name": { - "$id": "3651", - "fixed": false, - "raw": "String" - }, - "deprecated": false - }, - "extensions": { - "$id": "3652", - "x-ms-metadata": { - "apiVersions": [ - "v1" - ], - "filename": [ - "mem:///104?oai3.shaken.json" - ], - "name": "paths·f6ykcf·api-order-customerorders-invoice-ordernumber·get·responses·200", - "originalLocations": [ - "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/responses/paths·f6ykcf·api-order-customerorders-invoice-ordernumber·get·responses·200" - ] - } - }, - "isNullable": true - }, - "Unauthorized": { - "$id": "3653", - "extensions": { - "$id": "3654", - "x-ms-metadata": { - "apiVersions": [ - "v1" - ], - "filename": [ - "mem:///104?oai3.shaken.json" - ], - "name": "paths·1uwsokg·api-order-customerorders-invoice-ordernumber·get·responses·401", - "originalLocations": [ - "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/responses/paths·1uwsokg·api-order-customerorders-invoice-ordernumber·get·responses·401" - ] - } - }, - "isNullable": true - }, - "Forbidden": { - "$id": "3655", - "extensions": { - "$id": "3656", - "x-ms-metadata": { - "apiVersions": [ - "v1" - ], - "filename": [ - "mem:///104?oai3.shaken.json" - ], - "name": "paths·ase5rb·api-order-customerorders-invoice-ordernumber·get·responses·403", - "originalLocations": [ - "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/responses/paths·ase5rb·api-order-customerorders-invoice-ordernumber·get·responses·403" - ] - } - }, - "isNullable": true - } - }, - "defaultResponse": { - "$id": "3657", - "isNullable": true - }, - "returnType": { - "$id": "3658", - "body": { - "$ref": "3650" - }, - "isNullable": true - }, - "requestContentType": "application/json; charset=utf-8", - "responseContentTypes": [ - "application/octet-stream" - ], - "extensions": { - "servers": [], - "security": [ - { - "oauth2": [] - } - ] - }, - "deprecated": false, - "hidden": false - }, - { - "$id": "3659", - "parameters": [ - { - "$id": "3660", - "clientProperty": { - "$ref": "3304" - }, - "location": "path", - "collectionFormat": "none", - "defaultValue": { - "$id": "3661", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "3662", - "fixed": false - }, - "extensions": { - "x-ms-metadata": { - "apiVersions": [ - "v1" - ], - "filename": [ - "mem:///104?oai3.shaken.json" - ], - "name": "paths·1jzm1qj·api-order-customerorders-id-changes·get·parameters·0", - "originalLocations": [ - "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/parameters/paths·1jzm1qj·api-order-customerorders-id-changes·get·parameters·0" - ] - }, - "x-ms-parameter-location": "method" - }, - "isRequired": true, - "isConstant": false, - "name": { - "$id": "3663", - "fixed": false, - "raw": "id" - }, - "serializedName": "id", - "modelType": { - "$id": "3664", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "3665", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - } - ], - "name": { - "$id": "3666", - "fixed": false, - "raw": "GetOrderChanges" - }, - "group": { - "$id": "3667", - "fixed": false, - "raw": "OrderModule" - }, - "serializedName": "OrderModule_GetOrderChanges", - "url": "/api/order/customerOrders/{id}/changes", - "isAbsoluteUrl": false, - "httpMethod": "get", - "responses": { - "OK": { - "$id": "3668", - "body": { - "$id": "3669", - "$type": "SequenceType", - "elementType": { - "$ref": "2" - }, - "name": { - "$id": "3670", - "fixed": false - }, - "deprecated": false - }, - "extensions": { - "$id": "3671", - "x-ms-metadata": { - "apiVersions": [ - "v1" - ], - "filename": [ - "mem:///104?oai3.shaken.json" - ], - "name": "paths·1iju18x·api-order-customerorders-id-changes·get·responses·200", - "originalLocations": [ - "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/responses/paths·1iju18x·api-order-customerorders-id-changes·get·responses·200" - ] - } - }, - "isNullable": true - }, - "Unauthorized": { - "$id": "3672", - "extensions": { - "$id": "3673", - "x-ms-metadata": { - "apiVersions": [ - "v1" - ], - "filename": [ - "mem:///104?oai3.shaken.json" - ], - "name": "paths·r40tgs·api-order-customerorders-id-changes·get·responses·401", - "originalLocations": [ - "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/responses/paths·r40tgs·api-order-customerorders-id-changes·get·responses·401" - ] - } - }, - "isNullable": true - }, - "Forbidden": { - "$id": "3674", - "extensions": { - "$id": "3675", - "x-ms-metadata": { - "apiVersions": [ - "v1" - ], - "filename": [ - "mem:///104?oai3.shaken.json" - ], - "name": "paths·ju17yy·api-order-customerorders-id-changes·get·responses·403", - "originalLocations": [ - "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/responses/paths·ju17yy·api-order-customerorders-id-changes·get·responses·403" - ] - } - }, - "isNullable": true - } - }, - "defaultResponse": { - "$id": "3676", - "isNullable": true - }, - "returnType": { - "$id": "3677", - "body": { - "$ref": "3669" - }, - "isNullable": true - }, - "requestContentType": "application/json; charset=utf-8", - "responseContentTypes": [ - "text/plain", - "application/json", - "text/json" - ], - "extensions": { - "servers": [], - "security": [ - { - "oauth2": [] - } - ] - }, - "deprecated": false, - "hidden": false - }, - { - "$id": "3678", - "parameters": [ - { - "$id": "3679", - "location": "body", - "collectionFormat": "none", - "defaultValue": { - "$id": "3680", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "3681", - "fixed": false - }, - "extensions": { - "x-ms-metadata": { - "apiVersions": [ - "v1" - ], - "filename": [ - "mem:///104?oai3.shaken.json" - ], - "name": "paths·1eu7wk4·api-order-customerorders-searchchanges·post·requestbody", - "originalLocations": [ - "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/requestBodies/paths·1eu7wk4·api-order-customerorders-searchchanges·post·requestbody" - ] - } - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "3682", - "fixed": false, - "raw": "body" - }, - "serializedName": "body", - "modelType": { - "$ref": "3016" - } - } - ], - "name": { - "$id": "3683", - "fixed": false, - "raw": "SearchOrderChanges" - }, - "group": { - "$id": "3684", - "fixed": false, - "raw": "OrderModule" - }, - "serializedName": "OrderModule_SearchOrderChanges", - "url": "/api/order/customerOrders/searchChanges", - "isAbsoluteUrl": false, - "httpMethod": "post", - "responses": { - "OK": { - "$id": "3685", - "body": { - "$ref": "3094" - }, - "extensions": { - "$id": "3686", - "x-ms-metadata": { - "apiVersions": [ - "v1" - ], - "filename": [ - "mem:///104?oai3.shaken.json" - ], - "name": "paths·13bjw4c·api-order-customerorders-searchchanges·post·responses·200", - "originalLocations": [ - "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/responses/paths·13bjw4c·api-order-customerorders-searchchanges·post·responses·200" - ] - } - }, - "isNullable": true - }, - "Unauthorized": { - "$id": "3687", - "extensions": { - "$id": "3688", - "x-ms-metadata": { - "apiVersions": [ - "v1" - ], - "filename": [ - "mem:///104?oai3.shaken.json" - ], - "name": "paths·nmxsen·api-order-customerorders-searchchanges·post·responses·401", - "originalLocations": [ - "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/responses/paths·nmxsen·api-order-customerorders-searchchanges·post·responses·401" - ] - } - }, - "isNullable": true - }, - "Forbidden": { - "$id": "3689", - "extensions": { - "$id": "3690", - "x-ms-metadata": { - "apiVersions": [ - "v1" - ], - "filename": [ - "mem:///104?oai3.shaken.json" - ], - "name": "paths·1twzh16·api-order-customerorders-searchchanges·post·responses·403", - "originalLocations": [ - "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/responses/paths·1twzh16·api-order-customerorders-searchchanges·post·responses·403" - ] - } - }, - "isNullable": true - } - }, - "defaultResponse": { - "$id": "3691", - "isNullable": true - }, - "returnType": { - "$id": "3692", - "body": { - "$ref": "3094" - }, - "isNullable": true - }, - "requestContentType": "application/json-patch+json; charset=utf-8", - "responseContentTypes": [ - "text/plain", - "application/json", - "text/json" - ], - "extensions": { - "servers": [], - "security": [ - { - "oauth2": [] - } - ] - }, - "deprecated": false, - "hidden": false - } - ], - "name": { - "$id": "3693", - "fixed": false, - "raw": "OrderModule" - }, - "typeName": { - "$id": "3694", - "fixed": false - }, - "nameForProperty": "OrderModule" - }, - { - "$id": "3695", - "methods": [ - { - "$id": "3696", - "parameters": [ - { - "$id": "3697", - "location": "body", - "collectionFormat": "none", - "defaultValue": { - "$id": "3698", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "3699", - "fixed": false, - "raw": "criteria" - }, - "extensions": { - "x-ms-metadata": { - "apiVersions": [ - "v1" - ], - "filename": [ - "mem:///104?oai3.shaken.json" - ], - "name": "paths·7ds44v·api-order-payments-search·post·requestbody", - "originalLocations": [ - "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/requestBodies/paths·7ds44v·api-order-payments-search·post·requestbody" - ] - } - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "3700", - "fixed": false, - "raw": "body" - }, - "serializedName": "body", - "modelType": { - "$ref": "3108" - } - } - ], - "name": { - "$id": "3701", - "fixed": false, - "raw": "SearchOrderPayments" - }, - "group": { - "$id": "3702", - "fixed": false, - "raw": "OrderModulePayments" - }, - "serializedName": "OrderModulePayments_SearchOrderPayments", - "url": "/api/order/payments/search", - "isAbsoluteUrl": false, - "httpMethod": "post", - "responses": { - "OK": { - "$id": "3703", - "body": { - "$ref": "3278" - }, - "extensions": { - "$id": "3704", - "x-ms-metadata": { - "apiVersions": [ - "v1" - ], - "filename": [ - "mem:///104?oai3.shaken.json" - ], - "name": "paths·hopb6m·api-order-payments-search·post·responses·200", - "originalLocations": [ - "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/responses/paths·hopb6m·api-order-payments-search·post·responses·200" - ] - } - }, - "isNullable": true - }, - "Unauthorized": { - "$id": "3705", - "extensions": { - "$id": "3706", - "x-ms-metadata": { - "apiVersions": [ - "v1" - ], - "filename": [ - "mem:///104?oai3.shaken.json" - ], - "name": "paths·1s4mqwl·api-order-payments-search·post·responses·401", - "originalLocations": [ - "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/responses/paths·1s4mqwl·api-order-payments-search·post·responses·401" - ] - } - }, - "isNullable": true - }, - "Forbidden": { - "$id": "3707", - "extensions": { - "$id": "3708", - "x-ms-metadata": { - "apiVersions": [ - "v1" - ], - "filename": [ - "mem:///104?oai3.shaken.json" - ], - "name": "paths·o22brz·api-order-payments-search·post·responses·403", - "originalLocations": [ - "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/responses/paths·o22brz·api-order-payments-search·post·responses·403" - ] - } - }, - "isNullable": true - } - }, - "defaultResponse": { - "$id": "3709", - "isNullable": true - }, - "returnType": { - "$id": "3710", - "body": { - "$ref": "3278" - }, - "isNullable": true - }, - "summary": "Search order payments by given criteria", - "requestContentType": "application/json-patch+json; charset=utf-8", - "responseContentTypes": [ - "text/plain", - "application/json", - "text/json" - ], - "extensions": { - "servers": [], - "security": [ - { - "oauth2": [] - } - ] - }, - "deprecated": false, - "hidden": false - }, - { - "$id": "3711", - "parameters": [ - { - "$id": "3712", - "clientProperty": { - "$ref": "3304" - }, - "location": "path", - "collectionFormat": "none", - "defaultValue": { - "$id": "3713", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "3714", - "fixed": false, - "raw": "order payment id" - }, - "extensions": { - "x-ms-metadata": { - "apiVersions": [ - "v1" - ], - "filename": [ - "mem:///104?oai3.shaken.json" - ], - "name": "paths·14rpel9·api-order-payments-id·get·parameters·0", - "originalLocations": [ - "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/parameters/paths·14rpel9·api-order-payments-id·get·parameters·0" - ] - }, - "x-ms-parameter-location": "method" - }, - "isRequired": true, - "isConstant": false, - "name": { - "$id": "3715", - "fixed": false, - "raw": "id" - }, - "serializedName": "id", - "modelType": { - "$id": "3716", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "3717", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - }, - { - "$id": "3718", - "clientProperty": { - "$ref": "3298" - }, - "location": "path", - "collectionFormat": "none", - "defaultValue": { - "$id": "3719", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "3720", - "fixed": false, - "raw": "" - }, - "extensions": { - "x-ms-metadata": { - "apiVersions": [ - "v1" - ], - "filename": [ - "mem:///104?oai3.shaken.json" - ], - "name": "paths·1dds9p4·api-order-payments-id·get·parameters·1", - "originalLocations": [ - "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/parameters/paths·1dds9p4·api-order-payments-id·get·parameters·1" - ] - }, - "x-ms-parameter-location": "method" - }, - "isRequired": true, - "isConstant": false, - "name": { - "$id": "3721", - "fixed": false, - "raw": "respGroup" - }, - "serializedName": "respGroup", - "modelType": { - "$id": "3722", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "3723", - "fixed": false, - "raw": "String" - }, - "deprecated": false - } - } - ], - "name": { - "$id": "3724", - "fixed": false, - "raw": "GetById" - }, - "group": { - "$id": "3725", - "fixed": false, - "raw": "OrderModulePayments" - }, - "serializedName": "OrderModulePayments_GetById", - "url": "/api/order/payments/{id}", - "isAbsoluteUrl": false, - "httpMethod": "get", - "responses": { - "OK": { - "$id": "3726", - "body": { - "$ref": "1198" - }, - "extensions": { - "$id": "3727", - "x-ms-metadata": { - "apiVersions": [ - "v1" - ], - "filename": [ - "mem:///104?oai3.shaken.json" - ], - "name": "paths·1s98poj·api-order-payments-id·get·responses·200", - "originalLocations": [ - "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/responses/paths·1s98poj·api-order-payments-id·get·responses·200" - ] - } - }, - "isNullable": true - }, - "Unauthorized": { - "$id": "3728", - "extensions": { - "$id": "3729", - "x-ms-metadata": { - "apiVersions": [ - "v1" - ], - "filename": [ - "mem:///104?oai3.shaken.json" - ], - "name": "paths·1sa5qmf·api-order-payments-id·get·responses·401", - "originalLocations": [ - "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/responses/paths·1sa5qmf·api-order-payments-id·get·responses·401" - ] - } - }, - "isNullable": true - }, - "Forbidden": { - "$id": "3730", - "extensions": { - "$id": "3731", - "x-ms-metadata": { - "apiVersions": [ - "v1" - ], - "filename": [ - "mem:///104?oai3.shaken.json" - ], - "name": "paths·3341pu·api-order-payments-id·get·responses·403", - "originalLocations": [ - "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/responses/paths·3341pu·api-order-payments-id·get·responses·403" - ] - } - }, - "isNullable": true - } - }, - "defaultResponse": { - "$id": "3732", - "isNullable": true - }, - "returnType": { - "$id": "3733", - "body": { - "$ref": "1198" - }, - "isNullable": true - }, - "description": "Return a single order payment with all nested documents or null if payment was not found", - "summary": "Find order payment by id", - "requestContentType": "application/json; charset=utf-8", - "responseContentTypes": [ - "text/plain", - "application/json", - "text/json" - ], - "extensions": { - "servers": [], - "security": [ - { - "oauth2": [] - } - ] - }, - "deprecated": false, - "hidden": false - }, - { - "$id": "3734", - "parameters": [ - { - "$id": "3735", - "location": "body", - "collectionFormat": "none", - "defaultValue": { - "$id": "3736", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "3737", - "fixed": false, - "raw": "payment" - }, - "extensions": { - "x-ms-metadata": { - "apiVersions": [ - "v1" - ], - "filename": [ - "mem:///104?oai3.shaken.json" - ], - "name": "paths·1c2uxsp·api-order-payments·post·requestbody", - "originalLocations": [ - "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/requestBodies/paths·1c2uxsp·api-order-payments·post·requestbody" - ] - } - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "3738", - "fixed": false, - "raw": "body" - }, - "serializedName": "body", - "modelType": { - "$ref": "1198" - } - } - ], - "name": { - "$id": "3739", - "fixed": false, - "raw": "CreatePayment" - }, - "group": { - "$id": "3740", - "fixed": false, - "raw": "OrderModulePayments" - }, - "serializedName": "OrderModulePayments_CreatePayment", - "url": "/api/order/payments", - "isAbsoluteUrl": false, - "httpMethod": "post", - "responses": { - "OK": { - "$id": "3741", - "body": { - "$ref": "2011" - }, - "extensions": { - "$id": "3742", - "x-ms-metadata": { - "apiVersions": [ - "v1" - ], - "filename": [ - "mem:///104?oai3.shaken.json" - ], - "name": "paths·slhvea·api-order-payments·post·responses·200", - "originalLocations": [ - "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/responses/paths·slhvea·api-order-payments·post·responses·200" - ] - } - }, - "isNullable": true - }, - "Unauthorized": { - "$id": "3743", - "extensions": { - "$id": "3744", - "x-ms-metadata": { - "apiVersions": [ - "v1" - ], - "filename": [ - "mem:///104?oai3.shaken.json" - ], - "name": "paths·1u1za5a·api-order-payments·post·responses·401", - "originalLocations": [ - "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/responses/paths·1u1za5a·api-order-payments·post·responses·401" - ] - } - }, - "isNullable": true - }, - "Forbidden": { - "$id": "3745", - "extensions": { - "$id": "3746", - "x-ms-metadata": { - "apiVersions": [ - "v1" - ], - "filename": [ - "mem:///104?oai3.shaken.json" - ], - "name": "paths·7a9g1s·api-order-payments·post·responses·403", - "originalLocations": [ - "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/responses/paths·7a9g1s·api-order-payments·post·responses·403" - ] - } - }, - "isNullable": true - } - }, - "defaultResponse": { - "$id": "3747", - "isNullable": true - }, - "returnType": { - "$id": "3748", - "body": { - "$ref": "2011" - }, - "isNullable": true - }, - "summary": "Create or update order payment", - "requestContentType": "application/json-patch+json; charset=utf-8", - "responseContentTypes": [ - "text/plain", - "application/json", - "text/json" - ], - "extensions": { - "servers": [], - "security": [ - { - "oauth2": [] - } - ] - }, - "deprecated": false, - "hidden": false - }, - { - "$id": "3749", - "parameters": [ - { - "$id": "3750", - "location": "body", - "collectionFormat": "none", - "defaultValue": { - "$id": "3751", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "3752", - "fixed": false - }, - "extensions": { - "x-ms-metadata": { - "apiVersions": [ - "v1" - ], - "filename": [ - "mem:///104?oai3.shaken.json" - ], - "name": "paths·9wz55f·api-order-payments·put·requestbody", - "originalLocations": [ - "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/requestBodies/paths·9wz55f·api-order-payments·put·requestbody" - ] - } - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "3753", - "fixed": false, - "raw": "body" - }, - "serializedName": "body", - "modelType": { - "$ref": "1198" - } - } - ], - "name": { - "$id": "3754", - "fixed": false, - "raw": "UpdatePayment" - }, - "group": { - "$id": "3755", - "fixed": false, - "raw": "OrderModulePayments" - }, - "serializedName": "OrderModulePayments_UpdatePayment", - "url": "/api/order/payments", - "isAbsoluteUrl": false, - "httpMethod": "put", - "responses": { - "OK": { - "$id": "3756", - "body": { - "$ref": "2011" - }, - "extensions": { - "$id": "3757", - "x-ms-metadata": { - "apiVersions": [ - "v1" - ], - "filename": [ - "mem:///104?oai3.shaken.json" - ], - "name": "paths·btmmbn·api-order-payments·put·responses·200", - "originalLocations": [ - "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/responses/paths·btmmbn·api-order-payments·put·responses·200" - ] - } - }, - "isNullable": true - }, - "Unauthorized": { - "$id": "3758", - "extensions": { - "$id": "3759", - "x-ms-metadata": { - "apiVersions": [ - "v1" - ], - "filename": [ - "mem:///104?oai3.shaken.json" - ], - "name": "paths·8kdfj5·api-order-payments·put·responses·401", - "originalLocations": [ - "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/responses/paths·8kdfj5·api-order-payments·put·responses·401" - ] - } - }, - "isNullable": true - }, - "Forbidden": { - "$id": "3760", - "extensions": { - "$id": "3761", - "x-ms-metadata": { - "apiVersions": [ - "v1" - ], - "filename": [ - "mem:///104?oai3.shaken.json" - ], - "name": "paths·afe6kw·api-order-payments·put·responses·403", - "originalLocations": [ - "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/responses/paths·afe6kw·api-order-payments·put·responses·403" - ] - } - }, - "isNullable": true - } - }, - "defaultResponse": { - "$id": "3762", - "isNullable": true - }, - "returnType": { - "$id": "3763", - "body": { - "$ref": "2011" - }, - "isNullable": true - }, - "requestContentType": "application/json-patch+json; charset=utf-8", - "responseContentTypes": [ - "text/plain", - "application/json", - "text/json" - ], - "extensions": { - "servers": [], - "security": [ - { - "oauth2": [] - } - ] - }, - "deprecated": false, - "hidden": false - }, - { - "$id": "3764", - "parameters": [ - { - "$id": "3765", - "clientProperty": { - "$ref": "3334" - }, - "location": "query", - "collectionFormat": "csv", - "defaultValue": { - "$id": "3766", - "fixed": false - }, - "deprecated": false, - "documentation": { - "$id": "3767", - "fixed": false, - "raw": "order payment ids" - }, - "extensions": { - "x-ms-metadata": { - "apiVersions": [ - "v1" - ], - "filename": [ - "mem:///104?oai3.shaken.json" - ], - "name": "paths·a6pvyl·api-order-payments·delete·parameters·0", - "originalLocations": [ - "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/parameters/paths·a6pvyl·api-order-payments·delete·parameters·0" - ] - }, - "x-ms-parameter-location": "method" - }, - "isRequired": false, - "isConstant": false, - "name": { - "$id": "3768", - "fixed": false, - "raw": "ids" - }, - "serializedName": "ids", - "modelType": { - "$id": "3769", - "$type": "SequenceType", - "elementType": { - "$id": "3770", - "$type": "PrimaryType", - "knownPrimaryType": "string", - "name": { - "$id": "3771", - "fixed": false, - "raw": "String" - }, - "deprecated": false - }, - "name": { - "$id": "3772", - "fixed": false - }, - "deprecated": false - } - } - ], - "name": { - "$id": "3773", - "fixed": false, - "raw": "DeleteOrderPaymentsByIds" - }, - "group": { - "$id": "3774", - "fixed": false, - "raw": "OrderModulePayments" - }, - "serializedName": "OrderModulePayments_DeleteOrderPaymentsByIds", - "url": "/api/order/payments", - "isAbsoluteUrl": false, - "httpMethod": "delete", - "responses": { - "OK": { - "$id": "3775", - "extensions": { - "$id": "3776", - "x-ms-metadata": { - "apiVersions": [ - "v1" - ], - "filename": [ - "mem:///104?oai3.shaken.json" - ], - "name": "paths·17l8ahv·api-order-payments·delete·responses·200", - "originalLocations": [ - "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/responses/paths·17l8ahv·api-order-payments·delete·responses·200" - ] - } - }, - "isNullable": true - }, - "Unauthorized": { - "$id": "3777", - "extensions": { - "$id": "3778", - "x-ms-metadata": { - "apiVersions": [ - "v1" - ], - "filename": [ - "mem:///104?oai3.shaken.json" - ], - "name": "paths·mcsucn·api-order-payments·delete·responses·401", - "originalLocations": [ - "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/responses/paths·mcsucn·api-order-payments·delete·responses·401" - ] - } - }, - "isNullable": true - }, - "Forbidden": { - "$id": "3779", - "extensions": { - "$id": "3780", - "x-ms-metadata": { - "apiVersions": [ - "v1" - ], - "filename": [ - "mem:///104?oai3.shaken.json" - ], - "name": "paths·37o6an·api-order-payments·delete·responses·403", - "originalLocations": [ - "http://localhost:10645/docs/VirtoCommerce.Orders/swagger.json#/components/responses/paths·37o6an·api-order-payments·delete·responses·403" - ] - } - }, - "isNullable": true - } - }, - "defaultResponse": { - "$id": "3781", - "isNullable": true - }, - "returnType": { - "$id": "3782", - "isNullable": true - }, - "summary": "Delete an order payment", - "requestContentType": "application/json; charset=utf-8", - "responseContentTypes": [ - "application/json" - ], - "extensions": { - "servers": [], - "security": [ - { - "oauth2": [] - } - ] - }, - "deprecated": false, - "hidden": false - } - ], - "name": { - "$id": "3783", - "fixed": false, - "raw": "OrderModulePayments" - }, - "typeName": { - "$id": "3784", - "fixed": false - }, - "nameForProperty": "OrderModulePayments" - } - ] -} \ No newline at end of file From b681687f2cf676fac6435d706b09b8b4b06d76cd Mon Sep 17 00:00:00 2001 From: trueboroda Date: Wed, 28 Oct 2020 19:33:05 +0300 Subject: [PATCH 11/21] VP-5616: Check group's list on null and emptiness at the cart convert from dto --- VirtoCommerce.Storefront/Domain/Cart/CartConverter.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/VirtoCommerce.Storefront/Domain/Cart/CartConverter.cs b/VirtoCommerce.Storefront/Domain/Cart/CartConverter.cs index ff4dbef4..ab54671f 100644 --- a/VirtoCommerce.Storefront/Domain/Cart/CartConverter.cs +++ b/VirtoCommerce.Storefront/Domain/Cart/CartConverter.cs @@ -496,7 +496,7 @@ public static ShoppingCart ToShoppingCart(this cartDto.ShoppingCart cartDto, Cur result.VolumetricWeight = (decimal)(cartDto.VolumetricWeight ?? 0); result.Weight = (decimal)(cartDto.Weight ?? 0); - if (cartDto.ConfiguredGroups != null) + if (!cartDto.ConfiguredGroups.IsNullOrEmpty()) { result.ConfiguredGroups = cartDto.ConfiguredGroups.Select(x => x.ToConfiguredGroup(result)).ToList(); } From 678c42353dffc3fc5836224a261457ef05c4132e Mon Sep 17 00:00:00 2001 From: trueboroda Date: Wed, 28 Oct 2020 19:39:16 +0300 Subject: [PATCH 12/21] VP-5616: Take into account PR notes. --- .../Controllers/Api/ApiCartDemoController.cs | 99 +++++++++---------- .../Domain/Cart/Demo/DemoCartService.cs | 41 ++++---- 2 files changed, 65 insertions(+), 75 deletions(-) diff --git a/VirtoCommerce.Storefront/Controllers/Api/ApiCartDemoController.cs b/VirtoCommerce.Storefront/Controllers/Api/ApiCartDemoController.cs index aa8c02d1..d4cc06a8 100644 --- a/VirtoCommerce.Storefront/Controllers/Api/ApiCartDemoController.cs +++ b/VirtoCommerce.Storefront/Controllers/Api/ApiCartDemoController.cs @@ -32,69 +32,64 @@ public ApiCartDemoController(IWorkContextAccessor workContextAccessor, ICatalogS // POST: storefrontapi/cart/items/bulk [HttpPost("items/bulk")] [ValidateAntiForgeryToken] - public Task> AddItemsToCart([FromBody] AddCartItem[] items) + public async Task> AddItemsToCart([FromBody] AddCartItem[] items) { if (items.IsNullOrEmpty()) { throw new ArgumentNullException(nameof(items)); } - async Task> InternalAddItemsToCart() + EnsureCartExists(); + + //Need lock to prevent concurrent access to same cart + using (await AsyncLock.GetLockByKey(WorkContext.CurrentCart.Value.GetCacheKey()).LockAsync()) { - EnsureCartExists(); + var productIds = items.Select(x => x.Id).ToArray(); + var products = await _catalogService.GetProductsAsync(productIds, Model.Catalog.ItemResponseGroup.ItemSmall | Model.Catalog.ItemResponseGroup.ItemWithPrices | Model.Catalog.ItemResponseGroup.Inventory); + var cartBuilder = await LoadOrCreateCartAsync(); + var cart = _cartBuilder.Cart; + var currency = WorkContext.CurrentCurrency; + + var firstItem = items.First(); + + var configuredProductId = firstItem.ConfiguredProductId; - //Need lock to prevent concurrent access to same cart - using (await AsyncLock.GetLockByKey(WorkContext.CurrentCart.Value.GetCacheKey()).LockAsync()) + var configuredGroup = cart.ConfiguredGroups?.FirstOrDefault(x => (x.ProductId == configuredProductId) + && x.Items.OrderBy(x => x.ProductId).Select(x => x.ProductId).SequenceEqual(items.OrderBy(i => i.ProductId).Select(i => i.ProductId).ToArray()) + ); + + if (configuredGroup == null) { - var productIds = items.Select(x => x.Id).ToArray(); - var products = await _catalogService.GetProductsAsync(productIds, Model.Catalog.ItemResponseGroup.ItemSmall | Model.Catalog.ItemResponseGroup.ItemWithPrices | Model.Catalog.ItemResponseGroup.Inventory); - var cartBuilder = await LoadOrCreateCartAsync(); - var cart = _cartBuilder.Cart; - var currency = WorkContext.CurrentCurrency; - - var firstItem = items.First(); - - var configuredProductId = firstItem.ConfiguredProductId; - - var configuredGroup = cart.ConfiguredGroups?.FirstOrDefault(x => (x.ProductId == configuredProductId) - && x.Items.OrderBy(x => x.ProductId).Select(x => x.ProductId).SequenceEqual(items.OrderBy(i => i.ProductId).Select(i => i.ProductId).ToArray()) - ); - - if (configuredGroup == null) - { - configuredGroup = new Model.Cart.Demo.ConfiguredGroup(firstItem.Quantity, currency, configuredProductId); - cart.ConfiguredGroups.Add(configuredGroup); - } - else - { - configuredGroup.Quantity += Math.Max(1, firstItem.Quantity); - } - - foreach (var item in items) - { - item.ConfiguredGroupId = configuredGroup?.Id; - item.Product = products.First(x => x.Id == item.ProductId); - await cartBuilder.AddItemAsync(item); - } - - var validationResult = await new CartDemoValidator().ValidateAsync(cart, ruleSet: "default,strict"); - - if (validationResult.IsValid) - { - await cartBuilder.SaveAsync(); - } - - var result = new AddItemsToCartResult - { - IsSuccess = validationResult.IsValid, - ErrorCodes = validationResult.Errors.Select(x => x.ErrorCode).Distinct().ToArray() - }; - - return result; + configuredGroup = new Model.Cart.Demo.ConfiguredGroup(firstItem.Quantity, currency, configuredProductId); + cart.ConfiguredGroups.Add(configuredGroup); + } + else + { + configuredGroup.Quantity += Math.Max(1, firstItem.Quantity); } - } - return InternalAddItemsToCart(); + foreach (var item in items) + { + item.ConfiguredGroupId = configuredGroup?.Id; + item.Product = products.First(x => x.Id == item.ProductId); + await cartBuilder.AddItemAsync(item); + } + + var validationResult = await new CartDemoValidator().ValidateAsync(cart, ruleSet: "default,strict"); + + if (validationResult.IsValid) + { + await cartBuilder.SaveAsync(); + } + + var result = new AddItemsToCartResult + { + IsSuccess = validationResult.IsValid, + ErrorCodes = validationResult.Errors.Select(x => x.ErrorCode).Distinct().ToArray() + }; + + return result; + } } private void EnsureCartExists() diff --git a/VirtoCommerce.Storefront/Domain/Cart/Demo/DemoCartService.cs b/VirtoCommerce.Storefront/Domain/Cart/Demo/DemoCartService.cs index 5945685d..3ee83fa1 100644 --- a/VirtoCommerce.Storefront/Domain/Cart/Demo/DemoCartService.cs +++ b/VirtoCommerce.Storefront/Domain/Cart/Demo/DemoCartService.cs @@ -44,42 +44,37 @@ public DemoCartService( _catalogService = catalogService; } - public override Task> SearchCartsAsync(CartSearchCriteria criteria) + public override async Task> SearchCartsAsync(CartSearchCriteria criteria) { if (criteria == null) { throw new ArgumentNullException(nameof(criteria)); } - async Task> IntertallSearchCartsAsync() + var cacheKey = CacheKey.With(GetType(), "SearchCartsAsync", criteria.GetCacheKey()); + return await _memoryCache.GetOrCreateExclusiveAsync(cacheKey, async cacheEntry => { - var cacheKey = CacheKey.With(GetType(), "SearchCartsAsync", criteria.GetCacheKey()); - return await _memoryCache.GetOrCreateExclusiveAsync(cacheKey, async cacheEntry => - { - cacheEntry.AddExpirationToken(CartCacheRegion.CreateCustomerChangeToken(criteria.Customer?.Id)); - - var resultDto = await _cartApi.SearchShoppingCartAsync(criteria.ToSearchCriteriaDto()); - var result = new List(); - foreach (var cartDto in resultDto.Results) - { - var currency = _workContextAccessor.WorkContext.AllCurrencies.FirstOrDefault(x => x.Equals(cartDto.Currency)); - var language = string.IsNullOrEmpty(cartDto.LanguageCode) ? Language.InvariantLanguage : new Language(cartDto.LanguageCode); - var user = await _userManager.FindByIdAsync(cartDto.CustomerId) ?? criteria.Customer; + cacheEntry.AddExpirationToken(CartCacheRegion.CreateCustomerChangeToken(criteria.Customer?.Id)); - var cart = cartDto.ToShoppingCart(currency, language, user); + var resultDto = await _cartApi.SearchShoppingCartAsync(criteria.ToSearchCriteriaDto()); + var result = new List(); + foreach (var cartDto in resultDto.Results) + { + var currency = _workContextAccessor.WorkContext.AllCurrencies.FirstOrDefault(x => x.Equals(cartDto.Currency)); + var language = string.IsNullOrEmpty(cartDto.LanguageCode) ? Language.InvariantLanguage : new Language(cartDto.LanguageCode); + var user = await _userManager.FindByIdAsync(cartDto.CustomerId) ?? criteria.Customer; - await FillProductPartsOfGroups(cart, language, currency); + var cart = cartDto.ToShoppingCart(currency, language, user); - result.Add(cart); - } - return new StaticPagedList(result, criteria.PageNumber, criteria.PageSize, resultDto.TotalCount.Value); - }); - } + await FillProductPartsOfGroupsAsync(cart); - return IntertallSearchCartsAsync(); + result.Add(cart); + } + return new StaticPagedList(result, criteria.PageNumber, criteria.PageSize, resultDto.TotalCount.Value); + }); } - protected virtual async Task FillProductPartsOfGroups(ShoppingCart cart, Language language, Currency currency) + protected virtual async Task FillProductPartsOfGroupsAsync(ShoppingCart cart) { if (cart.ConfiguredGroups.IsNullOrEmpty()) { From e4bc79a7c2eddbcae078d8f16bfbb2c844ee4be6 Mon Sep 17 00:00:00 2001 From: Maksim Kopnov <44946644+mvktsk@users.noreply.github.com> Date: Thu, 29 Oct 2020 11:09:56 +0700 Subject: [PATCH 13/21] Update release-alpha.yml --- .github/workflows/release-alpha.yml | 20 +++++++++----------- 1 file changed, 9 insertions(+), 11 deletions(-) diff --git a/.github/workflows/release-alpha.yml b/.github/workflows/release-alpha.yml index f71ddac0..c8a09757 100644 --- a/.github/workflows/release-alpha.yml +++ b/.github/workflows/release-alpha.yml @@ -3,9 +3,7 @@ name: Release alpha on: workflow_dispatch: - pull_request_review: - types: - - submitted + jobs: ci: runs-on: ubuntu-latest @@ -34,7 +32,7 @@ jobs: id: image - name: Add version suffix - uses: VirtoCommerce/vc-github-actions/add-version-suffix@VP-5059 + uses: VirtoCommerce/vc-github-actions/add-version-suffix@master - name: SonarCloud Begin uses: VirtoCommerce/vc-github-actions/sonar-scanner-begin@master @@ -54,7 +52,7 @@ jobs: - name: Build Docker Image # if: ${{ github.ref == 'refs/heads/master' || github.ref == 'refs/heads/dev' }} id: dockerBuild - uses: VirtoCommerce/vc-github-actions/build-docker-image@VP-5059 + uses: VirtoCommerce/vc-github-actions/build-docker-image@master with: imageName: "demo-storefront" tag: ${{ steps.image.outputs.taggedVersion }} @@ -71,7 +69,7 @@ jobs: - name: Publish Docker Image # if: ${{ github.ref == 'refs/heads/master' || github.ref == 'refs/heads/dev' }} - uses: VirtoCommerce/vc-github-actions/publish-docker-image@VP-5059 + uses: VirtoCommerce/vc-github-actions/publish-docker-image@master with: image: ${{ steps.dockerBuild.outputs.imageName }} tag: ${{ steps.image.outputs.taggedVersion }} @@ -86,7 +84,7 @@ jobs: # - name: Publish to Blob # if: ${{ github.ref == 'refs/heads/dev' }} # id: blobRelease -# uses: VirtoCommerce/vc-github-actions/publish-blob-release@VP-5059 +# uses: VirtoCommerce/vc-github-actions/publish-blob-release@master # with: # blobSAS: ${{ secrets.BLOB_TOKEN }} @@ -94,16 +92,16 @@ jobs: # if: ${{ github.ref == 'refs/heads/master' }} # with: # changelog: ${{ steps.changelog.outputs.changelog }} -# uses: VirtoCommerce/vc-github-actions/publish-github-release@VP-5059 +# uses: VirtoCommerce/vc-github-actions/publish-github-release@master # - name: Setup Git Credentials # if: ${{ github.ref == 'refs/heads/dev' || github.ref == 'refs/heads/master'}} -# uses: VirtoCommerce/vc-github-actions/setup-git-credentials-github@VP-5059 +# uses: VirtoCommerce/vc-github-actions/setup-git-credentials-github@master # with: # githubToken: ${{ secrets.REPO_TOKEN }} # - name: Publish Manifest # if: ${{ github.ref == 'refs/heads/dev' || github.ref == 'refs/heads/master'}} -# uses: VirtoCommerce/vc-github-actions/publish-manifest@VP-5059 +# uses: VirtoCommerce/vc-github-actions/publish-manifest@master # with: -# packageUrl: ${{ steps.blobRelease.outputs.packageUrl }} \ No newline at end of file +# packageUrl: ${{ steps.blobRelease.outputs.packageUrl }} From e14932308735dd3b729d27291744c89f28970980 Mon Sep 17 00:00:00 2001 From: Aleksandr Vishniakov Date: Thu, 29 Oct 2020 09:23:34 +0200 Subject: [PATCH 14/21] Revert back Shopping cart rename --- .../Cart/Demo/ShoppingCart.cs | 2 +- .../Cart/Services/ICartBuilder.cs | 6 +++--- .../Cart/Services/ICartService.cs | 10 +++++----- .../Cart/ShoppingCart.cs | 6 +++--- .../Cart/ShoppingCartSearchResult.cs | 2 +- .../Cart/Validators/AddCartItemValidator.cs | 2 +- .../Cart/Validators/CartDemoValidator.cs | 2 +- .../Validators/CartLineItemDemoValidator.cs | 2 +- .../Cart/Validators/CartLineItemValidator.cs | 2 +- .../Cart/Validators/CartShipmentValidator.cs | 2 +- .../Cart/Validators/CartValidator.cs | 2 +- .../ChangeCartItemPriceValidator.cs | 2 +- .../Marketing/PromotionEvaluationContext.cs | 2 +- .../Order/Events/OrderPlacedEvent.cs | 4 ++-- VirtoCommerce.Storefront.Model/WorkContext.cs | 4 ++-- .../ShoppingCart/CartValidationTests.cs | 18 ++++++++--------- .../Controllers/Api/ApiCartController.cs | 4 ++-- .../Controllers/Api/ApiListsController.cs | 4 ++-- .../Domain/Cart/CartBuilder.cs | 16 +++++++-------- .../Domain/Cart/CartCacheRegion.cs | 4 ++-- .../Domain/Cart/CartConverter.cs | 20 +++++++++---------- .../Domain/Cart/CartService.cs | 16 +++++++-------- .../Cart/CartWorkContextBuilderExtensions.cs | 6 +++--- 23 files changed, 69 insertions(+), 69 deletions(-) diff --git a/VirtoCommerce.Storefront.Model/Cart/Demo/ShoppingCart.cs b/VirtoCommerce.Storefront.Model/Cart/Demo/ShoppingCart.cs index ac4c67a1..ccba982e 100644 --- a/VirtoCommerce.Storefront.Model/Cart/Demo/ShoppingCart.cs +++ b/VirtoCommerce.Storefront.Model/Cart/Demo/ShoppingCart.cs @@ -5,7 +5,7 @@ namespace VirtoCommerce.Storefront.Model.Cart { - public partial class CustomerOrder + public partial class ShoppingCart { [JsonRequired] public LineItem[] UsualItems diff --git a/VirtoCommerce.Storefront.Model/Cart/Services/ICartBuilder.cs b/VirtoCommerce.Storefront.Model/Cart/Services/ICartBuilder.cs index ff5dc260..b0890816 100644 --- a/VirtoCommerce.Storefront.Model/Cart/Services/ICartBuilder.cs +++ b/VirtoCommerce.Storefront.Model/Cart/Services/ICartBuilder.cs @@ -15,14 +15,14 @@ namespace VirtoCommerce.Storefront.Model.Cart.Services /// public interface ICartBuilder { - CustomerOrder Cart { get; } + ShoppingCart Cart { get; } /// /// Capture cart and all next changes will be implemented on it /// /// /// - Task TakeCartAsync(CustomerOrder cart); + Task TakeCartAsync(ShoppingCart cart); /// /// Update shopping cart comment @@ -133,7 +133,7 @@ public interface ICartBuilder /// /// /// - Task MergeWithCartAsync(CustomerOrder cart); + Task MergeWithCartAsync(ShoppingCart cart); /// /// Remove cart from service diff --git a/VirtoCommerce.Storefront.Model/Cart/Services/ICartService.cs b/VirtoCommerce.Storefront.Model/Cart/Services/ICartService.cs index ea2e41c4..99ef0f87 100644 --- a/VirtoCommerce.Storefront.Model/Cart/Services/ICartService.cs +++ b/VirtoCommerce.Storefront.Model/Cart/Services/ICartService.cs @@ -6,13 +6,13 @@ namespace VirtoCommerce.Storefront.Model.Cart.Services { public interface ICartService { - Task> SearchCartsAsync(CartSearchCriteria criteria); - Task SaveChanges(CustomerOrder cart); - Task GetByIdAsync(string cartId); + Task> SearchCartsAsync(CartSearchCriteria criteria); + Task SaveChanges(ShoppingCart cart); + Task GetByIdAsync(string cartId); Task DeleteCartByIdAsync(string cartId); - Task> GetAvailableShippingMethodsAsync(CustomerOrder cart); - Task> GetAvailablePaymentMethodsAsync(CustomerOrder cart); + Task> GetAvailableShippingMethodsAsync(ShoppingCart cart); + Task> GetAvailablePaymentMethodsAsync(ShoppingCart cart); } } diff --git a/VirtoCommerce.Storefront.Model/Cart/ShoppingCart.cs b/VirtoCommerce.Storefront.Model/Cart/ShoppingCart.cs index 3aba54a8..a8371b25 100644 --- a/VirtoCommerce.Storefront.Model/Cart/ShoppingCart.cs +++ b/VirtoCommerce.Storefront.Model/Cart/ShoppingCart.cs @@ -10,9 +10,9 @@ namespace VirtoCommerce.Storefront.Model.Cart { - public partial class CustomerOrder : Entity, IDiscountable, IValidatable, IHasLanguage, ITaxable, ICacheKey + public partial class ShoppingCart : Entity, IDiscountable, IValidatable, IHasLanguage, ITaxable, ICacheKey { - public CustomerOrder(Currency currency, Language language) + public ShoppingCart(Currency currency, Language language) { Currency = currency; Language = language; @@ -476,7 +476,7 @@ public override string ToString() public override object Clone() { - var result = base.Clone() as CustomerOrder; + var result = base.Clone() as ShoppingCart; result.HandlingTotal = HandlingTotal?.Clone() as Money; result.HandlingTotalWithTax = HandlingTotalWithTax?.Clone() as Money; diff --git a/VirtoCommerce.Storefront.Model/Cart/ShoppingCartSearchResult.cs b/VirtoCommerce.Storefront.Model/Cart/ShoppingCartSearchResult.cs index 19b2be88..d20c7e58 100644 --- a/VirtoCommerce.Storefront.Model/Cart/ShoppingCartSearchResult.cs +++ b/VirtoCommerce.Storefront.Model/Cart/ShoppingCartSearchResult.cs @@ -2,7 +2,7 @@ namespace VirtoCommerce.Storefront.Model.Cart { - public class ShoppingCartSearchResult : GenericSearchResult + public class ShoppingCartSearchResult : GenericSearchResult { } } diff --git a/VirtoCommerce.Storefront.Model/Cart/Validators/AddCartItemValidator.cs b/VirtoCommerce.Storefront.Model/Cart/Validators/AddCartItemValidator.cs index 0e690cd1..d9f6e599 100644 --- a/VirtoCommerce.Storefront.Model/Cart/Validators/AddCartItemValidator.cs +++ b/VirtoCommerce.Storefront.Model/Cart/Validators/AddCartItemValidator.cs @@ -11,7 +11,7 @@ namespace VirtoCommerce.Storefront.Model.Cart.Validators { public class AddCartItemValidator : AbstractValidator { - public AddCartItemValidator(CustomerOrder cart) + public AddCartItemValidator(ShoppingCart cart) { RuleFor(x => x.Quantity).GreaterThan(0); RuleFor(x => x.Product).NotNull(); diff --git a/VirtoCommerce.Storefront.Model/Cart/Validators/CartDemoValidator.cs b/VirtoCommerce.Storefront.Model/Cart/Validators/CartDemoValidator.cs index 9f76407a..c06e8ca7 100644 --- a/VirtoCommerce.Storefront.Model/Cart/Validators/CartDemoValidator.cs +++ b/VirtoCommerce.Storefront.Model/Cart/Validators/CartDemoValidator.cs @@ -2,7 +2,7 @@ namespace VirtoCommerce.Storefront.Model.Cart.Validators { - public class CartDemoValidator : AbstractValidator + public class CartDemoValidator : AbstractValidator { public CartDemoValidator() { diff --git a/VirtoCommerce.Storefront.Model/Cart/Validators/CartLineItemDemoValidator.cs b/VirtoCommerce.Storefront.Model/Cart/Validators/CartLineItemDemoValidator.cs index 57451804..d70ee883 100644 --- a/VirtoCommerce.Storefront.Model/Cart/Validators/CartLineItemDemoValidator.cs +++ b/VirtoCommerce.Storefront.Model/Cart/Validators/CartLineItemDemoValidator.cs @@ -7,7 +7,7 @@ namespace VirtoCommerce.Storefront.Model.Cart.Validators { public class CartLineItemDemoValidator : AbstractValidator { - public CartLineItemDemoValidator(CustomerOrder cart) + public CartLineItemDemoValidator(ShoppingCart cart) { RuleSet("strict", () => { diff --git a/VirtoCommerce.Storefront.Model/Cart/Validators/CartLineItemValidator.cs b/VirtoCommerce.Storefront.Model/Cart/Validators/CartLineItemValidator.cs index 0df43d60..4eb889ac 100644 --- a/VirtoCommerce.Storefront.Model/Cart/Validators/CartLineItemValidator.cs +++ b/VirtoCommerce.Storefront.Model/Cart/Validators/CartLineItemValidator.cs @@ -7,7 +7,7 @@ namespace VirtoCommerce.Storefront.Model.Cart.Validators { public class CartLineItemValidator : AbstractValidator { - public CartLineItemValidator(CustomerOrder cart) + public CartLineItemValidator(ShoppingCart cart) { RuleSet("strict", () => { diff --git a/VirtoCommerce.Storefront.Model/Cart/Validators/CartShipmentValidator.cs b/VirtoCommerce.Storefront.Model/Cart/Validators/CartShipmentValidator.cs index dfce6a90..0f02a233 100644 --- a/VirtoCommerce.Storefront.Model/Cart/Validators/CartShipmentValidator.cs +++ b/VirtoCommerce.Storefront.Model/Cart/Validators/CartShipmentValidator.cs @@ -8,7 +8,7 @@ namespace VirtoCommerce.Storefront.Model.Cart.Validators { public class CartShipmentValidator : AbstractValidator { - public CartShipmentValidator(CustomerOrder cart, ICartService cartService) + public CartShipmentValidator(ShoppingCart cart, ICartService cartService) { RuleSet("strict", () => { diff --git a/VirtoCommerce.Storefront.Model/Cart/Validators/CartValidator.cs b/VirtoCommerce.Storefront.Model/Cart/Validators/CartValidator.cs index 6d1259d4..6558fb23 100644 --- a/VirtoCommerce.Storefront.Model/Cart/Validators/CartValidator.cs +++ b/VirtoCommerce.Storefront.Model/Cart/Validators/CartValidator.cs @@ -3,7 +3,7 @@ namespace VirtoCommerce.Storefront.Model.Cart.Validators { - public class CartValidator : AbstractValidator + public class CartValidator : AbstractValidator { public CartValidator(ICartService cartService) { diff --git a/VirtoCommerce.Storefront.Model/Cart/Validators/ChangeCartItemPriceValidator.cs b/VirtoCommerce.Storefront.Model/Cart/Validators/ChangeCartItemPriceValidator.cs index 257d6a1d..c81d890f 100644 --- a/VirtoCommerce.Storefront.Model/Cart/Validators/ChangeCartItemPriceValidator.cs +++ b/VirtoCommerce.Storefront.Model/Cart/Validators/ChangeCartItemPriceValidator.cs @@ -10,7 +10,7 @@ namespace VirtoCommerce.Storefront.Model.Cart.Validators { public class ChangeCartItemPriceValidator : AbstractValidator { - public ChangeCartItemPriceValidator(CustomerOrder cart) + public ChangeCartItemPriceValidator(ShoppingCart cart) { RuleFor(x => x.NewPrice).GreaterThanOrEqualTo(0); RuleFor(x => x.LineItemId).NotNull().NotEmpty(); diff --git a/VirtoCommerce.Storefront.Model/Marketing/PromotionEvaluationContext.cs b/VirtoCommerce.Storefront.Model/Marketing/PromotionEvaluationContext.cs index ce706dc2..42cb1ade 100644 --- a/VirtoCommerce.Storefront.Model/Marketing/PromotionEvaluationContext.cs +++ b/VirtoCommerce.Storefront.Model/Marketing/PromotionEvaluationContext.cs @@ -14,7 +14,7 @@ public PromotionEvaluationContext(Language language, Currency currency) { } - public Cart.CustomerOrder Cart { get; set; } + public Cart.ShoppingCart Cart { get; set; } public IList Products { get; set; } = new List(); public Product Product { get; set; } diff --git a/VirtoCommerce.Storefront.Model/Order/Events/OrderPlacedEvent.cs b/VirtoCommerce.Storefront.Model/Order/Events/OrderPlacedEvent.cs index 26d8bdcd..c8297dd5 100644 --- a/VirtoCommerce.Storefront.Model/Order/Events/OrderPlacedEvent.cs +++ b/VirtoCommerce.Storefront.Model/Order/Events/OrderPlacedEvent.cs @@ -13,14 +13,14 @@ namespace VirtoCommerce.Storefront.Model.Order.Events /// public class OrderPlacedEvent : DomainEvent { - public OrderPlacedEvent(WorkContext workContext, CustomerOrder order, Cart.CustomerOrder cart) + public OrderPlacedEvent(WorkContext workContext, CustomerOrder order, Cart.ShoppingCart cart) { WorkContext = workContext; Cart = cart; Order = order; } public WorkContext WorkContext { get; set; } - public Cart.CustomerOrder Cart { get; set; } + public Cart.ShoppingCart Cart { get; set; } public CustomerOrder Order { get; set; } } diff --git a/VirtoCommerce.Storefront.Model/WorkContext.cs b/VirtoCommerce.Storefront.Model/WorkContext.cs index cd508939..0fc78522 100644 --- a/VirtoCommerce.Storefront.Model/WorkContext.cs +++ b/VirtoCommerce.Storefront.Model/WorkContext.cs @@ -90,8 +90,8 @@ public WorkContext() /// /// Gets or sets the current shopping cart /// - public Lazy CurrentCart { get; set; } - public Cart.CustomerOrder Cart => (CurrentCart?.IsValueCreated ?? false) ? CurrentCart.Value : null; + public Lazy CurrentCart { get; set; } + public Cart.ShoppingCart Cart => (CurrentCart?.IsValueCreated ?? false) ? CurrentCart.Value : null; /// diff --git a/VirtoCommerce.Storefront.Tests/ShoppingCart/CartValidationTests.cs b/VirtoCommerce.Storefront.Tests/ShoppingCart/CartValidationTests.cs index 83ff89b2..2a11a846 100644 --- a/VirtoCommerce.Storefront.Tests/ShoppingCart/CartValidationTests.cs +++ b/VirtoCommerce.Storefront.Tests/ShoppingCart/CartValidationTests.cs @@ -82,7 +82,7 @@ public async Task ValidateShipment_RuleSetStrict_Valid() { //Arrange var cartService = new Moq.Mock(); - cartService.Setup(x => x.GetAvailableShippingMethodsAsync(It.IsAny())).Returns(Task.FromResult(ShippingMethods)); + cartService.Setup(x => x.GetAvailableShippingMethodsAsync(It.IsAny())).Returns(Task.FromResult(ShippingMethods)); var cart = GetValidCart(); //Act @@ -101,7 +101,7 @@ public async Task ValidateShipment_RuleSetStrict_UnavailableMethodError() { //Arrange var cartService = new Moq.Mock(); - cartService.Setup(x => x.GetAvailableShippingMethodsAsync(It.IsAny())).Returns(Task.FromResult(ShippingMethods)); + cartService.Setup(x => x.GetAvailableShippingMethodsAsync(It.IsAny())).Returns(Task.FromResult(ShippingMethods)); var cart = GetValidCart(); var testShipments = new Faker() @@ -137,7 +137,7 @@ public async Task ValidateShipment_RuleSetStrict_PriceError() { //Arrange var cartService = new Moq.Mock(); - cartService.Setup(x => x.GetAvailableShippingMethodsAsync(It.IsAny())).Returns(Task.FromResult(ShippingMethods)); + cartService.Setup(x => x.GetAvailableShippingMethodsAsync(It.IsAny())).Returns(Task.FromResult(ShippingMethods)); var cart = GetValidCart(); var shipment = Faker.PickRandom( cart.Shipments ); shipment.Price = new Money(shipment.Price.Amount+1m, Usd); @@ -488,7 +488,7 @@ public async Task ValidateCartLineItem_RuleSetStrict_PriceError() } - private CustomerOrder GetValidCart() + private ShoppingCart GetValidCart() { var testItems = new Faker() .CustomInstantiator(f => new LineItem(Usd, Language.InvariantLanguage)) @@ -505,8 +505,8 @@ private CustomerOrder GetValidCart() .RuleFor(s => s.ShipmentMethodOption, (f, s) => ShippingMethods.FirstOrDefault(x=>x.ShipmentMethodCode == s.ShipmentMethodCode).OptionName) .RuleFor(s => s.Price, (f,s) => ShippingMethods.FirstOrDefault(x => x.ShipmentMethodCode == s.ShipmentMethodCode).Price); - var testCart = new Faker() - .CustomInstantiator(f => new CustomerOrder(Usd, Language.InvariantLanguage)) + var testCart = new Faker() + .CustomInstantiator(f => new ShoppingCart(Usd, Language.InvariantLanguage)) .RuleFor(c => c.Name, f => CART_NAME) .RuleFor(c => c.CustomerId, f => Guid.NewGuid().ToString()) .RuleFor(c => c.CustomerName, f => f.Name.FullName()) @@ -517,10 +517,10 @@ private CustomerOrder GetValidCart() return cart; } - private CustomerOrder GetInvalidCart() + private ShoppingCart GetInvalidCart() { - var testCart = new Faker() - .CustomInstantiator(f => new CustomerOrder(Usd, Language.InvariantLanguage)) + var testCart = new Faker() + .CustomInstantiator(f => new ShoppingCart(Usd, Language.InvariantLanguage)) .RuleFor(c => c.Name, f => null) .RuleFor(c => c.CustomerId, f => null); diff --git a/VirtoCommerce.Storefront/Controllers/Api/ApiCartController.cs b/VirtoCommerce.Storefront/Controllers/Api/ApiCartController.cs index 1be63c9c..989037d8 100644 --- a/VirtoCommerce.Storefront/Controllers/Api/ApiCartController.cs +++ b/VirtoCommerce.Storefront/Controllers/Api/ApiCartController.cs @@ -45,7 +45,7 @@ public ApiCartController(IWorkContextAccessor workContextAccessor, ICatalogServi // Get current user shopping cart // GET: storefrontapi/cart [HttpGet] - public async Task> GetCart() + public async Task> GetCart() { var cartBuilder = await LoadOrCreateCartAsync(); await cartBuilder.ValidateAsync(); @@ -268,7 +268,7 @@ public async Task> ValidateCoupon([FromBody] Coupon coupon) //Need lock to prevent concurrent access to same cart using (await AsyncLock.GetLockByKey(WorkContext.CurrentCart.Value.GetCacheKey()).LockAsync()) { - await _cartBuilder.TakeCartAsync(WorkContext.CurrentCart.Value.Clone() as CustomerOrder); + await _cartBuilder.TakeCartAsync(WorkContext.CurrentCart.Value.Clone() as ShoppingCart); _cartBuilder.Cart.Coupons = new[] { coupon }; await _cartBuilder.EvaluatePromotionsAsync(); return Ok(coupon); diff --git a/VirtoCommerce.Storefront/Controllers/Api/ApiListsController.cs b/VirtoCommerce.Storefront/Controllers/Api/ApiListsController.cs index 4c358d7a..18761c51 100644 --- a/VirtoCommerce.Storefront/Controllers/Api/ApiListsController.cs +++ b/VirtoCommerce.Storefront/Controllers/Api/ApiListsController.cs @@ -30,7 +30,7 @@ public ApiListsController(IWorkContextAccessor workContextAccessor, ICatalogServ // GET: storefrontapi/lists/{listName}/{type} [HttpGet("{listName}/{type}")] - public async Task> GetListByName([FromRoute]string listName, [FromRoute]string type) + public async Task> GetListByName([FromRoute]string listName, [FromRoute]string type) { var unescapedListName = Uri.UnescapeDataString(listName); using (await AsyncLock.GetLockByKey(GetAsyncListKey(WorkContext, unescapedListName, type)).LockAsync()) @@ -177,7 +177,7 @@ public async Task> SearchLists([FromBody] // POST: storefrontapi/lists/{listName}/{type}/create [HttpPost("{listName}/{type}/create")] [ValidateAntiForgeryToken] - public async Task> CreateList(string listName, string type) + public async Task> CreateList(string listName, string type) { var cartBuilder = await LoadOrCreateCartAsync(Uri.UnescapeDataString(listName), type); if (cartBuilder.Cart.IsTransient()) diff --git a/VirtoCommerce.Storefront/Domain/Cart/CartBuilder.cs b/VirtoCommerce.Storefront/Domain/Cart/CartBuilder.cs index 7d08edab..04100d69 100644 --- a/VirtoCommerce.Storefront/Domain/Cart/CartBuilder.cs +++ b/VirtoCommerce.Storefront/Domain/Cart/CartBuilder.cs @@ -52,9 +52,9 @@ public CartBuilder(IWorkContextAccessor workContextAccessor, ICartService cartSe #region ICartBuilder Members - public virtual CustomerOrder Cart { get; protected set; } + public virtual ShoppingCart Cart { get; protected set; } - public virtual async Task TakeCartAsync(CustomerOrder cart) + public virtual async Task TakeCartAsync(ShoppingCart cart) { var store = _workContextAccessor.WorkContext.AllStores.FirstOrDefault(x => x.Id.EqualsInvariant(cart.StoreId)); if (store == null) @@ -349,12 +349,12 @@ public virtual async Task AddOrUpdatePaymentAsync(Payment payment) } } - public virtual async Task MergeWithCartAsync(CustomerOrder cart) + public virtual async Task MergeWithCartAsync(ShoppingCart cart) { EnsureCartExists(); // Clone source cart to prevent its damage - cart = (CustomerOrder)cart.Clone(); + cart = (ShoppingCart)cart.Clone(); // Reset primary keys for all aggregated entities before merge // To prevent insertions same Ids for target cart @@ -561,9 +561,9 @@ protected virtual CartSearchCriteria CreateCartSearchCriteria(string cartName, S }; } - protected virtual CustomerOrder CreateCart(string cartName, Store store, User user, Language language, Currency currency, string type) + protected virtual ShoppingCart CreateCart(string cartName, Store store, User user, Language language, Currency currency, string type) { - var cart = new CustomerOrder(currency, language) + var cart = new ShoppingCart(currency, language) { CustomerId = user.Id, Name = cartName, @@ -670,7 +670,7 @@ protected virtual void EnsureCartExists() } } - protected virtual async Task PrepareCartAsync(CustomerOrder cart, Store store) + protected virtual async Task PrepareCartAsync(ShoppingCart cart, Store store) { if (cart == null) { @@ -685,7 +685,7 @@ protected virtual async Task PrepareCartAsync(CustomerOrder cart, Store store) await PrepareCartInternalAsync(cart, store); } - protected virtual async Task PrepareCartInternalAsync(CustomerOrder cart, Store store) + protected virtual async Task PrepareCartInternalAsync(ShoppingCart cart, Store store) { //Load products for cart line items if (cart.Items.Any()) diff --git a/VirtoCommerce.Storefront/Domain/Cart/CartCacheRegion.cs b/VirtoCommerce.Storefront/Domain/Cart/CartCacheRegion.cs index 93394b17..f65dbd55 100644 --- a/VirtoCommerce.Storefront/Domain/Cart/CartCacheRegion.cs +++ b/VirtoCommerce.Storefront/Domain/Cart/CartCacheRegion.cs @@ -24,7 +24,7 @@ public static IChangeToken CreateCustomerChangeToken(string customerId) } - public static IChangeToken CreateChangeToken(CustomerOrder cart) + public static IChangeToken CreateChangeToken(ShoppingCart cart) { if (cart == null) { @@ -34,7 +34,7 @@ public static IChangeToken CreateChangeToken(CustomerOrder cart) return new CompositeChangeToken(new[] { CreateChangeToken(), new CancellationChangeToken(cancellationTokenSource.Token) }); } - public static void ExpireCart(CustomerOrder cart) + public static void ExpireCart(ShoppingCart cart) { if (cart != null) { diff --git a/VirtoCommerce.Storefront/Domain/Cart/CartConverter.cs b/VirtoCommerce.Storefront/Domain/Cart/CartConverter.cs index 2cd4f188..a62ec176 100644 --- a/VirtoCommerce.Storefront/Domain/Cart/CartConverter.cs +++ b/VirtoCommerce.Storefront/Domain/Cart/CartConverter.cs @@ -156,7 +156,7 @@ public static TaxLine[] ToTaxLines(this PaymentMethod paymentMethod) return retVal.ToArray(); } - public static CartShipmentItem ToShipmentItem(this cartDto.CartShipmentItem shipmentItemDto, CustomerOrder cart) + public static CartShipmentItem ToShipmentItem(this cartDto.CartShipmentItem shipmentItemDto, ShoppingCart cart) { var result = new CartShipmentItem { @@ -181,7 +181,7 @@ public static cartDto.CartShipmentItem ToShipmentItemDto(this CartShipmentItem s return result; } - public static Shipment ToShipment(this cartDto.CartShipment shipmentDto, CustomerOrder cart) + public static Shipment ToShipment(this cartDto.CartShipment shipmentDto, ShoppingCart cart) { var retVal = new Shipment(cart.Currency) { @@ -272,7 +272,7 @@ public static cartDto.CartShipment ToShipmentDto(this Shipment shipment) return retVal; } - public static PaymentMethod ToCartPaymentMethod(this cartDto.PaymentMethod paymentMethodDto, CustomerOrder cart) + public static PaymentMethod ToCartPaymentMethod(this cartDto.PaymentMethod paymentMethodDto, ShoppingCart cart) { var retVal = new PaymentMethod(cart.Currency) { @@ -304,7 +304,7 @@ public static PaymentMethod ToCartPaymentMethod(this cartDto.PaymentMethod payme return retVal; } - public static Payment ToCartPayment(this PaymentMethod paymentMethod, Money amount, CustomerOrder cart) + public static Payment ToCartPayment(this PaymentMethod paymentMethod, Money amount, ShoppingCart cart) { var result = new Payment(cart.Currency) { @@ -319,7 +319,7 @@ public static Payment ToCartPayment(this PaymentMethod paymentMethod, Money amou return result; } - public static Payment ToPayment(this cartDto.Payment paymentDto, CustomerOrder cart) + public static Payment ToPayment(this cartDto.Payment paymentDto, ShoppingCart cart) { var result = new Payment(cart.Currency) { @@ -399,7 +399,7 @@ public static Address ToAddress(this cartDto.CartAddress addressDto) return addressDto.JsonConvert().ToAddress(); } - public static PromotionEvaluationContext ToPromotionEvaluationContext(this CustomerOrder cart) + public static PromotionEvaluationContext ToPromotionEvaluationContext(this ShoppingCart cart) { var result = new PromotionEvaluationContext(cart.Language, cart.Currency) { @@ -413,9 +413,9 @@ public static PromotionEvaluationContext ToPromotionEvaluationContext(this Custo return result; } - public static CustomerOrder ToShoppingCart(this cartDto.ShoppingCart cartDto, Currency currency, Language language, User user) + public static ShoppingCart ToShoppingCart(this cartDto.ShoppingCart cartDto, Currency currency, Language language, User user) { - var result = new CustomerOrder(currency, language) + var result = new ShoppingCart(currency, language) { ChannelId = cartDto.ChannelId, Comment = cartDto.Comment, @@ -504,7 +504,7 @@ public static CustomerOrder ToShoppingCart(this cartDto.ShoppingCart cartDto, Cu return result; } - public static cartDto.ShoppingCart ToShoppingCartDto(this CustomerOrder cart) + public static cartDto.ShoppingCart ToShoppingCartDto(this ShoppingCart cart) { var result = new cartDto.ShoppingCart { @@ -546,7 +546,7 @@ public static cartDto.ShoppingCart ToShoppingCartDto(this CustomerOrder cart) return result; } - public static TaxEvaluationContext ToTaxEvalContext(this CustomerOrder cart, Store store) + public static TaxEvaluationContext ToTaxEvalContext(this ShoppingCart cart, Store store) { var result = new TaxEvaluationContext(cart.StoreId) { diff --git a/VirtoCommerce.Storefront/Domain/Cart/CartService.cs b/VirtoCommerce.Storefront/Domain/Cart/CartService.cs index 2a86fae4..680bbefc 100644 --- a/VirtoCommerce.Storefront/Domain/Cart/CartService.cs +++ b/VirtoCommerce.Storefront/Domain/Cart/CartService.cs @@ -41,7 +41,7 @@ public async Task DeleteCartByIdAsync(string cartId) await _cartApi.DeleteCartsAsync(new[] { cartId }); } - public async Task> GetAvailablePaymentMethodsAsync(CustomerOrder cart) + public async Task> GetAvailablePaymentMethodsAsync(ShoppingCart cart) { if (cart == null) { @@ -56,7 +56,7 @@ public async Task> GetAvailablePaymentMethodsAsync(Cu return result; } - public virtual async Task> GetAvailableShippingMethodsAsync(CustomerOrder cart) + public virtual async Task> GetAvailableShippingMethodsAsync(ShoppingCart cart) { if (cart == null) { @@ -71,9 +71,9 @@ public virtual async Task> GetAvailableShippingMetho return result; } - public async Task GetByIdAsync(string cartId) + public async Task GetByIdAsync(string cartId) { - CustomerOrder result = null; + ShoppingCart result = null; var cartDto = await _cartApi.GetCartByIdAsync(cartId); if (cartDto != null) { @@ -84,7 +84,7 @@ public async Task GetByIdAsync(string cartId) return result; } - public virtual async Task SaveChanges(CustomerOrder cart) + public virtual async Task SaveChanges(ShoppingCart cart) { if (cart == null) { @@ -103,7 +103,7 @@ public virtual async Task SaveChanges(CustomerOrder cart) return result; } - public virtual async Task> SearchCartsAsync(CartSearchCriteria criteria) + public virtual async Task> SearchCartsAsync(CartSearchCriteria criteria) { if (criteria == null) { @@ -115,7 +115,7 @@ public virtual async Task> SearchCartsAsync(CartSearch cacheEntry.AddExpirationToken(CartCacheRegion.CreateCustomerChangeToken(criteria.Customer?.Id)); var resultDto = await _cartApi.SearchShoppingCartAsync(criteria.ToSearchCriteriaDto()); - var result = new List(); + var result = new List(); foreach (var cartDto in resultDto.Results) { var currency = _workContextAccessor.WorkContext.AllCurrencies.FirstOrDefault(x => x.Equals(cartDto.Currency)); @@ -124,7 +124,7 @@ public virtual async Task> SearchCartsAsync(CartSearch var cart = cartDto.ToShoppingCart(currency, language, user); result.Add(cart); } - return new StaticPagedList(result, criteria.PageNumber, criteria.PageSize, resultDto.TotalCount.Value); + return new StaticPagedList(result, criteria.PageNumber, criteria.PageSize, resultDto.TotalCount.Value); }); } diff --git a/VirtoCommerce.Storefront/Domain/Cart/CartWorkContextBuilderExtensions.cs b/VirtoCommerce.Storefront/Domain/Cart/CartWorkContextBuilderExtensions.cs index 8a729721..933ac92f 100644 --- a/VirtoCommerce.Storefront/Domain/Cart/CartWorkContextBuilderExtensions.cs +++ b/VirtoCommerce.Storefront/Domain/Cart/CartWorkContextBuilderExtensions.cs @@ -11,9 +11,9 @@ namespace VirtoCommerce.Storefront.Domain { public static class CartWorkContextBuilderExtensions { - public static Task WithDefaultShoppingCartAsync(this IWorkContextBuilder builder, Func factory) + public static Task WithDefaultShoppingCartAsync(this IWorkContextBuilder builder, Func factory) { - builder.WorkContext.CurrentCart = new Lazy(factory); + builder.WorkContext.CurrentCart = new Lazy(factory); return Task.CompletedTask; } @@ -23,7 +23,7 @@ public static Task WithDefaultShoppingCartAsync(this IWorkContextBuilder builder var serviceProvider = builder.HttpContext.RequestServices; var cartBuilder = serviceProvider.GetRequiredService(); - Func factory = () => + Func factory = () => { cartBuilder.LoadOrCreateNewTransientCart(cartName, store, user, language, currency); return cartBuilder.Cart; From eee279f754c3a6f22f20d0944c78a249d5daaab4 Mon Sep 17 00:00:00 2001 From: Aleksandr Vishniakov Date: Thu, 29 Oct 2020 09:28:23 +0200 Subject: [PATCH 15/21] Revert back Shopping cart renaming --- .../Order/Events/OrderPlacedEvent.cs | 4 ++-- VirtoCommerce.Storefront.Model/WorkContext.cs | 8 ++++---- VirtoCommerce.Storefront/Domain/Cart/CartConverter.cs | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/VirtoCommerce.Storefront.Model/Order/Events/OrderPlacedEvent.cs b/VirtoCommerce.Storefront.Model/Order/Events/OrderPlacedEvent.cs index c8297dd5..932707b7 100644 --- a/VirtoCommerce.Storefront.Model/Order/Events/OrderPlacedEvent.cs +++ b/VirtoCommerce.Storefront.Model/Order/Events/OrderPlacedEvent.cs @@ -13,14 +13,14 @@ namespace VirtoCommerce.Storefront.Model.Order.Events /// public class OrderPlacedEvent : DomainEvent { - public OrderPlacedEvent(WorkContext workContext, CustomerOrder order, Cart.ShoppingCart cart) + public OrderPlacedEvent(WorkContext workContext, CustomerOrder order, ShoppingCart cart) { WorkContext = workContext; Cart = cart; Order = order; } public WorkContext WorkContext { get; set; } - public Cart.ShoppingCart Cart { get; set; } + public ShoppingCart Cart { get; set; } public CustomerOrder Order { get; set; } } diff --git a/VirtoCommerce.Storefront.Model/WorkContext.cs b/VirtoCommerce.Storefront.Model/WorkContext.cs index 0fc78522..6c98d1d5 100644 --- a/VirtoCommerce.Storefront.Model/WorkContext.cs +++ b/VirtoCommerce.Storefront.Model/WorkContext.cs @@ -90,8 +90,8 @@ public WorkContext() /// /// Gets or sets the current shopping cart /// - public Lazy CurrentCart { get; set; } - public Cart.ShoppingCart Cart => (CurrentCart?.IsValueCreated ?? false) ? CurrentCart.Value : null; + public Lazy CurrentCart { get; set; } + public ShoppingCart Cart => (CurrentCart?.IsValueCreated ?? false) ? CurrentCart.Value : null; /// @@ -228,8 +228,8 @@ public DateTime StorefrontUtcNow public IList AllCountries { get; set; } - public Order.CustomerOrder CurrentOrder { get; set; } - public Order.CustomerOrder Order => CurrentOrder; + public CustomerOrder CurrentOrder { get; set; } + public CustomerOrder Order => CurrentOrder; public StorefrontNotification StorefrontNotification { get; set; } diff --git a/VirtoCommerce.Storefront/Domain/Cart/CartConverter.cs b/VirtoCommerce.Storefront/Domain/Cart/CartConverter.cs index a62ec176..ab54671f 100644 --- a/VirtoCommerce.Storefront/Domain/Cart/CartConverter.cs +++ b/VirtoCommerce.Storefront/Domain/Cart/CartConverter.cs @@ -18,7 +18,7 @@ namespace VirtoCommerce.Storefront.Domain { - public static partial class OrderConverter + public static partial class CartConverter { public static cartDto.ShoppingCartSearchCriteria ToSearchCriteriaDto(this CartSearchCriteria criteria) { From 48d2516264006177e64b1899629d3932e723a680 Mon Sep 17 00:00:00 2001 From: Aleksandr Vishniakov Date: Thu, 29 Oct 2020 12:45:54 +0200 Subject: [PATCH 16/21] VP-5696: Fix add to cart regression --- VirtoCommerce.Storefront/Domain/Cart/Demo/DemoCartBuilder.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/VirtoCommerce.Storefront/Domain/Cart/Demo/DemoCartBuilder.cs b/VirtoCommerce.Storefront/Domain/Cart/Demo/DemoCartBuilder.cs index 310b1a98..88d5ec3b 100644 --- a/VirtoCommerce.Storefront/Domain/Cart/Demo/DemoCartBuilder.cs +++ b/VirtoCommerce.Storefront/Domain/Cart/Demo/DemoCartBuilder.cs @@ -116,7 +116,7 @@ public override async Task AddItemAsync(AddCartItem addCartItem) protected override async Task AddLineItemAsync(LineItem lineItem) { var existingLineItem = Cart.Items.FirstOrDefault(li => li.ProductId.Equals(lineItem.ProductId, StringComparison.InvariantCulture) - && li.ConfiguredGroupId.Equals(lineItem.ConfiguredGroupId, StringComparison.InvariantCulture)); + && (li.ConfiguredGroupId?.Equals(lineItem.ConfiguredGroupId, StringComparison.InvariantCulture) ?? true)); if (existingLineItem != null) { From b513bb0d9d6c30884ad46f32bcfc673faeada208 Mon Sep 17 00:00:00 2001 From: Aleksandr Vishniakov Date: Thu, 29 Oct 2020 12:53:38 +0200 Subject: [PATCH 17/21] Use extension method --- VirtoCommerce.Storefront/Domain/Cart/Demo/DemoCartBuilder.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/VirtoCommerce.Storefront/Domain/Cart/Demo/DemoCartBuilder.cs b/VirtoCommerce.Storefront/Domain/Cart/Demo/DemoCartBuilder.cs index 88d5ec3b..a36591f9 100644 --- a/VirtoCommerce.Storefront/Domain/Cart/Demo/DemoCartBuilder.cs +++ b/VirtoCommerce.Storefront/Domain/Cart/Demo/DemoCartBuilder.cs @@ -115,8 +115,8 @@ public override async Task AddItemAsync(AddCartItem addCartItem) protected override async Task AddLineItemAsync(LineItem lineItem) { - var existingLineItem = Cart.Items.FirstOrDefault(li => li.ProductId.Equals(lineItem.ProductId, StringComparison.InvariantCulture) - && (li.ConfiguredGroupId?.Equals(lineItem.ConfiguredGroupId, StringComparison.InvariantCulture) ?? true)); + var existingLineItem = Cart.Items.FirstOrDefault(li => li.ProductId.EqualsInvariant(lineItem.ProductId) + && (li.ConfiguredGroupId?.EqualsInvariant(lineItem.ConfiguredGroupId) ?? true)); if (existingLineItem != null) { From 5cb5c53148f6df4e011b7d67b88219d813f7012e Mon Sep 17 00:00:00 2001 From: trueboroda Date: Thu, 29 Oct 2020 15:08:52 +0300 Subject: [PATCH 18/21] VP-5616: Fix clear cart --- .../Domain/Cart/Demo/DemoCartBuilder.cs | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/VirtoCommerce.Storefront/Domain/Cart/Demo/DemoCartBuilder.cs b/VirtoCommerce.Storefront/Domain/Cart/Demo/DemoCartBuilder.cs index a36591f9..fe53f789 100644 --- a/VirtoCommerce.Storefront/Domain/Cart/Demo/DemoCartBuilder.cs +++ b/VirtoCommerce.Storefront/Domain/Cart/Demo/DemoCartBuilder.cs @@ -113,6 +113,14 @@ public override async Task AddItemAsync(AddCartItem addCartItem) return result.IsValid; } + public override Task ClearAsync() + { + EnsureCartExists(); + Cart.ConfiguredGroups.Clear(); + Cart.Items.Clear(); + return Task.FromResult((object)null); + } + protected override async Task AddLineItemAsync(LineItem lineItem) { var existingLineItem = Cart.Items.FirstOrDefault(li => li.ProductId.EqualsInvariant(lineItem.ProductId) From b4dc4342bbffafbad7464896c554a52ab29a89f3 Mon Sep 17 00:00:00 2001 From: trueboroda Date: Thu, 29 Oct 2020 15:11:22 +0300 Subject: [PATCH 19/21] VP-5616: Return Task.CompletedTask --- VirtoCommerce.Storefront/Domain/Cart/Demo/DemoCartBuilder.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/VirtoCommerce.Storefront/Domain/Cart/Demo/DemoCartBuilder.cs b/VirtoCommerce.Storefront/Domain/Cart/Demo/DemoCartBuilder.cs index fe53f789..28724616 100644 --- a/VirtoCommerce.Storefront/Domain/Cart/Demo/DemoCartBuilder.cs +++ b/VirtoCommerce.Storefront/Domain/Cart/Demo/DemoCartBuilder.cs @@ -118,7 +118,7 @@ public override Task ClearAsync() EnsureCartExists(); Cart.ConfiguredGroups.Clear(); Cart.Items.Clear(); - return Task.FromResult((object)null); + return Task.CompletedTask; } protected override async Task AddLineItemAsync(LineItem lineItem) From 9e6f18eb969f478d3615d3e99f36f8dbeb17e7c5 Mon Sep 17 00:00:00 2001 From: trueboroda Date: Thu, 29 Oct 2020 15:22:10 +0300 Subject: [PATCH 20/21] VP-5616: Call base implementation of ClearAsync --- .../Domain/Cart/Demo/DemoCartBuilder.cs | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/VirtoCommerce.Storefront/Domain/Cart/Demo/DemoCartBuilder.cs b/VirtoCommerce.Storefront/Domain/Cart/Demo/DemoCartBuilder.cs index 28724616..54d73ceb 100644 --- a/VirtoCommerce.Storefront/Domain/Cart/Demo/DemoCartBuilder.cs +++ b/VirtoCommerce.Storefront/Domain/Cart/Demo/DemoCartBuilder.cs @@ -113,12 +113,10 @@ public override async Task AddItemAsync(AddCartItem addCartItem) return result.IsValid; } - public override Task ClearAsync() + public override async Task ClearAsync() { - EnsureCartExists(); + await base.ClearAsync(); Cart.ConfiguredGroups.Clear(); - Cart.Items.Clear(); - return Task.CompletedTask; } protected override async Task AddLineItemAsync(LineItem lineItem) From bd4da6f977623262e407904b21e0049d85452f14 Mon Sep 17 00:00:00 2001 From: Aleksandr Vishniakov Date: Thu, 29 Oct 2020 15:05:52 +0200 Subject: [PATCH 21/21] VP-5696: Fix invoice generation --- .../AutoRestClients/OrdersModuleApi.cs | 37 ++++++------------- .../Controllers/Api/ApiOrderController.cs | 3 +- 2 files changed, 14 insertions(+), 26 deletions(-) diff --git a/VirtoCommerce.Storefront/AutoRestClients/OrdersModuleApi.cs b/VirtoCommerce.Storefront/AutoRestClients/OrdersModuleApi.cs index d779ffaf..512f6ceb 100644 --- a/VirtoCommerce.Storefront/AutoRestClients/OrdersModuleApi.cs +++ b/VirtoCommerce.Storefront/AutoRestClients/OrdersModuleApi.cs @@ -2277,7 +2277,7 @@ public OrderModule(OrdersModuleClient client) /// /// A response object containing the response body and response headers. /// - public async Task> GetInvoicePdfWithHttpMessagesAsync(string orderNumber, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> GetInvoicePdfWithHttpMessagesAsync(string orderNumber, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (orderNumber == null) { @@ -2332,7 +2332,7 @@ public OrderModule(OrdersModuleClient client) ServiceClientTracing.SendRequest(_invocationId, _httpRequest); } cancellationToken.ThrowIfCancellationRequested(); - _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, cancellationToken).ConfigureAwait(false); if (_shouldTrace) { ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); @@ -2363,26 +2363,13 @@ public OrderModule(OrdersModuleClient client) throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response if ((int)_statusCode == 200) { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } + _result.Body = await _httpResponse.Content.ReadAsStreamAsync().ConfigureAwait(false); } if (_shouldTrace) { @@ -2676,6 +2663,7 @@ namespace VirtoCommerce.Storefront.AutoRestClients.OrdersModuleApi using Newtonsoft.Json; using System.Collections; using System.Collections.Generic; + using System.IO; using System.Net; using System.Net.Http; using System.Threading; @@ -2999,7 +2987,7 @@ public partial interface IOrderModule /// /// Thrown when a required parameter is null /// - Task> GetInvoicePdfWithHttpMessagesAsync(string orderNumber, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> GetInvoicePdfWithHttpMessagesAsync(string orderNumber, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// /// @@ -3049,6 +3037,7 @@ namespace VirtoCommerce.Storefront.AutoRestClients.OrdersModuleApi using Newtonsoft.Json; using System.Collections; using System.Collections.Generic; + using System.IO; using System.Net; using System.Net.Http; using System.Threading; @@ -3568,7 +3557,7 @@ public static PaymentIn GetNewPayment(this IOrderModule operations, string id) /// /// /// - public static string GetInvoicePdf(this IOrderModule operations, string orderNumber) + public static Stream GetInvoicePdf(this IOrderModule operations, string orderNumber) { return operations.GetInvoicePdfAsync(orderNumber).GetAwaiter().GetResult(); } @@ -3581,12 +3570,11 @@ public static string GetInvoicePdf(this IOrderModule operations, string orderNum /// /// The cancellation token. /// - public static async Task GetInvoicePdfAsync(this IOrderModule operations, string orderNumber, CancellationToken cancellationToken = default(CancellationToken)) + public static async Task GetInvoicePdfAsync(this IOrderModule operations, string orderNumber, CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.GetInvoicePdfWithHttpMessagesAsync(orderNumber, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } + var _result = await operations.GetInvoicePdfWithHttpMessagesAsync(orderNumber, null, cancellationToken).ConfigureAwait(false); + _result.Request.Dispose(); + return _result.Body; } /// @@ -3657,7 +3645,6 @@ namespace VirtoCommerce.Storefront.AutoRestClients.OrdersModuleApi using Newtonsoft.Json; using System.Collections; using System.Collections.Generic; - using System.IO; using System.Linq; using System.Net; using System.Net.Http; diff --git a/VirtoCommerce.Storefront/Controllers/Api/ApiOrderController.cs b/VirtoCommerce.Storefront/Controllers/Api/ApiOrderController.cs index 592fac4b..62947287 100644 --- a/VirtoCommerce.Storefront/Controllers/Api/ApiOrderController.cs +++ b/VirtoCommerce.Storefront/Controllers/Api/ApiOrderController.cs @@ -1,4 +1,5 @@ using System; +using System.IO; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Authorization; @@ -262,7 +263,7 @@ public async Task GetInvoicePdf(string orderNumber) return Unauthorized(); } - var stream = await _orderApi.GetInvoicePdfAsync(order.Number); + Stream stream = await _orderApi.GetInvoicePdfAsync(order.Number); return File(stream, "application/pdf"); }