Beispiel #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="RequestBody" /> class.
 /// </summary>
 /// <param name="OrganizationId">OrganizationId.</param>
 /// <param name="ReportDefinitionName">ReportDefinitionName (required).</param>
 /// <param name="ReportFields">ReportFields (required).</param>
 /// <param name="ReportMimeType">ReportMimeType.</param>
 /// <param name="ReportFrequency">ReportFrequency.</param>
 /// <param name="ReportName">ReportName (required).</param>
 /// <param name="Timezone">Timezone.</param>
 /// <param name="StartTime">StartTime.</param>
 /// <param name="StartDay">StartDay.</param>
 /// <param name="ReportFilters">ReportFilters.</param>
 /// <param name="ReportPreferences">ReportPreferences.</param>
 /// <param name="SelectedMerchantGroupName">SelectedMerchantGroupName.</param>
 public RequestBody(string OrganizationId = default(string), string ReportDefinitionName = default(string), List <string> ReportFields = default(List <string>), ReportMimeTypeEnum?ReportMimeType = default(ReportMimeTypeEnum?), string ReportFrequency = default(string), string ReportName = default(string), string Timezone = default(string), string StartTime = default(string), int?StartDay = default(int?), Dictionary <string, List <string> > ReportFilters = default(Dictionary <string, List <string> >), ReportingV3ReportSubscriptionsGet200ResponseReportPreferences ReportPreferences = default(ReportingV3ReportSubscriptionsGet200ResponseReportPreferences), string SelectedMerchantGroupName = default(string))
 {
     // to ensure "ReportDefinitionName" is required (not null)
     if (ReportDefinitionName == null)
     {
         throw new InvalidDataException("ReportDefinitionName is a required property for RequestBody and cannot be null");
     }
     else
     {
         this.ReportDefinitionName = ReportDefinitionName;
     }
     // to ensure "ReportFields" is required (not null)
     if (ReportFields == null)
     {
         throw new InvalidDataException("ReportFields is a required property for RequestBody and cannot be null");
     }
     else
     {
         this.ReportFields = ReportFields;
     }
     // to ensure "ReportName" is required (not null)
     if (ReportName == null)
     {
         throw new InvalidDataException("ReportName is a required property for RequestBody and cannot be null");
     }
     else
     {
         this.ReportName = ReportName;
     }
     this.OrganizationId            = OrganizationId;
     this.ReportMimeType            = ReportMimeType;
     this.ReportFrequency           = ReportFrequency;
     this.Timezone                  = Timezone;
     this.StartTime                 = StartTime;
     this.StartDay                  = StartDay;
     this.ReportFilters             = ReportFilters;
     this.ReportPreferences         = ReportPreferences;
     this.SelectedMerchantGroupName = SelectedMerchantGroupName;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="RequestBody1" /> class.
 /// </summary>
 /// <param name="OrganizationId">Valid CyberSource Organization Id.</param>
 /// <param name="ReportDefinitionName">ReportDefinitionName.</param>
 /// <param name="ReportFields">List of fields which needs to get included in a report.</param>
 /// <param name="ReportMimeType"> Format of the report.</param>
 /// <param name="ReportName">Name of the report.</param>
 /// <param name="Timezone">Timezone of the report.</param>
 /// <param name="ReportStartTime">Start time of the report.</param>
 /// <param name="ReportEndTime">End time of the report.</param>
 /// <param name="ReportFilters">ReportFilters.</param>
 /// <param name="ReportPreferences">ReportPreferences.</param>
 /// <param name="SelectedMerchantGroupName">Specifies the group name.</param>
 public RequestBody1(string OrganizationId = default(string), string ReportDefinitionName = default(string), List <string> ReportFields = default(List <string>), ReportMimeTypeEnum?ReportMimeType = default(ReportMimeTypeEnum?), string ReportName = default(string), string Timezone = default(string), DateTime?ReportStartTime = default(DateTime?), DateTime?ReportEndTime = default(DateTime?), Dictionary <string, List <string> > ReportFilters = default(Dictionary <string, List <string> >), ReportingV3ReportSubscriptionsGet200ResponseReportPreferences ReportPreferences = default(ReportingV3ReportSubscriptionsGet200ResponseReportPreferences), string SelectedMerchantGroupName = default(string))
 {
     this.OrganizationId            = OrganizationId;
     this.ReportDefinitionName      = ReportDefinitionName;
     this.ReportFields              = ReportFields;
     this.ReportMimeType            = ReportMimeType;
     this.ReportName                = ReportName;
     this.Timezone                  = Timezone;
     this.ReportStartTime           = ReportStartTime;
     this.ReportEndTime             = ReportEndTime;
     this.ReportFilters             = ReportFilters;
     this.ReportPreferences         = ReportPreferences;
     this.SelectedMerchantGroupName = SelectedMerchantGroupName;
 }
Beispiel #3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ReportingV3ReportSubscriptionsGet200ResponseSubscriptions" /> class.
 /// </summary>
 /// <param name="OrganizationId">Organization Id.</param>
 /// <param name="ReportDefinitionId">Report Definition Id.</param>
 /// <param name="ReportDefinitionName">Report Definition.</param>
 /// <param name="ReportMimeType">Report Format.</param>
 /// <param name="ReportFrequency">Report Frequency.</param>
 /// <param name="ReportName">Report Name.</param>
 /// <param name="Timezone">Time Zone.</param>
 /// <param name="StartTime">Start Time.</param>
 /// <param name="StartDay">Start Day.</param>
 /// <param name="ReportFields">List of all fields String values.</param>
 /// <param name="ReportPreferences">ReportPreferences.</param>
 /// <param name="SelectedMerchantGroupName">Selected name of the group..</param>
 public ReportingV3ReportSubscriptionsGet200ResponseSubscriptions(string OrganizationId = default(string), string ReportDefinitionId = default(string), string ReportDefinitionName = default(string), ReportMimeTypeEnum?ReportMimeType = default(ReportMimeTypeEnum?), ReportFrequencyEnum?ReportFrequency = default(ReportFrequencyEnum?), string ReportName = default(string), string Timezone = default(string), string StartTime = default(string), int?StartDay = default(int?), List <string> ReportFields = default(List <string>), ReportingV3ReportSubscriptionsGet200ResponseReportPreferences ReportPreferences = default(ReportingV3ReportSubscriptionsGet200ResponseReportPreferences), string SelectedMerchantGroupName = default(string))
 {
     this.OrganizationId       = OrganizationId;
     this.ReportDefinitionId   = ReportDefinitionId;
     this.ReportDefinitionName = ReportDefinitionName;
     this.ReportMimeType       = ReportMimeType;
     this.ReportFrequency      = ReportFrequency;
     this.ReportName           = ReportName;
     this.Timezone             = Timezone;
     this.StartTime            = StartTime;
     this.StartDay             = StartDay;
     this.ReportFields         = ReportFields;
     //this.ReportFilters = ReportFilters;
     this.ReportPreferences         = ReportPreferences;
     this.SelectedMerchantGroupName = SelectedMerchantGroupName;
 }