/// <summary> /// Initializes a new instance of the <see cref="OrderIdentifier" /> class. /// </summary> /// <param name="MarketplaceTechnicalCode">MarketplaceTechnicalCode (required).</param> /// <param name="AccountId">AccountId (required).</param> /// <param name="BeezUPOrderId">BeezUPOrderId (required).</param> public OrderIdentifier(BeezUPCommonMarketplaceTechnicalCode MarketplaceTechnicalCode = default(BeezUPCommonMarketplaceTechnicalCode), AccountId AccountId = default(AccountId), BeezUPOrderId BeezUPOrderId = default(BeezUPOrderId)) { // to ensure "MarketplaceTechnicalCode" is required (not null) if (MarketplaceTechnicalCode == null) { throw new InvalidDataException("MarketplaceTechnicalCode is a required property for OrderIdentifier and cannot be null"); } else { this.MarketplaceTechnicalCode = MarketplaceTechnicalCode; } // to ensure "AccountId" is required (not null) if (AccountId == null) { throw new InvalidDataException("AccountId is a required property for OrderIdentifier and cannot be null"); } else { this.AccountId = AccountId; } // to ensure "BeezUPOrderId" is required (not null) if (BeezUPOrderId == null) { throw new InvalidDataException("BeezUPOrderId is a required property for OrderIdentifier and cannot be null"); } else { this.BeezUPOrderId = BeezUPOrderId; } }
/// <summary> /// Initializes a new instance of the <see cref="SetMerchantOrderInfoListRequestItem" /> class. /// </summary> /// <param name="MarketplaceTechnicalCode">MarketplaceTechnicalCode (required).</param> /// <param name="AccountId">AccountId (required).</param> /// <param name="BeezUPOrderId">BeezUPOrderId (required).</param> /// <param name="OrderMerchantOrderId">OrderMerchantOrderId (required).</param> public SetMerchantOrderInfoListRequestItem(BeezUPCommonMarketplaceTechnicalCode MarketplaceTechnicalCode = default(BeezUPCommonMarketplaceTechnicalCode), AccountId AccountId = default(AccountId), BeezUPOrderId BeezUPOrderId = default(BeezUPOrderId), OrderMerchantOrderId OrderMerchantOrderId = default(OrderMerchantOrderId)) { // to ensure "MarketplaceTechnicalCode" is required (not null) if (MarketplaceTechnicalCode == null) { throw new InvalidDataException("MarketplaceTechnicalCode is a required property for SetMerchantOrderInfoListRequestItem and cannot be null"); } else { this.MarketplaceTechnicalCode = MarketplaceTechnicalCode; } // to ensure "AccountId" is required (not null) if (AccountId == null) { throw new InvalidDataException("AccountId is a required property for SetMerchantOrderInfoListRequestItem and cannot be null"); } else { this.AccountId = AccountId; } // to ensure "BeezUPOrderId" is required (not null) if (BeezUPOrderId == null) { throw new InvalidDataException("BeezUPOrderId is a required property for SetMerchantOrderInfoListRequestItem and cannot be null"); } else { this.BeezUPOrderId = BeezUPOrderId; } // to ensure "OrderMerchantOrderId" is required (not null) if (OrderMerchantOrderId == null) { throw new InvalidDataException("OrderMerchantOrderId is a required property for SetMerchantOrderInfoListRequestItem and cannot be null"); } else { this.OrderMerchantOrderId = OrderMerchantOrderId; } }
/// <summary> /// Initializes a new instance of the <see cref="AutomaticTransition" /> class. /// </summary> /// <param name="MarketplaceTechnicalCode">MarketplaceTechnicalCode (required).</param> /// <param name="AccountId">AccountId (required).</param> /// <param name="OrderStatusTransitionId">OrderStatusTransitionId (required).</param> /// <param name="Enabled">Enabled (required).</param> public AutomaticTransition(BeezUPCommonMarketplaceTechnicalCode MarketplaceTechnicalCode = default(BeezUPCommonMarketplaceTechnicalCode), AccountId AccountId = default(AccountId), int?OrderStatusTransitionId = default(int?), bool?Enabled = default(bool?)) { // to ensure "MarketplaceTechnicalCode" is required (not null) if (MarketplaceTechnicalCode == null) { throw new InvalidDataException("MarketplaceTechnicalCode is a required property for AutomaticTransition and cannot be null"); } else { this.MarketplaceTechnicalCode = MarketplaceTechnicalCode; } // to ensure "AccountId" is required (not null) if (AccountId == null) { throw new InvalidDataException("AccountId is a required property for AutomaticTransition and cannot be null"); } else { this.AccountId = AccountId; } // to ensure "OrderStatusTransitionId" is required (not null) if (OrderStatusTransitionId == null) { throw new InvalidDataException("OrderStatusTransitionId is a required property for AutomaticTransition and cannot be null"); } else { this.OrderStatusTransitionId = OrderStatusTransitionId; } // to ensure "Enabled" is required (not null) if (Enabled == null) { throw new InvalidDataException("Enabled is a required property for AutomaticTransition and cannot be null"); } else { this.Enabled = Enabled; } }
/// <summary> /// Initializes a new instance of the <see cref="MarketplaceChannelCatalog" /> class. /// </summary> /// <param name="MarketplaceTechnicalCode">MarketplaceTechnicalCode (required).</param> /// <param name="MarketplaceBusinessCode">MarketplaceBusinessCode (required).</param> /// <param name="MarketplaceMarketPlaceId">The marketplace identifier in the marketplace (required).</param> /// <param name="MarketplaceIsoCountryCodeAlpha2">The marketplace country iso code alpha 2 (see http://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#Decoding_table for more details) (required).</param> /// <param name="BeezUPChannelId">BeezUPChannelId (required).</param> /// <param name="BeezUPChannelCatalogId">BeezUPChannelCatalogId (required).</param> /// <param name="BeezUPStoreId">BeezUPStoreId (required).</param> /// <param name="BeezUPStoreName">The store name (required).</param> /// <param name="MarketplaceMerchantIdentifiers">The marketplace merchant identifier list.</param> /// <param name="MarketplaceAccountId">MarketplaceAccountId.</param> /// <param name="LovLinks">LovLinks (required).</param> /// <param name="Links">Links (required).</param> public MarketplaceChannelCatalog(BeezUPCommonMarketplaceTechnicalCode MarketplaceTechnicalCode = default(BeezUPCommonMarketplaceTechnicalCode), BeezUPCommonMarketplaceBusinessCode MarketplaceBusinessCode = default(BeezUPCommonMarketplaceBusinessCode), string MarketplaceMarketPlaceId = default(string), string MarketplaceIsoCountryCodeAlpha2 = default(string), BeezUPCommonChannelId BeezUPChannelId = default(BeezUPCommonChannelId), BeezUPCommonChannelCatalogId BeezUPChannelCatalogId = default(BeezUPCommonChannelCatalogId), BeezUPCommonStoreId BeezUPStoreId = default(BeezUPCommonStoreId), string BeezUPStoreName = default(string), Dictionary <string, string> MarketplaceMerchantIdentifiers = default(Dictionary <string, string>), BeezUPCommonMarketplaceAccountId MarketplaceAccountId = default(BeezUPCommonMarketplaceAccountId), MarketplaceChannelCatalogLovLinks LovLinks = default(MarketplaceChannelCatalogLovLinks), MarketplaceChannelCatalogLinks Links = default(MarketplaceChannelCatalogLinks)) { // to ensure "MarketplaceTechnicalCode" is required (not null) if (MarketplaceTechnicalCode == null) { throw new InvalidDataException("MarketplaceTechnicalCode is a required property for MarketplaceChannelCatalog and cannot be null"); } else { this.MarketplaceTechnicalCode = MarketplaceTechnicalCode; } // to ensure "MarketplaceBusinessCode" is required (not null) if (MarketplaceBusinessCode == null) { throw new InvalidDataException("MarketplaceBusinessCode is a required property for MarketplaceChannelCatalog and cannot be null"); } else { this.MarketplaceBusinessCode = MarketplaceBusinessCode; } // to ensure "MarketplaceMarketPlaceId" is required (not null) if (MarketplaceMarketPlaceId == null) { throw new InvalidDataException("MarketplaceMarketPlaceId is a required property for MarketplaceChannelCatalog and cannot be null"); } else { this.MarketplaceMarketPlaceId = MarketplaceMarketPlaceId; } // to ensure "MarketplaceIsoCountryCodeAlpha2" is required (not null) if (MarketplaceIsoCountryCodeAlpha2 == null) { throw new InvalidDataException("MarketplaceIsoCountryCodeAlpha2 is a required property for MarketplaceChannelCatalog and cannot be null"); } else { this.MarketplaceIsoCountryCodeAlpha2 = MarketplaceIsoCountryCodeAlpha2; } // to ensure "BeezUPChannelId" is required (not null) if (BeezUPChannelId == null) { throw new InvalidDataException("BeezUPChannelId is a required property for MarketplaceChannelCatalog and cannot be null"); } else { this.BeezUPChannelId = BeezUPChannelId; } // to ensure "BeezUPChannelCatalogId" is required (not null) if (BeezUPChannelCatalogId == null) { throw new InvalidDataException("BeezUPChannelCatalogId is a required property for MarketplaceChannelCatalog and cannot be null"); } else { this.BeezUPChannelCatalogId = BeezUPChannelCatalogId; } // to ensure "BeezUPStoreId" is required (not null) if (BeezUPStoreId == null) { throw new InvalidDataException("BeezUPStoreId is a required property for MarketplaceChannelCatalog and cannot be null"); } else { this.BeezUPStoreId = BeezUPStoreId; } // to ensure "BeezUPStoreName" is required (not null) if (BeezUPStoreName == null) { throw new InvalidDataException("BeezUPStoreName is a required property for MarketplaceChannelCatalog and cannot be null"); } else { this.BeezUPStoreName = BeezUPStoreName; } // to ensure "LovLinks" is required (not null) if (LovLinks == null) { throw new InvalidDataException("LovLinks is a required property for MarketplaceChannelCatalog and cannot be null"); } else { this.LovLinks = LovLinks; } // to ensure "Links" is required (not null) if (Links == null) { throw new InvalidDataException("Links is a required property for MarketplaceChannelCatalog and cannot be null"); } else { this.Links = Links; } this.MarketplaceMerchantIdentifiers = MarketplaceMerchantIdentifiers; this.MarketplaceAccountId = MarketplaceAccountId; }
/// <summary> /// Initializes a new instance of the <see cref="AccountSynchronization" /> class. /// </summary> /// <param name="AccountId">AccountId.</param> /// <param name="CompletedHarvestSynchroUtcDate">CompletedHarvestSynchroUtcDate.</param> /// <param name="MarketplaceBusinessCode">MarketplaceBusinessCode.</param> /// <param name="MarketplaceTechnicalCode">MarketplaceTechnicalCode.</param> public AccountSynchronization(AccountId AccountId = default(AccountId), DateTime?CompletedHarvestSynchroUtcDate = default(DateTime?), BeezUPCommonMarketplaceBusinessCode MarketplaceBusinessCode = default(BeezUPCommonMarketplaceBusinessCode), BeezUPCommonMarketplaceTechnicalCode MarketplaceTechnicalCode = default(BeezUPCommonMarketplaceTechnicalCode)) { this.AccountId = AccountId; this.CompletedHarvestSynchroUtcDate = CompletedHarvestSynchroUtcDate; this.MarketplaceBusinessCode = MarketplaceBusinessCode; this.MarketplaceTechnicalCode = MarketplaceTechnicalCode; }
/// <summary> /// Initializes a new instance of the <see cref="AutomaticTransitionInfo" /> class. /// </summary> /// <param name="MarketplaceTechnicalCode">MarketplaceTechnicalCode (required).</param> /// <param name="AccountId">AccountId (required).</param> /// <param name="OrderStatusTransitionId">OrderStatusTransitionId (required).</param> /// <param name="Enabled">Enabled (required).</param> /// <param name="MarketplaceBusinessCode">MarketplaceBusinessCode (required).</param> /// <param name="BeezUPOrderStatus">BeezUPOrderStatus (required).</param> /// <param name="BusinessOperationType">BusinessOperationType (required).</param> /// <param name="Links">Links.</param> public AutomaticTransitionInfo(BeezUPCommonMarketplaceTechnicalCode MarketplaceTechnicalCode = default(BeezUPCommonMarketplaceTechnicalCode), AccountId AccountId = default(AccountId), int?OrderStatusTransitionId = default(int?), bool?Enabled = default(bool?), BeezUPCommonMarketplaceBusinessCode MarketplaceBusinessCode = default(BeezUPCommonMarketplaceBusinessCode), BeezUPOrderStatus BeezUPOrderStatus = default(BeezUPOrderStatus), BusinessOperationType BusinessOperationType = default(BusinessOperationType), AutomaticTransitionInfoLinks Links = default(AutomaticTransitionInfoLinks)) { // to ensure "MarketplaceTechnicalCode" is required (not null) if (MarketplaceTechnicalCode == null) { throw new InvalidDataException("MarketplaceTechnicalCode is a required property for AutomaticTransitionInfo and cannot be null"); } else { this.MarketplaceTechnicalCode = MarketplaceTechnicalCode; } // to ensure "AccountId" is required (not null) if (AccountId == null) { throw new InvalidDataException("AccountId is a required property for AutomaticTransitionInfo and cannot be null"); } else { this.AccountId = AccountId; } // to ensure "OrderStatusTransitionId" is required (not null) if (OrderStatusTransitionId == null) { throw new InvalidDataException("OrderStatusTransitionId is a required property for AutomaticTransitionInfo and cannot be null"); } else { this.OrderStatusTransitionId = OrderStatusTransitionId; } // to ensure "Enabled" is required (not null) if (Enabled == null) { throw new InvalidDataException("Enabled is a required property for AutomaticTransitionInfo and cannot be null"); } else { this.Enabled = Enabled; } // to ensure "MarketplaceBusinessCode" is required (not null) if (MarketplaceBusinessCode == null) { throw new InvalidDataException("MarketplaceBusinessCode is a required property for AutomaticTransitionInfo and cannot be null"); } else { this.MarketplaceBusinessCode = MarketplaceBusinessCode; } // to ensure "BeezUPOrderStatus" is required (not null) if (BeezUPOrderStatus == null) { throw new InvalidDataException("BeezUPOrderStatus is a required property for AutomaticTransitionInfo and cannot be null"); } else { this.BeezUPOrderStatus = BeezUPOrderStatus; } // to ensure "BusinessOperationType" is required (not null) if (BusinessOperationType == null) { throw new InvalidDataException("BusinessOperationType is a required property for AutomaticTransitionInfo and cannot be null"); } else { this.BusinessOperationType = BusinessOperationType; } this.Links = Links; }
/// <summary> /// Initializes a new instance of the <see cref="OrderHeader" /> class. /// </summary> /// <param name="MarketplaceTechnicalCode">MarketplaceTechnicalCode (required).</param> /// <param name="AccountId">AccountId (required).</param> /// <param name="BeezUPOrderId">BeezUPOrderId (required).</param> /// <param name="BeezUPOrderUrl">BeezUPOrderUrl.</param> /// <param name="MarketplaceBusinessCode">MarketplaceBusinessCode (required).</param> /// <param name="OrderMarketplaceOrderId">OrderMarketplaceOrderId (required).</param> /// <param name="OrderStatusBeezUPOrderStatus">OrderStatusBeezUPOrderStatus (required).</param> /// <param name="OrderStatusMarketplaceOrderStatus">OrderStatusMarketplaceOrderStatus.</param> /// <param name="OrderMerchantOrderId">OrderMerchantOrderId.</param> /// <param name="OrderMerchantECommerceSoftwareName">OrderMerchantECommerceSoftwareName.</param> /// <param name="OrderMerchantECommerceSoftwareVersion">OrderMerchantECommerceSoftwareVersion.</param> /// <param name="OrderPurchaseUtcDate">The purchase date of this order (required).</param> /// <param name="OrderLastModificationUtcDate">The last modification UTC date done by BeezUP of this order (required).</param> /// <param name="OrderMarketplaceLastModificationUtcDate">The last modification UTC date done by the marketplace on this order (required).</param> /// <param name="OrderBuyerName">OrderBuyerName.</param> /// <param name="OrderTotalPrice">The total price of this order (corresponding to the amount paid by the customer).</param> /// <param name="OrderCurrencyCode">OrderCurrencyCode.</param> /// <param name="Processing">Processing (required).</param> /// <param name="Etag">Etag (required).</param> /// <param name="Links">Links (required).</param> public OrderHeader(BeezUPCommonMarketplaceTechnicalCode MarketplaceTechnicalCode = default(BeezUPCommonMarketplaceTechnicalCode), AccountId AccountId = default(AccountId), BeezUPOrderId BeezUPOrderId = default(BeezUPOrderId), BeezUPCommonHttpUrl BeezUPOrderUrl = default(BeezUPCommonHttpUrl), BeezUPCommonMarketplaceBusinessCode MarketplaceBusinessCode = default(BeezUPCommonMarketplaceBusinessCode), MarketplaceOrderId OrderMarketplaceOrderId = default(MarketplaceOrderId), BeezUPOrderStatus OrderStatusBeezUPOrderStatus = default(BeezUPOrderStatus), MarketplaceOrderStatus OrderStatusMarketplaceOrderStatus = default(MarketplaceOrderStatus), OrderMerchantOrderId OrderMerchantOrderId = default(OrderMerchantOrderId), OrderMerchantECommerceSoftwareName OrderMerchantECommerceSoftwareName = default(OrderMerchantECommerceSoftwareName), OrderMerchantECommerceSoftwareVersion OrderMerchantECommerceSoftwareVersion = default(OrderMerchantECommerceSoftwareVersion), DateTime?OrderPurchaseUtcDate = default(DateTime?), DateTime?OrderLastModificationUtcDate = default(DateTime?), DateTime?OrderMarketplaceLastModificationUtcDate = default(DateTime?), OrderBuyerName OrderBuyerName = default(OrderBuyerName), decimal?OrderTotalPrice = default(decimal?), BeezUPCommonCurrencyCode OrderCurrencyCode = default(BeezUPCommonCurrencyCode), Processing Processing = default(Processing), Etag Etag = default(Etag), OrderHeaderLinks Links = default(OrderHeaderLinks)) { // to ensure "MarketplaceTechnicalCode" is required (not null) if (MarketplaceTechnicalCode == null) { throw new InvalidDataException("MarketplaceTechnicalCode is a required property for OrderHeader and cannot be null"); } else { this.MarketplaceTechnicalCode = MarketplaceTechnicalCode; } // to ensure "AccountId" is required (not null) if (AccountId == null) { throw new InvalidDataException("AccountId is a required property for OrderHeader and cannot be null"); } else { this.AccountId = AccountId; } // to ensure "BeezUPOrderId" is required (not null) if (BeezUPOrderId == null) { throw new InvalidDataException("BeezUPOrderId is a required property for OrderHeader and cannot be null"); } else { this.BeezUPOrderId = BeezUPOrderId; } // to ensure "MarketplaceBusinessCode" is required (not null) if (MarketplaceBusinessCode == null) { throw new InvalidDataException("MarketplaceBusinessCode is a required property for OrderHeader and cannot be null"); } else { this.MarketplaceBusinessCode = MarketplaceBusinessCode; } // to ensure "OrderMarketplaceOrderId" is required (not null) if (OrderMarketplaceOrderId == null) { throw new InvalidDataException("OrderMarketplaceOrderId is a required property for OrderHeader and cannot be null"); } else { this.OrderMarketplaceOrderId = OrderMarketplaceOrderId; } // to ensure "OrderStatusBeezUPOrderStatus" is required (not null) if (OrderStatusBeezUPOrderStatus == null) { throw new InvalidDataException("OrderStatusBeezUPOrderStatus is a required property for OrderHeader and cannot be null"); } else { this.OrderStatusBeezUPOrderStatus = OrderStatusBeezUPOrderStatus; } // to ensure "OrderPurchaseUtcDate" is required (not null) if (OrderPurchaseUtcDate == null) { throw new InvalidDataException("OrderPurchaseUtcDate is a required property for OrderHeader and cannot be null"); } else { this.OrderPurchaseUtcDate = OrderPurchaseUtcDate; } // to ensure "OrderLastModificationUtcDate" is required (not null) if (OrderLastModificationUtcDate == null) { throw new InvalidDataException("OrderLastModificationUtcDate is a required property for OrderHeader and cannot be null"); } else { this.OrderLastModificationUtcDate = OrderLastModificationUtcDate; } // to ensure "OrderMarketplaceLastModificationUtcDate" is required (not null) if (OrderMarketplaceLastModificationUtcDate == null) { throw new InvalidDataException("OrderMarketplaceLastModificationUtcDate is a required property for OrderHeader and cannot be null"); } else { this.OrderMarketplaceLastModificationUtcDate = OrderMarketplaceLastModificationUtcDate; } // to ensure "Processing" is required (not null) if (Processing == null) { throw new InvalidDataException("Processing is a required property for OrderHeader and cannot be null"); } else { this.Processing = Processing; } // to ensure "Etag" is required (not null) if (Etag == null) { throw new InvalidDataException("Etag is a required property for OrderHeader and cannot be null"); } else { this.Etag = Etag; } // to ensure "Links" is required (not null) if (Links == null) { throw new InvalidDataException("Links is a required property for OrderHeader and cannot be null"); } else { this.Links = Links; } this.BeezUPOrderUrl = BeezUPOrderUrl; this.OrderStatusMarketplaceOrderStatus = OrderStatusMarketplaceOrderStatus; this.OrderMerchantOrderId = OrderMerchantOrderId; this.OrderMerchantECommerceSoftwareName = OrderMerchantECommerceSoftwareName; this.OrderMerchantECommerceSoftwareVersion = OrderMerchantECommerceSoftwareVersion; this.OrderBuyerName = OrderBuyerName; this.OrderTotalPrice = OrderTotalPrice; this.OrderCurrencyCode = OrderCurrencyCode; }