/// <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;
 }
Example #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ChannelCatalog" /> class.
 /// </summary>
 /// <param name="ChannelId">ChannelId (required).</param>
 /// <param name="ChannelName">ChannelName (required).</param>
 /// <param name="ChannelImageUrl">ChannelImageUrl (required).</param>
 /// <param name="ProductCount">The product count exported considering category mapping. Not all filters have been applied. (required).</param>
 /// <param name="Enabled">Indicates if the channel catalog is active (required).</param>
 /// <param name="IsMarketplace">Indicates if this channel catalog is related to a marketplace (required).</param>
 /// <param name="ChannelCatalogId">ChannelCatalogId (required).</param>
 /// <param name="StoreId">StoreId (required).</param>
 /// <param name="GeneralSettings">GeneralSettings (required).</param>
 /// <param name="CostSettings">CostSettings (required).</param>
 /// <param name="ColumnMappings">ColumnMappings.</param>
 /// <param name="ExclusionFilters">ExclusionFilters.</param>
 /// <param name="ExportUrl">ExportUrl.</param>
 /// <param name="State">State (required).</param>
 /// <param name="Types">The channel type list related to the channel (required).</param>
 /// <param name="Links">Indicates the actions you can do on a channel catalog (required).</param>
 public ChannelCatalog(BeezUPCommonChannelId ChannelId = default(BeezUPCommonChannelId), BeezUPCommonChannelName ChannelName = default(BeezUPCommonChannelName), BeezUPCommonHttpUrl ChannelImageUrl = default(BeezUPCommonHttpUrl), int?ProductCount = default(int?), bool?Enabled = default(bool?), bool?IsMarketplace = default(bool?), BeezUPCommonChannelCatalogId ChannelCatalogId = default(BeezUPCommonChannelCatalogId), BeezUPCommonStoreId StoreId = default(BeezUPCommonStoreId), GeneralSettings GeneralSettings = default(GeneralSettings), CostSettings CostSettings = default(CostSettings), ColumnMappingWithNameList ColumnMappings = default(ColumnMappingWithNameList), ExclusionFilters ExclusionFilters = default(ExclusionFilters), BeezUPCommonHttpUrl ExportUrl = default(BeezUPCommonHttpUrl), ChannelCatalogState State = default(ChannelCatalogState), List <string> Types = default(List <string>), List <BeezUPCommonLink2> Links = default(List <BeezUPCommonLink2>))
 {
     // to ensure "ChannelId" is required (not null)
     if (ChannelId == null)
     {
         throw new InvalidDataException("ChannelId is a required property for ChannelCatalog and cannot be null");
     }
     else
     {
         this.ChannelId = ChannelId;
     }
     // to ensure "ChannelName" is required (not null)
     if (ChannelName == null)
     {
         throw new InvalidDataException("ChannelName is a required property for ChannelCatalog and cannot be null");
     }
     else
     {
         this.ChannelName = ChannelName;
     }
     // to ensure "ChannelImageUrl" is required (not null)
     if (ChannelImageUrl == null)
     {
         throw new InvalidDataException("ChannelImageUrl is a required property for ChannelCatalog and cannot be null");
     }
     else
     {
         this.ChannelImageUrl = ChannelImageUrl;
     }
     // to ensure "ProductCount" is required (not null)
     if (ProductCount == null)
     {
         throw new InvalidDataException("ProductCount is a required property for ChannelCatalog and cannot be null");
     }
     else
     {
         this.ProductCount = ProductCount;
     }
     // to ensure "Enabled" is required (not null)
     if (Enabled == null)
     {
         throw new InvalidDataException("Enabled is a required property for ChannelCatalog and cannot be null");
     }
     else
     {
         this.Enabled = Enabled;
     }
     // to ensure "IsMarketplace" is required (not null)
     if (IsMarketplace == null)
     {
         throw new InvalidDataException("IsMarketplace is a required property for ChannelCatalog and cannot be null");
     }
     else
     {
         this.IsMarketplace = IsMarketplace;
     }
     // to ensure "ChannelCatalogId" is required (not null)
     if (ChannelCatalogId == null)
     {
         throw new InvalidDataException("ChannelCatalogId is a required property for ChannelCatalog and cannot be null");
     }
     else
     {
         this.ChannelCatalogId = ChannelCatalogId;
     }
     // to ensure "StoreId" is required (not null)
     if (StoreId == null)
     {
         throw new InvalidDataException("StoreId is a required property for ChannelCatalog and cannot be null");
     }
     else
     {
         this.StoreId = StoreId;
     }
     // to ensure "GeneralSettings" is required (not null)
     if (GeneralSettings == null)
     {
         throw new InvalidDataException("GeneralSettings is a required property for ChannelCatalog and cannot be null");
     }
     else
     {
         this.GeneralSettings = GeneralSettings;
     }
     // to ensure "CostSettings" is required (not null)
     if (CostSettings == null)
     {
         throw new InvalidDataException("CostSettings is a required property for ChannelCatalog and cannot be null");
     }
     else
     {
         this.CostSettings = CostSettings;
     }
     // to ensure "State" is required (not null)
     if (State == null)
     {
         throw new InvalidDataException("State is a required property for ChannelCatalog and cannot be null");
     }
     else
     {
         this.State = State;
     }
     // to ensure "Types" is required (not null)
     if (Types == null)
     {
         throw new InvalidDataException("Types is a required property for ChannelCatalog and cannot be null");
     }
     else
     {
         this.Types = Types;
     }
     // to ensure "Links" is required (not null)
     if (Links == null)
     {
         throw new InvalidDataException("Links is a required property for ChannelCatalog and cannot be null");
     }
     else
     {
         this.Links = Links;
     }
     this.ColumnMappings   = ColumnMappings;
     this.ExclusionFilters = ExclusionFilters;
     this.ExportUrl        = ExportUrl;
 }
