Пример #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="RequestBody" /> 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">&#39;Format of the report&#39;                  Valid values: - application/xml - text/csv .</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">List of filters to apply.</param>
 /// <param name="ReportPreferences">ReportPreferences.</param>
 /// <param name="GroupName">Specifies the group name.</param>
 public RequestBody(string OrganizationId = default(string), string ReportDefinitionName = default(string), List <string> ReportFields = default(List <string>), string ReportMimeType = default(string), 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> >), Reportingv3reportsReportPreferences ReportPreferences = default(Reportingv3reportsReportPreferences), string GroupName = 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.GroupName            = GroupName;
 }
Пример #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ReportingV3ReportsIdGet200Response" /> class.
 /// </summary>
 /// <param name="OrganizationId">CyberSource merchant id.</param>
 /// <param name="ReportId">Report ID Value.</param>
 /// <param name="ReportDefinitionId">Report definition Id.</param>
 /// <param name="ReportName">Report Name.</param>
 /// <param name="ReportMimeType">Report Format  Valid values: - application/xml - text/csv .</param>
 /// <param name="ReportFrequency">Report Frequency Value  Valid values: - DAILY - WEEKLY - MONTHLY - ADHOC .</param>
 /// <param name="ReportFields">List of Integer Values.</param>
 /// <param name="ReportStatus">Report Status Value  Valid values: - COMPLETED - PENDING - QUEUED - RUNNING - ERROR - NO_DATA - RERUN .</param>
 /// <param name="ReportStartTime">Report Start Time Value.</param>
 /// <param name="ReportEndTime">Report End Time Value.</param>
 /// <param name="Timezone">Time Zone Value.</param>
 /// <param name="ReportFilters">List of filters to apply.</param>
 /// <param name="ReportPreferences">ReportPreferences.</param>
 /// <param name="GroupId">Id for selected group..</param>
 public ReportingV3ReportsIdGet200Response(string OrganizationId = default(string), string ReportId = default(string), string ReportDefinitionId = default(string), string ReportName = default(string), string ReportMimeType = default(string), string ReportFrequency = default(string), List <string> ReportFields = default(List <string>), string ReportStatus = default(string), DateTime?ReportStartTime = default(DateTime?), DateTime?ReportEndTime = default(DateTime?), string Timezone = default(string), Dictionary <string, List <string> > ReportFilters = default(Dictionary <string, List <string> >), Reportingv3reportsReportPreferences ReportPreferences = default(Reportingv3reportsReportPreferences), string GroupId = default(string))
 {
     this.OrganizationId     = OrganizationId;
     this.ReportId           = ReportId;
     this.ReportDefinitionId = ReportDefinitionId;
     this.ReportName         = ReportName;
     this.ReportMimeType     = ReportMimeType;
     this.ReportFrequency    = ReportFrequency;
     this.ReportFields       = ReportFields;
     this.ReportStatus       = ReportStatus;
     this.ReportStartTime    = ReportStartTime;
     this.ReportEndTime      = ReportEndTime;
     this.Timezone           = Timezone;
     this.ReportFilters      = ReportFilters;
     this.ReportPreferences  = ReportPreferences;
     this.GroupId            = GroupId;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="ReportingV3ReportSubscriptionsGet200ResponseSubscriptions" /> class.
 /// </summary>
 /// <param name="OrganizationId">Selected Organization Id.</param>
 /// <param name="ReportDefinitionId">Report Definition Id.</param>
 /// <param name="ReportDefinitionName">Report Definition Class.</param>
 /// <param name="ReportMimeType">Report Format                          Valid values: - application/xml - text/csv .</param>
 /// <param name="ReportFrequency">&#39;Report Frequency&#39;  Valid values: - DAILY - WEEKLY - MONTHLY - ADHOC .</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="ReportFilters">List of filters to apply.</param>
 /// <param name="ReportPreferences">ReportPreferences.</param>
 /// <param name="GroupId">Id for the selected group..</param>
 public ReportingV3ReportSubscriptionsGet200ResponseSubscriptions(string OrganizationId = default(string), string ReportDefinitionId = default(string), string ReportDefinitionName = default(string), string ReportMimeType = default(string), string ReportFrequency = default(string), string ReportName = default(string), string Timezone = default(string), string StartTime = default(string), int?StartDay = default(int?), List <string> ReportFields = default(List <string>), Dictionary <string, List <string> > ReportFilters = default(Dictionary <string, List <string> >), Reportingv3reportsReportPreferences ReportPreferences = default(Reportingv3reportsReportPreferences), string GroupId = 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.GroupId = GroupId;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="RequestBody1" /> class.
 /// </summary>
 /// <param name="OrganizationId">Valid CyberSource organizationId.</param>
 /// <param name="ReportDefinitionName">Valid Report Definition Name (required).</param>
 /// <param name="ReportFields">ReportFields (required).</param>
 /// <param name="ReportMimeType">Valid values: - application/xml - text/csv  (required).</param>
 /// <param name="ReportFrequency">&#39;The frequency for which subscription is created.&#39;  Valid values: - &#39;DAILY&#39; - &#39;WEEKLY&#39; - &#39;MONTHLY&#39; - &#39;ADHOC&#39;  (required).</param>
 /// <param name="ReportName">ReportName (required).</param>
 /// <param name="Timezone">Timezone (required).</param>
 /// <param name="StartTime">The hour at which the report generation should start. It should be in hhmm format. (required).</param>
 /// <param name="StartDay">This is the start day if the frequency is WEEKLY or MONTHLY. The value varies from 1-7 for WEEKLY and 1-31 for MONTHLY. For WEEKLY 1 means Sunday and 7 means Saturday. By default the value is 1..</param>
 /// <param name="ReportFilters">List of filters to apply.</param>
 /// <param name="ReportPreferences">ReportPreferences.</param>
 /// <param name="GroupName">Valid GroupName.</param>
 public RequestBody1(string OrganizationId = default(string), string ReportDefinitionName = default(string), List <string> ReportFields = default(List <string>), string ReportMimeType = default(string), 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> >), Reportingv3reportsReportPreferences ReportPreferences = default(Reportingv3reportsReportPreferences), string GroupName = default(string))
 {
     // to ensure "ReportDefinitionName" is required (not null)
     if (ReportDefinitionName == null)
     {
         throw new InvalidDataException("ReportDefinitionName is a required property for RequestBody1 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 RequestBody1 and cannot be null");
     }
     else
     {
         this.ReportFields = ReportFields;
     }
     // to ensure "ReportMimeType" is required (not null)
     if (ReportMimeType == null)
     {
         throw new InvalidDataException("ReportMimeType is a required property for RequestBody1 and cannot be null");
     }
     else
     {
         this.ReportMimeType = ReportMimeType;
     }
     // to ensure "ReportFrequency" is required (not null)
     if (ReportFrequency == null)
     {
         throw new InvalidDataException("ReportFrequency is a required property for RequestBody1 and cannot be null");
     }
     else
     {
         this.ReportFrequency = ReportFrequency;
     }
     // to ensure "ReportName" is required (not null)
     if (ReportName == null)
     {
         throw new InvalidDataException("ReportName is a required property for RequestBody1 and cannot be null");
     }
     else
     {
         this.ReportName = ReportName;
     }
     // to ensure "Timezone" is required (not null)
     if (Timezone == null)
     {
         throw new InvalidDataException("Timezone is a required property for RequestBody1 and cannot be null");
     }
     else
     {
         this.Timezone = Timezone;
     }
     // to ensure "StartTime" is required (not null)
     if (StartTime == null)
     {
         throw new InvalidDataException("StartTime is a required property for RequestBody1 and cannot be null");
     }
     else
     {
         this.StartTime = StartTime;
     }
     this.OrganizationId    = OrganizationId;
     this.StartDay          = StartDay;
     this.ReportFilters     = ReportFilters;
     this.ReportPreferences = ReportPreferences;
     this.GroupName         = GroupName;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="ReportingV3ReportDefinitionsNameGet200ResponseDefaultSettings" /> class.
 /// </summary>
 /// <param name="ReportMimeType">Report Format Valid values:   - application/xml   - text/csv .</param>
 /// <param name="ReportFrequency">Report Frequency Value Valid Values:   - DAILY   - WEEKLY   - MONTHLY   - ADHOC .</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="ReportFilters">List of filters to apply.</param>
 /// <param name="ReportPreferences">ReportPreferences.</param>
 public ReportingV3ReportDefinitionsNameGet200ResponseDefaultSettings(string ReportMimeType = default(string), 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> >), Reportingv3reportsReportPreferences ReportPreferences = default(Reportingv3reportsReportPreferences))
 {
     this.ReportMimeType    = ReportMimeType;
     this.ReportFrequency   = ReportFrequency;
     this.ReportName        = ReportName;
     this.Timezone          = Timezone;
     this.StartTime         = StartTime;
     this.StartDay          = StartDay;
     this.ReportFilters     = ReportFilters;
     this.ReportPreferences = ReportPreferences;
 }