Beispiel #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ReportByProductResponse" /> class.
 /// </summary>
 /// <param name="PaginationResult">PaginationResult (required).</param>
 /// <param name="Products">Products (required).</param>
 /// <param name="Links">Links (required).</param>
 public ReportByProductResponse(BeezUPCommonPaginationResult PaginationResult = default(BeezUPCommonPaginationResult), List <ReportByProduct> Products = default(List <ReportByProduct>), ReportByProductResponseLinks Links = default(ReportByProductResponseLinks))
 {
     // to ensure "PaginationResult" is required (not null)
     if (PaginationResult == null)
     {
         throw new InvalidDataException("PaginationResult is a required property for ReportByProductResponse and cannot be null");
     }
     else
     {
         this.PaginationResult = PaginationResult;
     }
     // to ensure "Products" is required (not null)
     if (Products == null)
     {
         throw new InvalidDataException("Products is a required property for ReportByProductResponse and cannot be null");
     }
     else
     {
         this.Products = Products;
     }
     // to ensure "Links" is required (not null)
     if (Links == null)
     {
         throw new InvalidDataException("Links is a required property for ReportByProductResponse and cannot be null");
     }
     else
     {
         this.Links = Links;
     }
 }
Beispiel #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ReportByCategoryResponse" /> class.
 /// </summary>
 /// <param name="PaginationResult">PaginationResult.</param>
 /// <param name="CurrencyCode">CurrencyCode.</param>
 /// <param name="Categories">Categories.</param>
 /// <param name="Links">Links.</param>
 public ReportByCategoryResponse(BeezUPCommonPaginationResult PaginationResult = default(BeezUPCommonPaginationResult), BeezUPCommonCurrencyCode CurrencyCode = default(BeezUPCommonCurrencyCode), List <ReportByCategory> Categories = default(List <ReportByCategory>), ReportByCategoryResponseLinks Links = default(ReportByCategoryResponseLinks))
 {
     this.PaginationResult = PaginationResult;
     this.CurrencyCode     = CurrencyCode;
     this.Categories       = Categories;
     this.Links            = Links;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="OrderExportations" /> class.
 /// </summary>
 /// <param name="PaginationResult">PaginationResult.</param>
 /// <param name="Exportations">Exportations (required).</param>
 /// <param name="Links">Links (required).</param>
 public OrderExportations(BeezUPCommonPaginationResult PaginationResult = default(BeezUPCommonPaginationResult), List <OrderExportationReporting> Exportations = default(List <OrderExportationReporting>), OrderExportationsLinks Links = default(OrderExportationsLinks))
 {
     // to ensure "Exportations" is required (not null)
     if (Exportations == null)
     {
         throw new InvalidDataException("Exportations is a required property for OrderExportations and cannot be null");
     }
     else
     {
         this.Exportations = Exportations;
     }
     // to ensure "Links" is required (not null)
     if (Links == null)
     {
         throw new InvalidDataException("Links is a required property for OrderExportations and cannot be null");
     }
     else
     {
         this.Links = Links;
     }
     this.PaginationResult = PaginationResult;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="ReportByChannelResponse" /> class.
 /// </summary>
 /// <param name="PaginationResult">PaginationResult (required).</param>
 /// <param name="CurrencyCode">CurrencyCode (required).</param>
 /// <param name="Channels">Channels (required).</param>
 /// <param name="Links">Links (required).</param>
 public ReportByChannelResponse(BeezUPCommonPaginationResult PaginationResult = default(BeezUPCommonPaginationResult), BeezUPCommonCurrencyCode CurrencyCode = default(BeezUPCommonCurrencyCode), List <ReportByChannel> Channels = default(List <ReportByChannel>), ReportByChannelResponseLinks Links = default(ReportByChannelResponseLinks))
 {
     // to ensure "PaginationResult" is required (not null)
     if (PaginationResult == null)
     {
         throw new InvalidDataException("PaginationResult is a required property for ReportByChannelResponse and cannot be null");
     }
     else
     {
         this.PaginationResult = PaginationResult;
     }
     // to ensure "CurrencyCode" is required (not null)
     if (CurrencyCode == null)
     {
         throw new InvalidDataException("CurrencyCode is a required property for ReportByChannelResponse and cannot be null");
     }
     else
     {
         this.CurrencyCode = CurrencyCode;
     }
     // to ensure "Channels" is required (not null)
     if (Channels == null)
     {
         throw new InvalidDataException("Channels is a required property for ReportByChannelResponse and cannot be null");
     }
     else
     {
         this.Channels = Channels;
     }
     // to ensure "Links" is required (not null)
     if (Links == null)
     {
         throw new InvalidDataException("Links is a required property for ReportByChannelResponse and cannot be null");
     }
     else
     {
         this.Links = Links;
     }
 }
Beispiel #5
0
 /// <summary>
 /// Initializes a new instance of the <see cref="OrderListLight" /> class.
 /// </summary>
 /// <param name="PaginationResult">PaginationResult.</param>
 /// <param name="Orders">Orders (required).</param>
 /// <param name="Links">Links (required).</param>
 public OrderListLight(BeezUPCommonPaginationResult PaginationResult = default(BeezUPCommonPaginationResult), List <OrderHeader> Orders = default(List <OrderHeader>), OrderListLightLinks Links = default(OrderListLightLinks))
 {
     // to ensure "Orders" is required (not null)
     if (Orders == null)
     {
         throw new InvalidDataException("Orders is a required property for OrderListLight and cannot be null");
     }
     else
     {
         this.Orders = Orders;
     }
     // to ensure "Links" is required (not null)
     if (Links == null)
     {
         throw new InvalidDataException("Links is a required property for OrderListLight and cannot be null");
     }
     else
     {
         this.Links = Links;
     }
     this.PaginationResult = PaginationResult;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="RuleExecutionReportings" /> class.
 /// </summary>
 /// <param name="Executions">The rules executions history.</param>
 /// <param name="PaginationResult">PaginationResult.</param>
 public RuleExecutionReportings(List <RuleExecutionReporting> Executions = default(List <RuleExecutionReporting>), BeezUPCommonPaginationResult PaginationResult = default(BeezUPCommonPaginationResult))
 {
     this.Executions       = Executions;
     this.PaginationResult = PaginationResult;
 }