Example #3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="StoreHeader" /> class.
 /// </summary>
 /// <param name="Name">Name (required).</param>
 /// <param name="Url">Url (required).</param>
 /// <param name="CountryIsoCodeAlpha3">CountryIsoCodeAlpha3 (required).</param>
 /// <param name="Sectors">Sectors (required).</param>
 /// <param name="StoreId">StoreId (required).</param>
 /// <param name="UserRole">UserRole (required).</param>
 /// <param name="Status">Status (required).</param>
 /// <param name="OwnerUserId">The user id of the owner of the store (required).</param>
 /// <param name="ShareCount">The share count related to this store (required).</param>
 /// <param name="CreationUtcDate">The creation date of the store (required).</param>
 /// <param name="Links">Links.</param>
 public StoreHeader(StoreName Name = default(StoreName), StoreUrl Url = default(StoreUrl), StoreCountryIsoCodeAlpha3 CountryIsoCodeAlpha3 = default(StoreCountryIsoCodeAlpha3), StoreSectors Sectors = default(StoreSectors), BeezUPCommonStoreId StoreId = default(BeezUPCommonStoreId), StoreUserRole UserRole = default(StoreUserRole), StoreStatus Status = default(StoreStatus), string OwnerUserId = default(string), int?ShareCount = default(int?), DateTime?CreationUtcDate = default(DateTime?), StoreHeaderLinks Links = default(StoreHeaderLinks))
 {
     // to ensure "Name" is required (not null)
     if (Name == null)
     {
         throw new InvalidDataException("Name is a required property for StoreHeader and cannot be null");
     }
     else
     {
         this.Name = Name;
     }
     // to ensure "Url" is required (not null)
     if (Url == null)
     {
         throw new InvalidDataException("Url is a required property for StoreHeader and cannot be null");
     }
     else
     {
         this.Url = Url;
     }
     // to ensure "CountryIsoCodeAlpha3" is required (not null)
     if (CountryIsoCodeAlpha3 == null)
     {
         throw new InvalidDataException("CountryIsoCodeAlpha3 is a required property for StoreHeader and cannot be null");
     }
     else
     {
         this.CountryIsoCodeAlpha3 = CountryIsoCodeAlpha3;
     }
     // to ensure "Sectors" is required (not null)
     if (Sectors == null)
     {
         throw new InvalidDataException("Sectors is a required property for StoreHeader and cannot be null");
     }
     else
     {
         this.Sectors = Sectors;
     }
     // to ensure "StoreId" is required (not null)
     if (StoreId == null)
     {
         throw new InvalidDataException("StoreId is a required property for StoreHeader and cannot be null");
     }
     else
     {
         this.StoreId = StoreId;
     }
     // to ensure "UserRole" is required (not null)
     if (UserRole == null)
     {
         throw new InvalidDataException("UserRole is a required property for StoreHeader and cannot be null");
     }
     else
     {
         this.UserRole = UserRole;
     }
     // to ensure "Status" is required (not null)
     if (Status == null)
     {
         throw new InvalidDataException("Status is a required property for StoreHeader and cannot be null");
     }
     else
     {
         this.Status = Status;
     }
     // to ensure "OwnerUserId" is required (not null)
     if (OwnerUserId == null)
     {
         throw new InvalidDataException("OwnerUserId is a required property for StoreHeader and cannot be null");
     }
     else
     {
         this.OwnerUserId = OwnerUserId;
     }
     // to ensure "ShareCount" is required (not null)
     if (ShareCount == null)
     {
         throw new InvalidDataException("ShareCount is a required property for StoreHeader and cannot be null");
     }
     else
     {
         this.ShareCount = ShareCount;
     }
     // to ensure "CreationUtcDate" is required (not null)
     if (CreationUtcDate == null)
     {
         throw new InvalidDataException("CreationUtcDate is a required property for StoreHeader and cannot be null");
     }
     else
     {
         this.CreationUtcDate = CreationUtcDate;
     }
     this.Links = Links;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="CreateChannelCatalogRequest" /> class.
 /// </summary>
 /// <param name="ChannelId">ChannelId (required).</param>
 /// <param name="StoreId">StoreId (required).</param>
 public CreateChannelCatalogRequest(BeezUPCommonChannelId ChannelId = default(BeezUPCommonChannelId), BeezUPCommonStoreId StoreId = default(BeezUPCommonStoreId))
 {
     // to ensure "ChannelId" is required (not null)
     if (ChannelId == null)
     {
         throw new InvalidDataException("ChannelId is a required property for CreateChannelCatalogRequest and cannot be null");
     }
     else
     {
         this.ChannelId = ChannelId;
     }
     // to ensure "StoreId" is required (not null)
     if (StoreId == null)
     {
         throw new InvalidDataException("StoreId is a required property for CreateChannelCatalogRequest and cannot be null");
     }
     else
     {
         this.StoreId = StoreId;
     }
 }
Example #5
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ChannelCatalogHeader" /> class.
 /// </summary>
 /// <param name="ChannelCatalogId">ChannelCatalogId.</param>
 /// <param name="ChannelId">ChannelId.</param>
 /// <param name="ChannelName">ChannelName.</param>
 /// <param name="IsMarketplace">Indicates if this channel catalog is related to a marketplace.</param>
 /// <param name="StoreId">StoreId.</param>
 /// <param name="Links">Links.</param>
 public ChannelCatalogHeader(BeezUPCommonChannelCatalogId ChannelCatalogId = default(BeezUPCommonChannelCatalogId), BeezUPCommonChannelId ChannelId = default(BeezUPCommonChannelId), BeezUPCommonChannelName ChannelName = default(BeezUPCommonChannelName), bool?IsMarketplace = default(bool?), BeezUPCommonStoreId StoreId = default(BeezUPCommonStoreId), ChannelCatalogHeaderLinks Links = default(ChannelCatalogHeaderLinks))
 {
     this.ChannelCatalogId = ChannelCatalogId;
     this.ChannelId        = ChannelId;
     this.ChannelName      = ChannelName;
     this.IsMarketplace    = IsMarketplace;
     this.StoreId          = StoreId;
     this.Links            = Links;
 }
Example #6
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ExportOrderListRequest" /> class.
 /// </summary>
 /// <param name="Format">Format.</param>
 /// <param name="StoreId">StoreId (required).</param>
 /// <param name="OrderListRequest">OrderListRequest (required).</param>
 public ExportOrderListRequest(ExportOrderListFormat Format = default(ExportOrderListFormat), BeezUPCommonStoreId StoreId = default(BeezUPCommonStoreId), OrderListRequest OrderListRequest = default(OrderListRequest))
 {
     // to ensure "StoreId" is required (not null)
     if (StoreId == null)
     {
         throw new InvalidDataException("StoreId is a required property for ExportOrderListRequest and cannot be null");
     }
     else
     {
         this.StoreId = StoreId;
     }
     // to ensure "OrderListRequest" is required (not null)
     if (OrderListRequest == null)
     {
         throw new InvalidDataException("OrderListRequest is a required property for ExportOrderListRequest and cannot be null");
     }
     else
     {
         this.OrderListRequest = OrderListRequest;
     }
     this.Format = Format;
 }