From 809156cde17ba0d78b5e5dc9e942fd4eb07145ee Mon Sep 17 00:00:00 2001 From: Sanjay Mandadi Date: Tue, 25 Nov 2014 09:21:11 -0600 Subject: [PATCH] Regen SDK for 1.13 --- SDK/ChangeLog.txt | 7 +- .../AdminUser/DeveloperAdminUserAuthTicket.cs | 20 +- .../AdminUser/TenantAdminUserAuthTicket.cs | 12 +- .../Contracts/CommerceRuntime/Carts/Cart.cs | 64 +++--- .../Carts/CartChangeMessageCollection.cs | 4 +- .../CommerceRuntime/Carts/CartItem.cs | 56 ++--- .../Carts/CartItemCollection.cs | 8 +- .../CommerceRuntime/Channels/Channel.cs | 10 +- .../Channels/ChannelCollection.cs | 10 +- .../CommerceRuntime/Channels/ChannelGroup.cs | 10 +- .../Channels/ChannelGroupCollection.cs | 10 +- .../Discounts/AppliedDiscount.cs | 10 +- .../AppliedLineItemProductDiscount.cs | 10 +- .../AppliedLineItemShippingDiscount.cs | 10 +- .../Discounts/ShippingDiscount.cs | 8 +- .../Fulfillment/DigitalPackage.cs | 30 +-- .../Fulfillment/FulfillmentInfo.cs | 20 +- .../CommerceRuntime/Fulfillment/Package.cs | 42 ++-- .../CommerceRuntime/Fulfillment/Pickup.cs | 30 +-- .../CommerceRuntime/Fulfillment/Shipment.cs | 30 +-- .../Contracts/CommerceRuntime/Orders/Order.cs | 200 +++++++++--------- .../CommerceRuntime/Orders/OrderAttribute.cs | 10 +- .../CommerceRuntime/Orders/OrderCollection.cs | 10 +- .../CommerceRuntime/Orders/OrderItem.cs | 56 ++--- .../Orders/OrderItemCollection.cs | 8 +- .../CommerceRuntime/Orders/OrderNote.cs | 10 +- .../Orders/OrderValidationResult.cs | 10 +- .../CommerceRuntime/Payments/BillingInfo.cs | 24 +-- .../CommerceRuntime/Payments/Payment.cs | 42 ++-- .../CommerceRuntime/Payments/PaymentAction.cs | 16 +- .../Payments/PaymentCollection.cs | 8 +- .../Payments/PaymentInteraction.cs | 10 +- .../Products/BundledProduct.cs | 10 +- .../CommerceRuntime/Products/Product.cs | 60 +++--- .../CommerceRuntime/Products/ProductOption.cs | 10 +- .../CommerceRuntime/Returns/Return.cs | 64 +++--- .../Returns/ReturnCollection.cs | 10 +- .../CommerceRuntime/Returns/ReturnItem.cs | 40 ++-- .../Returns/ReturnItemCollection.cs | 4 +- .../CommerceRuntime/Wishlists/Wishlist.cs | 54 ++--- .../Wishlists/WishlistCollection.cs | 10 +- .../CommerceRuntime/Wishlists/WishlistItem.cs | 56 ++--- .../Wishlists/WishlistItemCollection.cs | 10 +- SDK/Mozu.Api/Contracts/Content/Document.cs | 10 +- .../Contracts/Content/DocumentCollection.cs | 10 +- .../DocumentDraftSummaryPagedCollection.cs | 10 +- .../Contracts/Content/DocumentList.cs | 4 +- .../Content/DocumentListCollection.cs | 10 +- .../Contracts/Content/DocumentListType.cs | 8 +- .../Contracts/Content/DocumentType.cs | 8 +- .../Content/DocumentTypeCollection.cs | 10 +- .../Content/PropertyTypeCollection.cs | 10 +- SDK/Mozu.Api/Contracts/Content/View.cs | 8 +- .../Core/BehaviorCategoryCollection.cs | 8 +- .../Contracts/Core/BehaviorCollection.cs | 8 +- SDK/Mozu.Api/Contracts/Core/Contact.cs | 10 +- .../Contracts/Core/Extensible/Attribute.cs | 32 +-- .../Core/Extensible/AttributeCollection.cs | 10 +- .../Extensible/AttributeVocabularyValue.cs | 10 +- ...itializableShippingCountryPropertyValue.cs | 10 +- SDK/Mozu.Api/Contracts/Core/UserRole.cs | 20 +- SDK/Mozu.Api/Contracts/Core/UserSystemData.cs | 20 +- .../Contracts/Customer/CardCollection.cs | 8 +- .../Contracts/Customer/CommerceSummary.cs | 10 +- .../Contracts/Customer/Credit/Credit.cs | 10 +- .../Customer/Credit/CreditAuditEntry.cs | 8 +- .../Credit/CreditAuditEntryCollection.cs | 10 +- .../Customer/Credit/CreditCollection.cs | 10 +- .../Customer/Credit/CreditTransaction.cs | 10 +- .../Credit/CreditTransactionCollection.cs | 10 +- .../Contracts/Customer/CustomerAccount.cs | 60 +++--- .../Customer/CustomerAccountAndAuthInfo.cs | 10 +- .../Customer/CustomerAccountCollection.cs | 10 +- .../Contracts/Customer/CustomerAttribute.cs | 10 +- .../Customer/CustomerAttributeCollection.cs | 10 +- .../Contracts/Customer/CustomerAuthTicket.cs | 10 +- .../Contracts/Customer/CustomerContact.cs | 28 +-- .../Customer/CustomerContactCollection.cs | 10 +- .../Contracts/Customer/CustomerNote.cs | 10 +- .../Customer/CustomerNoteCollection.cs | 10 +- .../Contracts/Customer/CustomerSegment.cs | 4 +- .../Customer/CustomerSegmentCollection.cs | 4 +- .../InStockNotificationSubscription.cs | 10 +- ...StockNotificationSubscriptionCollection.cs | 10 +- SDK/Mozu.Api/Contracts/Customer/Visit.cs | 10 +- .../Contracts/Customer/VisitCollection.cs | 10 +- SDK/Mozu.Api/Contracts/Event/Event.cs | 14 +- .../Contracts/Event/EventCollection.cs | 10 +- .../Contracts/Event/EventDeliveryAttempt.cs | 4 +- .../Contracts/Event/EventDeliverySummary.cs | 8 +- .../Event/EventDeliverySummaryCollection.cs | 4 +- SDK/Mozu.Api/Contracts/Event/EventSummary.cs | 4 +- .../Contracts/Event/SubscribingSite.cs | 10 +- .../Contracts/Event/SubscribingTenant.cs | 18 +- SDK/Mozu.Api/Contracts/Event/Subscription.cs | 10 +- .../Contracts/Event/SubscriptionCollection.cs | 4 +- .../InstalledApplications/Application.cs | 10 +- .../InstalledApplications/Capability.cs | 20 +- SDK/Mozu.Api/Contracts/Location/Location.cs | 54 ++--- .../Contracts/Location/LocationCollection.cs | 10 +- .../Contracts/Location/LocationType.cs | 4 +- .../Contracts/Location/LocationUsage.cs | 4 +- .../Location/LocationUsageCollection.cs | 8 +- .../Contracts/MZDB/EntityCollection.cs | 4 +- .../Contracts/MZDB/EntityContainer.cs | 4 +- .../MZDB/EntityContainerCollection.cs | 4 +- SDK/Mozu.Api/Contracts/MZDB/EntityList.cs | 24 +-- .../Contracts/MZDB/EntityListCollection.cs | 4 +- SDK/Mozu.Api/Contracts/MZDB/ListView.cs | 8 +- .../Contracts/MZDB/ListViewCollection.cs | 4 +- .../PaymentService/GatewayAccount.cs | 10 +- .../PaymentService/GatewayDefinition.cs | 26 +-- .../PricingRuntime/ProductProperty.cs | 10 +- .../Contracts/PricingRuntime/TaxContext.cs | 16 +- .../PricingRuntime/TaxableLineItem.cs | 10 +- .../Contracts/PricingRuntime/TaxableOrder.cs | 18 +- .../ThirdParty/OrderTaxContext.cs | 10 +- .../PricingRuntime/ThirdParty/TaxContext.cs | 20 +- .../PricingRuntime/ThirdParty/TaxableOrder.cs | 18 +- .../Contracts/ProductAdmin/Attribute.cs | 44 ++-- .../ProductAdmin/AttributeCollection.cs | 10 +- .../ProductAdmin/AttributeInProductType.cs | 14 +- .../AttributeTypeRuleCollection.cs | 10 +- .../ProductAdmin/AttributeVocabularyValue.cs | 14 +- .../AttributeVocabularyValueInProductType.cs | 4 +- .../Contracts/ProductAdmin/BundledProduct.cs | 30 +-- .../Contracts/ProductAdmin/Category.cs | 20 +- .../ProductAdmin/CategoryCollection.cs | 8 +- .../ProductAdmin/CategoryLocalizedContent.cs | 10 +- .../ProductAdmin/CategoryPagedCollection.cs | 10 +- .../Contracts/ProductAdmin/Discount.cs | 30 +-- .../ProductAdmin/DiscountCollection.cs | 10 +- .../ProductAdmin/DiscountCondition.cs | 50 ++--- .../ProductAdmin/DiscountLocalizedContent.cs | 10 +- .../Contracts/ProductAdmin/DiscountTarget.cs | 30 +-- SDK/Mozu.Api/Contracts/ProductAdmin/Facet.cs | 10 +- .../ProductAdmin/LocationInventory.cs | 10 +- .../LocationInventoryCollection.cs | 10 +- .../ProductAdmin/MasterCatalogCollection.cs | 8 +- .../Contracts/ProductAdmin/Product.cs | 134 ++++++------ .../ProductAdmin/ProductCollection.cs | 10 +- .../ProductAdmin/ProductExtraValue.cs | 24 +-- .../ProductAdmin/ProductInCatalogInfo.cs | 20 +- .../ProductAdmin/ProductLocalizedContent.cs | 10 +- .../ProductAdmin/ProductOptionValue.cs | 8 +- .../ProductAdmin/ProductPropertyValue.cs | 10 +- .../ProductAdmin/ProductReservation.cs | 10 +- .../ProductReservationCollection.cs | 10 +- .../ProductAdmin/ProductSupplierInfo.cs | 10 +- .../Contracts/ProductAdmin/ProductType.cs | 26 +-- .../ProductAdmin/ProductTypeCollection.cs | 10 +- .../ProductAdmin/ProductVariation.cs | 34 +-- .../ProductVariationCollection.cs | 8 +- .../ProductAdmin/ProductVariationOption.cs | 8 +- .../ProductVariationPagedCollection.cs | 10 +- .../ProductAdmin/SiteSearchSettings.cs | 4 +- .../ProductRuntime/AppliedDiscount.cs | 8 +- .../ProductRuntime/AttributeDetail.cs | 8 +- .../ProductRuntime/BundledProduct.cs | 30 +-- .../ProductRuntime/BundledProductSummary.cs | 20 +- .../Contracts/ProductRuntime/Category.cs | 18 +- .../ProductRuntime/CategoryCollection.cs | 8 +- .../ProductRuntime/CategoryContent.cs | 10 +- .../ProductRuntime/CategoryPagedCollection.cs | 10 +- .../ProductRuntime/ConfiguredProduct.cs | 48 ++--- .../Contracts/ProductRuntime/FacetValue.cs | 10 +- .../LocationInventoryCollection.cs | 8 +- .../Contracts/ProductRuntime/Product.cs | 116 +++++----- .../ProductRuntime/ProductCollection.cs | 10 +- .../ProductRuntime/ProductContent.cs | 10 +- .../Contracts/ProductRuntime/ProductOption.cs | 10 +- .../ProductRuntime/ProductOptionSelections.cs | 8 +- .../ProductRuntime/ProductOptionValue.cs | 8 +- .../Contracts/ProductRuntime/ProductPrice.cs | 10 +- .../ProductRuntime/ProductProperty.cs | 10 +- .../ProductRuntime/ProductPropertyValue.cs | 4 +- .../ProductRuntime/ProductSearchResult.cs | 20 +- .../ProductValidationSummary.cs | 84 ++++---- .../ProductRuntime/ValidationMessage.cs | 10 +- .../Contracts/Reference/AddressSchema.cs | 8 +- .../Reference/AddressSchemaCollection.cs | 8 +- .../Reference/ContentLocaleCollection.cs | 8 +- .../Contracts/Reference/CountryCollection.cs | 8 +- .../Contracts/Reference/CurrencyCollection.cs | 8 +- SDK/Mozu.Api/Contracts/Reference/Field.cs | 10 +- .../Contracts/Reference/TimeZoneCollection.cs | 8 +- .../Reference/UnitOfMeasureCollection.cs | 8 +- .../ShippingRuntime/CustomAttribute.cs | 10 +- .../ShippingRuntime/ProductSummary.cs | 8 +- .../Contracts/ShippingRuntime/RateRequest.cs | 36 ++-- .../ShippingRuntime/RateRequestItem.cs | 4 +- .../ShippingRuntime/RatesResponse.cs | 6 +- .../Contracts/ShippingRuntime/ShippingRate.cs | 10 +- .../SiteSettings/Application/Application.cs | 12 +- .../SiteSettings/Application/Capability.cs | 20 +- .../SiteSettings/General/GeneralSettings.cs | 20 +- .../Order/CustomerCheckoutSettings.cs | 8 +- .../ExternalPaymentWorkflowDefinition.cs | 10 +- .../Contracts/SiteSettings/Order/Gateway.cs | 10 +- .../Order/OrderProcessingSettings.cs | 10 +- .../SiteSettings/Order/PaymentSettings.cs | 10 +- .../Contracts/Tenant/MasterCatalog.cs | 10 +- SDK/Mozu.Api/Contracts/Tenant/Tenant.cs | 8 +- .../Contracts/Tenant/TenantCollection.cs | 10 +- SDK/Mozu.Api/Version.cs | 2 +- 205 files changed, 1735 insertions(+), 1728 deletions(-) diff --git a/SDK/ChangeLog.txt b/SDK/ChangeLog.txt index e570e015..70751844 100644 --- a/SDK/ChangeLog.txt +++ b/SDK/ChangeLog.txt @@ -1,3 +1,6 @@ - 1) Add new mozu config property(ThrowExceptionOn404) - If an item(product/Order/Customer) does not exist in Mozu, null value is returned. if this is set to true an ApiException will be throw. -2) Add build files - Ability to build and generate a nuget package from command line \ No newline at end of file +2) Add build files - Ability to build and generate a nuget package from command line + + +Operations +0. Added - commerce.catalog.admin.categories.FixCategoryTreeSequences - POST diff --git a/SDK/Mozu.Api/Contracts/AdminUser/DeveloperAdminUserAuthTicket.cs b/SDK/Mozu.Api/Contracts/AdminUser/DeveloperAdminUserAuthTicket.cs index 4321e4da..fb4b5d39 100644 --- a/SDK/Mozu.Api/Contracts/AdminUser/DeveloperAdminUserAuthTicket.cs +++ b/SDK/Mozu.Api/Contracts/AdminUser/DeveloperAdminUserAuthTicket.cs @@ -30,6 +30,16 @@ public class DeveloperAdminUserAuthTicket /// public DateTime AccessTokenExpiration { get; set; } + /// + ///Properties of the developer account for which the user authentication ticket grants access. + /// + public DeveloperAccount Account { get; set; } + + /// + ///Collection of developer accounts for which the user authentication ticket grants access. + /// + public List AvailableAccounts { get; set; } + /// ///Date and time when the entity was created, represented in UTC Date/Time. /// @@ -50,16 +60,6 @@ public class DeveloperAdminUserAuthTicket /// public DateTime RefreshTokenExpiration { get; set; } - /// - ///Properties of the developer account for which the user authentication ticket grants access. - /// - public DeveloperAccount Account { get; set; } - - /// - ///Collection of developer accounts for which the user authentication ticket grants access. - /// - public List AvailableAccounts { get; set; } - /// ///User information associated with the authentication ticket. /// diff --git a/SDK/Mozu.Api/Contracts/AdminUser/TenantAdminUserAuthTicket.cs b/SDK/Mozu.Api/Contracts/AdminUser/TenantAdminUserAuthTicket.cs index 63ebb035..98747c6d 100644 --- a/SDK/Mozu.Api/Contracts/AdminUser/TenantAdminUserAuthTicket.cs +++ b/SDK/Mozu.Api/Contracts/AdminUser/TenantAdminUserAuthTicket.cs @@ -11,8 +11,8 @@ using System; using System.Collections.Generic; -using Mozu.Api.Contracts.Tenant; using Mozu.Api.Contracts.Core; +using Mozu.Api.Contracts.Tenant; namespace Mozu.Api.Contracts.AdminUser { @@ -31,6 +31,11 @@ public class TenantAdminUserAuthTicket /// public DateTime AccessTokenExpiration { get; set; } + /// + ///Collection of tenants for which the user authentication ticket grants access. + /// + public List AvailableTenants { get; set; } + /// ///Date and time when the entity was created, represented in UTC Date/Time. /// @@ -51,11 +56,6 @@ public class TenantAdminUserAuthTicket /// public DateTime RefreshTokenExpiration { get; set; } - /// - ///Collection of tenants for which the user authentication ticket grants access. - /// - public List AvailableTenants { get; set; } - /// ///Tenant information associated with the user authentication ticket. /// diff --git a/SDK/Mozu.Api/Contracts/CommerceRuntime/Carts/Cart.cs b/SDK/Mozu.Api/Contracts/CommerceRuntime/Carts/Cart.cs index 114cfeb8..90c79e12 100644 --- a/SDK/Mozu.Api/Contracts/CommerceRuntime/Carts/Cart.cs +++ b/SDK/Mozu.Api/Contracts/CommerceRuntime/Carts/Cart.cs @@ -11,10 +11,10 @@ using System; using System.Collections.Generic; -using Mozu.Api.Contracts.Core; using Mozu.Api.Contracts.CommerceRuntime.Commerce; -using Mozu.Api.Contracts.CommerceRuntime.Fulfillment; using Mozu.Api.Contracts.CommerceRuntime.Discounts; +using Mozu.Api.Contracts.CommerceRuntime.Fulfillment; +using Mozu.Api.Contracts.Core; namespace Mozu.Api.Contracts.CommerceRuntime.Carts { @@ -23,6 +23,16 @@ namespace Mozu.Api.Contracts.CommerceRuntime.Carts /// public class Cart { + /// + ///Identifier and datetime stamp information recorded when a user or application creates, updates, or deletes a resource entity. This value is system-supplied and read-only. + /// + public AuditInfo AuditInfo { get; set; } + + /// + ///Messages logged or created each time the cart was modified. + /// + public List ChangeMessages { get; set; } + /// ///Code that identifies the channel associated with the site where the shopping cart was created. /// @@ -68,6 +78,11 @@ public class Cart /// public decimal? FeeTotal { get; set; } + /// + ///Properties of the information required to fulfill this cart. + /// + public FulfillmentInfo FulfillmentInfo { get; set; } + /// ///If the handling fee for the cart is subject to sales tax, the total tax amount. /// @@ -78,6 +93,16 @@ public class Cart /// public string Id { get; set; } + /// + ///The list of invalid coupons the shopper attempted to enter for the cart. + /// + public List InvalidCoupons { get; set; } + + /// + ///An array list of objects in the returned collection. + /// + public List Items { get; set; } + /// ///The total amount of tax for items in the cart. /// @@ -88,6 +113,11 @@ public class Cart /// public DateTime? LastValidationDate { get; set; } + /// + ///List of order-level discounts projected to apply to the cart at checkout. + /// + public List OrderDiscounts { get; set; } + /// ///The shipping subtotal amount calculated without any applied discounts. /// @@ -143,36 +173,6 @@ public class Cart /// public string WebSessionId { get; set; } - /// - ///Identifier and datetime stamp information recorded when a user or application creates, updates, or deletes a resource entity. This value is system-supplied and read-only. - /// - public AuditInfo AuditInfo { get; set; } - - /// - ///Messages logged or created each time the cart was modified. - /// - public List ChangeMessages { get; set; } - - /// - ///Properties of the information required to fulfill this cart. - /// - public FulfillmentInfo FulfillmentInfo { get; set; } - - /// - ///The list of invalid coupons the shopper attempted to enter for the cart. - /// - public List InvalidCoupons { get; set; } - - /// - ///An array list of objects in the returned collection. - /// - public List Items { get; set; } - - /// - ///List of order-level discounts projected to apply to the cart at checkout. - /// - public List OrderDiscounts { get; set; } - } } \ No newline at end of file diff --git a/SDK/Mozu.Api/Contracts/CommerceRuntime/Carts/CartChangeMessageCollection.cs b/SDK/Mozu.Api/Contracts/CommerceRuntime/Carts/CartChangeMessageCollection.cs index 8c22272e..63c24695 100644 --- a/SDK/Mozu.Api/Contracts/CommerceRuntime/Carts/CartChangeMessageCollection.cs +++ b/SDK/Mozu.Api/Contracts/CommerceRuntime/Carts/CartChangeMessageCollection.cs @@ -20,10 +20,10 @@ namespace Mozu.Api.Contracts.CommerceRuntime.Carts /// public class CartChangeMessageCollection { - public int TotalCount { get; set; } - public List Items { get; set; } + public int TotalCount { get; set; } + } } \ No newline at end of file diff --git a/SDK/Mozu.Api/Contracts/CommerceRuntime/Carts/CartItem.cs b/SDK/Mozu.Api/Contracts/CommerceRuntime/Carts/CartItem.cs index 7850220c..711d8995 100644 --- a/SDK/Mozu.Api/Contracts/CommerceRuntime/Carts/CartItem.cs +++ b/SDK/Mozu.Api/Contracts/CommerceRuntime/Carts/CartItem.cs @@ -11,10 +11,10 @@ using System; using System.Collections.Generic; -using Mozu.Api.Contracts.Core; -using Mozu.Api.Contracts.CommerceRuntime.Products; -using Mozu.Api.Contracts.CommerceRuntime.Discounts; using Mozu.Api.Contracts.CommerceRuntime.Commerce; +using Mozu.Api.Contracts.CommerceRuntime.Discounts; +using Mozu.Api.Contracts.CommerceRuntime.Products; +using Mozu.Api.Contracts.Core; namespace Mozu.Api.Contracts.CommerceRuntime.Carts { @@ -23,6 +23,11 @@ namespace Mozu.Api.Contracts.CommerceRuntime.Carts /// public class CartItem { + /// + ///Identifier and datetime stamp information recorded when a user or application creates, updates, or deletes a resource entity. This value is system-supplied and read-only. + /// + public AuditInfo AuditInfo { get; set; } + /// ///The subtotal of the cart item including any applied discount calculations. /// @@ -81,59 +86,54 @@ public class CartItem public string LocaleCode { get; set; } /// - ///The specified quantity of the cart item. - /// - public int Quantity { get; set; } - - /// - ///The total amount of tax incurred on the shipping charges in the cart. + ///The properties of the associated product. /// - public decimal? ShippingTaxTotal { get; set; } + public Product Product { get; set; } /// - ///The estimated total amount of shipping fees for the item in the cart. + ///Product discounts displays a list of all applicable discount. /// - public decimal? ShippingTotal { get; set; } + public AppliedLineItemProductDiscount ProductDiscount { get; set; } /// - ///Estimated amount of the item in the cart without sales tax, shipping costs, and other fees. + ///List of product-level discounts projected to apply to the cart item at checkout. /// - public decimal? Subtotal { get; set; } + public List ProductDiscounts { get; set; } /// - ///The amount of the item in the cart that is subject to tax. + ///The specified quantity of the cart item. /// - public decimal? TaxableTotal { get; set; } + public int Quantity { get; set; } /// - ///Estimated total amount of the item, including the product price, sales tax, shipping costs, and other fees. + ///List of shipping discounts projected to apply to the cart item at checkout. /// - public decimal? Total { get; set; } + public List ShippingDiscounts { get; set; } /// - ///Identifier and datetime stamp information recorded when a user or application creates, updates, or deletes a resource entity. This value is system-supplied and read-only. + ///The total amount of tax incurred on the shipping charges in the cart. /// - public AuditInfo AuditInfo { get; set; } + public decimal? ShippingTaxTotal { get; set; } /// - ///The properties of the associated product. + ///The estimated total amount of shipping fees for the item in the cart. /// - public Product Product { get; set; } + public decimal? ShippingTotal { get; set; } /// - ///Product discounts displays a list of all applicable discount. + ///Estimated amount of the item in the cart without sales tax, shipping costs, and other fees. /// - public AppliedLineItemProductDiscount ProductDiscount { get; set; } + public decimal? Subtotal { get; set; } /// - ///List of product-level discounts projected to apply to the cart item at checkout. + ///The amount of the item in the cart that is subject to tax. /// - public List ProductDiscounts { get; set; } + public decimal? TaxableTotal { get; set; } /// - ///List of shipping discounts projected to apply to the cart item at checkout. + ///Estimated total amount of the item, including the product price, sales tax, shipping costs, and other fees. /// - public List ShippingDiscounts { get; set; } + public decimal? Total { get; set; } /// ///Properties of the unit price associated with the cart item. diff --git a/SDK/Mozu.Api/Contracts/CommerceRuntime/Carts/CartItemCollection.cs b/SDK/Mozu.Api/Contracts/CommerceRuntime/Carts/CartItemCollection.cs index cc3ff248..0cdb3f84 100644 --- a/SDK/Mozu.Api/Contracts/CommerceRuntime/Carts/CartItemCollection.cs +++ b/SDK/Mozu.Api/Contracts/CommerceRuntime/Carts/CartItemCollection.cs @@ -20,14 +20,14 @@ namespace Mozu.Api.Contracts.CommerceRuntime.Carts public class CartItemCollection { /// - ///The number of results listed in the query collection, represented by a signed 64-bit (8-byte) integer. This value is system-supplied and read-only. + ///An array list of objects in the returned collection. /// - public int TotalCount { get; set; } + public List Items { get; set; } /// - ///An array list of objects in the returned collection. + ///The number of results listed in the query collection, represented by a signed 64-bit (8-byte) integer. This value is system-supplied and read-only. /// - public List Items { get; set; } + public int TotalCount { get; set; } } diff --git a/SDK/Mozu.Api/Contracts/CommerceRuntime/Channels/Channel.cs b/SDK/Mozu.Api/Contracts/CommerceRuntime/Channels/Channel.cs index 9176e984..819be430 100644 --- a/SDK/Mozu.Api/Contracts/CommerceRuntime/Channels/Channel.cs +++ b/SDK/Mozu.Api/Contracts/CommerceRuntime/Channels/Channel.cs @@ -20,6 +20,11 @@ namespace Mozu.Api.Contracts.CommerceRuntime.Channels /// public class Channel { + /// + ///Identifier and datetime stamp information recorded when a user or application creates, updates, or deletes a resource entity. This value is system-supplied and read-only. + /// + public AuditInfo AuditInfo { get; set; } + /// ///User-defined code that uniquely identifies the channel. /// @@ -52,11 +57,6 @@ public class Channel /// public int TenantId { get; set; } - /// - ///Identifier and datetime stamp information recorded when a user or application creates, updates, or deletes a resource entity. This value is system-supplied and read-only. - /// - public AuditInfo AuditInfo { get; set; } - } } \ No newline at end of file diff --git a/SDK/Mozu.Api/Contracts/CommerceRuntime/Channels/ChannelCollection.cs b/SDK/Mozu.Api/Contracts/CommerceRuntime/Channels/ChannelCollection.cs index e8e01689..1b6e655e 100644 --- a/SDK/Mozu.Api/Contracts/CommerceRuntime/Channels/ChannelCollection.cs +++ b/SDK/Mozu.Api/Contracts/CommerceRuntime/Channels/ChannelCollection.cs @@ -19,6 +19,11 @@ namespace Mozu.Api.Contracts.CommerceRuntime.Channels /// public class ChannelCollection { + /// + ///An array list of objects in the returned collection. + /// + public List Items { get; set; } + /// ///The number of pages returned based on the startIndex and pageSize values specified. This value is system-supplied and read-only. /// @@ -39,11 +44,6 @@ public class ChannelCollection /// public int TotalCount { get; set; } - /// - ///An array list of objects in the returned collection. - /// - public List Items { get; set; } - } } \ No newline at end of file diff --git a/SDK/Mozu.Api/Contracts/CommerceRuntime/Channels/ChannelGroup.cs b/SDK/Mozu.Api/Contracts/CommerceRuntime/Channels/ChannelGroup.cs index 16b70b7c..b7f5848a 100644 --- a/SDK/Mozu.Api/Contracts/CommerceRuntime/Channels/ChannelGroup.cs +++ b/SDK/Mozu.Api/Contracts/CommerceRuntime/Channels/ChannelGroup.cs @@ -19,6 +19,11 @@ namespace Mozu.Api.Contracts.CommerceRuntime.Channels /// public class ChannelGroup { + /// + ///Identifier and datetime stamp information recorded when a user or application creates, updates, or deletes a resource entity. This value is system-supplied and read-only. + /// + public AuditInfo AuditInfo { get; set; } + /// ///User-defined code that identifies the channel group. /// @@ -34,11 +39,6 @@ public class ChannelGroup /// public int TenantId { get; set; } - /// - ///Identifier and datetime stamp information recorded when a user or application creates, updates, or deletes a resource entity. This value is system-supplied and read-only. - /// - public AuditInfo AuditInfo { get; set; } - } } \ No newline at end of file diff --git a/SDK/Mozu.Api/Contracts/CommerceRuntime/Channels/ChannelGroupCollection.cs b/SDK/Mozu.Api/Contracts/CommerceRuntime/Channels/ChannelGroupCollection.cs index 8bd48ad7..67c84d6c 100644 --- a/SDK/Mozu.Api/Contracts/CommerceRuntime/Channels/ChannelGroupCollection.cs +++ b/SDK/Mozu.Api/Contracts/CommerceRuntime/Channels/ChannelGroupCollection.cs @@ -19,6 +19,11 @@ namespace Mozu.Api.Contracts.CommerceRuntime.Channels /// public class ChannelGroupCollection { + /// + ///An array list of objects in the returned collection. + /// + public List Items { get; set; } + /// ///The number of pages returned based on the startIndex and pageSize values specified. This value is system-supplied and read-only. /// @@ -39,11 +44,6 @@ public class ChannelGroupCollection /// public int TotalCount { get; set; } - /// - ///An array list of objects in the returned collection. - /// - public List Items { get; set; } - } } \ No newline at end of file diff --git a/SDK/Mozu.Api/Contracts/CommerceRuntime/Discounts/AppliedDiscount.cs b/SDK/Mozu.Api/Contracts/CommerceRuntime/Discounts/AppliedDiscount.cs index eb19ff00..45a03cc6 100644 --- a/SDK/Mozu.Api/Contracts/CommerceRuntime/Discounts/AppliedDiscount.cs +++ b/SDK/Mozu.Api/Contracts/CommerceRuntime/Discounts/AppliedDiscount.cs @@ -23,6 +23,11 @@ public class AppliedDiscount /// public string CouponCode { get; set; } + /// + ///Discount currently applied to the cart or order. + /// + public Discount Discount { get; set; } + /// ///If true, the system ignores this discount when pricing the order. /// @@ -33,11 +38,6 @@ public class AppliedDiscount /// public decimal? Impact { get; set; } - /// - ///Discount currently applied to the cart or order. - /// - public Discount Discount { get; set; } - } } \ No newline at end of file diff --git a/SDK/Mozu.Api/Contracts/CommerceRuntime/Discounts/AppliedLineItemProductDiscount.cs b/SDK/Mozu.Api/Contracts/CommerceRuntime/Discounts/AppliedLineItemProductDiscount.cs index 06f8c5ab..a27e0e2c 100644 --- a/SDK/Mozu.Api/Contracts/CommerceRuntime/Discounts/AppliedLineItemProductDiscount.cs +++ b/SDK/Mozu.Api/Contracts/CommerceRuntime/Discounts/AppliedLineItemProductDiscount.cs @@ -28,6 +28,11 @@ public class AppliedLineItemProductDiscount /// public string CouponCode { get; set; } + /// + ///This describes discounts that apply to the order, if any. For example, when the subtotal of the order exceeds a certain amount, or a discount for free shipping. + /// + public Discount Discount { get; set; } + /// ///The number of the line items that are used for this particular discount. /// @@ -47,11 +52,6 @@ public class AppliedLineItemProductDiscount public int? ProductQuantity { get; set; } - /// - ///This describes discounts that apply to the order, if any. For example, when the subtotal of the order exceeds a certain amount, or a discount for free shipping. - /// - public Discount Discount { get; set; } - } } \ No newline at end of file diff --git a/SDK/Mozu.Api/Contracts/CommerceRuntime/Discounts/AppliedLineItemShippingDiscount.cs b/SDK/Mozu.Api/Contracts/CommerceRuntime/Discounts/AppliedLineItemShippingDiscount.cs index 65a6a648..32583b23 100644 --- a/SDK/Mozu.Api/Contracts/CommerceRuntime/Discounts/AppliedLineItemShippingDiscount.cs +++ b/SDK/Mozu.Api/Contracts/CommerceRuntime/Discounts/AppliedLineItemShippingDiscount.cs @@ -18,6 +18,11 @@ namespace Mozu.Api.Contracts.CommerceRuntime.Discounts /// public class AppliedLineItemShippingDiscount { + /// + ///This describes shipping discounts that apply to a line item in the order, if any. + /// + public AppliedDiscount Discount { get; set; } + /// ///The number of the line item that is used for this particular discount. /// @@ -30,11 +35,6 @@ public class AppliedLineItemShippingDiscount public string MethodCode { get; set; } - /// - ///This describes shipping discounts that apply to a line item in the order, if any. - /// - public AppliedDiscount Discount { get; set; } - } } \ No newline at end of file diff --git a/SDK/Mozu.Api/Contracts/CommerceRuntime/Discounts/ShippingDiscount.cs b/SDK/Mozu.Api/Contracts/CommerceRuntime/Discounts/ShippingDiscount.cs index eb310690..e89b8a2e 100644 --- a/SDK/Mozu.Api/Contracts/CommerceRuntime/Discounts/ShippingDiscount.cs +++ b/SDK/Mozu.Api/Contracts/CommerceRuntime/Discounts/ShippingDiscount.cs @@ -19,14 +19,14 @@ namespace Mozu.Api.Contracts.CommerceRuntime.Discounts public class ShippingDiscount { /// - ///Carrier-supplied code that represents the shipping method service type associated with the shipping discount. + ///Properties of the shipping discount. /// - public string MethodCode { get; set; } + public AppliedDiscount Discount { get; set; } /// - ///Properties of the shipping discount. + ///Carrier-supplied code that represents the shipping method service type associated with the shipping discount. /// - public AppliedDiscount Discount { get; set; } + public string MethodCode { get; set; } } diff --git a/SDK/Mozu.Api/Contracts/CommerceRuntime/Fulfillment/DigitalPackage.cs b/SDK/Mozu.Api/Contracts/CommerceRuntime/Fulfillment/DigitalPackage.cs index 03442135..9a02f04f 100644 --- a/SDK/Mozu.Api/Contracts/CommerceRuntime/Fulfillment/DigitalPackage.cs +++ b/SDK/Mozu.Api/Contracts/CommerceRuntime/Fulfillment/DigitalPackage.cs @@ -11,8 +11,8 @@ using System; using System.Collections.Generic; -using Mozu.Api.Contracts.Core; using Mozu.Api.Contracts.CommerceRuntime.Commerce; +using Mozu.Api.Contracts.Core; namespace Mozu.Api.Contracts.CommerceRuntime.Fulfillment { @@ -21,11 +21,21 @@ namespace Mozu.Api.Contracts.CommerceRuntime.Fulfillment /// public class DigitalPackage { + /// + ///Audit info contains the basic audit information about the digital item. + /// + public AuditInfo AuditInfo { get; set; } + /// ///Available actions are actions that you can take on this fulfillment unit. /// public List AvailableActions { get; set; } + /// + ///Change messages handle message related to changes with the fulfillment unit. + /// + public List ChangeMessages { get; set; } + /// ///The digital package code is a human-readable identifier for this digital fulfillment unit. If not set on create, it is autogenerated as a string in the form {fulfillmentUnitType} #{next available int}. /// @@ -47,24 +57,14 @@ public class DigitalPackage public string Id { get; set; } /// - ///This is the status of the fulfillment unit. - /// - public string Status { get; set; } - - /// - ///Audit info contains the basic audit information about the digital item. - /// - public AuditInfo AuditInfo { get; set; } - - /// - ///Change messages handle message related to changes with the fulfillment unit. + ///The digital package list is a list of items in the fulfillment unit. /// - public List ChangeMessages { get; set; } + public List Items { get; set; } /// - ///The digital package list is a list of items in the fulfillment unit. + ///This is the status of the fulfillment unit. /// - public List Items { get; set; } + public string Status { get; set; } } diff --git a/SDK/Mozu.Api/Contracts/CommerceRuntime/Fulfillment/FulfillmentInfo.cs b/SDK/Mozu.Api/Contracts/CommerceRuntime/Fulfillment/FulfillmentInfo.cs index 07946351..5c97fe17 100644 --- a/SDK/Mozu.Api/Contracts/CommerceRuntime/Fulfillment/FulfillmentInfo.cs +++ b/SDK/Mozu.Api/Contracts/CommerceRuntime/Fulfillment/FulfillmentInfo.cs @@ -20,29 +20,29 @@ namespace Mozu.Api.Contracts.CommerceRuntime.Fulfillment public class FulfillmentInfo { /// - ///If true, the shipping destination for a shipment is a commercial address. + ///Identifier and datetime stamp information recorded when a user or application creates, updates, or deletes a resource entity. This value is system-supplied and read-only. /// - public bool? IsDestinationCommercial { get; set; } + public AuditInfo AuditInfo { get; set; } /// - ///The code associated with the carrier's shipping method service type. Service type codes include a prefix that indicates the carrier. For example: FEDEX_INTERNATIONAL_STANDARD + ///The contact information of the person receiving the shipment or performing the pickup. /// - public string ShippingMethodCode { get; set; } + public Contact FulfillmentContact { get; set; } /// - ///The carrier-supplied name for the shipping service type, such as "UPS Ground" or "2nd Day Air". + ///If true, the shipping destination for a shipment is a commercial address. /// - public string ShippingMethodName { get; set; } + public bool? IsDestinationCommercial { get; set; } /// - ///Identifier and datetime stamp information recorded when a user or application creates, updates, or deletes a resource entity. This value is system-supplied and read-only. + ///The code associated with the carrier's shipping method service type. Service type codes include a prefix that indicates the carrier. For example: FEDEX_INTERNATIONAL_STANDARD /// - public AuditInfo AuditInfo { get; set; } + public string ShippingMethodCode { get; set; } /// - ///The contact information of the person receiving the shipment or performing the pickup. + ///The carrier-supplied name for the shipping service type, such as "UPS Ground" or "2nd Day Air". /// - public Contact FulfillmentContact { get; set; } + public string ShippingMethodName { get; set; } } diff --git a/SDK/Mozu.Api/Contracts/CommerceRuntime/Fulfillment/Package.cs b/SDK/Mozu.Api/Contracts/CommerceRuntime/Fulfillment/Package.cs index 63a87458..24833603 100644 --- a/SDK/Mozu.Api/Contracts/CommerceRuntime/Fulfillment/Package.cs +++ b/SDK/Mozu.Api/Contracts/CommerceRuntime/Fulfillment/Package.cs @@ -11,8 +11,8 @@ using System; using System.Collections.Generic; -using Mozu.Api.Contracts.Core; using Mozu.Api.Contracts.CommerceRuntime.Commerce; +using Mozu.Api.Contracts.Core; namespace Mozu.Api.Contracts.CommerceRuntime.Fulfillment { @@ -21,11 +21,21 @@ namespace Mozu.Api.Contracts.CommerceRuntime.Fulfillment /// public class Package { + /// + ///Identifier and datetime stamp information recorded when a user or application creates, updates, or deletes a resource entity. This value is system-supplied and read-only. + /// + public AuditInfo AuditInfo { get; set; } + /// ///The actions that a user can perform for a package at this time. /// public List AvailableActions { get; set; } + /// + ///List of change messages associated with the package. + /// + public List ChangeMessages { get; set; } + /// ///The code of the product to be fulfilled. /// @@ -48,6 +58,16 @@ public class Package /// public string Id { get; set; } + /// + ///An array list of objects in the returned collection. + /// + public List Items { get; set; } + + /// + ///Dimensional properties of the package. + /// + public PackageMeasurements Measurements { get; set; } + /// ///The package type associated with this physical package. Possible values include Tube, Letter, Pak, Small Box (carrier_box_small), Medium Box (carrier_box_medium), Large Box (carrier_box_large), or Custom. /// @@ -78,26 +98,6 @@ public class Package /// public string TrackingNumber { get; set; } - /// - ///Identifier and datetime stamp information recorded when a user or application creates, updates, or deletes a resource entity. This value is system-supplied and read-only. - /// - public AuditInfo AuditInfo { get; set; } - - /// - ///List of change messages associated with the package. - /// - public List ChangeMessages { get; set; } - - /// - ///An array list of objects in the returned collection. - /// - public List Items { get; set; } - - /// - ///Dimensional properties of the package. - /// - public PackageMeasurements Measurements { get; set; } - } } \ No newline at end of file diff --git a/SDK/Mozu.Api/Contracts/CommerceRuntime/Fulfillment/Pickup.cs b/SDK/Mozu.Api/Contracts/CommerceRuntime/Fulfillment/Pickup.cs index 58247b91..d2327569 100644 --- a/SDK/Mozu.Api/Contracts/CommerceRuntime/Fulfillment/Pickup.cs +++ b/SDK/Mozu.Api/Contracts/CommerceRuntime/Fulfillment/Pickup.cs @@ -11,8 +11,8 @@ using System; using System.Collections.Generic; -using Mozu.Api.Contracts.Core; using Mozu.Api.Contracts.CommerceRuntime.Commerce; +using Mozu.Api.Contracts.Core; namespace Mozu.Api.Contracts.CommerceRuntime.Fulfillment { @@ -21,11 +21,21 @@ namespace Mozu.Api.Contracts.CommerceRuntime.Fulfillment /// public class Pickup { + /// + ///Identifier and datetime stamp information recorded when a user or application creates, updates, or deletes a resource entity. This value is system-supplied and read-only. + /// + public AuditInfo AuditInfo { get; set; } + /// ///Array list of actions that can be performed for the in-store pickup. /// public List AvailableActions { get; set; } + /// + ///List of change messages associated with the pickup. + /// + public List ChangeMessages { get; set; } + /// ///The specific code that represents pickup. /// @@ -47,24 +57,14 @@ public class Pickup public string Id { get; set; } /// - ///The fulfillment status of the in-store pickup, which is "Fulfilled," "NotFulfilled," or "PartiallyFulfilled." - /// - public string Status { get; set; } - - /// - ///Identifier and datetime stamp information recorded when a user or application creates, updates, or deletes a resource entity. This value is system-supplied and read-only. - /// - public AuditInfo AuditInfo { get; set; } - - /// - ///List of change messages associated with the pickup. + ///An array list of objects in the returned collection. /// - public List ChangeMessages { get; set; } + public List Items { get; set; } /// - ///An array list of objects in the returned collection. + ///The fulfillment status of the in-store pickup, which is "Fulfilled," "NotFulfilled," or "PartiallyFulfilled." /// - public List Items { get; set; } + public string Status { get; set; } } diff --git a/SDK/Mozu.Api/Contracts/CommerceRuntime/Fulfillment/Shipment.cs b/SDK/Mozu.Api/Contracts/CommerceRuntime/Fulfillment/Shipment.cs index abd8d3f3..639bf68a 100644 --- a/SDK/Mozu.Api/Contracts/CommerceRuntime/Fulfillment/Shipment.cs +++ b/SDK/Mozu.Api/Contracts/CommerceRuntime/Fulfillment/Shipment.cs @@ -20,6 +20,11 @@ namespace Mozu.Api.Contracts.CommerceRuntime.Fulfillment /// public class Shipment { + /// + ///Identifier and datetime stamp information recorded when a user or application creates, updates, or deletes a resource entity. This value is system-supplied and read-only. + /// + public AuditInfo AuditInfo { get; set; } + /// ///Total cost of shipping the shipment to the shopper. /// @@ -30,11 +35,21 @@ public class Shipment /// public string CurrencyCode { get; set; } + /// + ///The address to which to shipment will ship. + /// + public Contact DestinationAddress { get; set; } + /// ///Unique identifier of the shipment. /// public string Id { get; set; } + /// + ///The address from which the shipment will ship. + /// + public Contact OriginAddress { get; set; } + /// ///Array list of identifiers that represent the packages in this shipment. /// @@ -55,21 +70,6 @@ public class Shipment /// public string TrackingNumber { get; set; } - /// - ///Identifier and datetime stamp information recorded when a user or application creates, updates, or deletes a resource entity. This value is system-supplied and read-only. - /// - public AuditInfo AuditInfo { get; set; } - - /// - ///The address to which to shipment will ship. - /// - public Contact DestinationAddress { get; set; } - - /// - ///The address from which the shipment will ship. - /// - public Contact OriginAddress { get; set; } - } } \ No newline at end of file diff --git a/SDK/Mozu.Api/Contracts/CommerceRuntime/Orders/Order.cs b/SDK/Mozu.Api/Contracts/CommerceRuntime/Orders/Order.cs index 9c0f6d39..a4cf2c65 100644 --- a/SDK/Mozu.Api/Contracts/CommerceRuntime/Orders/Order.cs +++ b/SDK/Mozu.Api/Contracts/CommerceRuntime/Orders/Order.cs @@ -12,10 +12,10 @@ using System.Collections.Generic; using Mozu.Api.Contracts.CommerceRuntime.Commerce; -using Mozu.Api.Contracts.Core; -using Mozu.Api.Contracts.CommerceRuntime.Payments; -using Mozu.Api.Contracts.CommerceRuntime.Fulfillment; using Mozu.Api.Contracts.CommerceRuntime.Discounts; +using Mozu.Api.Contracts.CommerceRuntime.Fulfillment; +using Mozu.Api.Contracts.CommerceRuntime.Payments; +using Mozu.Api.Contracts.Core; namespace Mozu.Api.Contracts.CommerceRuntime.Orders { @@ -34,6 +34,11 @@ public class Order /// public bool? AcceptsMarketing { get; set; } + /// + ///Properties of an ad-hoc price adjustment for an order. + /// + public Adjustment Adjustment { get; set; } + /// ///The amount of the order the shopper can receive in the event of a return. This amount represents the amount captured at the time the order was submitted, not when the order was returned. /// @@ -44,16 +49,36 @@ public class Order /// public decimal AmountRemainingForPayment { get; set; } + /// + ///Paged list collection of order attributes. + /// + public List Attributes { get; set; } + + /// + ///Identifier and datetime stamp information recorded when a user or application creates, updates, or deletes a resource entity. This value is system-supplied and read-only. + /// + public AuditInfo AuditInfo { get; set; } + /// ///The available order, payment, and shipment actions a user can perform for the order. /// public List AvailableActions { get; set; } + /// + ///Container for the customer billing information associated with an order. + /// + public BillingInfo BillingInfo { get; set; } + /// ///Date when the order was cancelled. System-supplied and read-only. /// public DateTime? CancelledDate { get; set; } + /// + ///Paged list of notes entered when the order was modified. + /// + public List ChangeMessages { get; set; } + /// ///Code that identifies the channel associated with the site where the order was submitted. /// @@ -89,6 +114,11 @@ public class Order /// public string CustomerTaxId { get; set; } + /// + ///Specifies the fulfillment of digital packages associated with this order. + /// + public List DigitalPackages { get; set; } + /// ///The aggregate total for all line items in the order, including costs associated with shopper-defined options or extras and any applied discounts. /// @@ -124,6 +154,11 @@ public class Order /// public decimal? FeeTotal { get; set; } + /// + ///Properties of the item fulfillment information associated with the order. Shoppers can fulfill order items using in-store pickup or direct shipping. + /// + public FulfillmentInfo FulfillmentInfo { get; set; } + /// ///The current fulfillment status of the order, which is "Fulfilled," "NotFulfilled," or "PartiallyFulfilled." The order is considered fulfilled when all packages are shipped or all pickups are picked up. /// @@ -134,6 +169,8 @@ public class Order /// public decimal? HandlingAmount { get; set; } + public List HandlingDiscounts { get; set; } + public decimal? HandlingSubTotal { get; set; } /// @@ -161,6 +198,11 @@ public class Order /// public DateTime? ImportDate { get; set; } + /// + ///List of invalid coupon codes the shopper entered for the order. + /// + public List InvalidCoupons { get; set; } + /// ///The IP address from which the order originated. /// @@ -186,6 +228,11 @@ public class Order /// public bool? IsTaxExempt { get; set; } + /// + ///An array list of objects in the returned collection. + /// + public List Items { get; set; } + /// ///The total amount of tax applied to items in the order. /// @@ -201,6 +248,16 @@ public class Order /// public string LocationCode { get; set; } + /// + ///Paged list collection of order notes. + /// + public List Notes { get; set; } + + /// + ///List of order-level discounts that apply to the order. + /// + public List OrderDiscounts { get; set; } + /// ///The order number that displays on the storefront which differs from the order ID. /// @@ -211,6 +268,11 @@ public class Order /// public string OriginalCartId { get; set; } + /// + ///Array list of physical packages shipped for the specified order. + /// + public List Packages { get; set; } + public string ParentOrderId { get; set; } /// @@ -218,16 +280,41 @@ public class Order /// public string ParentReturnId { get; set; } + /// + ///Wrapper for a collection of payments associated with this order. An order can include any number of payments. + /// + public List Payments { get; set; } + /// ///Status of the payment for the specified order. /// public string PaymentStatus { get; set; } + /// + ///Array list of the in-store pickups defined for the order. + /// + public List Pickups { get; set; } + /// ///Status of any returns associated with this order after it was completed. /// public string ReturnStatus { get; set; } + /// + ///Array list of the shipments defined to fulfill items in this order using the direct ship fulfillment method. + /// + public List Shipments { get; set; } + + /// + ///Properties of an ad-hoc price adjustment made for an order. + /// + public Adjustment ShippingAdjustment { get; set; } + + /// + ///List of shipping discounts to apply to the order. + /// + public List ShippingDiscounts { get; set; } + /// ///The shipping subtotal amount calculated without any applied discounts. /// @@ -243,6 +330,11 @@ public class Order /// public decimal? ShippingTotal { get; set; } + /// + ///A paged list collection of shopper notes for the order. + /// + public ShopperNotes ShopperNotes { get; set; } + /// ///Unique identifier of the site. /// @@ -293,6 +385,11 @@ public class Order /// public string Type { get; set; } + /// + ///Response returned by an order validation capability application. + /// + public List ValidationResults { get; set; } + /// ///The current version number of the order. /// @@ -308,103 +405,6 @@ public class Order /// public string WebSessionId { get; set; } - /// - ///Properties of an ad-hoc price adjustment for an order. - /// - public Adjustment Adjustment { get; set; } - - /// - ///Paged list collection of order attributes. - /// - public List Attributes { get; set; } - - /// - ///Identifier and datetime stamp information recorded when a user or application creates, updates, or deletes a resource entity. This value is system-supplied and read-only. - /// - public AuditInfo AuditInfo { get; set; } - - /// - ///Container for the customer billing information associated with an order. - /// - public BillingInfo BillingInfo { get; set; } - - /// - ///Paged list of notes entered when the order was modified. - /// - public List ChangeMessages { get; set; } - - /// - ///Specifies the fulfillment of digital packages associated with this order. - /// - public List DigitalPackages { get; set; } - - /// - ///Properties of the item fulfillment information associated with the order. Shoppers can fulfill order items using in-store pickup or direct shipping. - /// - public FulfillmentInfo FulfillmentInfo { get; set; } - - public List HandlingDiscounts { get; set; } - - /// - ///List of invalid coupon codes the shopper entered for the order. - /// - public List InvalidCoupons { get; set; } - - /// - ///An array list of objects in the returned collection. - /// - public List Items { get; set; } - - /// - ///Paged list collection of order notes. - /// - public List Notes { get; set; } - - /// - ///List of order-level discounts that apply to the order. - /// - public List OrderDiscounts { get; set; } - - /// - ///Array list of physical packages shipped for the specified order. - /// - public List Packages { get; set; } - - /// - ///Wrapper for a collection of payments associated with this order. An order can include any number of payments. - /// - public List Payments { get; set; } - - /// - ///Array list of the in-store pickups defined for the order. - /// - public List Pickups { get; set; } - - /// - ///Array list of the shipments defined to fulfill items in this order using the direct ship fulfillment method. - /// - public List Shipments { get; set; } - - /// - ///Properties of an ad-hoc price adjustment made for an order. - /// - public Adjustment ShippingAdjustment { get; set; } - - /// - ///List of shipping discounts to apply to the order. - /// - public List ShippingDiscounts { get; set; } - - /// - ///A paged list collection of shopper notes for the order. - /// - public ShopperNotes ShopperNotes { get; set; } - - /// - ///Response returned by an order validation capability application. - /// - public List ValidationResults { get; set; } - } } \ No newline at end of file diff --git a/SDK/Mozu.Api/Contracts/CommerceRuntime/Orders/OrderAttribute.cs b/SDK/Mozu.Api/Contracts/CommerceRuntime/Orders/OrderAttribute.cs index d7f2594c..7832e638 100644 --- a/SDK/Mozu.Api/Contracts/CommerceRuntime/Orders/OrderAttribute.cs +++ b/SDK/Mozu.Api/Contracts/CommerceRuntime/Orders/OrderAttribute.cs @@ -25,6 +25,11 @@ public class OrderAttribute /// public int? AttributeDefinitionId { get; set; } + /// + ///Identifier and datetime stamp information recorded when a user or application creates, updates, or deletes a resource entity. This value is system-supplied and read-only. + /// + public AuditInfo AuditInfo { get; set; } + /// ///The fully qualified name of the attribute, which is a user defined attribute identifier. /// @@ -35,11 +40,6 @@ public class OrderAttribute /// public List Values { get; set; } - /// - ///Identifier and datetime stamp information recorded when a user or application creates, updates, or deletes a resource entity. This value is system-supplied and read-only. - /// - public AuditInfo AuditInfo { get; set; } - } } \ No newline at end of file diff --git a/SDK/Mozu.Api/Contracts/CommerceRuntime/Orders/OrderCollection.cs b/SDK/Mozu.Api/Contracts/CommerceRuntime/Orders/OrderCollection.cs index 213d509d..e614fa7e 100644 --- a/SDK/Mozu.Api/Contracts/CommerceRuntime/Orders/OrderCollection.cs +++ b/SDK/Mozu.Api/Contracts/CommerceRuntime/Orders/OrderCollection.cs @@ -19,6 +19,11 @@ namespace Mozu.Api.Contracts.CommerceRuntime.Orders /// public class OrderCollection { + /// + ///An array list of objects in the returned collection. + /// + public List Items { get; set; } + /// ///The number of pages returned based on the startIndex and pageSize values specified. This value is system-supplied and read-only. /// @@ -39,11 +44,6 @@ public class OrderCollection /// public int TotalCount { get; set; } - /// - ///An array list of objects in the returned collection. - /// - public List Items { get; set; } - } } \ No newline at end of file diff --git a/SDK/Mozu.Api/Contracts/CommerceRuntime/Orders/OrderItem.cs b/SDK/Mozu.Api/Contracts/CommerceRuntime/Orders/OrderItem.cs index 7b1e7f14..b57e12d8 100644 --- a/SDK/Mozu.Api/Contracts/CommerceRuntime/Orders/OrderItem.cs +++ b/SDK/Mozu.Api/Contracts/CommerceRuntime/Orders/OrderItem.cs @@ -11,10 +11,10 @@ using System; using System.Collections.Generic; -using Mozu.Api.Contracts.Core; -using Mozu.Api.Contracts.CommerceRuntime.Products; -using Mozu.Api.Contracts.CommerceRuntime.Discounts; using Mozu.Api.Contracts.CommerceRuntime.Commerce; +using Mozu.Api.Contracts.CommerceRuntime.Discounts; +using Mozu.Api.Contracts.CommerceRuntime.Products; +using Mozu.Api.Contracts.Core; namespace Mozu.Api.Contracts.CommerceRuntime.Orders { @@ -23,6 +23,11 @@ namespace Mozu.Api.Contracts.CommerceRuntime.Orders /// public class OrderItem { + /// + ///Identifier and datetime stamp information recorded when a user or application creates, updates, or deletes a resource entity. This value is system-supplied and read-only. + /// + public AuditInfo AuditInfo { get; set; } + /// ///The subtotal of the order item including any applied discount calculations. /// @@ -86,59 +91,54 @@ public class OrderItem public string OriginalCartItemId { get; set; } /// - ///The quantity of a specific item in an order. - /// - public int Quantity { get; set; } - - /// - ///The total amount of sales tax incurred for shipping charges associated with this item in a cart. + ///The product properties of an item in an order. /// - public decimal? ShippingTaxTotal { get; set; } + public Product Product { get; set; } /// - ///Total amount of shipping fees associated with the specified item in the order. + ///The discount that applies to the product. /// - public decimal? ShippingTotal { get; set; } + public AppliedLineItemProductDiscount ProductDiscount { get; set; } /// - ///Amount of the item in the order without sales tax, shipping costs, and other fees. + ///List of product discounts that apply to the item in the order. /// - public decimal? Subtotal { get; set; } + public List ProductDiscounts { get; set; } /// - ///The amount of the item in the order that is subject to tax. This amount typically represents the order item subtotal before applied discounts. + ///The quantity of a specific item in an order. /// - public decimal? TaxableTotal { get; set; } + public int Quantity { get; set; } /// - ///The total monetary sum of a specific item in an order. + ///List of shipping discounts that apply to the item in the order. /// - public decimal? Total { get; set; } + public List ShippingDiscounts { get; set; } /// - ///Identifier and datetime stamp information recorded when a user or application creates, updates, or deletes a resource entity. This value is system-supplied and read-only. + ///The total amount of sales tax incurred for shipping charges associated with this item in a cart. /// - public AuditInfo AuditInfo { get; set; } + public decimal? ShippingTaxTotal { get; set; } /// - ///The product properties of an item in an order. + ///Total amount of shipping fees associated with the specified item in the order. /// - public Product Product { get; set; } + public decimal? ShippingTotal { get; set; } /// - ///The discount that applies to the product. + ///Amount of the item in the order without sales tax, shipping costs, and other fees. /// - public AppliedLineItemProductDiscount ProductDiscount { get; set; } + public decimal? Subtotal { get; set; } /// - ///List of product discounts that apply to the item in the order. + ///The amount of the item in the order that is subject to tax. This amount typically represents the order item subtotal before applied discounts. /// - public List ProductDiscounts { get; set; } + public decimal? TaxableTotal { get; set; } /// - ///List of shipping discounts that apply to the item in the order. + ///The total monetary sum of a specific item in an order. /// - public List ShippingDiscounts { get; set; } + public decimal? Total { get; set; } /// ///Properties of the unit price associated with the order item. diff --git a/SDK/Mozu.Api/Contracts/CommerceRuntime/Orders/OrderItemCollection.cs b/SDK/Mozu.Api/Contracts/CommerceRuntime/Orders/OrderItemCollection.cs index e7a43c05..4dced533 100644 --- a/SDK/Mozu.Api/Contracts/CommerceRuntime/Orders/OrderItemCollection.cs +++ b/SDK/Mozu.Api/Contracts/CommerceRuntime/Orders/OrderItemCollection.cs @@ -20,14 +20,14 @@ namespace Mozu.Api.Contracts.CommerceRuntime.Orders public class OrderItemCollection { /// - ///The number of results listed in the query collection, represented by a signed 64-bit (8-byte) integer. This value is system-supplied and read-only. + ///An array list of objects in the returned collection. /// - public int TotalCount { get; set; } + public List Items { get; set; } /// - ///An array list of objects in the returned collection. + ///The number of results listed in the query collection, represented by a signed 64-bit (8-byte) integer. This value is system-supplied and read-only. /// - public List Items { get; set; } + public int TotalCount { get; set; } } diff --git a/SDK/Mozu.Api/Contracts/CommerceRuntime/Orders/OrderNote.cs b/SDK/Mozu.Api/Contracts/CommerceRuntime/Orders/OrderNote.cs index 17adeb40..d2360a5d 100644 --- a/SDK/Mozu.Api/Contracts/CommerceRuntime/Orders/OrderNote.cs +++ b/SDK/Mozu.Api/Contracts/CommerceRuntime/Orders/OrderNote.cs @@ -19,6 +19,11 @@ namespace Mozu.Api.Contracts.CommerceRuntime.Orders /// public class OrderNote { + /// + ///Identifier and datetime stamp information recorded when a user or application creates, updates, or deletes a resource entity. This value is system-supplied and read-only. + /// + public AuditInfo AuditInfo { get; set; } + /// ///Unique identifier of the order note. /// @@ -29,11 +34,6 @@ public class OrderNote /// public string Text { get; set; } - /// - ///Identifier and datetime stamp information recorded when a user or application creates, updates, or deletes a resource entity. This value is system-supplied and read-only. - /// - public AuditInfo AuditInfo { get; set; } - } } \ No newline at end of file diff --git a/SDK/Mozu.Api/Contracts/CommerceRuntime/Orders/OrderValidationResult.cs b/SDK/Mozu.Api/Contracts/CommerceRuntime/Orders/OrderValidationResult.cs index eb493571..21b1d48c 100644 --- a/SDK/Mozu.Api/Contracts/CommerceRuntime/Orders/OrderValidationResult.cs +++ b/SDK/Mozu.Api/Contracts/CommerceRuntime/Orders/OrderValidationResult.cs @@ -24,6 +24,11 @@ public class OrderValidationResult /// public DateTime? CreatedDate { get; set; } + /// + ///Collection of messages returned by the order validation capability. + /// + public List Messages { get; set; } + /// ///The status returned from the order validation capability for the order specified in the request, which is Pass, Fail, Error, or Review. /// @@ -44,11 +49,6 @@ public class OrderValidationResult /// public string ValidatorType { get; set; } - /// - ///Collection of messages returned by the order validation capability. - /// - public List Messages { get; set; } - } } \ No newline at end of file diff --git a/SDK/Mozu.Api/Contracts/CommerceRuntime/Payments/BillingInfo.cs b/SDK/Mozu.Api/Contracts/CommerceRuntime/Payments/BillingInfo.cs index 9705e500..cf80a5f3 100644 --- a/SDK/Mozu.Api/Contracts/CommerceRuntime/Payments/BillingInfo.cs +++ b/SDK/Mozu.Api/Contracts/CommerceRuntime/Payments/BillingInfo.cs @@ -20,34 +20,34 @@ namespace Mozu.Api.Contracts.CommerceRuntime.Payments public class BillingInfo { /// - ///If true, the system overrides the customer's billing address information with the supplied fulfillment information. + ///Identifier and datetime stamp information recorded when a user or application creates, updates, or deletes a resource entity. This value is system-supplied and read-only. /// - public bool IsSameBillingShippingAddress { get; set; } + public AuditInfo AuditInfo { get; set; } /// - ///The type of payment, such as credit card, check, or PayPal Express. Additional payment types will be supported in future releases. + ///The cardholder's billing contact information, including addresses. /// - public string PaymentType { get; set; } + public Contact BillingContact { get; set; } /// - ///The code that identifies the store credit to apply to the order. + ///If the customer is paying by card, the credit card information. /// - public string StoreCreditCode { get; set; } + public PaymentCard Card { get; set; } /// - ///Identifier and datetime stamp information recorded when a user or application creates, updates, or deletes a resource entity. This value is system-supplied and read-only. + ///If true, the system overrides the customer's billing address information with the supplied fulfillment information. /// - public AuditInfo AuditInfo { get; set; } + public bool IsSameBillingShippingAddress { get; set; } /// - ///The cardholder's billing contact information, including addresses. + ///The type of payment, such as credit card, check, or PayPal Express. Additional payment types will be supported in future releases. /// - public Contact BillingContact { get; set; } + public string PaymentType { get; set; } /// - ///If the customer is paying by card, the credit card information. + ///The code that identifies the store credit to apply to the order. /// - public PaymentCard Card { get; set; } + public string StoreCreditCode { get; set; } } diff --git a/SDK/Mozu.Api/Contracts/CommerceRuntime/Payments/Payment.cs b/SDK/Mozu.Api/Contracts/CommerceRuntime/Payments/Payment.cs index 71f6f2c4..e3d45b0a 100644 --- a/SDK/Mozu.Api/Contracts/CommerceRuntime/Payments/Payment.cs +++ b/SDK/Mozu.Api/Contracts/CommerceRuntime/Payments/Payment.cs @@ -11,8 +11,8 @@ using System; using System.Collections.Generic; -using Mozu.Api.Contracts.Core; using Mozu.Api.Contracts.CommerceRuntime.Commerce; +using Mozu.Api.Contracts.Core; namespace Mozu.Api.Contracts.CommerceRuntime.Payments { @@ -36,16 +36,36 @@ public class Payment /// public decimal AmountRequested { get; set; } + /// + ///Identifier and datetime stamp information recorded when a user or application creates, updates, or deletes a resource entity. This value is system-supplied and read-only. + /// + public AuditInfo AuditInfo { get; set; } + /// ///The actions a user can perform for a payment at this time. /// public List AvailableActions { get; set; } + /// + ///Properties of the customer billing information associated with this payment. + /// + public BillingInfo BillingInfo { get; set; } + + /// + ///List of change messages associated with the payment. + /// + public List ChangeMessages { get; set; } + /// ///Unique identifier of the payment transaction. /// public string Id { get; set; } + /// + ///Container for the interactions associated with the payment, which includes details for each action performed for the payment. + /// + public List Interactions { get; set; } + /// ///If true, the payment transaction occurs at regular intervals such as a monthly billing cycle or a digital or physical subscription. /// @@ -71,26 +91,6 @@ public class Payment /// public string Status { get; set; } - /// - ///Identifier and datetime stamp information recorded when a user or application creates, updates, or deletes a resource entity. This value is system-supplied and read-only. - /// - public AuditInfo AuditInfo { get; set; } - - /// - ///Properties of the customer billing information associated with this payment. - /// - public BillingInfo BillingInfo { get; set; } - - /// - ///List of change messages associated with the payment. - /// - public List ChangeMessages { get; set; } - - /// - ///Container for the interactions associated with the payment, which includes details for each action performed for the payment. - /// - public List Interactions { get; set; } - } } \ No newline at end of file diff --git a/SDK/Mozu.Api/Contracts/CommerceRuntime/Payments/PaymentAction.cs b/SDK/Mozu.Api/Contracts/CommerceRuntime/Payments/PaymentAction.cs index 681fd6c7..da13e2bb 100644 --- a/SDK/Mozu.Api/Contracts/CommerceRuntime/Payments/PaymentAction.cs +++ b/SDK/Mozu.Api/Contracts/CommerceRuntime/Payments/PaymentAction.cs @@ -49,24 +49,24 @@ public class PaymentAction public DateTime? InteractionDate { get; set; } /// - ///Unique ID that references an original transaction in the event of a credit back. + ///Properties of a manually performed interaction with the payment gateway. /// - public string ReferenceSourcePaymentId { get; set; } + public PaymentGatewayInteraction ManualGatewayInteraction { get; set; } /// - ///The URL provided to redirect users who submit payments using PayPal Express or another non-gateway payment provider. + ///The billing information associated with this payment action. /// - public string ReturnUrl { get; set; } + public BillingInfo NewBillingInfo { get; set; } /// - ///Properties of a manually performed interaction with the payment gateway. + ///Unique ID that references an original transaction in the event of a credit back. /// - public PaymentGatewayInteraction ManualGatewayInteraction { get; set; } + public string ReferenceSourcePaymentId { get; set; } /// - ///The billing information associated with this payment action. + ///The URL provided to redirect users who submit payments using PayPal Express or another non-gateway payment provider. /// - public BillingInfo NewBillingInfo { get; set; } + public string ReturnUrl { get; set; } } diff --git a/SDK/Mozu.Api/Contracts/CommerceRuntime/Payments/PaymentCollection.cs b/SDK/Mozu.Api/Contracts/CommerceRuntime/Payments/PaymentCollection.cs index 26226cf8..e05739f3 100644 --- a/SDK/Mozu.Api/Contracts/CommerceRuntime/Payments/PaymentCollection.cs +++ b/SDK/Mozu.Api/Contracts/CommerceRuntime/Payments/PaymentCollection.cs @@ -20,14 +20,14 @@ namespace Mozu.Api.Contracts.CommerceRuntime.Payments public class PaymentCollection { /// - ///The number of results listed in the query collection, represented by a signed 64-bit (8-byte) integer. This value is system-supplied and read-only. + ///An array list of objects in the returned collection. /// - public int TotalCount { get; set; } + public List Items { get; set; } /// - ///An array list of objects in the returned collection. + ///The number of results listed in the query collection, represented by a signed 64-bit (8-byte) integer. This value is system-supplied and read-only. /// - public List Items { get; set; } + public int TotalCount { get; set; } } diff --git a/SDK/Mozu.Api/Contracts/CommerceRuntime/Payments/PaymentInteraction.cs b/SDK/Mozu.Api/Contracts/CommerceRuntime/Payments/PaymentInteraction.cs index dc0f7b9c..696f75f6 100644 --- a/SDK/Mozu.Api/Contracts/CommerceRuntime/Payments/PaymentInteraction.cs +++ b/SDK/Mozu.Api/Contracts/CommerceRuntime/Payments/PaymentInteraction.cs @@ -24,6 +24,11 @@ public class PaymentInteraction /// public decimal? Amount { get; set; } + /// + ///Identifier and datetime stamp information recorded when a user or application creates, updates, or deletes a resource entity. This value is system-supplied and read-only. + /// + public AuditInfo AuditInfo { get; set; } + /// ///If applicable, the check number associated with this payment interaction. /// @@ -124,11 +129,6 @@ public class PaymentInteraction /// public string Status { get; set; } - /// - ///Identifier and datetime stamp information recorded when a user or application creates, updates, or deletes a resource entity. This value is system-supplied and read-only. - /// - public AuditInfo AuditInfo { get; set; } - } } \ No newline at end of file diff --git a/SDK/Mozu.Api/Contracts/CommerceRuntime/Products/BundledProduct.cs b/SDK/Mozu.Api/Contracts/CommerceRuntime/Products/BundledProduct.cs index 656af67f..ef69f19f 100644 --- a/SDK/Mozu.Api/Contracts/CommerceRuntime/Products/BundledProduct.cs +++ b/SDK/Mozu.Api/Contracts/CommerceRuntime/Products/BundledProduct.cs @@ -39,6 +39,11 @@ public class BundledProduct /// public bool IsPackagedStandAlone { get; set; } + /// + ///Dimensions of the packaged product. + /// + public PackageMeasurements Measurements { get; set; } + /// ///The name of a component product in a product bundle. System-supplied and read only. /// @@ -69,11 +74,6 @@ public class BundledProduct /// public int Quantity { get; set; } - /// - ///Dimensions of the packaged product. - /// - public PackageMeasurements Measurements { get; set; } - } } \ No newline at end of file diff --git a/SDK/Mozu.Api/Contracts/CommerceRuntime/Products/Product.cs b/SDK/Mozu.Api/Contracts/CommerceRuntime/Products/Product.cs index 08c46e32..0713ee09 100644 --- a/SDK/Mozu.Api/Contracts/CommerceRuntime/Products/Product.cs +++ b/SDK/Mozu.Api/Contracts/CommerceRuntime/Products/Product.cs @@ -20,6 +20,16 @@ namespace Mozu.Api.Contracts.CommerceRuntime.Products /// public class Product { + /// + ///Collection of component products that make up a single product bundle with its own product code, added to a cart or order. + /// + public List BundledProducts { get; set; } + + /// + ///The list of all categories associated with the product. + /// + public List Categories { get; set; } + /// ///Short description of the product in the language specified in the locale code for the storefront. /// @@ -75,6 +85,11 @@ public class Product /// public bool? IsTaxable { get; set; } + /// + ///Dimensions of the packaged product. + /// + public PackageMeasurements Measurements { get; set; } + /// ///The manufacturer's part number for the product. /// @@ -85,6 +100,16 @@ public class Product /// public string Name { get; set; } + /// + ///The list of option attributes configured for the product. + /// + public List Options { get; set; } + + /// + ///The price of the product that appears on the storefront including any applied discounts. + /// + public ProductPrice Price { get; set; } + /// ///Merchant-created code that uniquely identifies the product such as a SKU or item number. Once created, the product code is read-only. /// @@ -105,6 +130,11 @@ public class Product /// public string ProductUsage { get; set; } + /// + ///Collection of property attributes defined for the item in the cart or order. + /// + public List Properties { get; set; } + /// ///The universal product code defined for the product. /// @@ -115,36 +145,6 @@ public class Product /// public string VariationProductCode { get; set; } - /// - ///Collection of component products that make up a single product bundle with its own product code, added to a cart or order. - /// - public List BundledProducts { get; set; } - - /// - ///The list of all categories associated with the product. - /// - public List Categories { get; set; } - - /// - ///Dimensions of the packaged product. - /// - public PackageMeasurements Measurements { get; set; } - - /// - ///The list of option attributes configured for the product. - /// - public List Options { get; set; } - - /// - ///The price of the product that appears on the storefront including any applied discounts. - /// - public ProductPrice Price { get; set; } - - /// - ///Collection of property attributes defined for the item in the cart or order. - /// - public List Properties { get; set; } - } } \ No newline at end of file diff --git a/SDK/Mozu.Api/Contracts/CommerceRuntime/Products/ProductOption.cs b/SDK/Mozu.Api/Contracts/CommerceRuntime/Products/ProductOption.cs index db949d50..46b0a4be 100644 --- a/SDK/Mozu.Api/Contracts/CommerceRuntime/Products/ProductOption.cs +++ b/SDK/Mozu.Api/Contracts/CommerceRuntime/Products/ProductOption.cs @@ -18,11 +18,6 @@ namespace Mozu.Api.Contracts.CommerceRuntime.Products /// public class ProductOption { - /// - ///If the value if an object, the value selected. - /// - public object Value { get; set; } - /// ///The fully qualified name of the attribute, which is a user defined attribute identifier. /// @@ -48,6 +43,11 @@ public class ProductOption /// public string StringValue { get; set; } + /// + ///If the value if an object, the value selected. + /// + public object Value { get; set; } + } } \ No newline at end of file diff --git a/SDK/Mozu.Api/Contracts/CommerceRuntime/Returns/Return.cs b/SDK/Mozu.Api/Contracts/CommerceRuntime/Returns/Return.cs index 2fd5f17d..1d356a48 100644 --- a/SDK/Mozu.Api/Contracts/CommerceRuntime/Returns/Return.cs +++ b/SDK/Mozu.Api/Contracts/CommerceRuntime/Returns/Return.cs @@ -11,11 +11,11 @@ using System; using System.Collections.Generic; -using Mozu.Api.Contracts.Core; using Mozu.Api.Contracts.CommerceRuntime.Commerce; -using Mozu.Api.Contracts.CommerceRuntime.Orders; using Mozu.Api.Contracts.CommerceRuntime.Fulfillment; +using Mozu.Api.Contracts.CommerceRuntime.Orders; using Mozu.Api.Contracts.CommerceRuntime.Payments; +using Mozu.Api.Contracts.Core; namespace Mozu.Api.Contracts.CommerceRuntime.Returns { @@ -24,11 +24,21 @@ namespace Mozu.Api.Contracts.CommerceRuntime.Returns /// public class Return { + /// + ///Identifier and datetime stamp information recorded when a user or application creates, updates, or deletes a resource entity. This value is system-supplied and read-only. + /// + public AuditInfo AuditInfo { get; set; } + /// ///The actions a user can perform for the return at this time. /// public List AvailableActions { get; set; } + /// + ///List of change messages associated with the return. + /// + public List ChangeMessages { get; set; } + /// ///The code that identifies the channel associated with the return, which is typically the same channel associated with the order. /// @@ -54,6 +64,11 @@ public class Return /// public string Id { get; set; } + /// + ///An array list of objects in the returned collection. + /// + public List Items { get; set; } + /// ///The code that uniquely identifies the location where items were returned. /// @@ -64,11 +79,26 @@ public class Return /// public decimal? LossTotal { get; set; } + /// + ///Collection of merchant-supplied notes entered for the return. + /// + public List Notes { get; set; } + /// ///If this return is associated with a previously completed order, the unique identifier of the original order. /// public string OriginalOrderId { get; set; } + /// + ///List of packages associated with a replacement order for a return. + /// + public List Packages { get; set; } + + /// + ///Array list of payments associated with this return, if applicable. + /// + public List Payments { get; set; } + /// ///The total tax amount levied on the product loss amount. /// @@ -144,36 +174,6 @@ public class Return /// public string WebSessionId { get; set; } - /// - ///Identifier and datetime stamp information recorded when a user or application creates, updates, or deletes a resource entity. This value is system-supplied and read-only. - /// - public AuditInfo AuditInfo { get; set; } - - /// - ///List of change messages associated with the return. - /// - public List ChangeMessages { get; set; } - - /// - ///An array list of objects in the returned collection. - /// - public List Items { get; set; } - - /// - ///Collection of merchant-supplied notes entered for the return. - /// - public List Notes { get; set; } - - /// - ///List of packages associated with a replacement order for a return. - /// - public List Packages { get; set; } - - /// - ///Array list of payments associated with this return, if applicable. - /// - public List Payments { get; set; } - } } \ No newline at end of file diff --git a/SDK/Mozu.Api/Contracts/CommerceRuntime/Returns/ReturnCollection.cs b/SDK/Mozu.Api/Contracts/CommerceRuntime/Returns/ReturnCollection.cs index b90ca796..27719da8 100644 --- a/SDK/Mozu.Api/Contracts/CommerceRuntime/Returns/ReturnCollection.cs +++ b/SDK/Mozu.Api/Contracts/CommerceRuntime/Returns/ReturnCollection.cs @@ -19,6 +19,11 @@ namespace Mozu.Api.Contracts.CommerceRuntime.Returns /// public class ReturnCollection { + /// + ///An array list of objects in the returned collection. + /// + public List Items { get; set; } + /// ///The number of pages returned based on the startIndex and pageSize values specified. This value is system-supplied and read-only. /// @@ -39,11 +44,6 @@ public class ReturnCollection /// public int TotalCount { get; set; } - /// - ///An array list of objects in the returned collection. - /// - public List Items { get; set; } - } } \ No newline at end of file diff --git a/SDK/Mozu.Api/Contracts/CommerceRuntime/Returns/ReturnItem.cs b/SDK/Mozu.Api/Contracts/CommerceRuntime/Returns/ReturnItem.cs index 42a38a92..fd52e717 100644 --- a/SDK/Mozu.Api/Contracts/CommerceRuntime/Returns/ReturnItem.cs +++ b/SDK/Mozu.Api/Contracts/CommerceRuntime/Returns/ReturnItem.cs @@ -21,16 +21,31 @@ namespace Mozu.Api.Contracts.CommerceRuntime.Returns /// public class ReturnItem { + /// + ///Properties of a collection of component products that make up a single returned product bundle with its own product code. + /// + public List BundledProducts { get; set; } + /// ///Unique identifier of the return whose items you want to get. /// public string Id { get; set; } + /// + ///List of merchant-supplied notes associated with the return item. + /// + public List Notes { get; set; } + /// ///Unique identifier of the item in the original completed order. All return items should be associated with a corresponding order item. /// public string OrderItemId { get; set; } + /// + ///Properties of the product definition associated with the item in the return. + /// + public Product Product { get; set; } + /// ///The total value of the product returned to the merchant for accounting purposes, calculated by multiplying the cost of the item by its quantity returned. /// @@ -56,6 +71,11 @@ public class ReturnItem /// public int QuantityShipped { get; set; } + /// + ///The list of return reasons for the item and the quantity associated with each return reason. + /// + public List Reasons { get; set; } + /// ///The total value of shipping the returned product to the merchant for accounting purposes, calculated by multiplying the shipping cost of the item by its quantity returned. /// @@ -66,26 +86,6 @@ public class ReturnItem /// public decimal? ShippingLossTaxAmount { get; set; } - /// - ///Properties of a collection of component products that make up a single returned product bundle with its own product code. - /// - public List BundledProducts { get; set; } - - /// - ///List of merchant-supplied notes associated with the return item. - /// - public List Notes { get; set; } - - /// - ///Properties of the product definition associated with the item in the return. - /// - public Product Product { get; set; } - - /// - ///The list of return reasons for the item and the quantity associated with each return reason. - /// - public List Reasons { get; set; } - } } \ No newline at end of file diff --git a/SDK/Mozu.Api/Contracts/CommerceRuntime/Returns/ReturnItemCollection.cs b/SDK/Mozu.Api/Contracts/CommerceRuntime/Returns/ReturnItemCollection.cs index 6e4872bc..1fb824b3 100644 --- a/SDK/Mozu.Api/Contracts/CommerceRuntime/Returns/ReturnItemCollection.cs +++ b/SDK/Mozu.Api/Contracts/CommerceRuntime/Returns/ReturnItemCollection.cs @@ -19,13 +19,13 @@ namespace Mozu.Api.Contracts.CommerceRuntime.Returns /// public class ReturnItemCollection { - public int TotalCount { get; set; } - /// ///Retrieves the details of all return items in an order. /// public List Items { get; set; } + public int TotalCount { get; set; } + } } \ No newline at end of file diff --git a/SDK/Mozu.Api/Contracts/CommerceRuntime/Wishlists/Wishlist.cs b/SDK/Mozu.Api/Contracts/CommerceRuntime/Wishlists/Wishlist.cs index adf24947..925aa332 100644 --- a/SDK/Mozu.Api/Contracts/CommerceRuntime/Wishlists/Wishlist.cs +++ b/SDK/Mozu.Api/Contracts/CommerceRuntime/Wishlists/Wishlist.cs @@ -11,10 +11,10 @@ using System; using System.Collections.Generic; -using Mozu.Api.Contracts.Core; using Mozu.Api.Contracts.CommerceRuntime.Commerce; -using Mozu.Api.Contracts.CommerceRuntime.Fulfillment; using Mozu.Api.Contracts.CommerceRuntime.Discounts; +using Mozu.Api.Contracts.CommerceRuntime.Fulfillment; +using Mozu.Api.Contracts.Core; namespace Mozu.Api.Contracts.CommerceRuntime.Wishlists { @@ -23,6 +23,16 @@ namespace Mozu.Api.Contracts.CommerceRuntime.Wishlists /// public class Wishlist { + /// + ///Identifier and datetime stamp information recorded when a user or application creates, updates, or deletes a resource entity. This value is system-supplied and read-only. + /// + public AuditInfo AuditInfo { get; set; } + + /// + ///Collection of change messages logged for each modification to a shopper wish list. System-supplied and read only. + /// + public List ChangeMessages { get; set; } + /// ///Unique identifier of the channel associated with the wish list. /// @@ -73,6 +83,11 @@ public class Wishlist /// public decimal? FeeTotal { get; set; } + /// + ///Properties that determine how items in the wish list are fulfilled. + /// + public FulfillmentInfo FulfillmentInfo { get; set; } + /// ///The tax amount levied against the handling fee for items in the wish list. This property value is not calculated at this time and is reserved for future functionality. /// @@ -93,6 +108,11 @@ public class Wishlist /// public bool? IsImport { get; set; } + /// + ///An array list of objects in the returned collection. + /// + public List Items { get; set; } + /// ///The total amount of tax for items in the wish list. This property value is not calculated at this time and is reserved for future functionality. /// @@ -108,6 +128,11 @@ public class Wishlist /// public string Name { get; set; } + /// + ///Any order discounts that apply to items in the wish list. This property is not used at this time and is reserved for future functionality. + /// + public List OrderDiscounts { get; set; } + /// ///The type of privacy to apply to this wish list. Possible values are "Private" which makes the wish list viewable only to the shopper, "DirectShare" which makes the wish list viewable only to people with whom the shopper shares the wish list link, or "Public" which makes the wish list available to everyone. At this time, the system treats all shopper wish lists as "Public" regardless of the defined privacy type. /// @@ -178,31 +203,6 @@ public class Wishlist /// public string WebSessionId { get; set; } - /// - ///Identifier and datetime stamp information recorded when a user or application creates, updates, or deletes a resource entity. This value is system-supplied and read-only. - /// - public AuditInfo AuditInfo { get; set; } - - /// - ///Collection of change messages logged for each modification to a shopper wish list. System-supplied and read only. - /// - public List ChangeMessages { get; set; } - - /// - ///Properties that determine how items in the wish list are fulfilled. - /// - public FulfillmentInfo FulfillmentInfo { get; set; } - - /// - ///An array list of objects in the returned collection. - /// - public List Items { get; set; } - - /// - ///Any order discounts that apply to items in the wish list. This property is not used at this time and is reserved for future functionality. - /// - public List OrderDiscounts { get; set; } - } } \ No newline at end of file diff --git a/SDK/Mozu.Api/Contracts/CommerceRuntime/Wishlists/WishlistCollection.cs b/SDK/Mozu.Api/Contracts/CommerceRuntime/Wishlists/WishlistCollection.cs index 15749fd5..8bac0e0c 100644 --- a/SDK/Mozu.Api/Contracts/CommerceRuntime/Wishlists/WishlistCollection.cs +++ b/SDK/Mozu.Api/Contracts/CommerceRuntime/Wishlists/WishlistCollection.cs @@ -19,6 +19,11 @@ namespace Mozu.Api.Contracts.CommerceRuntime.Wishlists /// public class WishlistCollection { + /// + ///An array list of objects in the returned collection. + /// + public List Items { get; set; } + /// ///The number of pages returned based on the startIndex and pageSize values specified. This value is system-supplied and read-only. /// @@ -39,11 +44,6 @@ public class WishlistCollection /// public int TotalCount { get; set; } - /// - ///An array list of objects in the returned collection. - /// - public List Items { get; set; } - } } \ No newline at end of file diff --git a/SDK/Mozu.Api/Contracts/CommerceRuntime/Wishlists/WishlistItem.cs b/SDK/Mozu.Api/Contracts/CommerceRuntime/Wishlists/WishlistItem.cs index 2bd74796..f9bcfa90 100644 --- a/SDK/Mozu.Api/Contracts/CommerceRuntime/Wishlists/WishlistItem.cs +++ b/SDK/Mozu.Api/Contracts/CommerceRuntime/Wishlists/WishlistItem.cs @@ -11,10 +11,10 @@ using System; using System.Collections.Generic; -using Mozu.Api.Contracts.Core; -using Mozu.Api.Contracts.CommerceRuntime.Products; -using Mozu.Api.Contracts.CommerceRuntime.Discounts; using Mozu.Api.Contracts.CommerceRuntime.Commerce; +using Mozu.Api.Contracts.CommerceRuntime.Discounts; +using Mozu.Api.Contracts.CommerceRuntime.Products; +using Mozu.Api.Contracts.Core; namespace Mozu.Api.Contracts.CommerceRuntime.Wishlists { @@ -23,6 +23,11 @@ namespace Mozu.Api.Contracts.CommerceRuntime.Wishlists /// public class WishlistItem { + /// + ///Identifier and datetime stamp information recorded when a user or application creates, updates, or deletes a resource entity. This value is system-supplied and read-only. + /// + public AuditInfo AuditInfo { get; set; } + /// ///Shopper-entered comments for an item in a wish list. /// @@ -80,6 +85,21 @@ public class WishlistItem /// public string PriorityType { get; set; } + /// + ///The properties of the product associated with an item in a wish list. + /// + public Product Product { get; set; } + + /// + ///List of product discounts that apply to the item in the wishlist. + /// + public AppliedLineItemProductDiscount ProductDiscount { get; set; } + + /// + ///Array of product discounts applicable to an item in a wish list. This property is not used at this time and is reserved for future functionality. + /// + public List ProductDiscounts { get; set; } + /// ///The status of the item that indicates whether an item in a wish list can be purchased. Possible values are "Purchasable" which indicates the item can be purchased, "NotPurchasable" which indicates the item is out of stock or otherwise unavailable, or "Missing" which indicates the item has been deleted from the catalog since it was added to the wish list. /// @@ -90,6 +110,11 @@ public class WishlistItem /// public int Quantity { get; set; } + /// + ///Array of shipping discounts applicable for an item in a wish list. This property is not used at this time and is reserved for future functionality. + /// + public List ShippingDiscounts { get; set; } + /// ///The total amount of tax levied against shipping charges for an item in a wish list. This property is not calculated at this time and is reserved for future functionality. /// @@ -115,31 +140,6 @@ public class WishlistItem /// public decimal? Total { get; set; } - /// - ///Identifier and datetime stamp information recorded when a user or application creates, updates, or deletes a resource entity. This value is system-supplied and read-only. - /// - public AuditInfo AuditInfo { get; set; } - - /// - ///The properties of the product associated with an item in a wish list. - /// - public Product Product { get; set; } - - /// - ///List of product discounts that apply to the item in the wishlist. - /// - public AppliedLineItemProductDiscount ProductDiscount { get; set; } - - /// - ///Array of product discounts applicable to an item in a wish list. This property is not used at this time and is reserved for future functionality. - /// - public List ProductDiscounts { get; set; } - - /// - ///Array of shipping discounts applicable for an item in a wish list. This property is not used at this time and is reserved for future functionality. - /// - public List ShippingDiscounts { get; set; } - /// ///The unit price of an item in a wish list. This property is not calculated at this time and is reserved for future functionality. /// diff --git a/SDK/Mozu.Api/Contracts/CommerceRuntime/Wishlists/WishlistItemCollection.cs b/SDK/Mozu.Api/Contracts/CommerceRuntime/Wishlists/WishlistItemCollection.cs index c2884f5b..62639c1d 100644 --- a/SDK/Mozu.Api/Contracts/CommerceRuntime/Wishlists/WishlistItemCollection.cs +++ b/SDK/Mozu.Api/Contracts/CommerceRuntime/Wishlists/WishlistItemCollection.cs @@ -19,6 +19,11 @@ namespace Mozu.Api.Contracts.CommerceRuntime.Wishlists /// public class WishlistItemCollection { + /// + ///An array list of objects in the returned collection. + /// + public List Items { get; set; } + /// ///The number of pages returned based on the startIndex and pageSize values specified. This value is system-supplied and read-only. /// @@ -39,11 +44,6 @@ public class WishlistItemCollection /// public int TotalCount { get; set; } - /// - ///An array list of objects in the returned collection. - /// - public List Items { get; set; } - } } \ No newline at end of file diff --git a/SDK/Mozu.Api/Contracts/Content/Document.cs b/SDK/Mozu.Api/Contracts/Content/Document.cs index 573e5a1c..c0e10305 100644 --- a/SDK/Mozu.Api/Contracts/Content/Document.cs +++ b/SDK/Mozu.Api/Contracts/Content/Document.cs @@ -59,6 +59,11 @@ public class Document /// public string Name { get; set; } + /// + ///List of properties for the given property value. + /// + public JObject Properties { get; set; } + /// ///The current state of the document, which is Active, Draft, or Latest. Active documents are published and cannot be deleted. Querying Latest returns the most recent version of the document, regardless of whether it is published or a draft. /// @@ -69,11 +74,6 @@ public class Document /// public DateTime? UpdateDate { get; set; } - /// - ///List of properties for the given property value. - /// - public JObject Properties { get; set; } - } } \ No newline at end of file diff --git a/SDK/Mozu.Api/Contracts/Content/DocumentCollection.cs b/SDK/Mozu.Api/Contracts/Content/DocumentCollection.cs index a9e3474f..3b607263 100644 --- a/SDK/Mozu.Api/Contracts/Content/DocumentCollection.cs +++ b/SDK/Mozu.Api/Contracts/Content/DocumentCollection.cs @@ -19,6 +19,11 @@ namespace Mozu.Api.Contracts.Content /// public class DocumentCollection { + /// + ///An array list of objects in the returned collection. + /// + public List Items { get; set; } + /// ///The number of pages returned based on the startIndex and pageSize values specified. This value is system-supplied and read-only. /// @@ -39,11 +44,6 @@ public class DocumentCollection /// public int TotalCount { get; set; } - /// - ///An array list of objects in the returned collection. - /// - public List Items { get; set; } - } } \ No newline at end of file diff --git a/SDK/Mozu.Api/Contracts/Content/DocumentDraftSummaryPagedCollection.cs b/SDK/Mozu.Api/Contracts/Content/DocumentDraftSummaryPagedCollection.cs index 54a20c9f..075a29fe 100644 --- a/SDK/Mozu.Api/Contracts/Content/DocumentDraftSummaryPagedCollection.cs +++ b/SDK/Mozu.Api/Contracts/Content/DocumentDraftSummaryPagedCollection.cs @@ -19,6 +19,11 @@ namespace Mozu.Api.Contracts.Content /// public class DocumentDraftSummaryPagedCollection { + /// + ///An array list of objects in the returned collection. + /// + public List Items { get; set; } + /// ///The number of pages returned based on the startIndex and pageSize values specified. This value is system-supplied and read-only. /// @@ -39,11 +44,6 @@ public class DocumentDraftSummaryPagedCollection /// public int TotalCount { get; set; } - /// - ///An array list of objects in the returned collection. - /// - public List Items { get; set; } - } } \ No newline at end of file diff --git a/SDK/Mozu.Api/Contracts/Content/DocumentList.cs b/SDK/Mozu.Api/Contracts/Content/DocumentList.cs index ff0c0860..7862ac62 100644 --- a/SDK/Mozu.Api/Contracts/Content/DocumentList.cs +++ b/SDK/Mozu.Api/Contracts/Content/DocumentList.cs @@ -35,6 +35,8 @@ public class DocumentList public string ListFQN { get; set; } + public JObject Metadata { get; set; } + /// ///The name of the document list. /// @@ -55,8 +57,6 @@ public class DocumentList public List Usages { get; set; } - public JObject Metadata { get; set; } - public List Views { get; set; } } diff --git a/SDK/Mozu.Api/Contracts/Content/DocumentListCollection.cs b/SDK/Mozu.Api/Contracts/Content/DocumentListCollection.cs index 80ae82f5..3e992774 100644 --- a/SDK/Mozu.Api/Contracts/Content/DocumentListCollection.cs +++ b/SDK/Mozu.Api/Contracts/Content/DocumentListCollection.cs @@ -19,6 +19,11 @@ namespace Mozu.Api.Contracts.Content /// public class DocumentListCollection { + /// + ///An array list of objects in the returned collection. + /// + public List Items { get; set; } + /// ///The number of pages returned based on the startIndex and pageSize values specified. This value is system-supplied and read-only. /// @@ -39,11 +44,6 @@ public class DocumentListCollection /// public int TotalCount { get; set; } - /// - ///An array list of objects in the returned collection. - /// - public List Items { get; set; } - } } \ No newline at end of file diff --git a/SDK/Mozu.Api/Contracts/Content/DocumentListType.cs b/SDK/Mozu.Api/Contracts/Content/DocumentListType.cs index dd2b29da..4eec1dd6 100644 --- a/SDK/Mozu.Api/Contracts/Content/DocumentListType.cs +++ b/SDK/Mozu.Api/Contracts/Content/DocumentListType.cs @@ -18,6 +18,8 @@ namespace Mozu.Api.Contracts.Content { public class DocumentListType { + public List DefaultDocuments { get; set; } + public string DocumentListTypeFQN { get; set; } public List DocumentTypeFQNs { get; set; } @@ -26,6 +28,8 @@ public class DocumentListType public string InstallationPackage { get; set; } + public JObject Metadata { get; set; } + public string Name { get; set; } public string Namespace { get; set; } @@ -38,10 +42,6 @@ public class DocumentListType public string Version { get; set; } - public List DefaultDocuments { get; set; } - - public JObject Metadata { get; set; } - public List Views { get; set; } } diff --git a/SDK/Mozu.Api/Contracts/Content/DocumentType.cs b/SDK/Mozu.Api/Contracts/Content/DocumentType.cs index 1a497ab3..9de28138 100644 --- a/SDK/Mozu.Api/Contracts/Content/DocumentType.cs +++ b/SDK/Mozu.Api/Contracts/Content/DocumentType.cs @@ -27,6 +27,8 @@ public class DocumentType public string InstallationPackage { get; set; } + public JObject Metadata { get; set; } + /// ///The name of the document type. /// @@ -34,12 +36,10 @@ public class DocumentType public string Namespace { get; set; } - public string Version { get; set; } - - public JObject Metadata { get; set; } - public List Properties { get; set; } + public string Version { get; set; } + } } \ No newline at end of file diff --git a/SDK/Mozu.Api/Contracts/Content/DocumentTypeCollection.cs b/SDK/Mozu.Api/Contracts/Content/DocumentTypeCollection.cs index 266920d1..0eef8ae3 100644 --- a/SDK/Mozu.Api/Contracts/Content/DocumentTypeCollection.cs +++ b/SDK/Mozu.Api/Contracts/Content/DocumentTypeCollection.cs @@ -19,6 +19,11 @@ namespace Mozu.Api.Contracts.Content /// public class DocumentTypeCollection { + /// + ///An array list of objects in the returned collection. + /// + public List Items { get; set; } + /// ///The number of pages returned based on the startIndex and pageSize values specified. This value is system-supplied and read-only. /// @@ -39,11 +44,6 @@ public class DocumentTypeCollection /// public int TotalCount { get; set; } - /// - ///An array list of objects in the returned collection. - /// - public List Items { get; set; } - } } \ No newline at end of file diff --git a/SDK/Mozu.Api/Contracts/Content/PropertyTypeCollection.cs b/SDK/Mozu.Api/Contracts/Content/PropertyTypeCollection.cs index 234988fb..a667d05f 100644 --- a/SDK/Mozu.Api/Contracts/Content/PropertyTypeCollection.cs +++ b/SDK/Mozu.Api/Contracts/Content/PropertyTypeCollection.cs @@ -19,6 +19,11 @@ namespace Mozu.Api.Contracts.Content /// public class PropertyTypeCollection { + /// + ///An array list of objects in the returned collection. + /// + public List Items { get; set; } + /// ///The number of pages returned based on the startIndex and pageSize values specified. This value is system-supplied and read-only. /// @@ -39,11 +44,6 @@ public class PropertyTypeCollection /// public int TotalCount { get; set; } - /// - ///An array list of objects in the returned collection. - /// - public List Items { get; set; } - } } \ No newline at end of file diff --git a/SDK/Mozu.Api/Contracts/Content/View.cs b/SDK/Mozu.Api/Contracts/Content/View.cs index 1ac55b90..b23883c0 100644 --- a/SDK/Mozu.Api/Contracts/Content/View.cs +++ b/SDK/Mozu.Api/Contracts/Content/View.cs @@ -18,16 +18,16 @@ namespace Mozu.Api.Contracts.Content { public class View { + public List Fields { get; set; } + public bool? IsVisibleInStorefront { get; set; } + public JObject Metadata { get; set; } + public string Name { get; set; } public List Usages { get; set; } - public List Fields { get; set; } - - public JObject Metadata { get; set; } - } } \ No newline at end of file diff --git a/SDK/Mozu.Api/Contracts/Core/BehaviorCategoryCollection.cs b/SDK/Mozu.Api/Contracts/Core/BehaviorCategoryCollection.cs index d9e812e1..b29c8aca 100644 --- a/SDK/Mozu.Api/Contracts/Core/BehaviorCategoryCollection.cs +++ b/SDK/Mozu.Api/Contracts/Core/BehaviorCategoryCollection.cs @@ -20,14 +20,14 @@ namespace Mozu.Api.Contracts.Core public class BehaviorCategoryCollection { /// - ///The number of results listed in the query collection, represented by a signed 64-bit (8-byte) integer. This value is system-supplied and read-only. + ///An array list of objects in the returned collection. /// - public int TotalCount { get; set; } + public List Items { get; set; } /// - ///An array list of objects in the returned collection. + ///The number of results listed in the query collection, represented by a signed 64-bit (8-byte) integer. This value is system-supplied and read-only. /// - public List Items { get; set; } + public int TotalCount { get; set; } } diff --git a/SDK/Mozu.Api/Contracts/Core/BehaviorCollection.cs b/SDK/Mozu.Api/Contracts/Core/BehaviorCollection.cs index 2815ac10..c17a115c 100644 --- a/SDK/Mozu.Api/Contracts/Core/BehaviorCollection.cs +++ b/SDK/Mozu.Api/Contracts/Core/BehaviorCollection.cs @@ -20,14 +20,14 @@ namespace Mozu.Api.Contracts.Core public class BehaviorCollection { /// - ///The number of results listed in the query collection, represented by a signed 64-bit (8-byte) integer. This value is system-supplied and read-only. + ///An array list of objects in the returned collection. /// - public int TotalCount { get; set; } + public List Items { get; set; } /// - ///An array list of objects in the returned collection. + ///The number of results listed in the query collection, represented by a signed 64-bit (8-byte) integer. This value is system-supplied and read-only. /// - public List Items { get; set; } + public int TotalCount { get; set; } } diff --git a/SDK/Mozu.Api/Contracts/Core/Contact.cs b/SDK/Mozu.Api/Contracts/Core/Contact.cs index 64d5a891..0a14e606 100644 --- a/SDK/Mozu.Api/Contracts/Core/Contact.cs +++ b/SDK/Mozu.Api/Contracts/Core/Contact.cs @@ -18,6 +18,11 @@ namespace Mozu.Api.Contracts.Core /// public class Contact { + /// + ///Address information for the contact. + /// + public Address Address { get; set; } + /// ///The legal or doing business as (DBA) or tradestyle name of the business or organization. The maximum character length is 200. /// @@ -48,11 +53,6 @@ public class Contact /// public string MiddleNameOrInitial { get; set; } - /// - ///Address information for the contact. - /// - public Address Address { get; set; } - /// ///List of phone numbers associated with the customer account contact. /// diff --git a/SDK/Mozu.Api/Contracts/Core/Extensible/Attribute.cs b/SDK/Mozu.Api/Contracts/Core/Extensible/Attribute.cs index 193b9804..d97da2fe 100644 --- a/SDK/Mozu.Api/Contracts/Core/Extensible/Attribute.cs +++ b/SDK/Mozu.Api/Contracts/Core/Extensible/Attribute.cs @@ -32,6 +32,18 @@ public class Attribute public string AttributeFQN { get; set; } + /// + ///List of metadata key-value pairs defined for an extensible attribute. + /// + public List AttributeMetadata { get; set; } + + public AuditInfo AuditInfo { get; set; } + + /// + ///The localized name and description of the attribute, displayed in the locale code specified for the master catalog. + /// + public AttributeLocalizedContent Content { get; set; } + /// ///The data type of the customer or order attribute, which is Bool, DateTime, Number, or String. /// @@ -80,26 +92,14 @@ public class Attribute public int? Order { get; set; } /// - ///An attribute value type is either predefined vocabulary by the admin during attribute set up or it can be "AdminEntered" or "ShopperEntered". The difference between predefined values versus manually entered values is such that the first choice is a set of options to choose from. AdminEntered and ShopperEntered are values that are entered rather than system-supplied and are not stored in the database, but captured during a live commerce operations such as during an order. - /// - public string ValueType { get; set; } - - /// - ///List of metadata key-value pairs defined for an extensible attribute. - /// - public List AttributeMetadata { get; set; } - - public AuditInfo AuditInfo { get; set; } - - /// - ///The localized name and description of the attribute, displayed in the locale code specified for the master catalog. + ///Properties used when validating a value entered for an extensible attribute. /// - public AttributeLocalizedContent Content { get; set; } + public AttributeValidation Validation { get; set; } /// - ///Properties used when validating a value entered for an extensible attribute. + ///An attribute value type is either predefined vocabulary by the admin during attribute set up or it can be "AdminEntered" or "ShopperEntered". The difference between predefined values versus manually entered values is such that the first choice is a set of options to choose from. AdminEntered and ShopperEntered are values that are entered rather than system-supplied and are not stored in the database, but captured during a live commerce operations such as during an order. /// - public AttributeValidation Validation { get; set; } + public string ValueType { get; set; } /// ///List of valid vocabulary values defined for an attribute. diff --git a/SDK/Mozu.Api/Contracts/Core/Extensible/AttributeCollection.cs b/SDK/Mozu.Api/Contracts/Core/Extensible/AttributeCollection.cs index ec5c0759..43c7b1dd 100644 --- a/SDK/Mozu.Api/Contracts/Core/Extensible/AttributeCollection.cs +++ b/SDK/Mozu.Api/Contracts/Core/Extensible/AttributeCollection.cs @@ -19,6 +19,11 @@ namespace Mozu.Api.Contracts.Core.Extensible /// public class AttributeCollection { + /// + ///An array list of objects in the returned collection. + /// + public List Items { get; set; } + /// ///The number of pages returned based on the startIndex and pageSize values specified. This value is system-supplied and read-only. /// @@ -36,11 +41,6 @@ public class AttributeCollection /// public int TotalCount { get; set; } - /// - ///An array list of objects in the returned collection. - /// - public List Items { get; set; } - } } \ No newline at end of file diff --git a/SDK/Mozu.Api/Contracts/Core/Extensible/AttributeVocabularyValue.cs b/SDK/Mozu.Api/Contracts/Core/Extensible/AttributeVocabularyValue.cs index 5644e6aa..0fe4de8a 100644 --- a/SDK/Mozu.Api/Contracts/Core/Extensible/AttributeVocabularyValue.cs +++ b/SDK/Mozu.Api/Contracts/Core/Extensible/AttributeVocabularyValue.cs @@ -18,6 +18,11 @@ namespace Mozu.Api.Contracts.Core.Extensible /// public class AttributeVocabularyValue { + /// + ///List of content associated with a vocabulary value defined for an extensible attribute. + /// + public AttributeValueLocalizedContent Content { get; set; } + /// ///If true, the attribute vocabulary value does not appear in the list when defining a value for the attribute. /// @@ -33,11 +38,6 @@ public class AttributeVocabularyValue /// public string Value { get; set; } - /// - ///List of content associated with a vocabulary value defined for an extensible attribute. - /// - public AttributeValueLocalizedContent Content { get; set; } - } } \ No newline at end of file diff --git a/SDK/Mozu.Api/Contracts/Core/ThirdParty/InitializableShippingCountryPropertyValue.cs b/SDK/Mozu.Api/Contracts/Core/ThirdParty/InitializableShippingCountryPropertyValue.cs index 60fdd663..c015da65 100644 --- a/SDK/Mozu.Api/Contracts/Core/ThirdParty/InitializableShippingCountryPropertyValue.cs +++ b/SDK/Mozu.Api/Contracts/Core/ThirdParty/InitializableShippingCountryPropertyValue.cs @@ -19,6 +19,11 @@ namespace Mozu.Api.Contracts.Core.ThirdParty /// public class InitializableShippingCountryPropertyValue { + /// + ///Child value in a hierarchy of shipping country properties. + /// + public List Child { get; set; } + /// ///If true, the property value is initialized. /// @@ -29,11 +34,6 @@ public class InitializableShippingCountryPropertyValue /// public string Value { get; set; } - /// - ///Child value in a hierarchy of shipping country properties. - /// - public List Child { get; set; } - } } \ No newline at end of file diff --git a/SDK/Mozu.Api/Contracts/Core/UserRole.cs b/SDK/Mozu.Api/Contracts/Core/UserRole.cs index 349f682a..a415e406 100644 --- a/SDK/Mozu.Api/Contracts/Core/UserRole.cs +++ b/SDK/Mozu.Api/Contracts/Core/UserRole.cs @@ -19,29 +19,29 @@ namespace Mozu.Api.Contracts.Core public class UserRole { /// - ///Unique identifier of the user role. + ///Properties of the developer account or Mozu tenant associated with the user role. /// - public int RoleId { get; set; } + public UserScope AssignedInScope { get; set; } /// - ///The name of the user role, such as "developer" or "administrator". + ///Identifier and datetime stamp information recorded when a user or application creates, updates, or deletes a resource entity. This value is system-supplied and read-only. /// - public string RoleName { get; set; } + public AuditInfo AuditInfo { get; set; } /// - ///Unique identifier of the user the role is assigned to. + ///Unique identifier of the user role. /// - public string UserId { get; set; } + public int RoleId { get; set; } /// - ///Properties of the developer account or Mozu tenant associated with the user role. + ///The name of the user role, such as "developer" or "administrator". /// - public UserScope AssignedInScope { get; set; } + public string RoleName { get; set; } /// - ///Identifier and datetime stamp information recorded when a user or application creates, updates, or deletes a resource entity. This value is system-supplied and read-only. + ///Unique identifier of the user the role is assigned to. /// - public AuditInfo AuditInfo { get; set; } + public string UserId { get; set; } } diff --git a/SDK/Mozu.Api/Contracts/Core/UserSystemData.cs b/SDK/Mozu.Api/Contracts/Core/UserSystemData.cs index 0ca82d42..746c25a5 100644 --- a/SDK/Mozu.Api/Contracts/Core/UserSystemData.cs +++ b/SDK/Mozu.Api/Contracts/Core/UserSystemData.cs @@ -18,16 +18,6 @@ namespace Mozu.Api.Contracts.Core /// public class UserSystemData { - /// - ///The number of login attempts left for the user. The user must login successfully before this value reaches zero otherwise the account will be locked. - /// - public int RemainingLoginAttempts { get; set; } - - /// - ///Date and time when the entity was last updated, represented in UTC Date/Time. - /// - public DateTime? UpdatedOn { get; set; } - /// ///Date and time when the entity was created, represented in UTC Date/Time. /// @@ -68,6 +58,16 @@ public class UserSystemData /// public DateTime? LastPasswordChangeOn { get; set; } + /// + ///The number of login attempts left for the user. The user must login successfully before this value reaches zero otherwise the account will be locked. + /// + public int RemainingLoginAttempts { get; set; } + + /// + ///Date and time when the entity was last updated, represented in UTC Date/Time. + /// + public DateTime? UpdatedOn { get; set; } + } } \ No newline at end of file diff --git a/SDK/Mozu.Api/Contracts/Customer/CardCollection.cs b/SDK/Mozu.Api/Contracts/Customer/CardCollection.cs index 2c91dc46..213620cd 100644 --- a/SDK/Mozu.Api/Contracts/Customer/CardCollection.cs +++ b/SDK/Mozu.Api/Contracts/Customer/CardCollection.cs @@ -20,14 +20,14 @@ namespace Mozu.Api.Contracts.Customer public class CardCollection { /// - ///The number of results listed in the query collection, represented by a signed 64-bit (8-byte) integer. This value is system-supplied and read-only. + ///An array list of objects in the returned collection. /// - public int TotalCount { get; set; } + public List Items { get; set; } /// - ///An array list of objects in the returned collection. + ///The number of results listed in the query collection, represented by a signed 64-bit (8-byte) integer. This value is system-supplied and read-only. /// - public List Items { get; set; } + public int TotalCount { get; set; } } diff --git a/SDK/Mozu.Api/Contracts/Customer/CommerceSummary.cs b/SDK/Mozu.Api/Contracts/Customer/CommerceSummary.cs index b9c41306..4425026f 100644 --- a/SDK/Mozu.Api/Contracts/Customer/CommerceSummary.cs +++ b/SDK/Mozu.Api/Contracts/Customer/CommerceSummary.cs @@ -28,6 +28,11 @@ public class CommerceSummary /// public int OrderCount { get; set; } + /// + ///The aggregate total amount of all orders the shopper submitted, across all sites associated with the tenant. + /// + public CurrencyAmount TotalOrderAmount { get; set; } + /// ///The number of visits to a site associated with a customer account. /// @@ -38,11 +43,6 @@ public class CommerceSummary /// public int WishlistCount { get; set; } - /// - ///The aggregate total amount of all orders the shopper submitted, across all sites associated with the tenant. - /// - public CurrencyAmount TotalOrderAmount { get; set; } - } } \ No newline at end of file diff --git a/SDK/Mozu.Api/Contracts/Customer/Credit/Credit.cs b/SDK/Mozu.Api/Contracts/Customer/Credit/Credit.cs index f93fcd33..b52727c4 100644 --- a/SDK/Mozu.Api/Contracts/Customer/Credit/Credit.cs +++ b/SDK/Mozu.Api/Contracts/Customer/Credit/Credit.cs @@ -24,6 +24,11 @@ public class Credit /// public DateTime? ActivationDate { get; set; } + /// + ///Identifier and datetime stamp information recorded when a user or application creates, updates, or deletes a resource entity. This value is system-supplied and read-only. + /// + public AuditInfo AuditInfo { get; set; } + /// ///User-defined identifier of the credit, which is unique within the tenant. /// @@ -59,11 +64,6 @@ public class Credit /// public decimal? InitialBalance { get; set; } - /// - ///Identifier and datetime stamp information recorded when a user or application creates, updates, or deletes a resource entity. This value is system-supplied and read-only. - /// - public AuditInfo AuditInfo { get; set; } - } } \ No newline at end of file diff --git a/SDK/Mozu.Api/Contracts/Customer/Credit/CreditAuditEntry.cs b/SDK/Mozu.Api/Contracts/Customer/Credit/CreditAuditEntry.cs index 8c9c1ba6..93bb5477 100644 --- a/SDK/Mozu.Api/Contracts/Customer/Credit/CreditAuditEntry.cs +++ b/SDK/Mozu.Api/Contracts/Customer/Credit/CreditAuditEntry.cs @@ -25,14 +25,14 @@ public class CreditAuditEntry public string ActivityType { get; set; } /// - ///Detail log that describes the activity performed for this credit audit entry. + ///Identifier and datetime stamp information recorded when a user or application creates, updates, or deletes a resource entity. This value is system-supplied and read-only. /// - public string Details { get; set; } + public AuditInfo AuditInfo { get; set; } /// - ///Identifier and datetime stamp information recorded when a user or application creates, updates, or deletes a resource entity. This value is system-supplied and read-only. + ///Detail log that describes the activity performed for this credit audit entry. /// - public AuditInfo AuditInfo { get; set; } + public string Details { get; set; } } diff --git a/SDK/Mozu.Api/Contracts/Customer/Credit/CreditAuditEntryCollection.cs b/SDK/Mozu.Api/Contracts/Customer/Credit/CreditAuditEntryCollection.cs index c69151e0..d5bce90d 100644 --- a/SDK/Mozu.Api/Contracts/Customer/Credit/CreditAuditEntryCollection.cs +++ b/SDK/Mozu.Api/Contracts/Customer/Credit/CreditAuditEntryCollection.cs @@ -19,6 +19,11 @@ namespace Mozu.Api.Contracts.Customer.Credit /// public class CreditAuditEntryCollection { + /// + ///An array list of objects in the returned collection. + /// + public List Items { get; set; } + /// ///The number of pages returned based on the startIndex and pageSize values specified. This value is system-supplied and read-only. /// @@ -39,11 +44,6 @@ public class CreditAuditEntryCollection /// public int TotalCount { get; set; } - /// - ///An array list of objects in the returned collection. - /// - public List Items { get; set; } - } } \ No newline at end of file diff --git a/SDK/Mozu.Api/Contracts/Customer/Credit/CreditCollection.cs b/SDK/Mozu.Api/Contracts/Customer/Credit/CreditCollection.cs index cbb385ae..fd000676 100644 --- a/SDK/Mozu.Api/Contracts/Customer/Credit/CreditCollection.cs +++ b/SDK/Mozu.Api/Contracts/Customer/Credit/CreditCollection.cs @@ -19,6 +19,11 @@ namespace Mozu.Api.Contracts.Customer.Credit /// public class CreditCollection { + /// + ///An array list of objects in the returned collection. + /// + public List Items { get; set; } + /// ///The number of pages returned based on the startIndex and pageSize values specified. This value is system-supplied and read-only. /// @@ -39,11 +44,6 @@ public class CreditCollection /// public int TotalCount { get; set; } - /// - ///An array list of objects in the returned collection. - /// - public List Items { get; set; } - } } \ No newline at end of file diff --git a/SDK/Mozu.Api/Contracts/Customer/Credit/CreditTransaction.cs b/SDK/Mozu.Api/Contracts/Customer/Credit/CreditTransaction.cs index 3728ab83..a159c935 100644 --- a/SDK/Mozu.Api/Contracts/Customer/Credit/CreditTransaction.cs +++ b/SDK/Mozu.Api/Contracts/Customer/Credit/CreditTransaction.cs @@ -19,6 +19,11 @@ namespace Mozu.Api.Contracts.Customer.Credit /// public class CreditTransaction { + /// + ///Identifier and datetime stamp information recorded when a user or application creates, updates, or deletes a resource entity. This value is system-supplied and read-only. + /// + public AuditInfo AuditInfo { get; set; } + /// ///Comments entered for a transaction. Depending on the interface, these comments might be visible to authorized shoppers and users. /// @@ -39,11 +44,6 @@ public class CreditTransaction /// public string TransactionType { get; set; } - /// - ///Identifier and datetime stamp information recorded when a user or application creates, updates, or deletes a resource entity. This value is system-supplied and read-only. - /// - public AuditInfo AuditInfo { get; set; } - } } \ No newline at end of file diff --git a/SDK/Mozu.Api/Contracts/Customer/Credit/CreditTransactionCollection.cs b/SDK/Mozu.Api/Contracts/Customer/Credit/CreditTransactionCollection.cs index 5eec7f89..1ba0f84f 100644 --- a/SDK/Mozu.Api/Contracts/Customer/Credit/CreditTransactionCollection.cs +++ b/SDK/Mozu.Api/Contracts/Customer/Credit/CreditTransactionCollection.cs @@ -19,6 +19,11 @@ namespace Mozu.Api.Contracts.Customer.Credit /// public class CreditTransactionCollection { + /// + ///An array list of objects in the returned collection. + /// + public List Items { get; set; } + /// ///The number of pages returned based on the startIndex and pageSize values specified. This value is system-supplied and read-only. /// @@ -39,11 +44,6 @@ public class CreditTransactionCollection /// public int TotalCount { get; set; } - /// - ///An array list of objects in the returned collection. - /// - public List Items { get; set; } - } } \ No newline at end of file diff --git a/SDK/Mozu.Api/Contracts/Customer/CustomerAccount.cs b/SDK/Mozu.Api/Contracts/Customer/CustomerAccount.cs index 2d5a5076..c4c4b7be 100644 --- a/SDK/Mozu.Api/Contracts/Customer/CustomerAccount.cs +++ b/SDK/Mozu.Api/Contracts/Customer/CustomerAccount.cs @@ -25,11 +25,31 @@ public class CustomerAccount /// public bool AcceptsMarketing { get; set; } + /// + ///Collection of customer account attributes. + /// + public List Attributes { get; set; } + + /// + ///Identifier and datetime stamp information recorded when a user or application creates, updates, or deletes a resource entity. This value is system-supplied and read-only. + /// + public AuditInfo AuditInfo { get; set; } + + /// + ///Properties of the commerce summary associated with a customer account, which includes details about the shopper's most recent order, wish lists, and total order value over time. + /// + public CommerceSummary CommerceSummary { get; set; } + /// ///The legal or doing business as (DBA) or tradestyle name of the business or organization. The maximum character length is 200. /// public string CompanyOrOrganization { get; set; } + /// + ///Contact information, including the contact's name, address, phone numbers, email addresses, and company (if supplied). Also indicates whether this is a billing, shipping, or billing and shipping contact. + /// + public List Contacts { get; set; } + /// ///The email address associated with the customer account. /// @@ -65,6 +85,16 @@ public class CustomerAccount /// public string LocaleCode { get; set; } + /// + ///List of customer account notes. + /// + public List Notes { get; set; } + + /// + ///List of customer segments associated with the customer account. Customer accounts can be members of any number of segments. + /// + public List Segments { get; set; } + /// ///If true, this customer account has tax exempt status. /// @@ -85,36 +115,6 @@ public class CustomerAccount /// public string UserName { get; set; } - /// - ///Collection of customer account attributes. - /// - public List Attributes { get; set; } - - /// - ///Identifier and datetime stamp information recorded when a user or application creates, updates, or deletes a resource entity. This value is system-supplied and read-only. - /// - public AuditInfo AuditInfo { get; set; } - - /// - ///Properties of the commerce summary associated with a customer account, which includes details about the shopper's most recent order, wish lists, and total order value over time. - /// - public CommerceSummary CommerceSummary { get; set; } - - /// - ///Contact information, including the contact's name, address, phone numbers, email addresses, and company (if supplied). Also indicates whether this is a billing, shipping, or billing and shipping contact. - /// - public List Contacts { get; set; } - - /// - ///List of customer account notes. - /// - public List Notes { get; set; } - - /// - ///List of customer segments associated with the customer account. Customer accounts can be members of any number of segments. - /// - public List Segments { get; set; } - } } \ No newline at end of file diff --git a/SDK/Mozu.Api/Contracts/Customer/CustomerAccountAndAuthInfo.cs b/SDK/Mozu.Api/Contracts/Customer/CustomerAccountAndAuthInfo.cs index c71ed545..f54a1862 100644 --- a/SDK/Mozu.Api/Contracts/Customer/CustomerAccountAndAuthInfo.cs +++ b/SDK/Mozu.Api/Contracts/Customer/CustomerAccountAndAuthInfo.cs @@ -18,6 +18,11 @@ namespace Mozu.Api.Contracts.Customer /// public class CustomerAccountAndAuthInfo { + /// + ///The unique identifier of the customer account. + /// + public CustomerAccount Account { get; set; } + /// ///If true, this customer account and its associated data was imported from an external source. /// @@ -28,11 +33,6 @@ public class CustomerAccountAndAuthInfo /// public string Password { get; set; } - /// - ///The unique identifier of the customer account. - /// - public CustomerAccount Account { get; set; } - } } \ No newline at end of file diff --git a/SDK/Mozu.Api/Contracts/Customer/CustomerAccountCollection.cs b/SDK/Mozu.Api/Contracts/Customer/CustomerAccountCollection.cs index 15cd1277..61f2cc30 100644 --- a/SDK/Mozu.Api/Contracts/Customer/CustomerAccountCollection.cs +++ b/SDK/Mozu.Api/Contracts/Customer/CustomerAccountCollection.cs @@ -19,6 +19,11 @@ namespace Mozu.Api.Contracts.Customer /// public class CustomerAccountCollection { + /// + ///An array list of objects in the returned collection. + /// + public List Items { get; set; } + /// ///The number of pages returned based on the startIndex and pageSize values specified. This value is system-supplied and read-only. /// @@ -36,11 +41,6 @@ public class CustomerAccountCollection /// public int TotalCount { get; set; } - /// - ///An array list of objects in the returned collection. - /// - public List Items { get; set; } - } } \ No newline at end of file diff --git a/SDK/Mozu.Api/Contracts/Customer/CustomerAttribute.cs b/SDK/Mozu.Api/Contracts/Customer/CustomerAttribute.cs index 7439e3cf..aa67dc4c 100644 --- a/SDK/Mozu.Api/Contracts/Customer/CustomerAttribute.cs +++ b/SDK/Mozu.Api/Contracts/Customer/CustomerAttribute.cs @@ -25,6 +25,11 @@ public class CustomerAttribute /// public int? AttributeDefinitionId { get; set; } + /// + ///Identifier and datetime stamp information recorded when a user or application creates, updates, or deletes a resource entity. This value is system-supplied and read-only. + /// + public AuditInfo AuditInfo { get; set; } + /// ///The fully qualified name of the attribute, which is a user defined attribute identifier. /// @@ -35,11 +40,6 @@ public class CustomerAttribute /// public List Values { get; set; } - /// - ///Identifier and datetime stamp information recorded when a user or application creates, updates, or deletes a resource entity. This value is system-supplied and read-only. - /// - public AuditInfo AuditInfo { get; set; } - } } \ No newline at end of file diff --git a/SDK/Mozu.Api/Contracts/Customer/CustomerAttributeCollection.cs b/SDK/Mozu.Api/Contracts/Customer/CustomerAttributeCollection.cs index 9dbca537..05542104 100644 --- a/SDK/Mozu.Api/Contracts/Customer/CustomerAttributeCollection.cs +++ b/SDK/Mozu.Api/Contracts/Customer/CustomerAttributeCollection.cs @@ -19,6 +19,11 @@ namespace Mozu.Api.Contracts.Customer /// public class CustomerAttributeCollection { + /// + ///An array list of objects in the returned collection. + /// + public List Items { get; set; } + /// ///The number of pages returned based on the startIndex and pageSize values specified. This value is system-supplied and read-only. /// @@ -39,11 +44,6 @@ public class CustomerAttributeCollection /// public int TotalCount { get; set; } - /// - ///An array list of objects in the returned collection. - /// - public List Items { get; set; } - } } \ No newline at end of file diff --git a/SDK/Mozu.Api/Contracts/Customer/CustomerAuthTicket.cs b/SDK/Mozu.Api/Contracts/Customer/CustomerAuthTicket.cs index ece0ca20..f7346657 100644 --- a/SDK/Mozu.Api/Contracts/Customer/CustomerAuthTicket.cs +++ b/SDK/Mozu.Api/Contracts/Customer/CustomerAuthTicket.cs @@ -28,6 +28,11 @@ public class CustomerAuthTicket /// public DateTime AccessTokenExpiration { get; set; } + /// + ///Properties of the customer account associated with the authentication ticket. + /// + public CustomerAccount CustomerAccount { get; set; } + /// ///Refresh token string used to generate a new access token after expiration for a customer account authentication ticket. /// @@ -43,11 +48,6 @@ public class CustomerAuthTicket /// public string UserId { get; set; } - /// - ///Properties of the customer account associated with the authentication ticket. - /// - public CustomerAccount CustomerAccount { get; set; } - } } \ No newline at end of file diff --git a/SDK/Mozu.Api/Contracts/Customer/CustomerContact.cs b/SDK/Mozu.Api/Contracts/Customer/CustomerContact.cs index 218dbf03..19a0e4e1 100644 --- a/SDK/Mozu.Api/Contracts/Customer/CustomerContact.cs +++ b/SDK/Mozu.Api/Contracts/Customer/CustomerContact.cs @@ -25,6 +25,16 @@ public class CustomerContact /// public int AccountId { get; set; } + /// + ///Address associated with the customer account contact. + /// + public Address Address { get; set; } + + /// + ///Identifier and datetime stamp information recorded when a user or application creates, updates, or deletes a resource entity. This value is system-supplied and read-only. + /// + public AuditInfo AuditInfo { get; set; } + /// ///The legal or doing business as (DBA) or tradestyle name of the business or organization. The maximum character length is 200. /// @@ -63,24 +73,14 @@ public class CustomerContact public string MiddleNameOrInitial { get; set; } /// - ///List of the types associated with a customer contact, such as Billing or Fulfillment. - /// - public List Types { get; set; } - - /// - ///Address associated with the customer account contact. - /// - public Address Address { get; set; } - - /// - ///Identifier and datetime stamp information recorded when a user or application creates, updates, or deletes a resource entity. This value is system-supplied and read-only. + ///List of phone numbers associated with the customer account contact. /// - public AuditInfo AuditInfo { get; set; } + public Phone PhoneNumbers { get; set; } /// - ///List of phone numbers associated with the customer account contact. + ///List of the types associated with a customer contact, such as Billing or Fulfillment. /// - public Phone PhoneNumbers { get; set; } + public List Types { get; set; } } diff --git a/SDK/Mozu.Api/Contracts/Customer/CustomerContactCollection.cs b/SDK/Mozu.Api/Contracts/Customer/CustomerContactCollection.cs index 318fd412..030989bc 100644 --- a/SDK/Mozu.Api/Contracts/Customer/CustomerContactCollection.cs +++ b/SDK/Mozu.Api/Contracts/Customer/CustomerContactCollection.cs @@ -19,6 +19,11 @@ namespace Mozu.Api.Contracts.Customer /// public class CustomerContactCollection { + /// + ///An array list of objects in the returned collection. + /// + public List Items { get; set; } + /// ///The number of pages returned based on the startIndex and pageSize values specified. This value is system-supplied and read-only. /// @@ -39,11 +44,6 @@ public class CustomerContactCollection /// public int TotalCount { get; set; } - /// - ///An array list of objects in the returned collection. - /// - public List Items { get; set; } - } } \ No newline at end of file diff --git a/SDK/Mozu.Api/Contracts/Customer/CustomerNote.cs b/SDK/Mozu.Api/Contracts/Customer/CustomerNote.cs index f434425a..04fb63a2 100644 --- a/SDK/Mozu.Api/Contracts/Customer/CustomerNote.cs +++ b/SDK/Mozu.Api/Contracts/Customer/CustomerNote.cs @@ -19,6 +19,11 @@ namespace Mozu.Api.Contracts.Customer /// public class CustomerNote { + /// + ///Identifier and datetime stamp information recorded when a user or application creates, updates, or deletes a resource entity. This value is system-supplied and read-only. + /// + public AuditInfo AuditInfo { get; set; } + /// ///The contents of a customer account note. /// @@ -29,11 +34,6 @@ public class CustomerNote /// public int Id { get; set; } - /// - ///Identifier and datetime stamp information recorded when a user or application creates, updates, or deletes a resource entity. This value is system-supplied and read-only. - /// - public AuditInfo AuditInfo { get; set; } - } } \ No newline at end of file diff --git a/SDK/Mozu.Api/Contracts/Customer/CustomerNoteCollection.cs b/SDK/Mozu.Api/Contracts/Customer/CustomerNoteCollection.cs index f5e13e21..d85fe54b 100644 --- a/SDK/Mozu.Api/Contracts/Customer/CustomerNoteCollection.cs +++ b/SDK/Mozu.Api/Contracts/Customer/CustomerNoteCollection.cs @@ -19,6 +19,11 @@ namespace Mozu.Api.Contracts.Customer /// public class CustomerNoteCollection { + /// + ///An array list of objects in the returned collection. + /// + public List Items { get; set; } + /// ///The number of pages returned based on the startIndex and pageSize values specified. This value is system-supplied and read-only. /// @@ -39,11 +44,6 @@ public class CustomerNoteCollection /// public int TotalCount { get; set; } - /// - ///An array list of objects in the returned collection. - /// - public List Items { get; set; } - } } \ No newline at end of file diff --git a/SDK/Mozu.Api/Contracts/Customer/CustomerSegment.cs b/SDK/Mozu.Api/Contracts/Customer/CustomerSegment.cs index 46c48e0c..925994a3 100644 --- a/SDK/Mozu.Api/Contracts/Customer/CustomerSegment.cs +++ b/SDK/Mozu.Api/Contracts/Customer/CustomerSegment.cs @@ -19,6 +19,8 @@ namespace Mozu.Api.Contracts.Customer /// public class CustomerSegment { + public AuditInfo AuditInfo { get; set; } + /// ///The user-defined code assigned for the customer segment. /// @@ -39,8 +41,6 @@ public class CustomerSegment /// public string Name { get; set; } - public AuditInfo AuditInfo { get; set; } - } } \ No newline at end of file diff --git a/SDK/Mozu.Api/Contracts/Customer/CustomerSegmentCollection.cs b/SDK/Mozu.Api/Contracts/Customer/CustomerSegmentCollection.cs index 120fa14a..508a8161 100644 --- a/SDK/Mozu.Api/Contracts/Customer/CustomerSegmentCollection.cs +++ b/SDK/Mozu.Api/Contracts/Customer/CustomerSegmentCollection.cs @@ -19,6 +19,8 @@ namespace Mozu.Api.Contracts.Customer /// public class CustomerSegmentCollection { + public List Items { get; set; } + public int PageCount { get; set; } /// @@ -36,8 +38,6 @@ public class CustomerSegmentCollection /// public int TotalCount { get; set; } - public List Items { get; set; } - } } \ No newline at end of file diff --git a/SDK/Mozu.Api/Contracts/Customer/InStockNotificationSubscription.cs b/SDK/Mozu.Api/Contracts/Customer/InStockNotificationSubscription.cs index f86c6921..c3dae9b7 100644 --- a/SDK/Mozu.Api/Contracts/Customer/InStockNotificationSubscription.cs +++ b/SDK/Mozu.Api/Contracts/Customer/InStockNotificationSubscription.cs @@ -19,6 +19,11 @@ namespace Mozu.Api.Contracts.Customer /// public class InStockNotificationSubscription { + /// + ///Identifier and datetime stamp information recorded when a user or application creates, updates, or deletes a resource entity. This value is system-supplied and read-only. + /// + public AuditInfo AuditInfo { get; set; } + /// ///Unique identifier of the customer associated with the in-stock notification subscription. /// @@ -44,11 +49,6 @@ public class InStockNotificationSubscription /// public string ProductCode { get; set; } - /// - ///Identifier and datetime stamp information recorded when a user or application creates, updates, or deletes a resource entity. This value is system-supplied and read-only. - /// - public AuditInfo AuditInfo { get; set; } - } } \ No newline at end of file diff --git a/SDK/Mozu.Api/Contracts/Customer/InStockNotificationSubscriptionCollection.cs b/SDK/Mozu.Api/Contracts/Customer/InStockNotificationSubscriptionCollection.cs index 24e8213e..e180d200 100644 --- a/SDK/Mozu.Api/Contracts/Customer/InStockNotificationSubscriptionCollection.cs +++ b/SDK/Mozu.Api/Contracts/Customer/InStockNotificationSubscriptionCollection.cs @@ -19,6 +19,11 @@ namespace Mozu.Api.Contracts.Customer /// public class InStockNotificationSubscriptionCollection { + /// + ///An array list of objects in the returned collection. + /// + public List Items { get; set; } + /// ///The number of pages returned based on the startIndex and pageSize values specified. This value is system-supplied and read-only. /// @@ -39,11 +44,6 @@ public class InStockNotificationSubscriptionCollection /// public int TotalCount { get; set; } - /// - ///An array list of objects in the returned collection. - /// - public List Items { get; set; } - } } \ No newline at end of file diff --git a/SDK/Mozu.Api/Contracts/Customer/Visit.cs b/SDK/Mozu.Api/Contracts/Customer/Visit.cs index ab52ef83..6d16e3b8 100644 --- a/SDK/Mozu.Api/Contracts/Customer/Visit.cs +++ b/SDK/Mozu.Api/Contracts/Customer/Visit.cs @@ -44,6 +44,11 @@ public class Visit /// public string LocationCode { get; set; } + /// + ///Array list of transactions the customer performed during the visit. A customer can perform multiple transactions in a single visit, or the visit can have no associated transactions. + /// + public List Transactions { get; set; } + /// ///The type of customer visit, which is "Website," "Store," "Call," or "Unknown." /// @@ -74,11 +79,6 @@ public class Visit /// public string WebUserAgent { get; set; } - /// - ///Array list of transactions the customer performed during the visit. A customer can perform multiple transactions in a single visit, or the visit can have no associated transactions. - /// - public List Transactions { get; set; } - } } \ No newline at end of file diff --git a/SDK/Mozu.Api/Contracts/Customer/VisitCollection.cs b/SDK/Mozu.Api/Contracts/Customer/VisitCollection.cs index 876f6d75..04c2f252 100644 --- a/SDK/Mozu.Api/Contracts/Customer/VisitCollection.cs +++ b/SDK/Mozu.Api/Contracts/Customer/VisitCollection.cs @@ -19,6 +19,11 @@ namespace Mozu.Api.Contracts.Customer /// public class VisitCollection { + /// + ///An array list of objects in the returned collection. + /// + public List Items { get; set; } + /// ///The number of pages returned based on the startIndex and pageSize values specified. This value is system-supplied and read-only. /// @@ -39,11 +44,6 @@ public class VisitCollection /// public int TotalCount { get; set; } - /// - ///An array list of objects in the returned collection. - /// - public List Items { get; set; } - } } \ No newline at end of file diff --git a/SDK/Mozu.Api/Contracts/Event/Event.cs b/SDK/Mozu.Api/Contracts/Event/Event.cs index f5a65f00..b79926e4 100644 --- a/SDK/Mozu.Api/Contracts/Event/Event.cs +++ b/SDK/Mozu.Api/Contracts/Event/Event.cs @@ -20,6 +20,11 @@ namespace Mozu.Api.Contracts.Event /// public class Event { + /// + ///Identifier and datetime stamp information recorded when a user or application creates, updates, or deletes a resource entity. This value is system-supplied and read-only. + /// + public AuditInfo AuditInfo { get; set; } + /// ///The unique identifier of the catalog of products used by a site. /// @@ -35,6 +40,8 @@ public class Event /// public string EntityId { get; set; } + public List ExtendedProperties { get; set; } + /// ///The unique identifier of the event. /// @@ -62,13 +69,6 @@ public class Event /// public string Topic { get; set; } - /// - ///Identifier and datetime stamp information recorded when a user or application creates, updates, or deletes a resource entity. This value is system-supplied and read-only. - /// - public AuditInfo AuditInfo { get; set; } - - public List ExtendedProperties { get; set; } - } } \ No newline at end of file diff --git a/SDK/Mozu.Api/Contracts/Event/EventCollection.cs b/SDK/Mozu.Api/Contracts/Event/EventCollection.cs index 119463fe..61cf2451 100644 --- a/SDK/Mozu.Api/Contracts/Event/EventCollection.cs +++ b/SDK/Mozu.Api/Contracts/Event/EventCollection.cs @@ -19,6 +19,11 @@ namespace Mozu.Api.Contracts.Event /// public class EventCollection { + /// + ///An array list of objects in the returned collection. + /// + public List Items { get; set; } + /// ///The number of pages returned based on the startIndex and pageSize values specified. This value is system-supplied and read-only. /// @@ -36,11 +41,6 @@ public class EventCollection /// public int TotalCount { get; set; } - /// - ///An array list of objects in the returned collection. - /// - public List Items { get; set; } - } } \ No newline at end of file diff --git a/SDK/Mozu.Api/Contracts/Event/EventDeliveryAttempt.cs b/SDK/Mozu.Api/Contracts/Event/EventDeliveryAttempt.cs index 26b50d20..c3b5a81b 100644 --- a/SDK/Mozu.Api/Contracts/Event/EventDeliveryAttempt.cs +++ b/SDK/Mozu.Api/Contracts/Event/EventDeliveryAttempt.cs @@ -21,10 +21,10 @@ public class EventDeliveryAttempt public DateTime? ExecutionDate { get; set; } - public string Message { get; set; } - public HttpStatus HttpStatus { get; set; } + public string Message { get; set; } + } } \ No newline at end of file diff --git a/SDK/Mozu.Api/Contracts/Event/EventDeliverySummary.cs b/SDK/Mozu.Api/Contracts/Event/EventDeliverySummary.cs index 9c390500..4840a351 100644 --- a/SDK/Mozu.Api/Contracts/Event/EventDeliverySummary.cs +++ b/SDK/Mozu.Api/Contracts/Event/EventDeliverySummary.cs @@ -18,8 +18,12 @@ public class EventDeliverySummary { public DateTime? CreateDate { get; set; } + public List DeliveryAttempts { get; set; } + public string DeliveryStatus { get; set; } + public EventSummary EventSummary { get; set; } + public int? Id { get; set; } public bool IsRunning { get; set; } @@ -32,10 +36,6 @@ public class EventDeliverySummary public DateTime? UpdateDate { get; set; } - public List DeliveryAttempts { get; set; } - - public EventSummary EventSummary { get; set; } - } } \ No newline at end of file diff --git a/SDK/Mozu.Api/Contracts/Event/EventDeliverySummaryCollection.cs b/SDK/Mozu.Api/Contracts/Event/EventDeliverySummaryCollection.cs index b94e9557..2b4068bf 100644 --- a/SDK/Mozu.Api/Contracts/Event/EventDeliverySummaryCollection.cs +++ b/SDK/Mozu.Api/Contracts/Event/EventDeliverySummaryCollection.cs @@ -16,6 +16,8 @@ namespace Mozu.Api.Contracts.Event { public class EventDeliverySummaryCollection { + public List Items { get; set; } + public int PageCount { get; set; } public int PageSize { get; set; } @@ -24,8 +26,6 @@ public class EventDeliverySummaryCollection public int TotalCount { get; set; } - public List Items { get; set; } - } } \ No newline at end of file diff --git a/SDK/Mozu.Api/Contracts/Event/EventSummary.cs b/SDK/Mozu.Api/Contracts/Event/EventSummary.cs index 85579530..597835b0 100644 --- a/SDK/Mozu.Api/Contracts/Event/EventSummary.cs +++ b/SDK/Mozu.Api/Contracts/Event/EventSummary.cs @@ -26,6 +26,8 @@ public class EventSummary public string EventId { get; set; } + public List ExtendedProperties { get; set; } + public int? MasterCatalogId { get; set; } public int? SiteId { get; set; } @@ -37,8 +39,6 @@ public class EventSummary public string Topic { get; set; } - public List ExtendedProperties { get; set; } - } } \ No newline at end of file diff --git a/SDK/Mozu.Api/Contracts/Event/SubscribingSite.cs b/SDK/Mozu.Api/Contracts/Event/SubscribingSite.cs index cae55203..4a82260f 100644 --- a/SDK/Mozu.Api/Contracts/Event/SubscribingSite.cs +++ b/SDK/Mozu.Api/Contracts/Event/SubscribingSite.cs @@ -16,6 +16,11 @@ namespace Mozu.Api.Contracts.Event { public class SubscribingSite { + /// + ///Identifier and datetime stamp information recorded when a user or application creates, updates, or deletes a resource entity. This value is system-supplied and read-only. + /// + public AuditInfo AuditInfo { get; set; } + /// ///This specifies if the subscription is active at the site level. /// @@ -23,11 +28,6 @@ public class SubscribingSite public int? SiteId { get; set; } - /// - ///Identifier and datetime stamp information recorded when a user or application creates, updates, or deletes a resource entity. This value is system-supplied and read-only. - /// - public AuditInfo AuditInfo { get; set; } - } } \ No newline at end of file diff --git a/SDK/Mozu.Api/Contracts/Event/SubscribingTenant.cs b/SDK/Mozu.Api/Contracts/Event/SubscribingTenant.cs index 7fabf86e..dfca957c 100644 --- a/SDK/Mozu.Api/Contracts/Event/SubscribingTenant.cs +++ b/SDK/Mozu.Api/Contracts/Event/SubscribingTenant.cs @@ -20,6 +20,11 @@ namespace Mozu.Api.Contracts.Event /// public class SubscribingTenant { + /// + ///Identifier and datetime stamp information recorded when a user or application creates, updates, or deletes a resource entity. This value is system-supplied and read-only. + /// + public AuditInfo AuditInfo { get; set; } + /// ///This specifies if the subscription is active at the tenant level. If the subscription context is at the tenant level, this property is used over the site level. /// @@ -31,19 +36,14 @@ public class SubscribingTenant public string SubscribingContextLevelType { get; set; } /// - ///This specifies the tenant identifier. - /// - public int? TenantId { get; set; } - - /// - ///Identifier and datetime stamp information recorded when a user or application creates, updates, or deletes a resource entity. This value is system-supplied and read-only. + ///This specifies the subscribing sites. /// - public AuditInfo AuditInfo { get; set; } + public List SubscribingSites { get; set; } /// - ///This specifies the subscribing sites. + ///This specifies the tenant identifier. /// - public List SubscribingSites { get; set; } + public int? TenantId { get; set; } } diff --git a/SDK/Mozu.Api/Contracts/Event/Subscription.cs b/SDK/Mozu.Api/Contracts/Event/Subscription.cs index c144b941..c897b831 100644 --- a/SDK/Mozu.Api/Contracts/Event/Subscription.cs +++ b/SDK/Mozu.Api/Contracts/Event/Subscription.cs @@ -38,17 +38,17 @@ public class Subscription public string NotificationDeliveryType { get; set; } + /// + ///This is a tenant that is associated with a subscription. + /// + public List SubscribingTenants { get; set; } + public List Topics { get; set; } public string UpdateBy { get; set; } public DateTime? UpdateDate { get; set; } - /// - ///This is a tenant that is associated with a subscription. - /// - public List SubscribingTenants { get; set; } - } } \ No newline at end of file diff --git a/SDK/Mozu.Api/Contracts/Event/SubscriptionCollection.cs b/SDK/Mozu.Api/Contracts/Event/SubscriptionCollection.cs index 563f095e..5e47c6d7 100644 --- a/SDK/Mozu.Api/Contracts/Event/SubscriptionCollection.cs +++ b/SDK/Mozu.Api/Contracts/Event/SubscriptionCollection.cs @@ -16,6 +16,8 @@ namespace Mozu.Api.Contracts.Event { public class SubscriptionCollection { + public List Items { get; set; } + public int PageCount { get; set; } public int PageSize { get; set; } @@ -24,8 +26,6 @@ public class SubscriptionCollection public int TotalCount { get; set; } - public List Items { get; set; } - } } \ No newline at end of file diff --git a/SDK/Mozu.Api/Contracts/InstalledApplications/Application.cs b/SDK/Mozu.Api/Contracts/InstalledApplications/Application.cs index 2fcb65cf..73cfd8f0 100644 --- a/SDK/Mozu.Api/Contracts/InstalledApplications/Application.cs +++ b/SDK/Mozu.Api/Contracts/InstalledApplications/Application.cs @@ -24,6 +24,11 @@ public class Application /// public string AppId { get; set; } + /// + ///List of capabilities installed in a tenant. + /// + public List Capabilities { get; set; } + /// ///If true, the application is enabled for the tenant. System-supplied and read-only. /// @@ -44,11 +49,6 @@ public class Application /// public string UiConfigurationUrl { get; set; } - /// - ///List of capabilities installed in a tenant. - /// - public List Capabilities { get; set; } - } } \ No newline at end of file diff --git a/SDK/Mozu.Api/Contracts/InstalledApplications/Capability.cs b/SDK/Mozu.Api/Contracts/InstalledApplications/Capability.cs index a8d81fd1..9d3e213e 100644 --- a/SDK/Mozu.Api/Contracts/InstalledApplications/Capability.cs +++ b/SDK/Mozu.Api/Contracts/InstalledApplications/Capability.cs @@ -25,6 +25,11 @@ public class Capability /// public List ActiveCreditTypes { get; set; } + /// + ///Array list of the countries to which this capability can actively ship. + /// + public List ActiveShippingCountries { get; set; } + /// ///Array list of the countries for which this capability can actively shop. /// @@ -55,6 +60,11 @@ public class Capability /// public bool? Initialized { get; set; } + /// + ///Array list of URL endpoints for the operations associated with this capability. + /// + public List OperationUrls { get; set; } + /// ///Unique identifier of the developer account or tenant associated for which the capability is entitled. /// @@ -65,16 +75,6 @@ public class Capability /// public string ScopeType { get; set; } - /// - ///Array list of the countries to which this capability can actively ship. - /// - public List ActiveShippingCountries { get; set; } - - /// - ///Array list of URL endpoints for the operations associated with this capability. - /// - public List OperationUrls { get; set; } - /// ///List of credit types this capability supports. /// diff --git a/SDK/Mozu.Api/Contracts/Location/Location.cs b/SDK/Mozu.Api/Contracts/Location/Location.cs index ebfcab96..959c356a 100644 --- a/SDK/Mozu.Api/Contracts/Location/Location.cs +++ b/SDK/Mozu.Api/Contracts/Location/Location.cs @@ -20,6 +20,13 @@ namespace Mozu.Api.Contracts.Location /// public class Location { + /// + ///The physical address properties of the location. + /// + public Address Address { get; set; } + + public AuditInfo AuditInfo { get; set; } + /// ///User-defined code to assign to this location. /// @@ -36,61 +43,54 @@ public class Location public string Fax { get; set; } /// - ///The user-defined name of the location. - /// - public string Name { get; set; } - - /// - ///Any tenant-defined notes associated with this location. + ///List of order fulfillment types associated with this location. The location can have fulfillment types of direct ship (DS), in-store pickup (SP), or both. /// - public string Note { get; set; } + public List FulfillmentTypes { get; set; } /// - ///The phone number associated with this location. + ///The geographical coordinates associated with this location. /// - public string Phone { get; set; } + public Coordinates Geo { get; set; } /// - ///If true, this location maintains its own product inventory. If the location uses the direct ship fulfillment type, it must also support inventory. + ///List of location types associated with this location. You can associate individual locations with any number of location types. /// - public bool SupportsInventory { get; set; } + public List LocationTypes { get; set; } /// - ///List of tenant-defined tags associated with this location. + ///The user-defined name of the location. /// - public List Tags { get; set; } + public string Name { get; set; } /// - ///The physical address properties of the location. + ///Any tenant-defined notes associated with this location. /// - public Address Address { get; set; } - - public AuditInfo AuditInfo { get; set; } + public string Note { get; set; } /// - ///List of order fulfillment types associated with this location. The location can have fulfillment types of direct ship (DS), in-store pickup (SP), or both. + ///The phone number associated with this location. /// - public List FulfillmentTypes { get; set; } + public string Phone { get; set; } /// - ///The geographical coordinates associated with this location. + ///List of standard operating hours for each day of the week this location is open for shopper business. /// - public Coordinates Geo { get; set; } + public RegularHours RegularHours { get; set; } /// - ///List of location types associated with this location. You can associate individual locations with any number of location types. + ///Properties of a fulfillment contact for the shipping origin address associated with a location. /// - public List LocationTypes { get; set; } + public ShippingOriginContact ShippingOriginContact { get; set; } /// - ///List of standard operating hours for each day of the week this location is open for shopper business. + ///If true, this location maintains its own product inventory. If the location uses the direct ship fulfillment type, it must also support inventory. /// - public RegularHours RegularHours { get; set; } + public bool SupportsInventory { get; set; } /// - ///Properties of a fulfillment contact for the shipping origin address associated with a location. + ///List of tenant-defined tags associated with this location. /// - public ShippingOriginContact ShippingOriginContact { get; set; } + public List Tags { get; set; } } diff --git a/SDK/Mozu.Api/Contracts/Location/LocationCollection.cs b/SDK/Mozu.Api/Contracts/Location/LocationCollection.cs index 3def4d01..ab612ce7 100644 --- a/SDK/Mozu.Api/Contracts/Location/LocationCollection.cs +++ b/SDK/Mozu.Api/Contracts/Location/LocationCollection.cs @@ -19,6 +19,11 @@ namespace Mozu.Api.Contracts.Location /// public class LocationCollection { + /// + ///An array list of objects in the returned collection. + /// + public List Items { get; set; } + /// ///The number of pages returned based on the startIndex and pageSize values specified. This value is system-supplied and read-only. /// @@ -39,11 +44,6 @@ public class LocationCollection /// public int TotalCount { get; set; } - /// - ///An array list of objects in the returned collection. - /// - public List Items { get; set; } - } } \ No newline at end of file diff --git a/SDK/Mozu.Api/Contracts/Location/LocationType.cs b/SDK/Mozu.Api/Contracts/Location/LocationType.cs index 1616c214..74df5b6d 100644 --- a/SDK/Mozu.Api/Contracts/Location/LocationType.cs +++ b/SDK/Mozu.Api/Contracts/Location/LocationType.cs @@ -19,6 +19,8 @@ namespace Mozu.Api.Contracts.Location /// public class LocationType { + public AuditInfo AuditInfo { get; set; } + /// ///User-defined identifying code for the location type. /// @@ -29,8 +31,6 @@ public class LocationType /// public string Name { get; set; } - public AuditInfo AuditInfo { get; set; } - } } \ No newline at end of file diff --git a/SDK/Mozu.Api/Contracts/Location/LocationUsage.cs b/SDK/Mozu.Api/Contracts/Location/LocationUsage.cs index d683587f..74d834f6 100644 --- a/SDK/Mozu.Api/Contracts/Location/LocationUsage.cs +++ b/SDK/Mozu.Api/Contracts/Location/LocationUsage.cs @@ -20,6 +20,8 @@ namespace Mozu.Api.Contracts.Location /// public class LocationUsage { + public AuditInfo AuditInfo { get; set; } + /// ///List of location codes to associate with the location usage. At this time, you can only specify one location code in the request for the direct ship location usage type. /// @@ -35,8 +37,6 @@ public class LocationUsage /// public string LocationUsageTypeCode { get; set; } - public AuditInfo AuditInfo { get; set; } - } } \ No newline at end of file diff --git a/SDK/Mozu.Api/Contracts/Location/LocationUsageCollection.cs b/SDK/Mozu.Api/Contracts/Location/LocationUsageCollection.cs index e7df57eb..8b81d404 100644 --- a/SDK/Mozu.Api/Contracts/Location/LocationUsageCollection.cs +++ b/SDK/Mozu.Api/Contracts/Location/LocationUsageCollection.cs @@ -20,14 +20,14 @@ namespace Mozu.Api.Contracts.Location public class LocationUsageCollection { /// - ///The number of results listed in the query collection, represented by a signed 64-bit (8-byte) integer. This value is system-supplied and read-only. + ///An array list of objects in the returned collection. /// - public int TotalCount { get; set; } + public List Items { get; set; } /// - ///An array list of objects in the returned collection. + ///The number of results listed in the query collection, represented by a signed 64-bit (8-byte) integer. This value is system-supplied and read-only. /// - public List Items { get; set; } + public int TotalCount { get; set; } } diff --git a/SDK/Mozu.Api/Contracts/MZDB/EntityCollection.cs b/SDK/Mozu.Api/Contracts/MZDB/EntityCollection.cs index a82f34ae..24558007 100644 --- a/SDK/Mozu.Api/Contracts/MZDB/EntityCollection.cs +++ b/SDK/Mozu.Api/Contracts/MZDB/EntityCollection.cs @@ -18,6 +18,8 @@ namespace Mozu.Api.Contracts.MZDB { public class EntityCollection { + public List Items { get; set; } + public int PageCount { get; set; } public int PageSize { get; set; } @@ -26,8 +28,6 @@ public class EntityCollection public int TotalCount { get; set; } - public List Items { get; set; } - } } \ No newline at end of file diff --git a/SDK/Mozu.Api/Contracts/MZDB/EntityContainer.cs b/SDK/Mozu.Api/Contracts/MZDB/EntityContainer.cs index cb9cf085..99b85962 100644 --- a/SDK/Mozu.Api/Contracts/MZDB/EntityContainer.cs +++ b/SDK/Mozu.Api/Contracts/MZDB/EntityContainer.cs @@ -25,6 +25,8 @@ public class EntityContainer public string Id { get; set; } + public JObject Item { get; set; } + public string ListFullName { get; set; } /// @@ -47,8 +49,6 @@ public class EntityContainer public string UserId { get; set; } - public JObject Item { get; set; } - } } \ No newline at end of file diff --git a/SDK/Mozu.Api/Contracts/MZDB/EntityContainerCollection.cs b/SDK/Mozu.Api/Contracts/MZDB/EntityContainerCollection.cs index 770e2e25..6d8c836d 100644 --- a/SDK/Mozu.Api/Contracts/MZDB/EntityContainerCollection.cs +++ b/SDK/Mozu.Api/Contracts/MZDB/EntityContainerCollection.cs @@ -16,6 +16,8 @@ namespace Mozu.Api.Contracts.MZDB { public class EntityContainerCollection { + public List Items { get; set; } + public int PageCount { get; set; } public int PageSize { get; set; } @@ -24,8 +26,6 @@ public class EntityContainerCollection public int TotalCount { get; set; } - public List Items { get; set; } - } } \ No newline at end of file diff --git a/SDK/Mozu.Api/Contracts/MZDB/EntityList.cs b/SDK/Mozu.Api/Contracts/MZDB/EntityList.cs index 83c3416e..2645319d 100644 --- a/SDK/Mozu.Api/Contracts/MZDB/EntityList.cs +++ b/SDK/Mozu.Api/Contracts/MZDB/EntityList.cs @@ -22,6 +22,16 @@ public class EntityList public DateTime CreateDate { get; set; } + public IndexedProperty IdProperty { get; set; } + + public IndexedProperty IndexA { get; set; } + + public IndexedProperty IndexB { get; set; } + + public IndexedProperty IndexC { get; set; } + + public IndexedProperty IndexD { get; set; } + public bool IsLocaleSpecific { get; set; } public bool IsSandboxDataCloningSupported { get; set; } @@ -30,6 +40,8 @@ public class EntityList public bool IsVisibleInStorefront { get; set; } + public JObject Metadata { get; set; } + public string Name { get; set; } public string NameSpace { get; set; } @@ -45,18 +57,6 @@ public class EntityList public bool UseSystemAssignedId { get; set; } - public IndexedProperty IdProperty { get; set; } - - public IndexedProperty IndexA { get; set; } - - public IndexedProperty IndexB { get; set; } - - public IndexedProperty IndexC { get; set; } - - public IndexedProperty IndexD { get; set; } - - public JObject Metadata { get; set; } - public List Views { get; set; } } diff --git a/SDK/Mozu.Api/Contracts/MZDB/EntityListCollection.cs b/SDK/Mozu.Api/Contracts/MZDB/EntityListCollection.cs index e961a707..a125c4a6 100644 --- a/SDK/Mozu.Api/Contracts/MZDB/EntityListCollection.cs +++ b/SDK/Mozu.Api/Contracts/MZDB/EntityListCollection.cs @@ -16,6 +16,8 @@ namespace Mozu.Api.Contracts.MZDB { public class EntityListCollection { + public List Items { get; set; } + public int PageCount { get; set; } public int PageSize { get; set; } @@ -24,8 +26,6 @@ public class EntityListCollection public int TotalCount { get; set; } - public List Items { get; set; } - } } \ No newline at end of file diff --git a/SDK/Mozu.Api/Contracts/MZDB/ListView.cs b/SDK/Mozu.Api/Contracts/MZDB/ListView.cs index 5672076b..96c74ed5 100644 --- a/SDK/Mozu.Api/Contracts/MZDB/ListView.cs +++ b/SDK/Mozu.Api/Contracts/MZDB/ListView.cs @@ -20,21 +20,21 @@ public class ListView { public string DefaultSort { get; set; } + public List Fields { get; set; } + /// ///A set of expressions that consist of a field, operator, and value and represent search parameter syntax when filtering results of a query. Valid operators include equals (eq), does not equal (ne), greater than (gt), less than (lt), greater than or equal to (ge), less than or equal to (le), starts with (sw), or contains (cont). For example - "filter=IsDisplayed+eq+true" /// public string Filter { get; set; } + public JObject MetaData { get; set; } + public string Name { get; set; } public string Security { get; set; } public List Usages { get; set; } - public List Fields { get; set; } - - public JObject MetaData { get; set; } - } } \ No newline at end of file diff --git a/SDK/Mozu.Api/Contracts/MZDB/ListViewCollection.cs b/SDK/Mozu.Api/Contracts/MZDB/ListViewCollection.cs index 396eeaa8..01f8f921 100644 --- a/SDK/Mozu.Api/Contracts/MZDB/ListViewCollection.cs +++ b/SDK/Mozu.Api/Contracts/MZDB/ListViewCollection.cs @@ -16,6 +16,8 @@ namespace Mozu.Api.Contracts.MZDB { public class ListViewCollection { + public List Items { get; set; } + public int PageCount { get; set; } public int PageSize { get; set; } @@ -24,8 +26,6 @@ public class ListViewCollection public int TotalCount { get; set; } - public List Items { get; set; } - } } \ No newline at end of file diff --git a/SDK/Mozu.Api/Contracts/PaymentService/GatewayAccount.cs b/SDK/Mozu.Api/Contracts/PaymentService/GatewayAccount.cs index ef015212..81e2712d 100644 --- a/SDK/Mozu.Api/Contracts/PaymentService/GatewayAccount.cs +++ b/SDK/Mozu.Api/Contracts/PaymentService/GatewayAccount.cs @@ -24,6 +24,11 @@ public class GatewayAccount /// public string CountryCode { get; set; } + /// + ///List of credential fields for the payment gateway account. + /// + public List CredentialFields { get; set; } + /// ///Identifier of the payment gateway. /// @@ -39,11 +44,6 @@ public class GatewayAccount /// public bool IsActive { get; set; } - /// - ///List of credential fields for the payment gateway account. - /// - public List CredentialFields { get; set; } - } } \ No newline at end of file diff --git a/SDK/Mozu.Api/Contracts/PaymentService/GatewayDefinition.cs b/SDK/Mozu.Api/Contracts/PaymentService/GatewayDefinition.cs index fd231b49..76e74ff7 100644 --- a/SDK/Mozu.Api/Contracts/PaymentService/GatewayDefinition.cs +++ b/SDK/Mozu.Api/Contracts/PaymentService/GatewayDefinition.cs @@ -24,6 +24,11 @@ public class GatewayDefinition /// public string CountryCode { get; set; } + /// + ///Credential fields for the payment gateway. For security purposes, Mozu does not return these credential fields. + /// + public List CredentialDefinitions { get; set; } + /// ///Unique identifier of the payment gateway definition. /// @@ -40,29 +45,24 @@ public class GatewayDefinition public string Name { get; set; } /// - ///URL of the production payment service. - /// - public string ProdServiceURL { get; set; } - - /// - ///URL of the test payment service environment. + ///Definition of the preauthorization gateway. /// - public string TestServiceURL { get; set; } + public PreAuthorizeDefinition PreAuthorizeDefinition { get; set; } /// - ///Credential fields for the payment gateway. For security purposes, Mozu does not return these credential fields. + ///URL of the production payment service. /// - public List CredentialDefinitions { get; set; } + public string ProdServiceURL { get; set; } /// - ///Definition of the preauthorization gateway. + ///The types of credit cards supported by this payment gateway. /// - public PreAuthorizeDefinition PreAuthorizeDefinition { get; set; } + public List SupportedCards { get; set; } /// - ///The types of credit cards supported by this payment gateway. + ///URL of the test payment service environment. /// - public List SupportedCards { get; set; } + public string TestServiceURL { get; set; } } diff --git a/SDK/Mozu.Api/Contracts/PricingRuntime/ProductProperty.cs b/SDK/Mozu.Api/Contracts/PricingRuntime/ProductProperty.cs index 415949e4..d23793dd 100644 --- a/SDK/Mozu.Api/Contracts/PricingRuntime/ProductProperty.cs +++ b/SDK/Mozu.Api/Contracts/PricingRuntime/ProductProperty.cs @@ -19,6 +19,11 @@ namespace Mozu.Api.Contracts.PricingRuntime /// public class ProductProperty { + /// + ///Details of a product attribute. + /// + public ProductAttribute AttributeDetail { get; set; } + /// ///The fully qualified name of the attribute, which is a user defined attribute identifier. /// @@ -34,11 +39,6 @@ public class ProductProperty /// public bool? IsMultiValue { get; set; } - /// - ///Details of a product attribute. - /// - public ProductAttribute AttributeDetail { get; set; } - /// ///List of values predefined for the product property attribute. /// diff --git a/SDK/Mozu.Api/Contracts/PricingRuntime/TaxContext.cs b/SDK/Mozu.Api/Contracts/PricingRuntime/TaxContext.cs index ffbc3c6a..24e5c994 100644 --- a/SDK/Mozu.Api/Contracts/PricingRuntime/TaxContext.cs +++ b/SDK/Mozu.Api/Contracts/PricingRuntime/TaxContext.cs @@ -25,24 +25,24 @@ public class TaxContext public string CustomerId { get; set; } /// - ///Unique identifier of the tax context. + ///The address to which the order ships. /// - public string TaxContextId { get; set; } + public Address DestinationAddress { get; set; } /// - ///If the order is exempt from sales tax, the unique identifier of the tax exempt entity. + ///The address from which the order ships. /// - public string TaxExemptId { get; set; } + public Address OriginAddress { get; set; } /// - ///The address to which the order ships. + ///Unique identifier of the tax context. /// - public Address DestinationAddress { get; set; } + public string TaxContextId { get; set; } /// - ///The address from which the order ships. + ///If the order is exempt from sales tax, the unique identifier of the tax exempt entity. /// - public Address OriginAddress { get; set; } + public string TaxExemptId { get; set; } } diff --git a/SDK/Mozu.Api/Contracts/PricingRuntime/TaxableLineItem.cs b/SDK/Mozu.Api/Contracts/PricingRuntime/TaxableLineItem.cs index b9d19881..acc13fc5 100644 --- a/SDK/Mozu.Api/Contracts/PricingRuntime/TaxableLineItem.cs +++ b/SDK/Mozu.Api/Contracts/PricingRuntime/TaxableLineItem.cs @@ -44,6 +44,11 @@ public class TaxableLineItem /// public string ProductName { get; set; } + /// + ///Properties of the product that represents the line item in the order. + /// + public List ProductProperties { get; set; } + /// ///The quantity of the line item in the order. /// @@ -59,11 +64,6 @@ public class TaxableLineItem /// public decimal ShippingAmount { get; set; } - /// - ///Properties of the product that represents the line item in the order. - /// - public List ProductProperties { get; set; } - } } \ No newline at end of file diff --git a/SDK/Mozu.Api/Contracts/PricingRuntime/TaxableOrder.cs b/SDK/Mozu.Api/Contracts/PricingRuntime/TaxableOrder.cs index 637cb43d..88e3f088 100644 --- a/SDK/Mozu.Api/Contracts/PricingRuntime/TaxableOrder.cs +++ b/SDK/Mozu.Api/Contracts/PricingRuntime/TaxableOrder.cs @@ -29,6 +29,11 @@ public class TaxableOrder /// public decimal HandlingFee { get; set; } + /// + ///The line items associated with the order. + /// + public List LineItems { get; set; } + /// ///The date and time the order was submitted. /// @@ -50,19 +55,14 @@ public class TaxableOrder public decimal ShippingAmount { get; set; } /// - ///The type of request for which to tax this entity, which is "Order" or "Return." - /// - public string TaxRequestType { get; set; } - - /// - ///The line items associated with the order. + ///The tax properties associated with the order. /// - public List LineItems { get; set; } + public TaxContext TaxContext { get; set; } /// - ///The tax properties associated with the order. + ///The type of request for which to tax this entity, which is "Order" or "Return." /// - public TaxContext TaxContext { get; set; } + public string TaxRequestType { get; set; } } diff --git a/SDK/Mozu.Api/Contracts/PricingRuntime/ThirdParty/OrderTaxContext.cs b/SDK/Mozu.Api/Contracts/PricingRuntime/ThirdParty/OrderTaxContext.cs index 7587efa0..bd585ba5 100644 --- a/SDK/Mozu.Api/Contracts/PricingRuntime/ThirdParty/OrderTaxContext.cs +++ b/SDK/Mozu.Api/Contracts/PricingRuntime/ThirdParty/OrderTaxContext.cs @@ -24,6 +24,11 @@ public class OrderTaxContext /// public decimal HandlingFeeTax { get; set; } + /// + ///Properties of the tax context applicable for line items in an order. + /// + public List ItemTaxContexts { get; set; } + /// ///Tax amount applied to the order. /// @@ -34,11 +39,6 @@ public class OrderTaxContext /// public decimal ShippingTax { get; set; } - /// - ///Properties of the tax context applicable for line items in an order. - /// - public List ItemTaxContexts { get; set; } - } } \ No newline at end of file diff --git a/SDK/Mozu.Api/Contracts/PricingRuntime/ThirdParty/TaxContext.cs b/SDK/Mozu.Api/Contracts/PricingRuntime/ThirdParty/TaxContext.cs index f903758a..62e4e623 100644 --- a/SDK/Mozu.Api/Contracts/PricingRuntime/ThirdParty/TaxContext.cs +++ b/SDK/Mozu.Api/Contracts/PricingRuntime/ThirdParty/TaxContext.cs @@ -25,29 +25,29 @@ public class TaxContext public string CustomerId { get; set; } /// - ///Unique identifier of the tax context. + ///The address to which item in the order will ship. /// - public string TaxContextId { get; set; } + public Address DestinationAddress { get; set; } /// - ///If the order is exempt from sales tax, the unique identifier of the tax exempt entity. + ///The address from which the item in the order will ship. /// - public string TaxExemptId { get; set; } + public Address OriginAddress { get; set; } /// - ///The taxable amount that can be levied against shipping charges. + ///Unique identifier of the tax context. /// - public bool? TaxShipping { get; set; } + public string TaxContextId { get; set; } /// - ///The address to which item in the order will ship. + ///If the order is exempt from sales tax, the unique identifier of the tax exempt entity. /// - public Address DestinationAddress { get; set; } + public string TaxExemptId { get; set; } /// - ///The address from which the item in the order will ship. + ///The taxable amount that can be levied against shipping charges. /// - public Address OriginAddress { get; set; } + public bool? TaxShipping { get; set; } } diff --git a/SDK/Mozu.Api/Contracts/PricingRuntime/ThirdParty/TaxableOrder.cs b/SDK/Mozu.Api/Contracts/PricingRuntime/ThirdParty/TaxableOrder.cs index b9829669..c61722e5 100644 --- a/SDK/Mozu.Api/Contracts/PricingRuntime/ThirdParty/TaxableOrder.cs +++ b/SDK/Mozu.Api/Contracts/PricingRuntime/ThirdParty/TaxableOrder.cs @@ -30,6 +30,11 @@ public class TaxableOrder /// public decimal HandlingFee { get; set; } + /// + ///List of line items in a taxable order object. + /// + public List LineItems { get; set; } + /// ///The date and time the order was submitted. /// @@ -51,19 +56,14 @@ public class TaxableOrder public decimal ShippingAmount { get; set; } /// - ///The type of request for which to tax this entity, which is "Order" or "Return." - /// - public string TaxRequestType { get; set; } - - /// - ///List of line items in a taxable order object. + ///The tax properties associated with the order. /// - public List LineItems { get; set; } + public TaxContext TaxContext { get; set; } /// - ///The tax properties associated with the order. + ///The type of request for which to tax this entity, which is "Order" or "Return." /// - public TaxContext TaxContext { get; set; } + public string TaxRequestType { get; set; } } diff --git a/SDK/Mozu.Api/Contracts/ProductAdmin/Attribute.cs b/SDK/Mozu.Api/Contracts/ProductAdmin/Attribute.cs index 5fe2505e..ed480615 100644 --- a/SDK/Mozu.Api/Contracts/ProductAdmin/Attribute.cs +++ b/SDK/Mozu.Api/Contracts/ProductAdmin/Attribute.cs @@ -40,11 +40,26 @@ public class Attribute /// public string AttributeFQN { get; set; } + /// + ///List of key-value pairs that store metadata associated with the product attribute. + /// + public List AttributeMetadata { get; set; } + /// ///Generated sequence that increments for each product attribute created. This value is system-supplied and read-only. /// public int? AttributeSequence { get; set; } + /// + ///Identifier and datetime stamp information recorded when a user or application creates, updates, or deletes a resource entity. This value is system-supplied and read-only. + /// + public AuditInfo AuditInfo { get; set; } + + /// + ///Complex type that contains content for a language specified by LocaleCode. + /// + public AttributeLocalizedContent Content { get; set; } + /// ///The data type of the product attribute, which is a Bool, DateTime, Number, or String. The attribute's data type cannot be changed. /// @@ -70,6 +85,8 @@ public class Attribute /// public bool? IsProperty { get; set; } + public List LocalizedContent { get; set; } + /// ///The unique identifier of the master catalog associated with the entity. /// @@ -80,28 +97,6 @@ public class Attribute /// public string Namespace { get; set; } - /// - ///The type of value associated with the product attribute, which is ShopperEntered (the shopper selects or enters an attribute value during checkout), Predefined (the merchant sets the attribute value from a list during product attribute definition), or AdminEntered (the merchant selects or enters a value during product definition). The attribute value type cannot be changed. - /// - public string ValueType { get; set; } - - /// - ///List of key-value pairs that store metadata associated with the product attribute. - /// - public List AttributeMetadata { get; set; } - - /// - ///Identifier and datetime stamp information recorded when a user or application creates, updates, or deletes a resource entity. This value is system-supplied and read-only. - /// - public AuditInfo AuditInfo { get; set; } - - /// - ///Complex type that contains content for a language specified by LocaleCode. - /// - public AttributeLocalizedContent Content { get; set; } - - public List LocalizedContent { get; set; } - /// ///This API type provides the search and indexing settings for the attribute. /// @@ -112,6 +107,11 @@ public class Attribute /// public AttributeValidation Validation { get; set; } + /// + ///The type of value associated with the product attribute, which is ShopperEntered (the shopper selects or enters an attribute value during checkout), Predefined (the merchant sets the attribute value from a list during product attribute definition), or AdminEntered (the merchant selects or enters a value during product definition). The attribute value type cannot be changed. + /// + public string ValueType { get; set; } + /// ///Array list of the defined vocabulary values for the specified product attribute. For example, for a Color attribute, vocabulary values might include black, white, and purple. /// diff --git a/SDK/Mozu.Api/Contracts/ProductAdmin/AttributeCollection.cs b/SDK/Mozu.Api/Contracts/ProductAdmin/AttributeCollection.cs index 63831792..97405318 100644 --- a/SDK/Mozu.Api/Contracts/ProductAdmin/AttributeCollection.cs +++ b/SDK/Mozu.Api/Contracts/ProductAdmin/AttributeCollection.cs @@ -19,6 +19,11 @@ namespace Mozu.Api.Contracts.ProductAdmin /// public class AttributeCollection { + /// + ///An array list of objects in the returned collection. + /// + public List Items { get; set; } + /// ///The number of pages returned based on the startIndex and pageSize values specified. This value is system-supplied and read-only. /// @@ -36,11 +41,6 @@ public class AttributeCollection /// public int TotalCount { get; set; } - /// - ///An array list of objects in the returned collection. - /// - public List Items { get; set; } - } } \ No newline at end of file diff --git a/SDK/Mozu.Api/Contracts/ProductAdmin/AttributeInProductType.cs b/SDK/Mozu.Api/Contracts/ProductAdmin/AttributeInProductType.cs index ecccc2fa..f400853d 100644 --- a/SDK/Mozu.Api/Contracts/ProductAdmin/AttributeInProductType.cs +++ b/SDK/Mozu.Api/Contracts/ProductAdmin/AttributeInProductType.cs @@ -19,11 +19,18 @@ namespace Mozu.Api.Contracts.ProductAdmin /// public class AttributeInProductType { + /// + ///The wrapper for the properties of the product attribute to set up or generate from the system in the product admin. Properties include namespace, attribute code, attribute sequence, site group ID, input type, value type, data type, boolean flags, and metadata key value pairs. + /// + public Attribute AttributeDetail { get; set; } + /// ///The fully qualified name of the attribute, which is a user defined attribute identifier. /// public string AttributeFQN { get; set; } + public AttributeInProductTypeDisplayInfo DisplayInfo { get; set; } + /// ///If true, this property is hidden on the storefront. If false, this property is not hidden from the storefront. /// @@ -49,13 +56,6 @@ public class AttributeInProductType /// public int? Order { get; set; } - /// - ///The wrapper for the properties of the product attribute to set up or generate from the system in the product admin. Properties include namespace, attribute code, attribute sequence, site group ID, input type, value type, data type, boolean flags, and metadata key value pairs. - /// - public Attribute AttributeDetail { get; set; } - - public AttributeInProductTypeDisplayInfo DisplayInfo { get; set; } - /// ///The list of vocabulary values available for the attribute associated with the product type. /// diff --git a/SDK/Mozu.Api/Contracts/ProductAdmin/AttributeTypeRuleCollection.cs b/SDK/Mozu.Api/Contracts/ProductAdmin/AttributeTypeRuleCollection.cs index a3143335..b4772e32 100644 --- a/SDK/Mozu.Api/Contracts/ProductAdmin/AttributeTypeRuleCollection.cs +++ b/SDK/Mozu.Api/Contracts/ProductAdmin/AttributeTypeRuleCollection.cs @@ -19,6 +19,11 @@ namespace Mozu.Api.Contracts.ProductAdmin /// public class AttributeTypeRuleCollection { + /// + ///An array list of objects in the returned collection. + /// + public List Items { get; set; } + /// ///The number of pages returned based on the startIndex and pageSize values specified. This value is system-supplied and read-only. /// @@ -36,11 +41,6 @@ public class AttributeTypeRuleCollection /// public int TotalCount { get; set; } - /// - ///An array list of objects in the returned collection. - /// - public List Items { get; set; } - } } \ No newline at end of file diff --git a/SDK/Mozu.Api/Contracts/ProductAdmin/AttributeVocabularyValue.cs b/SDK/Mozu.Api/Contracts/ProductAdmin/AttributeVocabularyValue.cs index 995af587..c47fa521 100644 --- a/SDK/Mozu.Api/Contracts/ProductAdmin/AttributeVocabularyValue.cs +++ b/SDK/Mozu.Api/Contracts/ProductAdmin/AttributeVocabularyValue.cs @@ -19,6 +19,13 @@ namespace Mozu.Api.Contracts.ProductAdmin /// public class AttributeVocabularyValue { + /// + ///Complex type that contains content for a language specified by LocaleCode. + /// + public AttributeVocabularyValueLocalizedContent Content { get; set; } + + public List LocalizedContent { get; set; } + /// ///The actual vocabulary value. /// @@ -29,13 +36,6 @@ public class AttributeVocabularyValue /// public int? ValueSequence { get; set; } - /// - ///Complex type that contains content for a language specified by LocaleCode. - /// - public AttributeVocabularyValueLocalizedContent Content { get; set; } - - public List LocalizedContent { get; set; } - } } \ No newline at end of file diff --git a/SDK/Mozu.Api/Contracts/ProductAdmin/AttributeVocabularyValueInProductType.cs b/SDK/Mozu.Api/Contracts/ProductAdmin/AttributeVocabularyValueInProductType.cs index 14688fdc..b3913f50 100644 --- a/SDK/Mozu.Api/Contracts/ProductAdmin/AttributeVocabularyValueInProductType.cs +++ b/SDK/Mozu.Api/Contracts/ProductAdmin/AttributeVocabularyValueInProductType.cs @@ -18,6 +18,8 @@ namespace Mozu.Api.Contracts.ProductAdmin /// public class AttributeVocabularyValueInProductType { + public AttributeVocabularyValueDisplayInfo DisplayInfo { get; set; } + /// ///Sequence of the attribute value within the product type. /// @@ -28,8 +30,6 @@ public class AttributeVocabularyValueInProductType /// public object Value { get; set; } - public AttributeVocabularyValueDisplayInfo DisplayInfo { get; set; } - /// ///Navigates vocabulary value details for an attribute defined for a product type. /// diff --git a/SDK/Mozu.Api/Contracts/ProductAdmin/BundledProduct.cs b/SDK/Mozu.Api/Contracts/ProductAdmin/BundledProduct.cs index ff197d99..b0434c04 100644 --- a/SDK/Mozu.Api/Contracts/ProductAdmin/BundledProduct.cs +++ b/SDK/Mozu.Api/Contracts/ProductAdmin/BundledProduct.cs @@ -25,21 +25,6 @@ public class BundledProduct /// public List FulfillmentTypesSupported { get; set; } - /// - ///Merchant-created code that uniquely identifies the product such as a SKU or item number. Once created, the product code is read-only. - /// - public string ProductCode { get; set; } - - /// - ///The read-only name of the component in a bundled product. - /// - public string ProductName { get; set; } - - /// - ///The quantity of an individual component product in a bundle. For example, if a product bundle represents a 10-pack of socks, the quantity value for the bundled product would be 10. - /// - public int Quantity { get; set; } - /// ///Height of the bundle package in imperial units of feet and inches. /// @@ -65,6 +50,21 @@ public class BundledProduct /// public ProductPrice Price { get; set; } + /// + ///Merchant-created code that uniquely identifies the product such as a SKU or item number. Once created, the product code is read-only. + /// + public string ProductCode { get; set; } + + /// + ///The read-only name of the component in a bundled product. + /// + public string ProductName { get; set; } + + /// + ///The quantity of an individual component product in a bundle. For example, if a product bundle represents a 10-pack of socks, the quantity value for the bundled product would be 10. + /// + public int Quantity { get; set; } + } } \ No newline at end of file diff --git a/SDK/Mozu.Api/Contracts/ProductAdmin/Category.cs b/SDK/Mozu.Api/Contracts/ProductAdmin/Category.cs index 92371d24..67c07637 100644 --- a/SDK/Mozu.Api/Contracts/ProductAdmin/Category.cs +++ b/SDK/Mozu.Api/Contracts/ProductAdmin/Category.cs @@ -19,6 +19,11 @@ namespace Mozu.Api.Contracts.ProductAdmin /// public class Category { + /// + ///Identifier and datetime stamp information recorded when a user or application creates, updates, or deletes a resource entity. This value is system-supplied and read-only. + /// + public AuditInfo AuditInfo { get; set; } + public int? CatalogId { get; set; } /// @@ -26,6 +31,11 @@ public class Category /// public int? ChildCount { get; set; } + /// + ///Complex type that contains content for a language specified by LocaleCode. + /// + public CategoryLocalizedContent Content { get; set; } + /// ///Identifier of the entity. /// @@ -51,16 +61,6 @@ public class Category /// public int? Sequence { get; set; } - /// - ///Identifier and datetime stamp information recorded when a user or application creates, updates, or deletes a resource entity. This value is system-supplied and read-only. - /// - public AuditInfo AuditInfo { get; set; } - - /// - ///Complex type that contains content for a language specified by LocaleCode. - /// - public CategoryLocalizedContent Content { get; set; } - } } \ No newline at end of file diff --git a/SDK/Mozu.Api/Contracts/ProductAdmin/CategoryCollection.cs b/SDK/Mozu.Api/Contracts/ProductAdmin/CategoryCollection.cs index dab02473..b73f06e9 100644 --- a/SDK/Mozu.Api/Contracts/ProductAdmin/CategoryCollection.cs +++ b/SDK/Mozu.Api/Contracts/ProductAdmin/CategoryCollection.cs @@ -20,14 +20,14 @@ namespace Mozu.Api.Contracts.ProductAdmin public class CategoryCollection { /// - ///The number of results listed in the query collection, represented by a signed 64-bit (8-byte) integer. This value is system-supplied and read-only. + ///An array list of objects in the returned collection. /// - public int TotalCount { get; set; } + public List Items { get; set; } /// - ///An array list of objects in the returned collection. + ///The number of results listed in the query collection, represented by a signed 64-bit (8-byte) integer. This value is system-supplied and read-only. /// - public List Items { get; set; } + public int TotalCount { get; set; } } diff --git a/SDK/Mozu.Api/Contracts/ProductAdmin/CategoryLocalizedContent.cs b/SDK/Mozu.Api/Contracts/ProductAdmin/CategoryLocalizedContent.cs index d913471c..a9739472 100644 --- a/SDK/Mozu.Api/Contracts/ProductAdmin/CategoryLocalizedContent.cs +++ b/SDK/Mozu.Api/Contracts/ProductAdmin/CategoryLocalizedContent.cs @@ -19,6 +19,11 @@ namespace Mozu.Api.Contracts.ProductAdmin /// public class CategoryLocalizedContent { + /// + ///Array of localized product category images in the language specified by the LocaleCode. + /// + public List CategoryImages { get; set; } + /// ///Description of the product category in the language specified by the locale code. /// @@ -59,11 +64,6 @@ public class CategoryLocalizedContent /// public string Slug { get; set; } - /// - ///Array of localized product category images in the language specified by the LocaleCode. - /// - public List CategoryImages { get; set; } - } } \ No newline at end of file diff --git a/SDK/Mozu.Api/Contracts/ProductAdmin/CategoryPagedCollection.cs b/SDK/Mozu.Api/Contracts/ProductAdmin/CategoryPagedCollection.cs index f176b711..f451ec5d 100644 --- a/SDK/Mozu.Api/Contracts/ProductAdmin/CategoryPagedCollection.cs +++ b/SDK/Mozu.Api/Contracts/ProductAdmin/CategoryPagedCollection.cs @@ -19,6 +19,11 @@ namespace Mozu.Api.Contracts.ProductAdmin /// public class CategoryPagedCollection { + /// + ///An array list of objects in the returned collection. + /// + public List Items { get; set; } + /// ///The number of pages returned based on the startIndex and pageSize values specified. This value is system-supplied and read-only. /// @@ -36,11 +41,6 @@ public class CategoryPagedCollection /// public int TotalCount { get; set; } - /// - ///An array list of objects in the returned collection. - /// - public List Items { get; set; } - } } \ No newline at end of file diff --git a/SDK/Mozu.Api/Contracts/ProductAdmin/Discount.cs b/SDK/Mozu.Api/Contracts/ProductAdmin/Discount.cs index 0ec4b386..f708449e 100644 --- a/SDK/Mozu.Api/Contracts/ProductAdmin/Discount.cs +++ b/SDK/Mozu.Api/Contracts/ProductAdmin/Discount.cs @@ -29,6 +29,21 @@ public class Discount /// public string AmountType { get; set; } + /// + ///Identifier and datetime stamp information recorded when a user or application creates, updates, or deletes a resource entity. This value is system-supplied and read-only. + /// + public AuditInfo AuditInfo { get; set; } + + /// + ///List of conditions that must be met for the discount to apply. + /// + public DiscountCondition Conditions { get; set; } + + /// + ///Complex type that contains content for a language specified by LocaleCode. + /// + public DiscountLocalizedContent Content { get; set; } + /// ///The number of times this discount has been redeemed. /// @@ -59,21 +74,6 @@ public class Discount /// public string Status { get; set; } - /// - ///Identifier and datetime stamp information recorded when a user or application creates, updates, or deletes a resource entity. This value is system-supplied and read-only. - /// - public AuditInfo AuditInfo { get; set; } - - /// - ///List of conditions that must be met for the discount to apply. - /// - public DiscountCondition Conditions { get; set; } - - /// - ///Complex type that contains content for a language specified by LocaleCode. - /// - public DiscountLocalizedContent Content { get; set; } - /// ///Properties of the target object to which the discount applies, such as a product or an order. /// diff --git a/SDK/Mozu.Api/Contracts/ProductAdmin/DiscountCollection.cs b/SDK/Mozu.Api/Contracts/ProductAdmin/DiscountCollection.cs index 5b93fa31..bcc849b1 100644 --- a/SDK/Mozu.Api/Contracts/ProductAdmin/DiscountCollection.cs +++ b/SDK/Mozu.Api/Contracts/ProductAdmin/DiscountCollection.cs @@ -19,6 +19,11 @@ namespace Mozu.Api.Contracts.ProductAdmin /// public class DiscountCollection { + /// + ///An array list of objects in the returned collection. + /// + public List Items { get; set; } + /// ///The number of pages returned based on the startIndex and pageSize values specified. This value is system-supplied and read-only. /// @@ -36,11 +41,6 @@ public class DiscountCollection /// public int TotalCount { get; set; } - /// - ///An array list of objects in the returned collection. - /// - public List Items { get; set; } - } } \ No newline at end of file diff --git a/SDK/Mozu.Api/Contracts/ProductAdmin/DiscountCondition.cs b/SDK/Mozu.Api/Contracts/ProductAdmin/DiscountCondition.cs index 0b9bd60a..8c6a5f4c 100644 --- a/SDK/Mozu.Api/Contracts/ProductAdmin/DiscountCondition.cs +++ b/SDK/Mozu.Api/Contracts/ProductAdmin/DiscountCondition.cs @@ -24,11 +24,36 @@ public class DiscountCondition /// public string CouponCode { get; set; } + /// + ///List of customer segments associated with the discount. Shoppers who are members of an associated customer segment can redeem this discount. + /// + public List CustomerSegments { get; set; } + + /// + ///List of the product categories that are not eligible for the discount. + /// + public List ExcludedCategories { get; set; } + + /// + ///List of the products that are not eligible for the discount. + /// + public List ExcludedProducts { get; set; } + /// ///The date and time on which the discount expires and cannot be redeemed. /// public DateTime? ExpirationDate { get; set; } + /// + ///List of product categories that are eligible for the discount. + /// + public List IncludedCategories { get; set; } + + /// + ///List of products that are eligible for the discount. + /// + public List IncludedProducts { get; set; } + /// ///Specifies maximum number of redemptions allowed for each order. If null, it defaults to unlimited. /// @@ -79,31 +104,6 @@ public class DiscountCondition /// public DateTime? StartDate { get; set; } - /// - ///List of customer segments associated with the discount. Shoppers who are members of an associated customer segment can redeem this discount. - /// - public List CustomerSegments { get; set; } - - /// - ///List of the product categories that are not eligible for the discount. - /// - public List ExcludedCategories { get; set; } - - /// - ///List of the products that are not eligible for the discount. - /// - public List ExcludedProducts { get; set; } - - /// - ///List of product categories that are eligible for the discount. - /// - public List IncludedCategories { get; set; } - - /// - ///List of products that are eligible for the discount. - /// - public List IncludedProducts { get; set; } - } } \ No newline at end of file diff --git a/SDK/Mozu.Api/Contracts/ProductAdmin/DiscountLocalizedContent.cs b/SDK/Mozu.Api/Contracts/ProductAdmin/DiscountLocalizedContent.cs index 3da685eb..cd23170b 100644 --- a/SDK/Mozu.Api/Contracts/ProductAdmin/DiscountLocalizedContent.cs +++ b/SDK/Mozu.Api/Contracts/ProductAdmin/DiscountLocalizedContent.cs @@ -19,6 +19,11 @@ namespace Mozu.Api.Contracts.ProductAdmin /// public class DiscountLocalizedContent { + /// + ///Identifier and datetime stamp information recorded when a user or application creates, updates, or deletes a resource entity. This value is system-supplied and read-only. + /// + public AuditInfo AuditInfo { get; set; } + /// ///The localizable, shopper-facing description defined for the discount. /// @@ -34,11 +39,6 @@ public class DiscountLocalizedContent /// public string Name { get; set; } - /// - ///Identifier and datetime stamp information recorded when a user or application creates, updates, or deletes a resource entity. This value is system-supplied and read-only. - /// - public AuditInfo AuditInfo { get; set; } - } } \ No newline at end of file diff --git a/SDK/Mozu.Api/Contracts/ProductAdmin/DiscountTarget.cs b/SDK/Mozu.Api/Contracts/ProductAdmin/DiscountTarget.cs index cc585285..3c12f9f0 100644 --- a/SDK/Mozu.Api/Contracts/ProductAdmin/DiscountTarget.cs +++ b/SDK/Mozu.Api/Contracts/ProductAdmin/DiscountTarget.cs @@ -19,21 +19,6 @@ namespace Mozu.Api.Contracts.ProductAdmin /// public class DiscountTarget { - /// - ///If true, the target discount applies to all products sold on the site, regardless of product category. - /// - public bool? IncludeAllProducts { get; set; } - - /// - ///When a condition is specified, this property limits the number of items that are targeted for each discount redemption with an order. If multiple redemptions are allowed for each order then multiples of this value are allowed in multiples of the associated condition. If no condition is specified, then this value is not used. If null and condition exists, then defaults to 1. - /// - public int? MaximumQuantityPerRedemption { get; set; } - - /// - ///Properties of the object to which this discount is targeted, which can be Product or Shipping. If the discount type is Product, the target properties describe the product or product categories to which the discount applies. If the discount type is Shipping, the target properties describe the shipping methods eligible for the discount. - /// - public string Type { get; set; } - /// ///The product categories to which the discount can apply. When a discount applies to a category, all products in the category are eligible for the discount. /// @@ -49,6 +34,16 @@ public class DiscountTarget /// public List ExcludedProducts { get; set; } + /// + ///If true, the target discount applies to all products sold on the site, regardless of product category. + /// + public bool? IncludeAllProducts { get; set; } + + /// + ///When a condition is specified, this property limits the number of items that are targeted for each discount redemption with an order. If multiple redemptions are allowed for each order then multiples of this value are allowed in multiples of the associated condition. If no condition is specified, then this value is not used. If null and condition exists, then defaults to 1. + /// + public int? MaximumQuantityPerRedemption { get; set; } + /// ///List of product codes that represent the products to which the discount can apply. /// @@ -61,6 +56,11 @@ public class DiscountTarget public List ShippingZones { get; set; } + /// + ///Properties of the object to which this discount is targeted, which can be Product or Shipping. If the discount type is Product, the target properties describe the product or product categories to which the discount applies. If the discount type is Shipping, the target properties describe the shipping methods eligible for the discount. + /// + public string Type { get; set; } + } } \ No newline at end of file diff --git a/SDK/Mozu.Api/Contracts/ProductAdmin/Facet.cs b/SDK/Mozu.Api/Contracts/ProductAdmin/Facet.cs index 9ed2217f..8a6816d5 100644 --- a/SDK/Mozu.Api/Contracts/ProductAdmin/Facet.cs +++ b/SDK/Mozu.Api/Contracts/ProductAdmin/Facet.cs @@ -20,6 +20,11 @@ namespace Mozu.Api.Contracts.ProductAdmin /// public class Facet { + /// + ///Identifier and datetime stamp information recorded when a user or application creates, updates, or deletes a resource entity. This value is system-supplied and read-only. + /// + public AuditInfo AuditInfo { get; set; } + /// ///Unique identifier for the storefront container used to organize products. /// @@ -50,11 +55,6 @@ public class Facet /// public int? OverrideFacetId { get; set; } - /// - ///Identifier and datetime stamp information recorded when a user or application creates, updates, or deletes a resource entity. This value is system-supplied and read-only. - /// - public AuditInfo AuditInfo { get; set; } - /// ///For range type facets, an array of ranges to use for the facet values. For example, a price facet might have range queries for $0-$25, $25-$50, and $50-$100. /// diff --git a/SDK/Mozu.Api/Contracts/ProductAdmin/LocationInventory.cs b/SDK/Mozu.Api/Contracts/ProductAdmin/LocationInventory.cs index 586f9c8b..6b69f41b 100644 --- a/SDK/Mozu.Api/Contracts/ProductAdmin/LocationInventory.cs +++ b/SDK/Mozu.Api/Contracts/ProductAdmin/LocationInventory.cs @@ -19,6 +19,11 @@ namespace Mozu.Api.Contracts.ProductAdmin /// public class LocationInventory { + /// + ///Identifier and datetime stamp information recorded when a user or application creates, updates, or deletes a resource entity. This value is system-supplied and read-only. + /// + public AuditInfo AuditInfo { get; set; } + /// ///User-defined code that uniquely identifies the location. /// @@ -49,11 +54,6 @@ public class LocationInventory /// public int? StockOnHand { get; set; } - /// - ///Identifier and datetime stamp information recorded when a user or application creates, updates, or deletes a resource entity. This value is system-supplied and read-only. - /// - public AuditInfo AuditInfo { get; set; } - } } \ No newline at end of file diff --git a/SDK/Mozu.Api/Contracts/ProductAdmin/LocationInventoryCollection.cs b/SDK/Mozu.Api/Contracts/ProductAdmin/LocationInventoryCollection.cs index 38d0ee6f..55e0df95 100644 --- a/SDK/Mozu.Api/Contracts/ProductAdmin/LocationInventoryCollection.cs +++ b/SDK/Mozu.Api/Contracts/ProductAdmin/LocationInventoryCollection.cs @@ -19,6 +19,11 @@ namespace Mozu.Api.Contracts.ProductAdmin /// public class LocationInventoryCollection { + /// + ///An array list of objects in the returned collection. + /// + public List Items { get; set; } + /// ///The number of pages returned based on the startIndex and pageSize values specified. This value is system-supplied and read-only. /// @@ -39,11 +44,6 @@ public class LocationInventoryCollection /// public int TotalCount { get; set; } - /// - ///An array list of objects in the returned collection. - /// - public List Items { get; set; } - } } \ No newline at end of file diff --git a/SDK/Mozu.Api/Contracts/ProductAdmin/MasterCatalogCollection.cs b/SDK/Mozu.Api/Contracts/ProductAdmin/MasterCatalogCollection.cs index 8aa4d852..7f33e423 100644 --- a/SDK/Mozu.Api/Contracts/ProductAdmin/MasterCatalogCollection.cs +++ b/SDK/Mozu.Api/Contracts/ProductAdmin/MasterCatalogCollection.cs @@ -20,14 +20,14 @@ namespace Mozu.Api.Contracts.ProductAdmin public class MasterCatalogCollection { /// - ///The number of results listed in the query collection, represented by a signed 64-bit (8-byte) integer. This value is system-supplied and read-only. + ///An array list of objects in the returned collection. /// - public int TotalCount { get; set; } + public List Items { get; set; } /// - ///An array list of objects in the returned collection. + ///The number of results listed in the query collection, represented by a signed 64-bit (8-byte) integer. This value is system-supplied and read-only. /// - public List Items { get; set; } + public int TotalCount { get; set; } } diff --git a/SDK/Mozu.Api/Contracts/ProductAdmin/Product.cs b/SDK/Mozu.Api/Contracts/ProductAdmin/Product.cs index 1851d8d8..615618c7 100644 --- a/SDK/Mozu.Api/Contracts/ProductAdmin/Product.cs +++ b/SDK/Mozu.Api/Contracts/ProductAdmin/Product.cs @@ -20,11 +20,33 @@ namespace Mozu.Api.Contracts.ProductAdmin /// public class Product { + /// + ///List of discounts available for a product. + /// + public List ApplicableDiscounts { get; set; } + + /// + ///Identifier and datetime stamp information recorded when a user or application creates, updates, or deletes a resource entity. This value is system-supplied and read-only. + /// + public AuditInfo AuditInfo { get; set; } + /// ///Product code defined by the tenant administrator to use as a base prefix when generating product codes for any variations of this product. /// public string BaseProductCode { get; set; } + /// + ///Properties of a collection of component products that make up a single product bundle with its own product code. Tenants can define product bundles for any product type that supports the Bundle product usage. + /// + public List BundledProducts { get; set; } + + public ProductLocalizedContent Content { get; set; } + + /// + ///List of extra product attributes defined for this product. + /// + public List Extras { get; set; } + /// ///Describes the types of fulfillment that are supported for this product. A product can support direct ship, in-store pickup, or both. Supported fulfillment types are defined at the master catalog level. Client administrators cannot override the supported fulfillment types at the catalog level. /// @@ -40,6 +62,11 @@ public class Product /// public bool HasStandAloneOptions { get; set; } + /// + ///Properties of the inventory levels manages for the product. + /// + public ProductInventoryInfo InventoryInfo { get; set; } + /// ///If true, the product must be packaged on its own and should not be jointly packaged with other products. /// @@ -70,73 +97,6 @@ public class Product /// public int? MasterCatalogId { get; set; } - /// - ///Merchant-created code that uniquely identifies the product such as a SKU or item number. Once created, the product code is read-only. - /// - public string ProductCode { get; set; } - - /// - ///Integer that represents the sequential order of the product. - /// - public int? ProductSequence { get; set; } - - /// - ///Unique identifier of the product type assigned for this product. Tenant administrators can only define one product type per product. - /// - public int? ProductTypeId { get; set; } - - /// - ///The usage type that applies to this product, which is Standard (a single product without configurable options), Configurable (a product that includes configurable option attributes), Bundle (a collection of products sold as a single entity), or Component (an invididual product that represents a component in a bundle). - /// - public string ProductUsage { get; set; } - - /// - ///Identifier of the shipping class. - /// - public int? ShippingClassId { get; set; } - - /// - ///If the product must be packaged separately, the type of standalone package to use. - /// - public string StandAlonePackageType { get; set; } - - /// - ///The universal product code associated with the product. The UPC of a product is unique across all sales channels. - /// - public string Upc { get; set; } - - /// - ///System-generated key that represents the attribute values that uniquely identify a specific product variation. - /// - public string VariationKey { get; set; } - - /// - ///List of discounts available for a product. - /// - public List ApplicableDiscounts { get; set; } - - /// - ///Identifier and datetime stamp information recorded when a user or application creates, updates, or deletes a resource entity. This value is system-supplied and read-only. - /// - public AuditInfo AuditInfo { get; set; } - - /// - ///Properties of a collection of component products that make up a single product bundle with its own product code. Tenants can define product bundles for any product type that supports the Bundle product usage. - /// - public List BundledProducts { get; set; } - - public ProductLocalizedContent Content { get; set; } - - /// - ///List of extra product attributes defined for this product. - /// - public List Extras { get; set; } - - /// - ///Properties of the inventory levels manages for the product. - /// - public ProductInventoryInfo InventoryInfo { get; set; } - /// ///List of option product attributes defined for this product. /// @@ -172,11 +132,31 @@ public class Product /// public ProductPricingBehaviorInfo PricingBehavior { get; set; } + /// + ///Merchant-created code that uniquely identifies the product such as a SKU or item number. Once created, the product code is read-only. + /// + public string ProductCode { get; set; } + /// ///Properties defined for a product as they appear in its associated catalogs. /// public List ProductInCatalogs { get; set; } + /// + ///Integer that represents the sequential order of the product. + /// + public int? ProductSequence { get; set; } + + /// + ///Unique identifier of the product type assigned for this product. Tenant administrators can only define one product type per product. + /// + public int? ProductTypeId { get; set; } + + /// + ///The usage type that applies to this product, which is Standard (a single product without configurable options), Configurable (a product that includes configurable option attributes), Bundle (a collection of products sold as a single entity), or Component (an invididual product that represents a component in a bundle). + /// + public string ProductUsage { get; set; } + /// ///List of property product attributes defined for this product. /// @@ -192,11 +172,31 @@ public class Product /// public ProductLocalizedSEOContent SeoContent { get; set; } + /// + ///Identifier of the shipping class. + /// + public int? ShippingClassId { get; set; } + + /// + ///If the product must be packaged separately, the type of standalone package to use. + /// + public string StandAlonePackageType { get; set; } + /// ///Supplier-defined properties assigned for the product. /// public ProductSupplierInfo SupplierInfo { get; set; } + /// + ///The universal product code associated with the product. The UPC of a product is unique across all sales channels. + /// + public string Upc { get; set; } + + /// + ///System-generated key that represents the attribute values that uniquely identify a specific product variation. + /// + public string VariationKey { get; set; } + /// ///The list of product variation configurations defined for this product based on its available product option attributes. /// diff --git a/SDK/Mozu.Api/Contracts/ProductAdmin/ProductCollection.cs b/SDK/Mozu.Api/Contracts/ProductAdmin/ProductCollection.cs index 4aea429b..cc2e0f06 100644 --- a/SDK/Mozu.Api/Contracts/ProductAdmin/ProductCollection.cs +++ b/SDK/Mozu.Api/Contracts/ProductAdmin/ProductCollection.cs @@ -19,6 +19,11 @@ namespace Mozu.Api.Contracts.ProductAdmin /// public class ProductCollection { + /// + ///An array list of objects in the returned collection. + /// + public List Items { get; set; } + /// ///The number of pages returned based on the startIndex and pageSize values specified. This value is system-supplied and read-only. /// @@ -36,11 +41,6 @@ public class ProductCollection /// public int TotalCount { get; set; } - /// - ///An array list of objects in the returned collection. - /// - public List Items { get; set; } - } } \ No newline at end of file diff --git a/SDK/Mozu.Api/Contracts/ProductAdmin/ProductExtraValue.cs b/SDK/Mozu.Api/Contracts/ProductAdmin/ProductExtraValue.cs index e65df8a7..8e6829c5 100644 --- a/SDK/Mozu.Api/Contracts/ProductAdmin/ProductExtraValue.cs +++ b/SDK/Mozu.Api/Contracts/ProductAdmin/ProductExtraValue.cs @@ -19,6 +19,16 @@ namespace Mozu.Api.Contracts.ProductAdmin /// public class ProductExtraValue { + /// + ///Detail of the product extra attribute vocabulary value. + /// + public AttributeVocabularyValue AttributeVocabularyValueDetail { get; set; } + + /// + ///The difference between the price associated with this product extra and the base product. For example, if a product with a defined monogram extra costs an additional $10, the DeltaPrice value is "10". + /// + public ProductExtraValueDeltaPrice DeltaPrice { get; set; } + /// ///The difference between the weight associated with this product extra and the base product. For example, if a product with a monogram weighs an extra 1/4 lb, the DeltaWeight value is "0.25". /// @@ -29,6 +39,8 @@ public class ProductExtraValue /// public bool? IsDefaulted { get; set; } + public List LocalizedDeltaPrice { get; set; } + /// ///When setting up the extra on a parent product, you can specify a quantity. You can have an extra that is a quantity > 1 of another product. /// @@ -39,18 +51,6 @@ public class ProductExtraValue /// public object Value { get; set; } - /// - ///Detail of the product extra attribute vocabulary value. - /// - public AttributeVocabularyValue AttributeVocabularyValueDetail { get; set; } - - /// - ///The difference between the price associated with this product extra and the base product. For example, if a product with a defined monogram extra costs an additional $10, the DeltaPrice value is "10". - /// - public ProductExtraValueDeltaPrice DeltaPrice { get; set; } - - public List LocalizedDeltaPrice { get; set; } - } } \ No newline at end of file diff --git a/SDK/Mozu.Api/Contracts/ProductAdmin/ProductInCatalogInfo.cs b/SDK/Mozu.Api/Contracts/ProductAdmin/ProductInCatalogInfo.cs index 2afd7420..7c4288ad 100644 --- a/SDK/Mozu.Api/Contracts/ProductAdmin/ProductInCatalogInfo.cs +++ b/SDK/Mozu.Api/Contracts/ProductAdmin/ProductInCatalogInfo.cs @@ -20,11 +20,21 @@ namespace Mozu.Api.Contracts.ProductAdmin /// public class ProductInCatalogInfo { + /// + ///Identifier and datetime stamp information recorded when a user or application creates, updates, or deletes a resource entity. This value is system-supplied and read-only. + /// + public AuditInfo AuditInfo { get; set; } + /// ///The unique identifier of the catalog of products used by a site. /// public int CatalogId { get; set; } + /// + ///Localizable content for a product associated with a specific catalog. If no catalog-level content is specified, the master catalog content is used. To override content at the catalog level, the IsContentOverridden flag must be set to "true". + /// + public ProductLocalizedContent Content { get; set; } + /// ///If true, the product is actively available (for sale) in the associated catalog. /// @@ -45,16 +55,6 @@ public class ProductInCatalogInfo /// public bool? IsseoContentOverridden { get; set; } - /// - ///Identifier and datetime stamp information recorded when a user or application creates, updates, or deletes a resource entity. This value is system-supplied and read-only. - /// - public AuditInfo AuditInfo { get; set; } - - /// - ///Localizable content for a product associated with a specific catalog. If no catalog-level content is specified, the master catalog content is used. To override content at the catalog level, the IsContentOverridden flag must be set to "true". - /// - public ProductLocalizedContent Content { get; set; } - /// ///The price of the product associated with the specified catalog. If no price is specified in the request, this catalog uses the price defined in the master catalog. To override the product price for this catalog, the IsPriceOverridden flag must be set to "true". /// diff --git a/SDK/Mozu.Api/Contracts/ProductAdmin/ProductLocalizedContent.cs b/SDK/Mozu.Api/Contracts/ProductAdmin/ProductLocalizedContent.cs index 8634015a..68c24bce 100644 --- a/SDK/Mozu.Api/Contracts/ProductAdmin/ProductLocalizedContent.cs +++ b/SDK/Mozu.Api/Contracts/ProductAdmin/ProductLocalizedContent.cs @@ -29,6 +29,11 @@ public class ProductLocalizedContent /// public string ProductFullDescription { get; set; } + /// + ///List of product images associated with a product. + /// + public List ProductImages { get; set; } + /// ///The descriptive brief product name. /// @@ -39,11 +44,6 @@ public class ProductLocalizedContent /// public string ProductShortDescription { get; set; } - /// - ///List of product images associated with a product. - /// - public List ProductImages { get; set; } - } } \ No newline at end of file diff --git a/SDK/Mozu.Api/Contracts/ProductAdmin/ProductOptionValue.cs b/SDK/Mozu.Api/Contracts/ProductAdmin/ProductOptionValue.cs index 14eb9ebb..4a2c2526 100644 --- a/SDK/Mozu.Api/Contracts/ProductAdmin/ProductOptionValue.cs +++ b/SDK/Mozu.Api/Contracts/ProductAdmin/ProductOptionValue.cs @@ -19,14 +19,14 @@ namespace Mozu.Api.Contracts.ProductAdmin public class ProductOptionValue { /// - ///Value of the product option attribute. + ///Detailed properties of the product option attribute's vocabulary value. /// - public object Value { get; set; } + public AttributeVocabularyValue AttributeVocabularyValueDetail { get; set; } /// - ///Detailed properties of the product option attribute's vocabulary value. + ///Value of the product option attribute. /// - public AttributeVocabularyValue AttributeVocabularyValueDetail { get; set; } + public object Value { get; set; } } diff --git a/SDK/Mozu.Api/Contracts/ProductAdmin/ProductPropertyValue.cs b/SDK/Mozu.Api/Contracts/ProductAdmin/ProductPropertyValue.cs index 12211574..ff096918 100644 --- a/SDK/Mozu.Api/Contracts/ProductAdmin/ProductPropertyValue.cs +++ b/SDK/Mozu.Api/Contracts/ProductAdmin/ProductPropertyValue.cs @@ -19,11 +19,6 @@ namespace Mozu.Api.Contracts.ProductAdmin /// public class ProductPropertyValue { - /// - ///Value details for a product property attribute. - /// - public object Value { get; set; } - /// ///Details of the vocabulary value for predefined product property attributes. /// @@ -36,6 +31,11 @@ public class ProductPropertyValue public List LocalizedContent { get; set; } + /// + ///Value details for a product property attribute. + /// + public object Value { get; set; } + } } \ No newline at end of file diff --git a/SDK/Mozu.Api/Contracts/ProductAdmin/ProductReservation.cs b/SDK/Mozu.Api/Contracts/ProductAdmin/ProductReservation.cs index c11b0903..b0e198e7 100644 --- a/SDK/Mozu.Api/Contracts/ProductAdmin/ProductReservation.cs +++ b/SDK/Mozu.Api/Contracts/ProductAdmin/ProductReservation.cs @@ -19,6 +19,11 @@ namespace Mozu.Api.Contracts.ProductAdmin /// public class ProductReservation { + /// + ///Identifier and datetime stamp information recorded when a user or application creates, updates, or deletes a resource entity. This value is system-supplied and read-only. + /// + public AuditInfo AuditInfo { get; set; } + /// ///Identifier of the entity. /// @@ -49,11 +54,6 @@ public class ProductReservation /// public int Quantity { get; set; } - /// - ///Identifier and datetime stamp information recorded when a user or application creates, updates, or deletes a resource entity. This value is system-supplied and read-only. - /// - public AuditInfo AuditInfo { get; set; } - } } \ No newline at end of file diff --git a/SDK/Mozu.Api/Contracts/ProductAdmin/ProductReservationCollection.cs b/SDK/Mozu.Api/Contracts/ProductAdmin/ProductReservationCollection.cs index 927bd622..5d3d97a5 100644 --- a/SDK/Mozu.Api/Contracts/ProductAdmin/ProductReservationCollection.cs +++ b/SDK/Mozu.Api/Contracts/ProductAdmin/ProductReservationCollection.cs @@ -19,6 +19,11 @@ namespace Mozu.Api.Contracts.ProductAdmin /// public class ProductReservationCollection { + /// + ///An array list of objects in the returned collection. + /// + public List Items { get; set; } + /// ///The number of pages returned based on the startIndex and pageSize values specified. This value is system-supplied and read-only. /// @@ -36,11 +41,6 @@ public class ProductReservationCollection /// public int TotalCount { get; set; } - /// - ///An array list of objects in the returned collection. - /// - public List Items { get; set; } - } } \ No newline at end of file diff --git a/SDK/Mozu.Api/Contracts/ProductAdmin/ProductSupplierInfo.cs b/SDK/Mozu.Api/Contracts/ProductAdmin/ProductSupplierInfo.cs index 2f1617f6..64754594 100644 --- a/SDK/Mozu.Api/Contracts/ProductAdmin/ProductSupplierInfo.cs +++ b/SDK/Mozu.Api/Contracts/ProductAdmin/ProductSupplierInfo.cs @@ -18,6 +18,11 @@ namespace Mozu.Api.Contracts.ProductAdmin /// public class ProductSupplierInfo { + /// + ///The amount the client pays the supplier to stock this product in its catalogs. + /// + public ProductCost Cost { get; set; } + /// ///The distributor part number associated with this product, defined by the product distributor. /// @@ -28,11 +33,6 @@ public class ProductSupplierInfo /// public string MfgPartNumber { get; set; } - /// - ///The amount the client pays the supplier to stock this product in its catalogs. - /// - public ProductCost Cost { get; set; } - } } \ No newline at end of file diff --git a/SDK/Mozu.Api/Contracts/ProductAdmin/ProductType.cs b/SDK/Mozu.Api/Contracts/ProductAdmin/ProductType.cs index 2413e494..2bfe1557 100644 --- a/SDK/Mozu.Api/Contracts/ProductAdmin/ProductType.cs +++ b/SDK/Mozu.Api/Contracts/ProductAdmin/ProductType.cs @@ -21,9 +21,14 @@ namespace Mozu.Api.Contracts.ProductAdmin public class ProductType { /// - ///List of product usages that describe how products of this type are used. Products of this type can be Standard (a single product without configurable options), Configurable (a product that includes configurable option attributes), Bundle (a collection of products sold as a single entity), or Component (an invididual product that represents a component in a bundle). Product type usages cannot be both Bundle and Configurable. + ///Identifier and datetime stamp information recorded when a user or application creates, updates, or deletes a resource entity. This value is system-supplied and read-only. /// - public List ProductUsages { get; set; } + public AuditInfo AuditInfo { get; set; } + + /// + ///The list of product type attributes which exist as extras. Example: monogram + /// + public List Extras { get; set; } /// ///The type of goods for this product. @@ -51,24 +56,19 @@ public class ProductType public string Name { get; set; } /// - ///The number of products associated with this product type. - /// - public int? ProductCount { get; set; } - - /// - ///Identifier and datetime stamp information recorded when a user or application creates, updates, or deletes a resource entity. This value is system-supplied and read-only. + ///The list of product type attributes which exist as options. /// - public AuditInfo AuditInfo { get; set; } + public List Options { get; set; } /// - ///The list of product type attributes which exist as extras. Example: monogram + ///The number of products associated with this product type. /// - public List Extras { get; set; } + public int? ProductCount { get; set; } /// - ///The list of product type attributes which exist as options. + ///List of product usages that describe how products of this type are used. Products of this type can be Standard (a single product without configurable options), Configurable (a product that includes configurable option attributes), Bundle (a collection of products sold as a single entity), or Component (an invididual product that represents a component in a bundle). Product type usages cannot be both Bundle and Configurable. /// - public List Options { get; set; } + public List ProductUsages { get; set; } /// ///The list of product type attributes which exist as properties, such as color. diff --git a/SDK/Mozu.Api/Contracts/ProductAdmin/ProductTypeCollection.cs b/SDK/Mozu.Api/Contracts/ProductAdmin/ProductTypeCollection.cs index 4a235f8d..c2c84c6a 100644 --- a/SDK/Mozu.Api/Contracts/ProductAdmin/ProductTypeCollection.cs +++ b/SDK/Mozu.Api/Contracts/ProductAdmin/ProductTypeCollection.cs @@ -19,6 +19,11 @@ namespace Mozu.Api.Contracts.ProductAdmin /// public class ProductTypeCollection { + /// + ///An array list of objects in the returned collection. + /// + public List Items { get; set; } + /// ///The number of pages returned based on the startIndex and pageSize values specified. This value is system-supplied and read-only. /// @@ -36,11 +41,6 @@ public class ProductTypeCollection /// public int TotalCount { get; set; } - /// - ///An array list of objects in the returned collection. - /// - public List Items { get; set; } - } } \ No newline at end of file diff --git a/SDK/Mozu.Api/Contracts/ProductAdmin/ProductVariation.cs b/SDK/Mozu.Api/Contracts/ProductAdmin/ProductVariation.cs index a67c9c01..cc0b592b 100644 --- a/SDK/Mozu.Api/Contracts/ProductAdmin/ProductVariation.cs +++ b/SDK/Mozu.Api/Contracts/ProductAdmin/ProductVariation.cs @@ -19,6 +19,11 @@ namespace Mozu.Api.Contracts.ProductAdmin /// public class ProductVariation { + /// + ///The difference between the base price for the product and this variation of the product, which can be a positive or negative decimal value. For example, if the base price for a t-shirt product is $10, but the XL variation should cost $12, the DeltaPrice value should be "2". However, if the XS variation should only cost $8, the DeltaPrice value should be "-2". + /// + public ProductVariationDeltaPrice DeltaPrice { get; set; } + /// ///The difference between the base weight for a product and this variation of the product, which can be a positive or negative decimal value. /// @@ -39,6 +44,18 @@ public class ProductVariation /// public bool? IsOrphan { get; set; } + public List LocalizedDeltaPrice { get; set; } + + /// + ///Wrapper for the list of option attributes configured for the product variation. + /// + public List Options { get; set; } + + /// + ///Supplier-defined properties assigned for the product variation. + /// + public ProductSupplierInfo SupplierInfo { get; set; } + /// ///The universal product code associated with the product variation. The UPC of a product is unique across all sales channels. /// @@ -59,23 +76,6 @@ public class ProductVariation /// public string VariationProductCode { get; set; } - /// - ///The difference between the base price for the product and this variation of the product, which can be a positive or negative decimal value. For example, if the base price for a t-shirt product is $10, but the XL variation should cost $12, the DeltaPrice value should be "2". However, if the XS variation should only cost $8, the DeltaPrice value should be "-2". - /// - public ProductVariationDeltaPrice DeltaPrice { get; set; } - - public List LocalizedDeltaPrice { get; set; } - - /// - ///Wrapper for the list of option attributes configured for the product variation. - /// - public List Options { get; set; } - - /// - ///Supplier-defined properties assigned for the product variation. - /// - public ProductSupplierInfo SupplierInfo { get; set; } - } } \ No newline at end of file diff --git a/SDK/Mozu.Api/Contracts/ProductAdmin/ProductVariationCollection.cs b/SDK/Mozu.Api/Contracts/ProductAdmin/ProductVariationCollection.cs index 707652bc..8c2c4b5e 100644 --- a/SDK/Mozu.Api/Contracts/ProductAdmin/ProductVariationCollection.cs +++ b/SDK/Mozu.Api/Contracts/ProductAdmin/ProductVariationCollection.cs @@ -20,14 +20,14 @@ namespace Mozu.Api.Contracts.ProductAdmin public class ProductVariationCollection { /// - ///The number of results listed in the query collection, represented by a signed 64-bit (8-byte) integer. This value is system-supplied and read-only. + ///An array list of objects in the returned collection. /// - public int TotalCount { get; set; } + public List Items { get; set; } /// - ///An array list of objects in the returned collection. + ///The number of results listed in the query collection, represented by a signed 64-bit (8-byte) integer. This value is system-supplied and read-only. /// - public List Items { get; set; } + public int TotalCount { get; set; } } diff --git a/SDK/Mozu.Api/Contracts/ProductAdmin/ProductVariationOption.cs b/SDK/Mozu.Api/Contracts/ProductAdmin/ProductVariationOption.cs index e7d292da..73a4282d 100644 --- a/SDK/Mozu.Api/Contracts/ProductAdmin/ProductVariationOption.cs +++ b/SDK/Mozu.Api/Contracts/ProductAdmin/ProductVariationOption.cs @@ -24,14 +24,14 @@ public class ProductVariationOption public string AttributeFQN { get; set; } /// - ///The value of an attribute option specified for this product variation. + ///Complex type that contains content for a language specified by LocaleCode. /// - public object Value { get; set; } + public AttributeVocabularyValueLocalizedContent Content { get; set; } /// - ///Complex type that contains content for a language specified by LocaleCode. + ///The value of an attribute option specified for this product variation. /// - public AttributeVocabularyValueLocalizedContent Content { get; set; } + public object Value { get; set; } } diff --git a/SDK/Mozu.Api/Contracts/ProductAdmin/ProductVariationPagedCollection.cs b/SDK/Mozu.Api/Contracts/ProductAdmin/ProductVariationPagedCollection.cs index 13591290..c74f970a 100644 --- a/SDK/Mozu.Api/Contracts/ProductAdmin/ProductVariationPagedCollection.cs +++ b/SDK/Mozu.Api/Contracts/ProductAdmin/ProductVariationPagedCollection.cs @@ -19,6 +19,11 @@ namespace Mozu.Api.Contracts.ProductAdmin /// public class ProductVariationPagedCollection { + /// + ///An array list of objects in the returned collection. + /// + public List Items { get; set; } + /// ///The number of pages returned based on the startIndex and pageSize values specified. This value is system-supplied and read-only. /// @@ -39,11 +44,6 @@ public class ProductVariationPagedCollection /// public int TotalCount { get; set; } - /// - ///An array list of objects in the returned collection. - /// - public List Items { get; set; } - } } \ No newline at end of file diff --git a/SDK/Mozu.Api/Contracts/ProductAdmin/SiteSearchSettings.cs b/SDK/Mozu.Api/Contracts/ProductAdmin/SiteSearchSettings.cs index 28a27e48..ae947801 100644 --- a/SDK/Mozu.Api/Contracts/ProductAdmin/SiteSearchSettings.cs +++ b/SDK/Mozu.Api/Contracts/ProductAdmin/SiteSearchSettings.cs @@ -18,12 +18,12 @@ public class SiteSearchSettings { public List CustomBoosts { get; set; } + public List CustomFields { get; set; } + public bool IsDefault { get; set; } public string SettingsName { get; set; } - public List CustomFields { get; set; } - public SiteSearchKeywordRelevancySettings SiteKeywordRelevancy { get; set; } public SiteSearchPhraseRelevancySettings SitePhraseRelevancy { get; set; } diff --git a/SDK/Mozu.Api/Contracts/ProductRuntime/AppliedDiscount.cs b/SDK/Mozu.Api/Contracts/ProductRuntime/AppliedDiscount.cs index 7d747f48..6900e778 100644 --- a/SDK/Mozu.Api/Contracts/ProductRuntime/AppliedDiscount.cs +++ b/SDK/Mozu.Api/Contracts/ProductRuntime/AppliedDiscount.cs @@ -24,14 +24,14 @@ public class AppliedDiscount public string CouponCode { get; set; } /// - ///The value of the discount applied to the product, represented as a negative currency amount to apply to the original price. + ///Properties of the discount currently applied to the product. /// - public decimal Impact { get; set; } + public Discount Discount { get; set; } /// - ///Properties of the discount currently applied to the product. + ///The value of the discount applied to the product, represented as a negative currency amount to apply to the original price. /// - public Discount Discount { get; set; } + public decimal Impact { get; set; } } diff --git a/SDK/Mozu.Api/Contracts/ProductRuntime/AttributeDetail.cs b/SDK/Mozu.Api/Contracts/ProductRuntime/AttributeDetail.cs index 65002265..9fa0f3bb 100644 --- a/SDK/Mozu.Api/Contracts/ProductRuntime/AttributeDetail.cs +++ b/SDK/Mozu.Api/Contracts/ProductRuntime/AttributeDetail.cs @@ -61,14 +61,14 @@ public class AttributeDetail public string UsageType { get; set; } /// - ///The type of value for the attribute, which is either ShopperEntered, AdminEntered, or Predefined. + ///Validation rules of an attribute that determine which values are valid for ShopperEntered and AdminEntered ValueTypes. /// - public string ValueType { get; set; } + public AttributeValidation Validation { get; set; } /// - ///Validation rules of an attribute that determine which values are valid for ShopperEntered and AdminEntered ValueTypes. + ///The type of value for the attribute, which is either ShopperEntered, AdminEntered, or Predefined. /// - public AttributeValidation Validation { get; set; } + public string ValueType { get; set; } } diff --git a/SDK/Mozu.Api/Contracts/ProductRuntime/BundledProduct.cs b/SDK/Mozu.Api/Contracts/ProductRuntime/BundledProduct.cs index d0488b91..2176e4ec 100644 --- a/SDK/Mozu.Api/Contracts/ProductRuntime/BundledProduct.cs +++ b/SDK/Mozu.Api/Contracts/ProductRuntime/BundledProduct.cs @@ -18,6 +18,11 @@ namespace Mozu.Api.Contracts.ProductRuntime /// public class BundledProduct { + /// + ///Localizable product content defined for the product bundle. System-supplied and read only. + /// + public ProductContent Content { get; set; } + /// ///When the goodsType is DigitalCredit this value is populated to indicate the value of the credit. This is used to create store credit in the fulfillment of gift cards. /// @@ -28,11 +33,21 @@ public class BundledProduct /// public string GoodsType { get; set; } + /// + ///This contains the inventory information about bundled products. If it manages stock, it specifies what the out of stock behavior is. + /// + public ProductInventoryInfo InventoryInfo { get; set; } + /// ///If true, the component product of the bundle should not ship in a package with the rest of the product bundle, and should ship in a package by itself. System-supplied and read only. /// public bool? IsPackagedStandAlone { get; set; } + /// + ///Dimensions of the packaged product. + /// + public PackageMeasurements Measurements { get; set; } + /// ///BundledProducts result from a static bundle or are dynamically added as a result of the shopper selecting products as extras. When the bundled item is dynamic, it includes the attribute's fully qualified name of the extra that it came from. When optionAttributeFQN is null, the bundled item was statically defined, when not null, the item came from an extra selection. /// @@ -55,21 +70,6 @@ public class BundledProduct /// public int Quantity { get; set; } - /// - ///Localizable product content defined for the product bundle. System-supplied and read only. - /// - public ProductContent Content { get; set; } - - /// - ///This contains the inventory information about bundled products. If it manages stock, it specifies what the out of stock behavior is. - /// - public ProductInventoryInfo InventoryInfo { get; set; } - - /// - ///Dimensions of the packaged product. - /// - public PackageMeasurements Measurements { get; set; } - } } \ No newline at end of file diff --git a/SDK/Mozu.Api/Contracts/ProductRuntime/BundledProductSummary.cs b/SDK/Mozu.Api/Contracts/ProductRuntime/BundledProductSummary.cs index ee8fbb62..a0be08b6 100644 --- a/SDK/Mozu.Api/Contracts/ProductRuntime/BundledProductSummary.cs +++ b/SDK/Mozu.Api/Contracts/ProductRuntime/BundledProductSummary.cs @@ -28,11 +28,21 @@ public class BundledProductSummary /// public string GoodsType { get; set; } + /// + ///This contains the inventory information about bundled products. If it manages stock, it specifies what the out of stock behavior is. + /// + public ProductInventoryInfo InventoryInfo { get; set; } + /// ///If true, the component product of the bundle should not ship in a package with the rest of the product bundle, and should ship in a package by itself. System-supplied and read only. /// public bool? IsPackagedStandAlone { get; set; } + /// + ///Dimensions of the packaged product. + /// + public PackageMeasurements Measurements { get; set; } + /// ///BundledProducts result from a static bundle or are dynamically added as a result of the shopper selecting products as extras. When the bundled item is dynamic, it includes the attribute's fully qualified name of the extra that it came from. When optionAttributeFQN is null, the bundled item was statically defined, when not null, the item came from an extra selection. /// @@ -65,16 +75,6 @@ public class BundledProductSummary /// public int Quantity { get; set; } - /// - ///This contains the inventory information about bundled products. If it manages stock, it specifies what the out of stock behavior is. - /// - public ProductInventoryInfo InventoryInfo { get; set; } - - /// - ///Dimensions of the packaged product. - /// - public PackageMeasurements Measurements { get; set; } - } } \ No newline at end of file diff --git a/SDK/Mozu.Api/Contracts/ProductRuntime/Category.cs b/SDK/Mozu.Api/Contracts/ProductRuntime/Category.cs index 6f3b1a16..b237e117 100644 --- a/SDK/Mozu.Api/Contracts/ProductRuntime/Category.cs +++ b/SDK/Mozu.Api/Contracts/ProductRuntime/Category.cs @@ -25,14 +25,9 @@ public class Category public int CategoryId { get; set; } /// - ///If true, the category is displayed on the website storefront. - /// - public bool IsDisplayed { get; set; } - - /// - ///The numeric value that denotes the place this entity occupies in the order of the entity list. + ///List of the subcategories in the hierarchy for the specified categories. /// - public int? Sequence { get; set; } + public List ChildrenCategories { get; set; } /// ///Complex type that contains content for a language specified by LocaleCode. @@ -40,15 +35,20 @@ public class Category public CategoryContent Content { get; set; } /// - ///List of the subcategories in the hierarchy for the specified categories. + ///If true, the category is displayed on the website storefront. /// - public List ChildrenCategories { get; set; } + public bool IsDisplayed { get; set; } /// ///If applicable, the parent category in the hierarchy for the specified category. /// public Category ParentCategory { get; set; } + /// + ///The numeric value that denotes the place this entity occupies in the order of the entity list. + /// + public int? Sequence { get; set; } + } } \ No newline at end of file diff --git a/SDK/Mozu.Api/Contracts/ProductRuntime/CategoryCollection.cs b/SDK/Mozu.Api/Contracts/ProductRuntime/CategoryCollection.cs index f54f6111..67122808 100644 --- a/SDK/Mozu.Api/Contracts/ProductRuntime/CategoryCollection.cs +++ b/SDK/Mozu.Api/Contracts/ProductRuntime/CategoryCollection.cs @@ -20,14 +20,14 @@ namespace Mozu.Api.Contracts.ProductRuntime public class CategoryCollection { /// - ///The number of results listed in the query collection, represented by a signed 64-bit (8-byte) integer. This value is system-supplied and read-only. + ///An array list of objects in the returned collection. /// - public int TotalCount { get; set; } + public List Items { get; set; } /// - ///An array list of objects in the returned collection. + ///The number of results listed in the query collection, represented by a signed 64-bit (8-byte) integer. This value is system-supplied and read-only. /// - public List Items { get; set; } + public int TotalCount { get; set; } } diff --git a/SDK/Mozu.Api/Contracts/ProductRuntime/CategoryContent.cs b/SDK/Mozu.Api/Contracts/ProductRuntime/CategoryContent.cs index 55b715e3..d3c05116 100644 --- a/SDK/Mozu.Api/Contracts/ProductRuntime/CategoryContent.cs +++ b/SDK/Mozu.Api/Contracts/ProductRuntime/CategoryContent.cs @@ -19,6 +19,11 @@ namespace Mozu.Api.Contracts.ProductRuntime /// public class CategoryContent { + /// + ///Array list of image media associated with the product category. + /// + public List CategoryImages { get; set; } + /// ///The localized description of the category to display on a storefront. /// @@ -54,11 +59,6 @@ public class CategoryContent /// public string Slug { get; set; } - /// - ///Array list of image media associated with the product category. - /// - public List CategoryImages { get; set; } - } } \ No newline at end of file diff --git a/SDK/Mozu.Api/Contracts/ProductRuntime/CategoryPagedCollection.cs b/SDK/Mozu.Api/Contracts/ProductRuntime/CategoryPagedCollection.cs index 2742efe4..19950bfd 100644 --- a/SDK/Mozu.Api/Contracts/ProductRuntime/CategoryPagedCollection.cs +++ b/SDK/Mozu.Api/Contracts/ProductRuntime/CategoryPagedCollection.cs @@ -19,6 +19,11 @@ namespace Mozu.Api.Contracts.ProductRuntime /// public class CategoryPagedCollection { + /// + ///An array list of objects in the returned collection. + /// + public List Items { get; set; } + /// ///The number of pages returned based on the startIndex and pageSize values specified. This value is system-supplied and read-only. /// @@ -36,11 +41,6 @@ public class CategoryPagedCollection /// public int TotalCount { get; set; } - /// - ///An array list of objects in the returned collection. - /// - public List Items { get; set; } - } } \ No newline at end of file diff --git a/SDK/Mozu.Api/Contracts/ProductRuntime/ConfiguredProduct.cs b/SDK/Mozu.Api/Contracts/ProductRuntime/ConfiguredProduct.cs index 976ca11f..1364742c 100644 --- a/SDK/Mozu.Api/Contracts/ProductRuntime/ConfiguredProduct.cs +++ b/SDK/Mozu.Api/Contracts/ProductRuntime/ConfiguredProduct.cs @@ -20,34 +20,14 @@ namespace Mozu.Api.Contracts.ProductRuntime public class ConfiguredProduct { /// - ///The list of fulfillment types the product supports. - /// - public List FulfillmentTypesSupported { get; set; } - - /// - ///The manufacturer part number supplied for the product. - /// - public string MfgPartNumber { get; set; } - - /// - ///Merchant-created code that uniquely identifies the product such as a SKU or item number. Once created, the product code is read-only. - /// - public string ProductCode { get; set; } - - /// - ///The universal product code defined for the product. - /// - public string Upc { get; set; } - - /// - ///Merchant-created code associated with a specific product variation. Variation product codes maintain an association with the base product code. + ///List of shipping discounts that can be applied to the configured product. /// - public string VariationProductCode { get; set; } + public List AvailableShippingDiscounts { get; set; } /// - ///List of shipping discounts that can be applied to the configured product. + ///The list of fulfillment types the product supports. /// - public List AvailableShippingDiscounts { get; set; } + public List FulfillmentTypesSupported { get; set; } /// ///Properties of the inventory of the configured product, including the number of items in stock, whether the item appears on the storefront, and whether the item is out of stock or can be back ordered. @@ -59,6 +39,11 @@ public class ConfiguredProduct /// public PackageMeasurements Measurements { get; set; } + /// + ///The manufacturer part number supplied for the product. + /// + public string MfgPartNumber { get; set; } + /// ///The list of options set up in product admin. /// @@ -74,11 +59,26 @@ public class ConfiguredProduct /// public ProductPriceRange PriceRange { get; set; } + /// + ///Merchant-created code that uniquely identifies the product such as a SKU or item number. Once created, the product code is read-only. + /// + public string ProductCode { get; set; } + /// ///The current state of the configured product determines whether or not the product is eligible for purchase. Products with options are only purchasable if the shopper has selected all required options. If the product is not ready for purchase, a message lists missing options that are required. /// public ProductPurchasableState PurchasableState { get; set; } + /// + ///The universal product code defined for the product. + /// + public string Upc { get; set; } + + /// + ///Merchant-created code associated with a specific product variation. Variation product codes maintain an association with the base product code. + /// + public string VariationProductCode { get; set; } + } } \ No newline at end of file diff --git a/SDK/Mozu.Api/Contracts/ProductRuntime/FacetValue.cs b/SDK/Mozu.Api/Contracts/ProductRuntime/FacetValue.cs index 86eba34c..fbd9cf65 100644 --- a/SDK/Mozu.Api/Contracts/ProductRuntime/FacetValue.cs +++ b/SDK/Mozu.Api/Contracts/ProductRuntime/FacetValue.cs @@ -19,6 +19,11 @@ namespace Mozu.Api.Contracts.ProductRuntime /// public class FacetValue { + /// + ///If applicable, the values of any subcategory facets in a hierarchy. Hierarchical facets only apply for product categories. + /// + public List ChildrenFacetValues { get; set; } + /// ///The number of facet value selections in a product search result set. /// @@ -59,11 +64,6 @@ public class FacetValue /// public string Value { get; set; } - /// - ///If applicable, the values of any subcategory facets in a hierarchy. Hierarchical facets only apply for product categories. - /// - public List ChildrenFacetValues { get; set; } - } } \ No newline at end of file diff --git a/SDK/Mozu.Api/Contracts/ProductRuntime/LocationInventoryCollection.cs b/SDK/Mozu.Api/Contracts/ProductRuntime/LocationInventoryCollection.cs index 0013f5be..973e73f9 100644 --- a/SDK/Mozu.Api/Contracts/ProductRuntime/LocationInventoryCollection.cs +++ b/SDK/Mozu.Api/Contracts/ProductRuntime/LocationInventoryCollection.cs @@ -20,14 +20,14 @@ namespace Mozu.Api.Contracts.ProductRuntime public class LocationInventoryCollection { /// - ///The number of results listed in the query collection, represented by a signed 64-bit (8-byte) integer. This value is system-supplied and read-only. + ///An array list of objects in the returned collection. /// - public int TotalCount { get; set; } + public List Items { get; set; } /// - ///An array list of objects in the returned collection. + ///The number of results listed in the query collection, represented by a signed 64-bit (8-byte) integer. This value is system-supplied and read-only. /// - public List Items { get; set; } + public int TotalCount { get; set; } } diff --git a/SDK/Mozu.Api/Contracts/ProductRuntime/Product.cs b/SDK/Mozu.Api/Contracts/ProductRuntime/Product.cs index fe929b71..aee0d2b9 100644 --- a/SDK/Mozu.Api/Contracts/ProductRuntime/Product.cs +++ b/SDK/Mozu.Api/Contracts/ProductRuntime/Product.cs @@ -20,146 +20,146 @@ namespace Mozu.Api.Contracts.ProductRuntime public class Product { /// - ///Date and time when the entity was created, represented in UTC Date/Time. + ///List of shipping discounts that can be applied to the product. /// - public DateTime CreateDate { get; set; } + public List AvailableShippingDiscounts { get; set; } /// - ///The list of fulfillment types the product supports. + ///Properties of a collection of component products that make up a single product bundle with its own product code. /// - public List FulfillmentTypesSupported { get; set; } - - public string GoodsType { get; set; } + public List BundledProducts { get; set; } /// - ///If true, the product is marked as available for sale. Setting a product to IsActive = false will prevent it from being shown on the customer facing storefront. + ///List of categories associated with the product. /// - public bool? IsActive { get; set; } + public List Categories { get; set; } /// - ///If true, this product cannot ship in a package with other products and must ship in a package by itself. + ///Complex type that contains content for a language specified by LocaleCode. /// - public bool? IsPackagedStandAlone { get; set; } + public ProductContent Content { get; set; } /// - ///If true, the product can be purchased or fulfilled at regular intervals such as a monthly billing cycle or a digital or physical subscription. + ///Date and time when the entity was created, represented in UTC Date/Time. /// - public bool IsRecurring { get; set; } + public DateTime CreateDate { get; set; } /// - ///If true, the entity is subject to tax based on the relevant tax rate. + ///The list of fulfillment types the product supports. /// - public bool IsTaxable { get; set; } + public List FulfillmentTypesSupported { get; set; } + + public string GoodsType { get; set; } /// - ///The manufacturer part number defined for the product. + ///Array of active inventory level information associated with the product. /// - public string MfgPartNumber { get; set; } + public ProductInventoryInfo InventoryInfo { get; set; } /// - ///The list of manufacturer part numbers defined for the product. + ///If true, the product is marked as available for sale. Setting a product to IsActive = false will prevent it from being shown on the customer facing storefront. /// - public List MfgPartNumbers { get; set; } + public bool? IsActive { get; set; } /// - ///Merchant-created code that uniquely identifies the product such as a SKU or item number. Once created, the product code is read-only. + ///If true, this product cannot ship in a package with other products and must ship in a package by itself. /// - public string ProductCode { get; set; } + public bool? IsPackagedStandAlone { get; set; } /// - ///Integer that represents the sequential order of the product. + ///If true, the product can be purchased or fulfilled at regular intervals such as a monthly billing cycle or a digital or physical subscription. /// - public int? ProductSequence { get; set; } + public bool IsRecurring { get; set; } /// - ///A product type is like a product template that can be reused. + ///If true, the entity is subject to tax based on the relevant tax rate. /// - public string ProductType { get; set; } + public bool IsTaxable { get; set; } /// - ///The usage type that applies to this product, which is Standard (a single product without configurable options), Configurable (a product that includes configurable option attributes), Bundle (a collection of products sold as a single entity), or Component (an invididual product that represents a component in a bundle). + ///Dimensions of the packaged product. /// - public string ProductUsage { get; set; } + public PackageMeasurements Measurements { get; set; } /// - ///The publishing state of the product definition in the master catalog, which is "New", "Draft", or "Live". + ///The manufacturer part number defined for the product. /// - public string PublishState { get; set; } + public string MfgPartNumber { get; set; } /// - ///The universal product code associated with the product. The UPC of a product is unique across all sales channels. + ///The list of manufacturer part numbers defined for the product. /// - public string Upc { get; set; } + public List MfgPartNumbers { get; set; } /// - ///The list of universal product codes defined for the product. + ///The list of options set up in product admin. /// - public List UpCs { get; set; } + public List Options { get; set; } /// - ///Product code that represents the product variation selected based on the option values the shopper entered. + ///Unit price that the tenant intends to sell the product if no sale price is set. /// - public string VariationProductCode { get; set; } + public ProductPrice Price { get; set; } /// - ///Complex type that contains content for a language specified by LocaleCode. + ///For products with options that vary the cost of the product, the range between lowest and highest possible price of the product based on the current selection of options. /// - public ProductContent Content { get; set; } + public ProductPriceRange PriceRange { get; set; } /// - ///List of shipping discounts that can be applied to the product. + ///Describes the behavior the system uses when determining the price of the product. /// - public List AvailableShippingDiscounts { get; set; } + public ProductPricingBehaviorInfo PricingBehavior { get; set; } /// - ///Properties of a collection of component products that make up a single product bundle with its own product code. + ///Merchant-created code that uniquely identifies the product such as a SKU or item number. Once created, the product code is read-only. /// - public List BundledProducts { get; set; } + public string ProductCode { get; set; } /// - ///List of categories associated with the product. + ///Integer that represents the sequential order of the product. /// - public List Categories { get; set; } + public int? ProductSequence { get; set; } /// - ///Array of active inventory level information associated with the product. + ///A product type is like a product template that can be reused. /// - public ProductInventoryInfo InventoryInfo { get; set; } + public string ProductType { get; set; } /// - ///Dimensions of the packaged product. + ///The usage type that applies to this product, which is Standard (a single product without configurable options), Configurable (a product that includes configurable option attributes), Bundle (a collection of products sold as a single entity), or Component (an invididual product that represents a component in a bundle). /// - public PackageMeasurements Measurements { get; set; } + public string ProductUsage { get; set; } /// - ///The list of options set up in product admin. + ///The list of product property attributes defined for the product. /// - public List Options { get; set; } + public List Properties { get; set; } /// - ///Unit price that the tenant intends to sell the product if no sale price is set. + ///The publishing state of the product definition in the master catalog, which is "New", "Draft", or "Live". /// - public ProductPrice Price { get; set; } + public string PublishState { get; set; } /// - ///For products with options that vary the cost of the product, the range between lowest and highest possible price of the product based on the current selection of options. + ///The current state of the configured product determines whether or not the product is eligible for purchase. Products with options are only purchasable if the shopper has selected all required options. If the product is not ready for purchase, a message lists missing options that are required. /// - public ProductPriceRange PriceRange { get; set; } + public ProductPurchasableState PurchasableState { get; set; } /// - ///Describes the behavior the system uses when determining the price of the product. + ///The universal product code associated with the product. The UPC of a product is unique across all sales channels. /// - public ProductPricingBehaviorInfo PricingBehavior { get; set; } + public string Upc { get; set; } /// - ///The list of product property attributes defined for the product. + ///The list of universal product codes defined for the product. /// - public List Properties { get; set; } + public List UpCs { get; set; } /// - ///The current state of the configured product determines whether or not the product is eligible for purchase. Products with options are only purchasable if the shopper has selected all required options. If the product is not ready for purchase, a message lists missing options that are required. + ///Product code that represents the product variation selected based on the option values the shopper entered. /// - public ProductPurchasableState PurchasableState { get; set; } + public string VariationProductCode { get; set; } } diff --git a/SDK/Mozu.Api/Contracts/ProductRuntime/ProductCollection.cs b/SDK/Mozu.Api/Contracts/ProductRuntime/ProductCollection.cs index 21b32611..b2a26cfd 100644 --- a/SDK/Mozu.Api/Contracts/ProductRuntime/ProductCollection.cs +++ b/SDK/Mozu.Api/Contracts/ProductRuntime/ProductCollection.cs @@ -19,6 +19,11 @@ namespace Mozu.Api.Contracts.ProductRuntime /// public class ProductCollection { + /// + ///An array list of objects in the returned collection. + /// + public List Items { get; set; } + /// ///The number of pages returned based on the startIndex and pageSize values specified. This value is system-supplied and read-only. /// @@ -36,11 +41,6 @@ public class ProductCollection /// public int TotalCount { get; set; } - /// - ///An array list of objects in the returned collection. - /// - public List Items { get; set; } - } } \ No newline at end of file diff --git a/SDK/Mozu.Api/Contracts/ProductRuntime/ProductContent.cs b/SDK/Mozu.Api/Contracts/ProductRuntime/ProductContent.cs index 804477b3..afebaa8d 100644 --- a/SDK/Mozu.Api/Contracts/ProductRuntime/ProductContent.cs +++ b/SDK/Mozu.Api/Contracts/ProductRuntime/ProductContent.cs @@ -39,6 +39,11 @@ public class ProductContent /// public string ProductFullDescription { get; set; } + /// + ///List of image files associated with the product. + /// + public List ProductImages { get; set; } + /// ///The descriptive brief product name. /// @@ -54,11 +59,6 @@ public class ProductContent /// public string SeoFriendlyUrl { get; set; } - /// - ///List of image files associated with the product. - /// - public List ProductImages { get; set; } - } } \ No newline at end of file diff --git a/SDK/Mozu.Api/Contracts/ProductRuntime/ProductOption.cs b/SDK/Mozu.Api/Contracts/ProductRuntime/ProductOption.cs index ade167b6..56e79463 100644 --- a/SDK/Mozu.Api/Contracts/ProductRuntime/ProductOption.cs +++ b/SDK/Mozu.Api/Contracts/ProductRuntime/ProductOption.cs @@ -19,6 +19,11 @@ namespace Mozu.Api.Contracts.ProductRuntime /// public class ProductOption { + /// + ///Details of the product option attribute. + /// + public AttributeDetail AttributeDetail { get; set; } + /// ///The fully qualified name of the attribute, which is a user defined attribute identifier. /// @@ -34,11 +39,6 @@ public class ProductOption /// public bool? IsRequired { get; set; } - /// - ///Details of the product option attribute. - /// - public AttributeDetail AttributeDetail { get; set; } - /// ///List of possible values for a product option attribute. /// diff --git a/SDK/Mozu.Api/Contracts/ProductRuntime/ProductOptionSelections.cs b/SDK/Mozu.Api/Contracts/ProductRuntime/ProductOptionSelections.cs index a5bc319b..31fa0c67 100644 --- a/SDK/Mozu.Api/Contracts/ProductRuntime/ProductOptionSelections.cs +++ b/SDK/Mozu.Api/Contracts/ProductRuntime/ProductOptionSelections.cs @@ -20,14 +20,14 @@ namespace Mozu.Api.Contracts.ProductRuntime public class ProductOptionSelections { /// - ///Product code that represents the product variation selected based on the option values the shopper entered. + ///List of option attributes associated with the product and the associated values currently defined for this product configuration. /// - public string VariationProductCode { get; set; } + public List Options { get; set; } /// - ///List of option attributes associated with the product and the associated values currently defined for this product configuration. + ///Product code that represents the product variation selected based on the option values the shopper entered. /// - public List Options { get; set; } + public string VariationProductCode { get; set; } } diff --git a/SDK/Mozu.Api/Contracts/ProductRuntime/ProductOptionValue.cs b/SDK/Mozu.Api/Contracts/ProductRuntime/ProductOptionValue.cs index 2ddc3a00..e7f80f22 100644 --- a/SDK/Mozu.Api/Contracts/ProductRuntime/ProductOptionValue.cs +++ b/SDK/Mozu.Api/Contracts/ProductRuntime/ProductOptionValue.cs @@ -23,6 +23,8 @@ public class ProductOptionValue /// public int AttributeValueId { get; set; } + public BundledProduct BundledProduct { get; set; } + /// ///The difference between the highest price and the lowest price. /// @@ -33,6 +35,8 @@ public class ProductOptionValue /// public decimal? DeltaWeight { get; set; } + public AttributeVocabularyValueDisplayInfo DisplayInfo { get; set; } + /// ///If true, the product option value is the default value that the merchant supplied. /// @@ -63,10 +67,6 @@ public class ProductOptionValue /// public object Value { get; set; } - public BundledProduct BundledProduct { get; set; } - - public AttributeVocabularyValueDisplayInfo DisplayInfo { get; set; } - } } \ No newline at end of file diff --git a/SDK/Mozu.Api/Contracts/ProductRuntime/ProductPrice.cs b/SDK/Mozu.Api/Contracts/ProductRuntime/ProductPrice.cs index ff88ae31..06db7637 100644 --- a/SDK/Mozu.Api/Contracts/ProductRuntime/ProductPrice.cs +++ b/SDK/Mozu.Api/Contracts/ProductRuntime/ProductPrice.cs @@ -30,6 +30,11 @@ public class ProductPrice public decimal? CreditValue { get; set; } + /// + ///The discount applied to the product price. + /// + public AppliedDiscount Discount { get; set; } + /// ///The manufacturer's suggested retail price for the product. /// @@ -55,11 +60,6 @@ public class ProductPrice /// public string SalePriceType { get; set; } - /// - ///The discount applied to the product price. - /// - public AppliedDiscount Discount { get; set; } - } } \ No newline at end of file diff --git a/SDK/Mozu.Api/Contracts/ProductRuntime/ProductProperty.cs b/SDK/Mozu.Api/Contracts/ProductRuntime/ProductProperty.cs index d49307aa..71591665 100644 --- a/SDK/Mozu.Api/Contracts/ProductRuntime/ProductProperty.cs +++ b/SDK/Mozu.Api/Contracts/ProductRuntime/ProductProperty.cs @@ -19,6 +19,11 @@ namespace Mozu.Api.Contracts.ProductRuntime /// public class ProductProperty { + /// + ///Details of the attribute defined as a product property. + /// + public AttributeDetail AttributeDetail { get; set; } + /// ///The fully qualified name of the attribute, which is a user defined attribute identifier. /// @@ -34,11 +39,6 @@ public class ProductProperty /// public bool? IsMultiValue { get; set; } - /// - ///Details of the attribute defined as a product property. - /// - public AttributeDetail AttributeDetail { get; set; } - /// ///List of values defined for the product property attribute. /// diff --git a/SDK/Mozu.Api/Contracts/ProductRuntime/ProductPropertyValue.cs b/SDK/Mozu.Api/Contracts/ProductRuntime/ProductPropertyValue.cs index d778866c..f40bc7ef 100644 --- a/SDK/Mozu.Api/Contracts/ProductRuntime/ProductPropertyValue.cs +++ b/SDK/Mozu.Api/Contracts/ProductRuntime/ProductPropertyValue.cs @@ -18,6 +18,8 @@ namespace Mozu.Api.Contracts.ProductRuntime /// public class ProductPropertyValue { + public AttributeVocabularyValueDisplayInfo DisplayInfo { get; set; } + /// ///Property string value in the language specified in the locale code for the product storefront. /// @@ -28,8 +30,6 @@ public class ProductPropertyValue /// public object Value { get; set; } - public AttributeVocabularyValueDisplayInfo DisplayInfo { get; set; } - } } \ No newline at end of file diff --git a/SDK/Mozu.Api/Contracts/ProductRuntime/ProductSearchResult.cs b/SDK/Mozu.Api/Contracts/ProductRuntime/ProductSearchResult.cs index 9ee2bded..b1ba2813 100644 --- a/SDK/Mozu.Api/Contracts/ProductRuntime/ProductSearchResult.cs +++ b/SDK/Mozu.Api/Contracts/ProductRuntime/ProductSearchResult.cs @@ -19,6 +19,16 @@ namespace Mozu.Api.Contracts.ProductRuntime /// public class ProductSearchResult { + /// + ///The facets applied to index products in the product search result. + /// + public List Facets { get; set; } + + /// + ///An array list of objects in the returned collection. + /// + public List Items { get; set; } + /// ///The number of pages returned based on the startIndex and pageSize values specified. This value is system-supplied and read-only. /// @@ -36,16 +46,6 @@ public class ProductSearchResult /// public int TotalCount { get; set; } - /// - ///The facets applied to index products in the product search result. - /// - public List Facets { get; set; } - - /// - ///An array list of objects in the returned collection. - /// - public List Items { get; set; } - } } \ No newline at end of file diff --git a/SDK/Mozu.Api/Contracts/ProductRuntime/ProductValidationSummary.cs b/SDK/Mozu.Api/Contracts/ProductRuntime/ProductValidationSummary.cs index 097ef25a..18d5ba35 100644 --- a/SDK/Mozu.Api/Contracts/ProductRuntime/ProductValidationSummary.cs +++ b/SDK/Mozu.Api/Contracts/ProductRuntime/ProductValidationSummary.cs @@ -20,93 +20,83 @@ namespace Mozu.Api.Contracts.ProductRuntime public class ProductValidationSummary { /// - ///List of fulfillment types that the product supports. + ///Properties of a collection of component products that make up a single product bundle with its own product code. /// - public List FulfillmentTypesSupported { get; set; } - - public string GoodsType { get; set; } + public List BundledProducts { get; set; } /// - ///If true, this product should not be packaged with other items and should ship by itself. + ///The list of product categories for the storefront. /// - public bool? IsPackagedStandAlone { get; set; } + public List Categories { get; set; } /// - ///If true, the entity is subject to tax based on the relevant tax rate. + ///List of fulfillment types that the product supports. /// - public bool IsTaxable { get; set; } + public List FulfillmentTypesSupported { get; set; } - /// - ///The manufacturer's part number for the product. - /// - public string MfgPartNumber { get; set; } + public string GoodsType { get; set; } /// - ///Merchant-created code that uniquely identifies the product such as a SKU or item number. Once created, the product code is read-only. + ///The image configured for the product on the storefront. /// - public string ProductCode { get; set; } + public ProductImage Image { get; set; } /// - ///The descriptive brief product name. + ///Properties of the active inventory level of the associated product. /// - public string ProductName { get; set; } + public ProductInventoryInfo InventoryInfo { get; set; } /// - ///Brief description of the product typically used when the product is displayed in a list or in search results. + ///If true, this product should not be packaged with other items and should ship by itself. /// - public string ProductShortDescription { get; set; } - - public string ProductType { get; set; } + public bool? IsPackagedStandAlone { get; set; } /// - ///The usage type of this product, which is Standard (a single product without configurable options), Configurable (a product that includes configurable option attributes), Bundle (a collection of products sold as a single entity), or Component (an invididual product that represents a component in a bundle). + ///If true, the entity is subject to tax based on the relevant tax rate. /// - public string ProductUsage { get; set; } + public bool IsTaxable { get; set; } /// - ///The universal product code defined for the product. + ///Dimensions of the packaged product. /// - public string Upc { get; set; } + public PackageMeasurements Measurements { get; set; } /// - ///Merchant-created code associated with a specific product variation. Variation product codes maintain an association with the base product code. + ///The manufacturer's part number for the product. /// - public string VariationProductCode { get; set; } + public string MfgPartNumber { get; set; } /// - ///Properties of a collection of component products that make up a single product bundle with its own product code. + ///Price that the merchant intends to sell the product which is not necessarily the list price. This is the price the merchant intends to sell the product if no sale price is present. /// - public List BundledProducts { get; set; } + public ProductPrice Price { get; set; } /// - ///The list of product categories for the storefront. + ///Properties that describe the behavior the system uses when determining the price of the product. /// - public List Categories { get; set; } + public ProductPricingBehaviorInfo PricingBehavior { get; set; } /// - ///The image configured for the product on the storefront. + ///Merchant-created code that uniquely identifies the product such as a SKU or item number. Once created, the product code is read-only. /// - public ProductImage Image { get; set; } + public string ProductCode { get; set; } /// - ///Properties of the active inventory level of the associated product. + ///The descriptive brief product name. /// - public ProductInventoryInfo InventoryInfo { get; set; } + public string ProductName { get; set; } /// - ///Dimensions of the packaged product. + ///Brief description of the product typically used when the product is displayed in a list or in search results. /// - public PackageMeasurements Measurements { get; set; } + public string ProductShortDescription { get; set; } - /// - ///Price that the merchant intends to sell the product which is not necessarily the list price. This is the price the merchant intends to sell the product if no sale price is present. - /// - public ProductPrice Price { get; set; } + public string ProductType { get; set; } /// - ///Properties that describe the behavior the system uses when determining the price of the product. + ///The usage type of this product, which is Standard (a single product without configurable options), Configurable (a product that includes configurable option attributes), Bundle (a collection of products sold as a single entity), or Component (an invididual product that represents a component in a bundle). /// - public ProductPricingBehaviorInfo PricingBehavior { get; set; } + public string ProductUsage { get; set; } /// ///The list of product properties configured in product admin. @@ -118,6 +108,16 @@ public class ProductValidationSummary /// public ProductPurchasableState PurchasableState { get; set; } + /// + ///The universal product code defined for the product. + /// + public string Upc { get; set; } + + /// + ///Merchant-created code associated with a specific product variation. Variation product codes maintain an association with the base product code. + /// + public string VariationProductCode { get; set; } + } } \ No newline at end of file diff --git a/SDK/Mozu.Api/Contracts/ProductRuntime/ValidationMessage.cs b/SDK/Mozu.Api/Contracts/ProductRuntime/ValidationMessage.cs index 92833dbb..fd0e0892 100644 --- a/SDK/Mozu.Api/Contracts/ProductRuntime/ValidationMessage.cs +++ b/SDK/Mozu.Api/Contracts/ProductRuntime/ValidationMessage.cs @@ -18,11 +18,6 @@ namespace Mozu.Api.Contracts.ProductRuntime /// public class ValidationMessage { - /// - ///Unique identifier of the entity that triggered the validation. - /// - public string SourceId { get; set; } - /// ///The contents of the message displayed to the user when the product validation failure occurs. /// @@ -38,6 +33,11 @@ public class ValidationMessage /// public string Source { get; set; } + /// + ///Unique identifier of the entity that triggered the validation. + /// + public string SourceId { get; set; } + public string ValidationType { get; set; } } diff --git a/SDK/Mozu.Api/Contracts/Reference/AddressSchema.cs b/SDK/Mozu.Api/Contracts/Reference/AddressSchema.cs index fd65120b..be4cc1bf 100644 --- a/SDK/Mozu.Api/Contracts/Reference/AddressSchema.cs +++ b/SDK/Mozu.Api/Contracts/Reference/AddressSchema.cs @@ -30,14 +30,14 @@ public class AddressSchema public string CountryLabel { get; set; } /// - ///The unique identifier of this postal address schema. + ///The fields to display for postal addresses associated with this country. /// - public int Id { get; set; } + public List Fields { get; set; } /// - ///The fields to display for postal addresses associated with this country. + ///The unique identifier of this postal address schema. /// - public List Fields { get; set; } + public int Id { get; set; } } diff --git a/SDK/Mozu.Api/Contracts/Reference/AddressSchemaCollection.cs b/SDK/Mozu.Api/Contracts/Reference/AddressSchemaCollection.cs index 68d767c0..64112457 100644 --- a/SDK/Mozu.Api/Contracts/Reference/AddressSchemaCollection.cs +++ b/SDK/Mozu.Api/Contracts/Reference/AddressSchemaCollection.cs @@ -20,14 +20,14 @@ namespace Mozu.Api.Contracts.Reference public class AddressSchemaCollection { /// - ///The number of results listed in the query collection, represented by a signed 64-bit (8-byte) integer. This value is system-supplied and read-only. + ///An array list of objects in the returned collection. /// - public int TotalCount { get; set; } + public List Items { get; set; } /// - ///An array list of objects in the returned collection. + ///The number of results listed in the query collection, represented by a signed 64-bit (8-byte) integer. This value is system-supplied and read-only. /// - public List Items { get; set; } + public int TotalCount { get; set; } } diff --git a/SDK/Mozu.Api/Contracts/Reference/ContentLocaleCollection.cs b/SDK/Mozu.Api/Contracts/Reference/ContentLocaleCollection.cs index 9353cd21..3cf993b3 100644 --- a/SDK/Mozu.Api/Contracts/Reference/ContentLocaleCollection.cs +++ b/SDK/Mozu.Api/Contracts/Reference/ContentLocaleCollection.cs @@ -20,14 +20,14 @@ namespace Mozu.Api.Contracts.Reference public class ContentLocaleCollection { /// - ///The number of results listed in the query collection, represented by a signed 64-bit (8-byte) integer. This value is system-supplied and read-only. + ///An array list of objects in the returned collection. /// - public int TotalCount { get; set; } + public List Items { get; set; } /// - ///An array list of objects in the returned collection. + ///The number of results listed in the query collection, represented by a signed 64-bit (8-byte) integer. This value is system-supplied and read-only. /// - public List Items { get; set; } + public int TotalCount { get; set; } } diff --git a/SDK/Mozu.Api/Contracts/Reference/CountryCollection.cs b/SDK/Mozu.Api/Contracts/Reference/CountryCollection.cs index 4d4b82c9..cb257fa2 100644 --- a/SDK/Mozu.Api/Contracts/Reference/CountryCollection.cs +++ b/SDK/Mozu.Api/Contracts/Reference/CountryCollection.cs @@ -20,14 +20,14 @@ namespace Mozu.Api.Contracts.Reference public class CountryCollection { /// - ///The number of results listed in the query collection, represented by a signed 64-bit (8-byte) integer. This value is system-supplied and read-only. + ///An array list of objects in the returned collection. /// - public int TotalCount { get; set; } + public List Items { get; set; } /// - ///An array list of objects in the returned collection. + ///The number of results listed in the query collection, represented by a signed 64-bit (8-byte) integer. This value is system-supplied and read-only. /// - public List Items { get; set; } + public int TotalCount { get; set; } } diff --git a/SDK/Mozu.Api/Contracts/Reference/CurrencyCollection.cs b/SDK/Mozu.Api/Contracts/Reference/CurrencyCollection.cs index bdb97ac0..7fc4e786 100644 --- a/SDK/Mozu.Api/Contracts/Reference/CurrencyCollection.cs +++ b/SDK/Mozu.Api/Contracts/Reference/CurrencyCollection.cs @@ -20,14 +20,14 @@ namespace Mozu.Api.Contracts.Reference public class CurrencyCollection { /// - ///The number of results listed in the query collection, represented by a signed 64-bit (8-byte) integer. This value is system-supplied and read-only. + ///An array list of objects in the returned collection. /// - public int TotalCount { get; set; } + public List Items { get; set; } /// - ///An array list of objects in the returned collection. + ///The number of results listed in the query collection, represented by a signed 64-bit (8-byte) integer. This value is system-supplied and read-only. /// - public List Items { get; set; } + public int TotalCount { get; set; } } diff --git a/SDK/Mozu.Api/Contracts/Reference/Field.cs b/SDK/Mozu.Api/Contracts/Reference/Field.cs index d697df00..5451319c 100644 --- a/SDK/Mozu.Api/Contracts/Reference/Field.cs +++ b/SDK/Mozu.Api/Contracts/Reference/Field.cs @@ -19,6 +19,11 @@ namespace Mozu.Api.Contracts.Reference /// public class Field { + /// + ///Data for the field property. + /// + public List Data { get; set; } + /// ///Identifier of the field. /// @@ -39,11 +44,6 @@ public class Field /// public string Type { get; set; } - /// - ///Data for the field property. - /// - public List Data { get; set; } - } } \ No newline at end of file diff --git a/SDK/Mozu.Api/Contracts/Reference/TimeZoneCollection.cs b/SDK/Mozu.Api/Contracts/Reference/TimeZoneCollection.cs index 33a00b6c..7d2cd912 100644 --- a/SDK/Mozu.Api/Contracts/Reference/TimeZoneCollection.cs +++ b/SDK/Mozu.Api/Contracts/Reference/TimeZoneCollection.cs @@ -20,14 +20,14 @@ namespace Mozu.Api.Contracts.Reference public class TimeZoneCollection { /// - ///The number of results listed in the query collection, represented by a signed 64-bit (8-byte) integer. This value is system-supplied and read-only. + ///An array list of objects in the returned collection. /// - public int TotalCount { get; set; } + public List Items { get; set; } /// - ///An array list of objects in the returned collection. + ///The number of results listed in the query collection, represented by a signed 64-bit (8-byte) integer. This value is system-supplied and read-only. /// - public List Items { get; set; } + public int TotalCount { get; set; } } diff --git a/SDK/Mozu.Api/Contracts/Reference/UnitOfMeasureCollection.cs b/SDK/Mozu.Api/Contracts/Reference/UnitOfMeasureCollection.cs index fc78efb2..38449be9 100644 --- a/SDK/Mozu.Api/Contracts/Reference/UnitOfMeasureCollection.cs +++ b/SDK/Mozu.Api/Contracts/Reference/UnitOfMeasureCollection.cs @@ -20,14 +20,14 @@ namespace Mozu.Api.Contracts.Reference public class UnitOfMeasureCollection { /// - ///The number of results listed in the query collection, represented by a signed 64-bit (8-byte) integer. This value is system-supplied and read-only. + ///An array list of objects in the returned collection. /// - public int TotalCount { get; set; } + public List Items { get; set; } /// - ///An array list of objects in the returned collection. + ///The number of results listed in the query collection, represented by a signed 64-bit (8-byte) integer. This value is system-supplied and read-only. /// - public List Items { get; set; } + public int TotalCount { get; set; } } diff --git a/SDK/Mozu.Api/Contracts/ShippingRuntime/CustomAttribute.cs b/SDK/Mozu.Api/Contracts/ShippingRuntime/CustomAttribute.cs index 04303030..f7bdf141 100644 --- a/SDK/Mozu.Api/Contracts/ShippingRuntime/CustomAttribute.cs +++ b/SDK/Mozu.Api/Contracts/ShippingRuntime/CustomAttribute.cs @@ -19,6 +19,11 @@ namespace Mozu.Api.Contracts.ShippingRuntime /// public class CustomAttribute { + /// + ///Collection of child attributes associated with a shipping provider integration. + /// + public List ChildAttributes { get; set; } + /// ///Key required for a custom attribute associated with a shipping provider integration, as part of a key-value pair. /// @@ -29,11 +34,6 @@ public class CustomAttribute /// public string Value { get; set; } - /// - ///Collection of child attributes associated with a shipping provider integration. - /// - public List ChildAttributes { get; set; } - } } \ No newline at end of file diff --git a/SDK/Mozu.Api/Contracts/ShippingRuntime/ProductSummary.cs b/SDK/Mozu.Api/Contracts/ShippingRuntime/ProductSummary.cs index 5d15b656..f9ecf441 100644 --- a/SDK/Mozu.Api/Contracts/ShippingRuntime/ProductSummary.cs +++ b/SDK/Mozu.Api/Contracts/ShippingRuntime/ProductSummary.cs @@ -16,14 +16,14 @@ namespace Mozu.Api.Contracts.ShippingRuntime { public class ProductSummary { - public string ProductCode { get; set; } - - public string ProductType { get; set; } - public List Categories { get; set; } public List Options { get; set; } + public string ProductCode { get; set; } + + public string ProductType { get; set; } + public List Properties { get; set; } public ItemMeasurements UnitMeasurements { get; set; } diff --git a/SDK/Mozu.Api/Contracts/ShippingRuntime/RateRequest.cs b/SDK/Mozu.Api/Contracts/ShippingRuntime/RateRequest.cs index 200042db..ab7c1101 100644 --- a/SDK/Mozu.Api/Contracts/ShippingRuntime/RateRequest.cs +++ b/SDK/Mozu.Api/Contracts/ShippingRuntime/RateRequest.cs @@ -26,49 +26,49 @@ public class RateRequest public List CarrierIds { get; set; } /// - ///The date and time the shipment will be shipped to the shopper. + ///List of key-value pairs that represent custom attributes associated with the request. /// - public DateTime? EstimatedShipmentDate { get; set; } + public List CustomAttributes { get; set; } /// - ///If true, the destination address associated with the shipping rate request is a commercial address. + ///The physical address to which the shipment will ship. /// - public bool? IsDestinationAddressCommercial { get; set; } + public Address DestinationAddress { get; set; } /// - ///3-letter ISO 4217 standard global currency code. Currently, only "USD" (US Dollar) is supported. + ///The date and time the shipment will be shipped to the shopper. /// - public string IsoCurrencyCode { get; set; } + public DateTime? EstimatedShipmentDate { get; set; } /// - ///The total amount of the order used to calculate the shipping rate estimate. + ///If true, the destination address associated with the shipping rate request is a commercial address. /// - public decimal? OrderTotal { get; set; } + public bool? IsDestinationAddressCommercial { get; set; } /// - ///The shipping methods associated with this request. + ///3-letter ISO 4217 standard global currency code. Currently, only "USD" (US Dollar) is supported. /// - public List ShippingServiceTypes { get; set; } + public string IsoCurrencyCode { get; set; } /// - ///List of key-value pairs that represent custom attributes associated with the request. + ///List of items to include in the shipping rate request. /// - public List CustomAttributes { get; set; } + public List Items { get; set; } /// - ///The physical address to which the shipment will ship. + ///The total amount of the order used to calculate the shipping rate estimate. /// - public Address DestinationAddress { get; set; } + public decimal? OrderTotal { get; set; } /// - ///List of items to include in the shipping rate request. + ///The physical address from which the shipment will ship. /// - public List Items { get; set; } + public Address OriginAddress { get; set; } /// - ///The physical address from which the shipment will ship. + ///The shipping methods associated with this request. /// - public Address OriginAddress { get; set; } + public List ShippingServiceTypes { get; set; } } diff --git a/SDK/Mozu.Api/Contracts/ShippingRuntime/RateRequestItem.cs b/SDK/Mozu.Api/Contracts/ShippingRuntime/RateRequestItem.cs index f2caa06e..470719da 100644 --- a/SDK/Mozu.Api/Contracts/ShippingRuntime/RateRequestItem.cs +++ b/SDK/Mozu.Api/Contracts/ShippingRuntime/RateRequestItem.cs @@ -24,6 +24,8 @@ public class RateRequestItem /// public string ItemId { get; set; } + public List ProductSummaries { get; set; } + /// ///Quantity of the item for which to calculate the shipping rate. /// @@ -34,8 +36,6 @@ public class RateRequestItem /// public bool? ShipsByItself { get; set; } - public List ProductSummaries { get; set; } - /// ///The measured weight and dimensions of the item to ship. /// diff --git a/SDK/Mozu.Api/Contracts/ShippingRuntime/RatesResponse.cs b/SDK/Mozu.Api/Contracts/ShippingRuntime/RatesResponse.cs index 1aefe790..59f28be6 100644 --- a/SDK/Mozu.Api/Contracts/ShippingRuntime/RatesResponse.cs +++ b/SDK/Mozu.Api/Contracts/ShippingRuntime/RatesResponse.cs @@ -19,13 +19,15 @@ namespace Mozu.Api.Contracts.ShippingRuntime /// public class RatesResponse { - public string ShippingZoneCode { get; set; } - /// ///Arrayed list of calculated shipping rates for each assocuated carrier. /// public List Rates { get; set; } + public string ResolvedShippingZoneCode { get; set; } + + public List ShippingZoneCodes { get; set; } + } } \ No newline at end of file diff --git a/SDK/Mozu.Api/Contracts/ShippingRuntime/ShippingRate.cs b/SDK/Mozu.Api/Contracts/ShippingRuntime/ShippingRate.cs index 72d1c78a..6c4622f3 100644 --- a/SDK/Mozu.Api/Contracts/ShippingRuntime/ShippingRate.cs +++ b/SDK/Mozu.Api/Contracts/ShippingRuntime/ShippingRate.cs @@ -29,11 +29,6 @@ public class ShippingRate /// public string Code { get; set; } - /// - ///The number of days the shipment will spend between the origin address and the destination address. - /// - public int? DaysInTransit { get; set; } - /// ///Localized content for a shipping rate based on the defined locale code. /// @@ -44,6 +39,11 @@ public class ShippingRate /// public List CustomAttributes { get; set; } + /// + ///The number of days the shipment will spend between the origin address and the destination address. + /// + public int? DaysInTransit { get; set; } + /// ///Array list of success/failure messages associated with the shipping rate validation. /// diff --git a/SDK/Mozu.Api/Contracts/SiteSettings/Application/Application.cs b/SDK/Mozu.Api/Contracts/SiteSettings/Application/Application.cs index b12e43ec..24bcbfd1 100644 --- a/SDK/Mozu.Api/Contracts/SiteSettings/Application/Application.cs +++ b/SDK/Mozu.Api/Contracts/SiteSettings/Application/Application.cs @@ -24,6 +24,13 @@ public class Application /// public string AppId { get; set; } + public string AppKey { get; set; } + + /// + ///List of capabilities installed in a tenant. + /// + public List Capabilities { get; set; } + /// ///If true, the application is enabled for the tenant. System-supplied and read-only. /// @@ -44,11 +51,6 @@ public class Application /// public string UiConfigurationUrl { get; set; } - /// - ///List of capabilities installed in a tenant. - /// - public List Capabilities { get; set; } - } } \ No newline at end of file diff --git a/SDK/Mozu.Api/Contracts/SiteSettings/Application/Capability.cs b/SDK/Mozu.Api/Contracts/SiteSettings/Application/Capability.cs index 3623b644..49238985 100644 --- a/SDK/Mozu.Api/Contracts/SiteSettings/Application/Capability.cs +++ b/SDK/Mozu.Api/Contracts/SiteSettings/Application/Capability.cs @@ -25,6 +25,11 @@ public class Capability /// public List ActiveCreditTypes { get; set; } + /// + ///Array list of the countries to which this capability can actively ship. + /// + public List ActiveShippingCountries { get; set; } + /// ///Array list of the countries for which this capability can actively shop. /// @@ -55,6 +60,11 @@ public class Capability /// public bool? Initialized { get; set; } + /// + ///Array list of URL endpoints for the operations associated with this capability. + /// + public List OperationUrls { get; set; } + /// ///Unique identifier of the developer account or tenant associated for which the capability is entitled. /// @@ -65,16 +75,6 @@ public class Capability /// public string ScopeType { get; set; } - /// - ///Array list of the countries to which this capability can actively ship. - /// - public List ActiveShippingCountries { get; set; } - - /// - ///Array list of URL endpoints for the operations associated with this capability. - /// - public List OperationUrls { get; set; } - /// ///Array list of credit types this capability supports. /// diff --git a/SDK/Mozu.Api/Contracts/SiteSettings/General/GeneralSettings.cs b/SDK/Mozu.Api/Contracts/SiteSettings/General/GeneralSettings.cs index b476ab90..35b38c78 100644 --- a/SDK/Mozu.Api/Contracts/SiteSettings/General/GeneralSettings.cs +++ b/SDK/Mozu.Api/Contracts/SiteSettings/General/GeneralSettings.cs @@ -25,6 +25,11 @@ public class GeneralSettings /// public bool? AllowInvalidAddresses { get; set; } + /// + ///Identifier and datetime stamp information recorded when a user or application creates, updates, or deletes a resource entity. This value is system-supplied and read-only. + /// + public AuditInfo AuditInfo { get; set; } + /// ///The physical directory path or URL where the mobile favicon image file is stored. The favicon icon is generally 57x57 pixels. The icon appears on a mobile website or on the mobile device's OS Home. /// @@ -105,6 +110,11 @@ public class GeneralSettings /// public string TabletTheme { get; set; } + /// + ///The territories configured for the site that are subject to sales tax. + /// + public List TaxableTerritories { get; set; } + /// ///Unique identifier of the tenant site that site uses to render content for the shopper. For example, if this site represents a third-party sales channel such as Amazon but the company wants to send shopper emails, this value represents the Mozu-hosted web storefront site that maintains this content. /// @@ -120,16 +130,6 @@ public class GeneralSettings /// public string WebsiteName { get; set; } - /// - ///Identifier and datetime stamp information recorded when a user or application creates, updates, or deletes a resource entity. This value is system-supplied and read-only. - /// - public AuditInfo AuditInfo { get; set; } - - /// - ///The territories configured for the site that are subject to sales tax. - /// - public List TaxableTerritories { get; set; } - } } \ No newline at end of file diff --git a/SDK/Mozu.Api/Contracts/SiteSettings/Order/CustomerCheckoutSettings.cs b/SDK/Mozu.Api/Contracts/SiteSettings/Order/CustomerCheckoutSettings.cs index e01177c0..5e8092b1 100644 --- a/SDK/Mozu.Api/Contracts/SiteSettings/Order/CustomerCheckoutSettings.cs +++ b/SDK/Mozu.Api/Contracts/SiteSettings/Order/CustomerCheckoutSettings.cs @@ -20,14 +20,14 @@ namespace Mozu.Api.Contracts.SiteSettings.Order public class CustomerCheckoutSettings { /// - ///The type of customer checking out in the order such as a guest who has not logged in or a customer who has logged in. Valid strings are either "LoginOptional," where shoppers are prompted to sign in but are not required to do so, or "LoginRequired," where shopppers must login before purchasing. + ///Identifier and datetime stamp information recorded when a user or application creates, updates, or deletes a resource entity. This value is system-supplied and read-only. /// - public string CustomerCheckoutType { get; set; } + public AuditInfo AuditInfo { get; set; } /// - ///Identifier and datetime stamp information recorded when a user or application creates, updates, or deletes a resource entity. This value is system-supplied and read-only. + ///The type of customer checking out in the order such as a guest who has not logged in or a customer who has logged in. Valid strings are either "LoginOptional," where shoppers are prompted to sign in but are not required to do so, or "LoginRequired," where shopppers must login before purchasing. /// - public AuditInfo AuditInfo { get; set; } + public string CustomerCheckoutType { get; set; } } diff --git a/SDK/Mozu.Api/Contracts/SiteSettings/Order/ExternalPaymentWorkflowDefinition.cs b/SDK/Mozu.Api/Contracts/SiteSettings/Order/ExternalPaymentWorkflowDefinition.cs index 0a853a86..04e8d908 100644 --- a/SDK/Mozu.Api/Contracts/SiteSettings/Order/ExternalPaymentWorkflowDefinition.cs +++ b/SDK/Mozu.Api/Contracts/SiteSettings/Order/ExternalPaymentWorkflowDefinition.cs @@ -19,6 +19,11 @@ namespace Mozu.Api.Contracts.SiteSettings.Order /// public class ExternalPaymentWorkflowDefinition { + /// + ///The credential fields required to communicate with the external payment processor. + /// + public List Credentials { get; set; } + /// ///If true, the associated external payment workflow definition is enabled for the site. /// @@ -29,11 +34,6 @@ public class ExternalPaymentWorkflowDefinition /// public string Name { get; set; } - /// - ///The credential fields required to communicate with the external payment processor. - /// - public List Credentials { get; set; } - } } \ No newline at end of file diff --git a/SDK/Mozu.Api/Contracts/SiteSettings/Order/Gateway.cs b/SDK/Mozu.Api/Contracts/SiteSettings/Order/Gateway.cs index 73ebb100..eef95d6f 100644 --- a/SDK/Mozu.Api/Contracts/SiteSettings/Order/Gateway.cs +++ b/SDK/Mozu.Api/Contracts/SiteSettings/Order/Gateway.cs @@ -25,11 +25,6 @@ public class Gateway /// public bool AreGatewayCredentialFieldsSet { get; set; } - /// - ///The types of credit cards the merchant supports using this payment gateway. - /// - public List SupportedCards { get; set; } - /// ///Account information associated with the specified payment gateway. /// @@ -40,6 +35,11 @@ public class Gateway /// public GatewayDefinition GatewayDefinition { get; set; } + /// + ///The types of credit cards the merchant supports using this payment gateway. + /// + public List SupportedCards { get; set; } + } } \ No newline at end of file diff --git a/SDK/Mozu.Api/Contracts/SiteSettings/Order/OrderProcessingSettings.cs b/SDK/Mozu.Api/Contracts/SiteSettings/Order/OrderProcessingSettings.cs index 914e351f..99d9d63a 100644 --- a/SDK/Mozu.Api/Contracts/SiteSettings/Order/OrderProcessingSettings.cs +++ b/SDK/Mozu.Api/Contracts/SiteSettings/Order/OrderProcessingSettings.cs @@ -24,6 +24,11 @@ public class OrderProcessingSettings /// public int? AbandonedOrderThresholdInMinutes { get; set; } + /// + ///Identifier and datetime stamp information recorded when a user or application creates, updates, or deletes a resource entity. This value is system-supplied and read-only. + /// + public AuditInfo AuditInfo { get; set; } + /// ///Determines whether payment authorization occurs when the order is placed or when the order is shipped. /// @@ -34,11 +39,6 @@ public class OrderProcessingSettings /// public bool UseOverridePriceToCalculateDiscounts { get; set; } - /// - ///Identifier and datetime stamp information recorded when a user or application creates, updates, or deletes a resource entity. This value is system-supplied and read-only. - /// - public AuditInfo AuditInfo { get; set; } - } } \ No newline at end of file diff --git a/SDK/Mozu.Api/Contracts/SiteSettings/Order/PaymentSettings.cs b/SDK/Mozu.Api/Contracts/SiteSettings/Order/PaymentSettings.cs index ecd7299d..89961ba3 100644 --- a/SDK/Mozu.Api/Contracts/SiteSettings/Order/PaymentSettings.cs +++ b/SDK/Mozu.Api/Contracts/SiteSettings/Order/PaymentSettings.cs @@ -20,11 +20,6 @@ namespace Mozu.Api.Contracts.SiteSettings.Order /// public class PaymentSettings { - /// - ///Settings that provide for the ability to pay for an order by mail. - /// - public bool PayByMail { get; set; } - /// ///Identifier and datetime stamp information recorded when a user or application creates, updates, or deletes a resource entity. This value is system-supplied and read-only. /// @@ -40,6 +35,11 @@ public class PaymentSettings /// public List Gateways { get; set; } + /// + ///Settings that provide for the ability to pay for an order by mail. + /// + public bool PayByMail { get; set; } + } } \ No newline at end of file diff --git a/SDK/Mozu.Api/Contracts/Tenant/MasterCatalog.cs b/SDK/Mozu.Api/Contracts/Tenant/MasterCatalog.cs index 13f217b7..31408516 100644 --- a/SDK/Mozu.Api/Contracts/Tenant/MasterCatalog.cs +++ b/SDK/Mozu.Api/Contracts/Tenant/MasterCatalog.cs @@ -19,6 +19,11 @@ namespace Mozu.Api.Contracts.Tenant /// public class MasterCatalog { + /// + ///Collection of product catalogs that use product definitions from the master catalog. + /// + public List Catalogs { get; set; } + public DateTime CreateDate { get; set; } /// @@ -60,11 +65,6 @@ public class MasterCatalog public DateTime UpdateDate { get; set; } - /// - ///Collection of product catalogs that use product definitions from the master catalog. - /// - public List Catalogs { get; set; } - } } \ No newline at end of file diff --git a/SDK/Mozu.Api/Contracts/Tenant/Tenant.cs b/SDK/Mozu.Api/Contracts/Tenant/Tenant.cs index 5fa37de9..3a23b21a 100644 --- a/SDK/Mozu.Api/Contracts/Tenant/Tenant.cs +++ b/SDK/Mozu.Api/Contracts/Tenant/Tenant.cs @@ -35,14 +35,14 @@ public class Tenant public bool IsDevTenant { get; set; } /// - ///The name of the tenant. + ///Collection of master catalogs associated with the tenant. /// - public string Name { get; set; } + public List MasterCatalogs { get; set; } /// - ///Collection of master catalogs associated with the tenant. + ///The name of the tenant. /// - public List MasterCatalogs { get; set; } + public string Name { get; set; } /// ///Collection of sites associated with the tenant. diff --git a/SDK/Mozu.Api/Contracts/Tenant/TenantCollection.cs b/SDK/Mozu.Api/Contracts/Tenant/TenantCollection.cs index ff6d9d65..c654d690 100644 --- a/SDK/Mozu.Api/Contracts/Tenant/TenantCollection.cs +++ b/SDK/Mozu.Api/Contracts/Tenant/TenantCollection.cs @@ -19,6 +19,11 @@ namespace Mozu.Api.Contracts.Tenant /// public class TenantCollection { + /// + ///An array list of objects in the returned collection. + /// + public List Items { get; set; } + /// ///The number of pages returned based on the startIndex and pageSize values specified. This value is system-supplied and read-only. /// @@ -39,11 +44,6 @@ public class TenantCollection /// public int TotalCount { get; set; } - /// - ///An array list of objects in the returned collection. - /// - public List Items { get; set; } - } } \ No newline at end of file diff --git a/SDK/Mozu.Api/Version.cs b/SDK/Mozu.Api/Version.cs index ea484afc..49bd3cb7 100644 --- a/SDK/Mozu.Api/Version.cs +++ b/SDK/Mozu.Api/Version.cs @@ -14,7 +14,7 @@ public class Version { public static string ApiVersion { - get { return "1.13.14302.0"; } + get { return "1.13.14325.0"; } } } } \ No newline at end of file