diff --git a/Api/ChargebackDetailsApi.cs b/Api/ChargebackDetailsApi.cs
new file mode 100644
index 00000000..1693b264
--- /dev/null
+++ b/Api/ChargebackDetailsApi.cs
@@ -0,0 +1,408 @@
+/*
+ * CyberSource Merged Spec
+ *
+ * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html
+ *
+ * OpenAPI spec version: 0.0.1
+ *
+ * Generated by: https://github.com/swagger-api/swagger-codegen.git
+ */
+
+using System;
+using System.Collections.Generic;
+using System.Collections.ObjectModel;
+using System.Linq;
+using RestSharp;
+using CyberSource.Client;
+using CyberSource.Model;
+using NLog;
+using AuthenticationSdk.util;
+
+namespace CyberSource.Api
+{
+ ///
+ /// Represents a collection of functions to interact with the API endpoints
+ ///
+ public interface IChargebackDetailsApi : IApiAccessor
+ {
+ #region Synchronous Operations
+ ///
+ /// Get Chargeback Details
+ ///
+ ///
+ /// Chargeback Detail Report Description
+ ///
+ /// Thrown when fails to make API call
+ /// Valid report Start Time in **ISO 8601 format** Please refer the following link to know more about ISO 8601 format.[Rfc Date Format](https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14) **Example date format:** - yyyy-MM-dd'T'HH:mm:ss.SSSZ (e.g. 2018-01-01T00:00:00.000Z)
+ /// Valid report End Time in **ISO 8601 format** Please refer the following link to know more about ISO 8601 format.[Rfc Date Format](https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14) **Example date format:** - yyyy-MM-dd'T'HH:mm:ss.SSSZ (e.g. 2018-01-01T00:00:00.000Z)
+ /// Valid Organization Id (optional)
+ /// ReportingV3ChargebackDetailsGet200Response
+ ReportingV3ChargebackDetailsGet200Response GetChargebackDetails (DateTime? startTime, DateTime? endTime, string organizationId = null);
+
+ ///
+ /// Get Chargeback Details
+ ///
+ ///
+ /// Chargeback Detail Report Description
+ ///
+ /// Thrown when fails to make API call
+ /// Valid report Start Time in **ISO 8601 format** Please refer the following link to know more about ISO 8601 format.[Rfc Date Format](https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14) **Example date format:** - yyyy-MM-dd'T'HH:mm:ss.SSSZ (e.g. 2018-01-01T00:00:00.000Z)
+ /// Valid report End Time in **ISO 8601 format** Please refer the following link to know more about ISO 8601 format.[Rfc Date Format](https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14) **Example date format:** - yyyy-MM-dd'T'HH:mm:ss.SSSZ (e.g. 2018-01-01T00:00:00.000Z)
+ /// Valid Organization Id (optional)
+ /// ApiResponse of ReportingV3ChargebackDetailsGet200Response
+ ApiResponse GetChargebackDetailsWithHttpInfo (DateTime? startTime, DateTime? endTime, string organizationId = null);
+ #endregion Synchronous Operations
+ #region Asynchronous Operations
+ ///
+ /// Get Chargeback Details
+ ///
+ ///
+ /// Chargeback Detail Report Description
+ ///
+ /// Thrown when fails to make API call
+ /// Valid report Start Time in **ISO 8601 format** Please refer the following link to know more about ISO 8601 format.[Rfc Date Format](https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14) **Example date format:** - yyyy-MM-dd'T'HH:mm:ss.SSSZ (e.g. 2018-01-01T00:00:00.000Z)
+ /// Valid report End Time in **ISO 8601 format** Please refer the following link to know more about ISO 8601 format.[Rfc Date Format](https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14) **Example date format:** - yyyy-MM-dd'T'HH:mm:ss.SSSZ (e.g. 2018-01-01T00:00:00.000Z)
+ /// Valid Organization Id (optional)
+ /// Task of ReportingV3ChargebackDetailsGet200Response
+ System.Threading.Tasks.Task GetChargebackDetailsAsync (DateTime? startTime, DateTime? endTime, string organizationId = null);
+
+ ///
+ /// Get Chargeback Details
+ ///
+ ///
+ /// Chargeback Detail Report Description
+ ///
+ /// Thrown when fails to make API call
+ /// Valid report Start Time in **ISO 8601 format** Please refer the following link to know more about ISO 8601 format.[Rfc Date Format](https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14) **Example date format:** - yyyy-MM-dd'T'HH:mm:ss.SSSZ (e.g. 2018-01-01T00:00:00.000Z)
+ /// Valid report End Time in **ISO 8601 format** Please refer the following link to know more about ISO 8601 format.[Rfc Date Format](https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14) **Example date format:** - yyyy-MM-dd'T'HH:mm:ss.SSSZ (e.g. 2018-01-01T00:00:00.000Z)
+ /// Valid Organization Id (optional)
+ /// Task of ApiResponse (ReportingV3ChargebackDetailsGet200Response)
+ System.Threading.Tasks.Task> GetChargebackDetailsAsyncWithHttpInfo (DateTime? startTime, DateTime? endTime, string organizationId = null);
+ #endregion Asynchronous Operations
+ }
+
+ ///
+ /// Represents a collection of functions to interact with the API endpoints
+ ///
+ public partial class ChargebackDetailsApi : IChargebackDetailsApi
+ {
+ private static Logger logger;
+ private ExceptionFactory _exceptionFactory = (name, response) => null;
+
+ ///
+ /// Initializes a new instance of the class.
+ ///
+ ///
+ public ChargebackDetailsApi(string basePath)
+ {
+ Configuration = new Configuration(new ApiClient(basePath));
+
+ ExceptionFactory = Configuration.DefaultExceptionFactory;
+
+ // ensure API client has configuration ready
+ if (Configuration.ApiClient.Configuration == null)
+ {
+ Configuration.ApiClient.Configuration = Configuration;
+ }
+
+ if (logger == null)
+ {
+ logger = LogManager.GetCurrentClassLogger();
+ }
+ }
+
+ ///
+ /// Initializes a new instance of the class
+ /// using Configuration object
+ ///
+ /// An instance of Configuration
+ ///
+ public ChargebackDetailsApi(Configuration configuration = null)
+ {
+ if (configuration == null) // use the default one in Configuration
+ Configuration = Configuration.Default;
+ else
+ Configuration = configuration;
+
+ ExceptionFactory = Configuration.DefaultExceptionFactory;
+
+ Configuration.ApiClient.Configuration = Configuration;
+
+ if (logger == null)
+ {
+ logger = LogManager.GetCurrentClassLogger();
+ }
+ }
+
+ ///
+ /// Gets the base path of the API client.
+ ///
+ /// The base path
+ public string GetBasePath()
+ {
+ return Configuration.ApiClient.RestClient.BaseUrl.ToString();
+ }
+
+ ///
+ /// Sets the base path of the API client.
+ ///
+ /// The base path
+ [Obsolete("SetBasePath is deprecated, please do 'Configuration.ApiClient = new ApiClient(\"http://new-path\")' instead.")]
+ public void SetBasePath(string basePath)
+ {
+ // do nothing
+ }
+
+ ///
+ /// Gets or sets the configuration object
+ ///
+ /// An instance of the Configuration
+ public Configuration Configuration { get; set; }
+
+ ///
+ /// Provides a factory method hook for the creation of exceptions.
+ ///
+ public ExceptionFactory ExceptionFactory
+ {
+ get
+ {
+ if (_exceptionFactory != null && _exceptionFactory.GetInvocationList().Length > 1)
+ {
+ logger.Error("InvalidOperationException : Multicast delegate for ExceptionFactory is unsupported.");
+ throw new InvalidOperationException("Multicast delegate for ExceptionFactory is unsupported.");
+ }
+ return _exceptionFactory;
+ }
+ set { _exceptionFactory = value; }
+ }
+
+ ///
+ /// Gets the default header.
+ ///
+ /// Dictionary of HTTP header
+ [Obsolete("DefaultHeader is deprecated, please use Configuration.DefaultHeader instead.")]
+ public Dictionary DefaultHeader()
+ {
+ return Configuration.DefaultHeader;
+ }
+
+ ///
+ /// Add default header.
+ ///
+ /// Header field name.
+ /// Header field value.
+ ///
+ [Obsolete("AddDefaultHeader is deprecated, please use Configuration.AddDefaultHeader instead.")]
+ public void AddDefaultHeader(string key, string value)
+ {
+ Configuration.AddDefaultHeader(key, value);
+ }
+
+ ///
+ /// Get Chargeback Details Chargeback Detail Report Description
+ ///
+ /// Thrown when fails to make API call
+ /// Valid report Start Time in **ISO 8601 format** Please refer the following link to know more about ISO 8601 format.[Rfc Date Format](https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14) **Example date format:** - yyyy-MM-dd'T'HH:mm:ss.SSSZ (e.g. 2018-01-01T00:00:00.000Z)
+ /// Valid report End Time in **ISO 8601 format** Please refer the following link to know more about ISO 8601 format.[Rfc Date Format](https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14) **Example date format:** - yyyy-MM-dd'T'HH:mm:ss.SSSZ (e.g. 2018-01-01T00:00:00.000Z)
+ /// Valid Organization Id (optional)
+ /// ReportingV3ChargebackDetailsGet200Response
+ public ReportingV3ChargebackDetailsGet200Response GetChargebackDetails (DateTime? startTime, DateTime? endTime, string organizationId = null)
+ {
+ logger.Debug("CALLING API \"GetChargebackDetails\" STARTED");
+ ApiResponse localVarResponse = GetChargebackDetailsWithHttpInfo(startTime, endTime, organizationId);
+ logger.Debug("CALLING API \"GetChargebackDetails\" ENDED");
+ return localVarResponse.Data;
+ }
+
+ ///
+ /// Get Chargeback Details Chargeback Detail Report Description
+ ///
+ /// Thrown when fails to make API call
+ /// Valid report Start Time in **ISO 8601 format** Please refer the following link to know more about ISO 8601 format.[Rfc Date Format](https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14) **Example date format:** - yyyy-MM-dd'T'HH:mm:ss.SSSZ (e.g. 2018-01-01T00:00:00.000Z)
+ /// Valid report End Time in **ISO 8601 format** Please refer the following link to know more about ISO 8601 format.[Rfc Date Format](https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14) **Example date format:** - yyyy-MM-dd'T'HH:mm:ss.SSSZ (e.g. 2018-01-01T00:00:00.000Z)
+ /// Valid Organization Id (optional)
+ /// ApiResponse of ReportingV3ChargebackDetailsGet200Response
+ public ApiResponse< ReportingV3ChargebackDetailsGet200Response > GetChargebackDetailsWithHttpInfo (DateTime? startTime, DateTime? endTime, string organizationId = null)
+ {
+ // verify the required parameter 'startTime' is set
+ if (startTime == null)
+ {
+ logger.Error("ApiException : Missing required parameter 'startTime' when calling ChargebackDetailsApi->GetChargebackDetails");
+ throw new ApiException(400, "Missing required parameter 'startTime' when calling ChargebackDetailsApi->GetChargebackDetails");
+ }
+ // verify the required parameter 'endTime' is set
+ if (endTime == null)
+ {
+ logger.Error("ApiException : Missing required parameter 'endTime' when calling ChargebackDetailsApi->GetChargebackDetails");
+ throw new ApiException(400, "Missing required parameter 'endTime' when calling ChargebackDetailsApi->GetChargebackDetails");
+ }
+
+ var localVarPath = $"/reporting/v3/chargeback-details";
+ var localVarPathParams = new Dictionary();
+ var localVarQueryParams = new Dictionary();
+ var localVarHeaderParams = new Dictionary(Configuration.DefaultHeader);
+ var localVarFormParams = new Dictionary();
+ var localVarFileParams = new Dictionary();
+ object localVarPostBody = null;
+
+ // to determine the Content-Type header
+ string[] localVarHttpContentTypes = new string[] {
+ "application/json;charset=utf-8"
+ };
+ string localVarHttpContentType = Configuration.ApiClient.SelectHeaderContentType(localVarHttpContentTypes);
+
+ // to determine the Accept header
+ string[] localVarHttpHeaderAccepts = new string[] {
+ "application/hal+json",
+ "application/xml"
+ };
+ string localVarHttpHeaderAccept = Configuration.ApiClient.SelectHeaderAccept(localVarHttpHeaderAccepts);
+ if (localVarHttpHeaderAccept != null)
+ {
+ localVarHeaderParams.Add("Accept", localVarHttpHeaderAccept);
+ }
+
+ if (startTime != null)
+ {
+ localVarQueryParams.Add("startTime", Configuration.ApiClient.ParameterToString(startTime)); // query parameter
+ }
+ if (endTime != null)
+ {
+ localVarQueryParams.Add("endTime", Configuration.ApiClient.ParameterToString(endTime)); // query parameter
+ }
+ if (organizationId != null)
+ {
+ localVarQueryParams.Add("organizationId", Configuration.ApiClient.ParameterToString(organizationId)); // query parameter
+ }
+ logger.Debug($"HTTP Request Body :\n{LogUtility.ConvertDictionaryToString(localVarQueryParams)}");
+ logger.Debug($"HTTP Request Body :\n{LogUtility.ConvertDictionaryToString(localVarQueryParams)}");
+ logger.Debug($"HTTP Request Body :\n{LogUtility.ConvertDictionaryToString(localVarQueryParams)}");
+
+
+ // make the HTTP request
+ IRestResponse localVarResponse = (IRestResponse) Configuration.ApiClient.CallApi(localVarPath,
+ Method.GET, localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarFileParams,
+ localVarPathParams, localVarHttpContentType);
+
+ int localVarStatusCode = (int) localVarResponse.StatusCode;
+
+ if (ExceptionFactory != null)
+ {
+ Exception exception = ExceptionFactory("GetChargebackDetails", localVarResponse);
+ if (exception != null)
+ {
+ logger.Error($"Exception : {exception.Message}");
+ throw exception;
+ }
+ }
+
+ return new ApiResponse(localVarStatusCode,
+ localVarResponse.Headers.ToDictionary(x => x.Name, x => x.Value.ToString()),
+ (ReportingV3ChargebackDetailsGet200Response) Configuration.ApiClient.Deserialize(localVarResponse, typeof(ReportingV3ChargebackDetailsGet200Response))); // Return statement
+ }
+
+ ///
+ /// Get Chargeback Details Chargeback Detail Report Description
+ ///
+ /// Thrown when fails to make API call
+ /// Valid report Start Time in **ISO 8601 format** Please refer the following link to know more about ISO 8601 format.[Rfc Date Format](https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14) **Example date format:** - yyyy-MM-dd'T'HH:mm:ss.SSSZ (e.g. 2018-01-01T00:00:00.000Z)
+ /// Valid report End Time in **ISO 8601 format** Please refer the following link to know more about ISO 8601 format.[Rfc Date Format](https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14) **Example date format:** - yyyy-MM-dd'T'HH:mm:ss.SSSZ (e.g. 2018-01-01T00:00:00.000Z)
+ /// Valid Organization Id (optional)
+ /// Task of ReportingV3ChargebackDetailsGet200Response
+ public async System.Threading.Tasks.Task GetChargebackDetailsAsync (DateTime? startTime, DateTime? endTime, string organizationId = null)
+ {
+ logger.Debug("CALLING API \"GetChargebackDetailsAsync\" STARTED");
+ ApiResponse localVarResponse = await GetChargebackDetailsAsyncWithHttpInfo(startTime, endTime, organizationId);
+ logger.Debug("CALLING API \"GetChargebackDetailsAsync\" STARTED");
+ return localVarResponse.Data;
+
+ }
+
+ ///
+ /// Get Chargeback Details Chargeback Detail Report Description
+ ///
+ /// Thrown when fails to make API call
+ /// Valid report Start Time in **ISO 8601 format** Please refer the following link to know more about ISO 8601 format.[Rfc Date Format](https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14) **Example date format:** - yyyy-MM-dd'T'HH:mm:ss.SSSZ (e.g. 2018-01-01T00:00:00.000Z)
+ /// Valid report End Time in **ISO 8601 format** Please refer the following link to know more about ISO 8601 format.[Rfc Date Format](https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14) **Example date format:** - yyyy-MM-dd'T'HH:mm:ss.SSSZ (e.g. 2018-01-01T00:00:00.000Z)
+ /// Valid Organization Id (optional)
+ /// Task of ApiResponse (ReportingV3ChargebackDetailsGet200Response)
+ public async System.Threading.Tasks.Task> GetChargebackDetailsAsyncWithHttpInfo (DateTime? startTime, DateTime? endTime, string organizationId = null)
+ {
+ // verify the required parameter 'startTime' is set
+ if (startTime == null)
+ {
+ logger.Error("ApiException : Missing required parameter 'startTime' when calling ChargebackDetailsApi->GetChargebackDetails");
+ throw new ApiException(400, "Missing required parameter 'startTime' when calling ChargebackDetailsApi->GetChargebackDetails");
+ }
+ // verify the required parameter 'endTime' is set
+ if (endTime == null)
+ {
+ logger.Error("ApiException : Missing required parameter 'endTime' when calling ChargebackDetailsApi->GetChargebackDetails");
+ throw new ApiException(400, "Missing required parameter 'endTime' when calling ChargebackDetailsApi->GetChargebackDetails");
+ }
+
+ var localVarPath = $"/reporting/v3/chargeback-details";
+ var localVarPathParams = new Dictionary();
+ var localVarQueryParams = new Dictionary();
+ var localVarHeaderParams = new Dictionary(Configuration.DefaultHeader);
+ var localVarFormParams = new Dictionary();
+ var localVarFileParams = new Dictionary();
+ object localVarPostBody = null;
+
+ // to determine the Content-Type header
+ string[] localVarHttpContentTypes = new string[] {
+ "application/json;charset=utf-8"
+ };
+ string localVarHttpContentType = Configuration.ApiClient.SelectHeaderContentType(localVarHttpContentTypes);
+
+ // to determine the Accept header
+ string[] localVarHttpHeaderAccepts = new string[] {
+ "application/hal+json",
+ "application/xml"
+ };
+ string localVarHttpHeaderAccept = Configuration.ApiClient.SelectHeaderAccept(localVarHttpHeaderAccepts);
+ if (localVarHttpHeaderAccept != null)
+ {
+ localVarHeaderParams.Add("Accept", localVarHttpHeaderAccept);
+ }
+
+ if (startTime != null)
+ {
+ localVarQueryParams.Add("startTime", Configuration.ApiClient.ParameterToString(startTime)); // query parameter
+ }
+ if (endTime != null)
+ {
+ localVarQueryParams.Add("endTime", Configuration.ApiClient.ParameterToString(endTime)); // query parameter
+ }
+ if (organizationId != null)
+ {
+ localVarQueryParams.Add("organizationId", Configuration.ApiClient.ParameterToString(organizationId)); // query parameter
+ }
+ logger.Debug($"HTTP Request Body :\n{LogUtility.ConvertDictionaryToString(localVarQueryParams)}");
+ logger.Debug($"HTTP Request Body :\n{LogUtility.ConvertDictionaryToString(localVarQueryParams)}");
+ logger.Debug($"HTTP Request Body :\n{LogUtility.ConvertDictionaryToString(localVarQueryParams)}");
+
+
+ // make the HTTP request
+ IRestResponse localVarResponse = (IRestResponse)await Configuration.ApiClient.CallApiAsync(localVarPath,
+ Method.GET, localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarFileParams,
+ localVarPathParams, localVarHttpContentType);
+
+ int localVarStatusCode = (int)localVarResponse.StatusCode;
+
+ if (ExceptionFactory != null)
+ {
+ Exception exception = ExceptionFactory("GetChargebackDetails", localVarResponse);
+ if (exception != null)
+ {
+ logger.Error($"Exception : {exception.Message}");
+ throw exception;
+ }
+ }
+
+ return new ApiResponse(localVarStatusCode,
+ localVarResponse.Headers.ToDictionary(x => x.Name, x => x.Value.ToString()),
+ (ReportingV3ChargebackDetailsGet200Response) Configuration.ApiClient.Deserialize(localVarResponse, typeof(ReportingV3ChargebackDetailsGet200Response))); // Return statement
+ }
+ }
+}
diff --git a/Api/ChargebackSummariesApi.cs b/Api/ChargebackSummariesApi.cs
new file mode 100644
index 00000000..8d3b1242
--- /dev/null
+++ b/Api/ChargebackSummariesApi.cs
@@ -0,0 +1,408 @@
+/*
+ * CyberSource Merged Spec
+ *
+ * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html
+ *
+ * OpenAPI spec version: 0.0.1
+ *
+ * Generated by: https://github.com/swagger-api/swagger-codegen.git
+ */
+
+using System;
+using System.Collections.Generic;
+using System.Collections.ObjectModel;
+using System.Linq;
+using RestSharp;
+using CyberSource.Client;
+using CyberSource.Model;
+using NLog;
+using AuthenticationSdk.util;
+
+namespace CyberSource.Api
+{
+ ///
+ /// Represents a collection of functions to interact with the API endpoints
+ ///
+ public interface IChargebackSummariesApi : IApiAccessor
+ {
+ #region Synchronous Operations
+ ///
+ /// Get Chargeback Summaries
+ ///
+ ///
+ /// Chargeback Summary Report Description
+ ///
+ /// Thrown when fails to make API call
+ /// Valid report Start Time in **ISO 8601 format** Please refer the following link to know more about ISO 8601 format.[Rfc Date Format](https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14) **Example date format:** - yyyy-MM-dd'T'HH:mm:ss.SSSZ (e.g. 2018-01-01T00:00:00.000Z)
+ /// Valid report End Time in **ISO 8601 format** Please refer the following link to know more about ISO 8601 format.[Rfc Date Format](https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14) **Example date format:** - yyyy-MM-dd'T'HH:mm:ss.SSSZ (e.g. 2018-01-01T00:00:00.000Z)
+ /// Valid Organization Id (optional)
+ /// ReportingV3ChargebackSummariesGet200Response
+ ReportingV3ChargebackSummariesGet200Response GetChargebackSummaries (DateTime? startTime, DateTime? endTime, string organizationId = null);
+
+ ///
+ /// Get Chargeback Summaries
+ ///
+ ///
+ /// Chargeback Summary Report Description
+ ///
+ /// Thrown when fails to make API call
+ /// Valid report Start Time in **ISO 8601 format** Please refer the following link to know more about ISO 8601 format.[Rfc Date Format](https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14) **Example date format:** - yyyy-MM-dd'T'HH:mm:ss.SSSZ (e.g. 2018-01-01T00:00:00.000Z)
+ /// Valid report End Time in **ISO 8601 format** Please refer the following link to know more about ISO 8601 format.[Rfc Date Format](https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14) **Example date format:** - yyyy-MM-dd'T'HH:mm:ss.SSSZ (e.g. 2018-01-01T00:00:00.000Z)
+ /// Valid Organization Id (optional)
+ /// ApiResponse of ReportingV3ChargebackSummariesGet200Response
+ ApiResponse GetChargebackSummariesWithHttpInfo (DateTime? startTime, DateTime? endTime, string organizationId = null);
+ #endregion Synchronous Operations
+ #region Asynchronous Operations
+ ///
+ /// Get Chargeback Summaries
+ ///
+ ///
+ /// Chargeback Summary Report Description
+ ///
+ /// Thrown when fails to make API call
+ /// Valid report Start Time in **ISO 8601 format** Please refer the following link to know more about ISO 8601 format.[Rfc Date Format](https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14) **Example date format:** - yyyy-MM-dd'T'HH:mm:ss.SSSZ (e.g. 2018-01-01T00:00:00.000Z)
+ /// Valid report End Time in **ISO 8601 format** Please refer the following link to know more about ISO 8601 format.[Rfc Date Format](https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14) **Example date format:** - yyyy-MM-dd'T'HH:mm:ss.SSSZ (e.g. 2018-01-01T00:00:00.000Z)
+ /// Valid Organization Id (optional)
+ /// Task of ReportingV3ChargebackSummariesGet200Response
+ System.Threading.Tasks.Task GetChargebackSummariesAsync (DateTime? startTime, DateTime? endTime, string organizationId = null);
+
+ ///
+ /// Get Chargeback Summaries
+ ///
+ ///
+ /// Chargeback Summary Report Description
+ ///
+ /// Thrown when fails to make API call
+ /// Valid report Start Time in **ISO 8601 format** Please refer the following link to know more about ISO 8601 format.[Rfc Date Format](https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14) **Example date format:** - yyyy-MM-dd'T'HH:mm:ss.SSSZ (e.g. 2018-01-01T00:00:00.000Z)
+ /// Valid report End Time in **ISO 8601 format** Please refer the following link to know more about ISO 8601 format.[Rfc Date Format](https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14) **Example date format:** - yyyy-MM-dd'T'HH:mm:ss.SSSZ (e.g. 2018-01-01T00:00:00.000Z)
+ /// Valid Organization Id (optional)
+ /// Task of ApiResponse (ReportingV3ChargebackSummariesGet200Response)
+ System.Threading.Tasks.Task> GetChargebackSummariesAsyncWithHttpInfo (DateTime? startTime, DateTime? endTime, string organizationId = null);
+ #endregion Asynchronous Operations
+ }
+
+ ///
+ /// Represents a collection of functions to interact with the API endpoints
+ ///
+ public partial class ChargebackSummariesApi : IChargebackSummariesApi
+ {
+ private static Logger logger;
+ private ExceptionFactory _exceptionFactory = (name, response) => null;
+
+ ///
+ /// Initializes a new instance of the class.
+ ///
+ ///
+ public ChargebackSummariesApi(string basePath)
+ {
+ Configuration = new Configuration(new ApiClient(basePath));
+
+ ExceptionFactory = Configuration.DefaultExceptionFactory;
+
+ // ensure API client has configuration ready
+ if (Configuration.ApiClient.Configuration == null)
+ {
+ Configuration.ApiClient.Configuration = Configuration;
+ }
+
+ if (logger == null)
+ {
+ logger = LogManager.GetCurrentClassLogger();
+ }
+ }
+
+ ///
+ /// Initializes a new instance of the class
+ /// using Configuration object
+ ///
+ /// An instance of Configuration
+ ///
+ public ChargebackSummariesApi(Configuration configuration = null)
+ {
+ if (configuration == null) // use the default one in Configuration
+ Configuration = Configuration.Default;
+ else
+ Configuration = configuration;
+
+ ExceptionFactory = Configuration.DefaultExceptionFactory;
+
+ Configuration.ApiClient.Configuration = Configuration;
+
+ if (logger == null)
+ {
+ logger = LogManager.GetCurrentClassLogger();
+ }
+ }
+
+ ///
+ /// Gets the base path of the API client.
+ ///
+ /// The base path
+ public string GetBasePath()
+ {
+ return Configuration.ApiClient.RestClient.BaseUrl.ToString();
+ }
+
+ ///
+ /// Sets the base path of the API client.
+ ///
+ /// The base path
+ [Obsolete("SetBasePath is deprecated, please do 'Configuration.ApiClient = new ApiClient(\"http://new-path\")' instead.")]
+ public void SetBasePath(string basePath)
+ {
+ // do nothing
+ }
+
+ ///
+ /// Gets or sets the configuration object
+ ///
+ /// An instance of the Configuration
+ public Configuration Configuration { get; set; }
+
+ ///
+ /// Provides a factory method hook for the creation of exceptions.
+ ///
+ public ExceptionFactory ExceptionFactory
+ {
+ get
+ {
+ if (_exceptionFactory != null && _exceptionFactory.GetInvocationList().Length > 1)
+ {
+ logger.Error("InvalidOperationException : Multicast delegate for ExceptionFactory is unsupported.");
+ throw new InvalidOperationException("Multicast delegate for ExceptionFactory is unsupported.");
+ }
+ return _exceptionFactory;
+ }
+ set { _exceptionFactory = value; }
+ }
+
+ ///
+ /// Gets the default header.
+ ///
+ /// Dictionary of HTTP header
+ [Obsolete("DefaultHeader is deprecated, please use Configuration.DefaultHeader instead.")]
+ public Dictionary DefaultHeader()
+ {
+ return Configuration.DefaultHeader;
+ }
+
+ ///
+ /// Add default header.
+ ///
+ /// Header field name.
+ /// Header field value.
+ ///
+ [Obsolete("AddDefaultHeader is deprecated, please use Configuration.AddDefaultHeader instead.")]
+ public void AddDefaultHeader(string key, string value)
+ {
+ Configuration.AddDefaultHeader(key, value);
+ }
+
+ ///
+ /// Get Chargeback Summaries Chargeback Summary Report Description
+ ///
+ /// Thrown when fails to make API call
+ /// Valid report Start Time in **ISO 8601 format** Please refer the following link to know more about ISO 8601 format.[Rfc Date Format](https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14) **Example date format:** - yyyy-MM-dd'T'HH:mm:ss.SSSZ (e.g. 2018-01-01T00:00:00.000Z)
+ /// Valid report End Time in **ISO 8601 format** Please refer the following link to know more about ISO 8601 format.[Rfc Date Format](https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14) **Example date format:** - yyyy-MM-dd'T'HH:mm:ss.SSSZ (e.g. 2018-01-01T00:00:00.000Z)
+ /// Valid Organization Id (optional)
+ /// ReportingV3ChargebackSummariesGet200Response
+ public ReportingV3ChargebackSummariesGet200Response GetChargebackSummaries (DateTime? startTime, DateTime? endTime, string organizationId = null)
+ {
+ logger.Debug("CALLING API \"GetChargebackSummaries\" STARTED");
+ ApiResponse localVarResponse = GetChargebackSummariesWithHttpInfo(startTime, endTime, organizationId);
+ logger.Debug("CALLING API \"GetChargebackSummaries\" ENDED");
+ return localVarResponse.Data;
+ }
+
+ ///
+ /// Get Chargeback Summaries Chargeback Summary Report Description
+ ///
+ /// Thrown when fails to make API call
+ /// Valid report Start Time in **ISO 8601 format** Please refer the following link to know more about ISO 8601 format.[Rfc Date Format](https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14) **Example date format:** - yyyy-MM-dd'T'HH:mm:ss.SSSZ (e.g. 2018-01-01T00:00:00.000Z)
+ /// Valid report End Time in **ISO 8601 format** Please refer the following link to know more about ISO 8601 format.[Rfc Date Format](https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14) **Example date format:** - yyyy-MM-dd'T'HH:mm:ss.SSSZ (e.g. 2018-01-01T00:00:00.000Z)
+ /// Valid Organization Id (optional)
+ /// ApiResponse of ReportingV3ChargebackSummariesGet200Response
+ public ApiResponse< ReportingV3ChargebackSummariesGet200Response > GetChargebackSummariesWithHttpInfo (DateTime? startTime, DateTime? endTime, string organizationId = null)
+ {
+ // verify the required parameter 'startTime' is set
+ if (startTime == null)
+ {
+ logger.Error("ApiException : Missing required parameter 'startTime' when calling ChargebackSummariesApi->GetChargebackSummaries");
+ throw new ApiException(400, "Missing required parameter 'startTime' when calling ChargebackSummariesApi->GetChargebackSummaries");
+ }
+ // verify the required parameter 'endTime' is set
+ if (endTime == null)
+ {
+ logger.Error("ApiException : Missing required parameter 'endTime' when calling ChargebackSummariesApi->GetChargebackSummaries");
+ throw new ApiException(400, "Missing required parameter 'endTime' when calling ChargebackSummariesApi->GetChargebackSummaries");
+ }
+
+ var localVarPath = $"/reporting/v3/chargeback-summaries";
+ var localVarPathParams = new Dictionary();
+ var localVarQueryParams = new Dictionary();
+ var localVarHeaderParams = new Dictionary(Configuration.DefaultHeader);
+ var localVarFormParams = new Dictionary();
+ var localVarFileParams = new Dictionary();
+ object localVarPostBody = null;
+
+ // to determine the Content-Type header
+ string[] localVarHttpContentTypes = new string[] {
+ "application/json;charset=utf-8"
+ };
+ string localVarHttpContentType = Configuration.ApiClient.SelectHeaderContentType(localVarHttpContentTypes);
+
+ // to determine the Accept header
+ string[] localVarHttpHeaderAccepts = new string[] {
+ "application/hal+json",
+ "application/xml"
+ };
+ string localVarHttpHeaderAccept = Configuration.ApiClient.SelectHeaderAccept(localVarHttpHeaderAccepts);
+ if (localVarHttpHeaderAccept != null)
+ {
+ localVarHeaderParams.Add("Accept", localVarHttpHeaderAccept);
+ }
+
+ if (startTime != null)
+ {
+ localVarQueryParams.Add("startTime", Configuration.ApiClient.ParameterToString(startTime)); // query parameter
+ }
+ if (endTime != null)
+ {
+ localVarQueryParams.Add("endTime", Configuration.ApiClient.ParameterToString(endTime)); // query parameter
+ }
+ if (organizationId != null)
+ {
+ localVarQueryParams.Add("organizationId", Configuration.ApiClient.ParameterToString(organizationId)); // query parameter
+ }
+ logger.Debug($"HTTP Request Body :\n{LogUtility.ConvertDictionaryToString(localVarQueryParams)}");
+ logger.Debug($"HTTP Request Body :\n{LogUtility.ConvertDictionaryToString(localVarQueryParams)}");
+ logger.Debug($"HTTP Request Body :\n{LogUtility.ConvertDictionaryToString(localVarQueryParams)}");
+
+
+ // make the HTTP request
+ IRestResponse localVarResponse = (IRestResponse) Configuration.ApiClient.CallApi(localVarPath,
+ Method.GET, localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarFileParams,
+ localVarPathParams, localVarHttpContentType);
+
+ int localVarStatusCode = (int) localVarResponse.StatusCode;
+
+ if (ExceptionFactory != null)
+ {
+ Exception exception = ExceptionFactory("GetChargebackSummaries", localVarResponse);
+ if (exception != null)
+ {
+ logger.Error($"Exception : {exception.Message}");
+ throw exception;
+ }
+ }
+
+ return new ApiResponse(localVarStatusCode,
+ localVarResponse.Headers.ToDictionary(x => x.Name, x => x.Value.ToString()),
+ (ReportingV3ChargebackSummariesGet200Response) Configuration.ApiClient.Deserialize(localVarResponse, typeof(ReportingV3ChargebackSummariesGet200Response))); // Return statement
+ }
+
+ ///
+ /// Get Chargeback Summaries Chargeback Summary Report Description
+ ///
+ /// Thrown when fails to make API call
+ /// Valid report Start Time in **ISO 8601 format** Please refer the following link to know more about ISO 8601 format.[Rfc Date Format](https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14) **Example date format:** - yyyy-MM-dd'T'HH:mm:ss.SSSZ (e.g. 2018-01-01T00:00:00.000Z)
+ /// Valid report End Time in **ISO 8601 format** Please refer the following link to know more about ISO 8601 format.[Rfc Date Format](https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14) **Example date format:** - yyyy-MM-dd'T'HH:mm:ss.SSSZ (e.g. 2018-01-01T00:00:00.000Z)
+ /// Valid Organization Id (optional)
+ /// Task of ReportingV3ChargebackSummariesGet200Response
+ public async System.Threading.Tasks.Task GetChargebackSummariesAsync (DateTime? startTime, DateTime? endTime, string organizationId = null)
+ {
+ logger.Debug("CALLING API \"GetChargebackSummariesAsync\" STARTED");
+ ApiResponse localVarResponse = await GetChargebackSummariesAsyncWithHttpInfo(startTime, endTime, organizationId);
+ logger.Debug("CALLING API \"GetChargebackSummariesAsync\" STARTED");
+ return localVarResponse.Data;
+
+ }
+
+ ///
+ /// Get Chargeback Summaries Chargeback Summary Report Description
+ ///
+ /// Thrown when fails to make API call
+ /// Valid report Start Time in **ISO 8601 format** Please refer the following link to know more about ISO 8601 format.[Rfc Date Format](https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14) **Example date format:** - yyyy-MM-dd'T'HH:mm:ss.SSSZ (e.g. 2018-01-01T00:00:00.000Z)
+ /// Valid report End Time in **ISO 8601 format** Please refer the following link to know more about ISO 8601 format.[Rfc Date Format](https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14) **Example date format:** - yyyy-MM-dd'T'HH:mm:ss.SSSZ (e.g. 2018-01-01T00:00:00.000Z)
+ /// Valid Organization Id (optional)
+ /// Task of ApiResponse (ReportingV3ChargebackSummariesGet200Response)
+ public async System.Threading.Tasks.Task> GetChargebackSummariesAsyncWithHttpInfo (DateTime? startTime, DateTime? endTime, string organizationId = null)
+ {
+ // verify the required parameter 'startTime' is set
+ if (startTime == null)
+ {
+ logger.Error("ApiException : Missing required parameter 'startTime' when calling ChargebackSummariesApi->GetChargebackSummaries");
+ throw new ApiException(400, "Missing required parameter 'startTime' when calling ChargebackSummariesApi->GetChargebackSummaries");
+ }
+ // verify the required parameter 'endTime' is set
+ if (endTime == null)
+ {
+ logger.Error("ApiException : Missing required parameter 'endTime' when calling ChargebackSummariesApi->GetChargebackSummaries");
+ throw new ApiException(400, "Missing required parameter 'endTime' when calling ChargebackSummariesApi->GetChargebackSummaries");
+ }
+
+ var localVarPath = $"/reporting/v3/chargeback-summaries";
+ var localVarPathParams = new Dictionary();
+ var localVarQueryParams = new Dictionary();
+ var localVarHeaderParams = new Dictionary(Configuration.DefaultHeader);
+ var localVarFormParams = new Dictionary();
+ var localVarFileParams = new Dictionary();
+ object localVarPostBody = null;
+
+ // to determine the Content-Type header
+ string[] localVarHttpContentTypes = new string[] {
+ "application/json;charset=utf-8"
+ };
+ string localVarHttpContentType = Configuration.ApiClient.SelectHeaderContentType(localVarHttpContentTypes);
+
+ // to determine the Accept header
+ string[] localVarHttpHeaderAccepts = new string[] {
+ "application/hal+json",
+ "application/xml"
+ };
+ string localVarHttpHeaderAccept = Configuration.ApiClient.SelectHeaderAccept(localVarHttpHeaderAccepts);
+ if (localVarHttpHeaderAccept != null)
+ {
+ localVarHeaderParams.Add("Accept", localVarHttpHeaderAccept);
+ }
+
+ if (startTime != null)
+ {
+ localVarQueryParams.Add("startTime", Configuration.ApiClient.ParameterToString(startTime)); // query parameter
+ }
+ if (endTime != null)
+ {
+ localVarQueryParams.Add("endTime", Configuration.ApiClient.ParameterToString(endTime)); // query parameter
+ }
+ if (organizationId != null)
+ {
+ localVarQueryParams.Add("organizationId", Configuration.ApiClient.ParameterToString(organizationId)); // query parameter
+ }
+ logger.Debug($"HTTP Request Body :\n{LogUtility.ConvertDictionaryToString(localVarQueryParams)}");
+ logger.Debug($"HTTP Request Body :\n{LogUtility.ConvertDictionaryToString(localVarQueryParams)}");
+ logger.Debug($"HTTP Request Body :\n{LogUtility.ConvertDictionaryToString(localVarQueryParams)}");
+
+
+ // make the HTTP request
+ IRestResponse localVarResponse = (IRestResponse)await Configuration.ApiClient.CallApiAsync(localVarPath,
+ Method.GET, localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarFileParams,
+ localVarPathParams, localVarHttpContentType);
+
+ int localVarStatusCode = (int)localVarResponse.StatusCode;
+
+ if (ExceptionFactory != null)
+ {
+ Exception exception = ExceptionFactory("GetChargebackSummaries", localVarResponse);
+ if (exception != null)
+ {
+ logger.Error($"Exception : {exception.Message}");
+ throw exception;
+ }
+ }
+
+ return new ApiResponse(localVarStatusCode,
+ localVarResponse.Headers.ToDictionary(x => x.Name, x => x.Value.ToString()),
+ (ReportingV3ChargebackSummariesGet200Response) Configuration.ApiClient.Deserialize(localVarResponse, typeof(ReportingV3ChargebackSummariesGet200Response))); // Return statement
+ }
+ }
+}
diff --git a/Api/ConversionDetailsApi.cs b/Api/ConversionDetailsApi.cs
index 6224380e..14492003 100644
--- a/Api/ConversionDetailsApi.cs
+++ b/Api/ConversionDetailsApi.cs
@@ -35,7 +35,7 @@ public interface IConversionDetailsApi : IApiAccessor
/// Thrown when fails to make API call
/// Valid report Start Time in **ISO 8601 format** Please refer the following link to know more about ISO 8601 format.[Rfc Date Format](https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14) **Example date format:** - yyyy-MM-dd'T'HH:mm:ss.SSSZ (e.g. 2018-01-01T00:00:00.000Z)
/// Valid report End Time in **ISO 8601 format** Please refer the following link to know more about ISO 8601 format.[Rfc Date Format](https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14) **Example date format:** - yyyy-MM-dd'T'HH:mm:ss.SSSZ (e.g. 2018-01-01T00:00:00.000Z)
- /// Valid Cybersource Organization Id (optional)
+ /// Valid Organization Id (optional)
/// ReportingV3ConversionDetailsGet200Response
ReportingV3ConversionDetailsGet200Response GetConversionDetail (DateTime? startTime, DateTime? endTime, string organizationId = null);
@@ -48,7 +48,7 @@ public interface IConversionDetailsApi : IApiAccessor
/// Thrown when fails to make API call
/// Valid report Start Time in **ISO 8601 format** Please refer the following link to know more about ISO 8601 format.[Rfc Date Format](https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14) **Example date format:** - yyyy-MM-dd'T'HH:mm:ss.SSSZ (e.g. 2018-01-01T00:00:00.000Z)
/// Valid report End Time in **ISO 8601 format** Please refer the following link to know more about ISO 8601 format.[Rfc Date Format](https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14) **Example date format:** - yyyy-MM-dd'T'HH:mm:ss.SSSZ (e.g. 2018-01-01T00:00:00.000Z)
- /// Valid Cybersource Organization Id (optional)
+ /// Valid Organization Id (optional)
/// ApiResponse of ReportingV3ConversionDetailsGet200Response
ApiResponse GetConversionDetailWithHttpInfo (DateTime? startTime, DateTime? endTime, string organizationId = null);
#endregion Synchronous Operations
@@ -62,7 +62,7 @@ public interface IConversionDetailsApi : IApiAccessor
/// Thrown when fails to make API call
/// Valid report Start Time in **ISO 8601 format** Please refer the following link to know more about ISO 8601 format.[Rfc Date Format](https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14) **Example date format:** - yyyy-MM-dd'T'HH:mm:ss.SSSZ (e.g. 2018-01-01T00:00:00.000Z)
/// Valid report End Time in **ISO 8601 format** Please refer the following link to know more about ISO 8601 format.[Rfc Date Format](https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14) **Example date format:** - yyyy-MM-dd'T'HH:mm:ss.SSSZ (e.g. 2018-01-01T00:00:00.000Z)
- /// Valid Cybersource Organization Id (optional)
+ /// Valid Organization Id (optional)
/// Task of ReportingV3ConversionDetailsGet200Response
System.Threading.Tasks.Task GetConversionDetailAsync (DateTime? startTime, DateTime? endTime, string organizationId = null);
@@ -75,7 +75,7 @@ public interface IConversionDetailsApi : IApiAccessor
/// Thrown when fails to make API call
/// Valid report Start Time in **ISO 8601 format** Please refer the following link to know more about ISO 8601 format.[Rfc Date Format](https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14) **Example date format:** - yyyy-MM-dd'T'HH:mm:ss.SSSZ (e.g. 2018-01-01T00:00:00.000Z)
/// Valid report End Time in **ISO 8601 format** Please refer the following link to know more about ISO 8601 format.[Rfc Date Format](https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14) **Example date format:** - yyyy-MM-dd'T'HH:mm:ss.SSSZ (e.g. 2018-01-01T00:00:00.000Z)
- /// Valid Cybersource Organization Id (optional)
+ /// Valid Organization Id (optional)
/// Task of ApiResponse (ReportingV3ConversionDetailsGet200Response)
System.Threading.Tasks.Task> GetConversionDetailAsyncWithHttpInfo (DateTime? startTime, DateTime? endTime, string organizationId = null);
#endregion Asynchronous Operations
@@ -204,7 +204,7 @@ public void AddDefaultHeader(string key, string value)
/// Thrown when fails to make API call
/// Valid report Start Time in **ISO 8601 format** Please refer the following link to know more about ISO 8601 format.[Rfc Date Format](https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14) **Example date format:** - yyyy-MM-dd'T'HH:mm:ss.SSSZ (e.g. 2018-01-01T00:00:00.000Z)
/// Valid report End Time in **ISO 8601 format** Please refer the following link to know more about ISO 8601 format.[Rfc Date Format](https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14) **Example date format:** - yyyy-MM-dd'T'HH:mm:ss.SSSZ (e.g. 2018-01-01T00:00:00.000Z)
- /// Valid Cybersource Organization Id (optional)
+ /// Valid Organization Id (optional)
/// ReportingV3ConversionDetailsGet200Response
public ReportingV3ConversionDetailsGet200Response GetConversionDetail (DateTime? startTime, DateTime? endTime, string organizationId = null)
{
@@ -220,7 +220,7 @@ public ReportingV3ConversionDetailsGet200Response GetConversionDetail (DateTime?
/// Thrown when fails to make API call
/// Valid report Start Time in **ISO 8601 format** Please refer the following link to know more about ISO 8601 format.[Rfc Date Format](https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14) **Example date format:** - yyyy-MM-dd'T'HH:mm:ss.SSSZ (e.g. 2018-01-01T00:00:00.000Z)
/// Valid report End Time in **ISO 8601 format** Please refer the following link to know more about ISO 8601 format.[Rfc Date Format](https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14) **Example date format:** - yyyy-MM-dd'T'HH:mm:ss.SSSZ (e.g. 2018-01-01T00:00:00.000Z)
- /// Valid Cybersource Organization Id (optional)
+ /// Valid Organization Id (optional)
/// ApiResponse of ReportingV3ConversionDetailsGet200Response
public ApiResponse< ReportingV3ConversionDetailsGet200Response > GetConversionDetailWithHttpInfo (DateTime? startTime, DateTime? endTime, string organizationId = null)
{
@@ -307,7 +307,7 @@ public ApiResponse< ReportingV3ConversionDetailsGet200Response > GetConversionDe
/// Thrown when fails to make API call
/// Valid report Start Time in **ISO 8601 format** Please refer the following link to know more about ISO 8601 format.[Rfc Date Format](https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14) **Example date format:** - yyyy-MM-dd'T'HH:mm:ss.SSSZ (e.g. 2018-01-01T00:00:00.000Z)
/// Valid report End Time in **ISO 8601 format** Please refer the following link to know more about ISO 8601 format.[Rfc Date Format](https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14) **Example date format:** - yyyy-MM-dd'T'HH:mm:ss.SSSZ (e.g. 2018-01-01T00:00:00.000Z)
- /// Valid Cybersource Organization Id (optional)
+ /// Valid Organization Id (optional)
/// Task of ReportingV3ConversionDetailsGet200Response
public async System.Threading.Tasks.Task GetConversionDetailAsync (DateTime? startTime, DateTime? endTime, string organizationId = null)
{
@@ -324,7 +324,7 @@ public async System.Threading.Tasks.TaskThrown when fails to make API call
/// Valid report Start Time in **ISO 8601 format** Please refer the following link to know more about ISO 8601 format.[Rfc Date Format](https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14) **Example date format:** - yyyy-MM-dd'T'HH:mm:ss.SSSZ (e.g. 2018-01-01T00:00:00.000Z)
/// Valid report End Time in **ISO 8601 format** Please refer the following link to know more about ISO 8601 format.[Rfc Date Format](https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14) **Example date format:** - yyyy-MM-dd'T'HH:mm:ss.SSSZ (e.g. 2018-01-01T00:00:00.000Z)
- /// Valid Cybersource Organization Id (optional)
+ /// Valid Organization Id (optional)
/// Task of ApiResponse (ReportingV3ConversionDetailsGet200Response)
public async System.Threading.Tasks.Task> GetConversionDetailAsyncWithHttpInfo (DateTime? startTime, DateTime? endTime, string organizationId = null)
{
diff --git a/Api/InterchangeClearingLevelDetailsApi.cs b/Api/InterchangeClearingLevelDetailsApi.cs
new file mode 100644
index 00000000..e077ab5e
--- /dev/null
+++ b/Api/InterchangeClearingLevelDetailsApi.cs
@@ -0,0 +1,408 @@
+/*
+ * CyberSource Merged Spec
+ *
+ * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html
+ *
+ * OpenAPI spec version: 0.0.1
+ *
+ * Generated by: https://github.com/swagger-api/swagger-codegen.git
+ */
+
+using System;
+using System.Collections.Generic;
+using System.Collections.ObjectModel;
+using System.Linq;
+using RestSharp;
+using CyberSource.Client;
+using CyberSource.Model;
+using NLog;
+using AuthenticationSdk.util;
+
+namespace CyberSource.Api
+{
+ ///
+ /// Represents a collection of functions to interact with the API endpoints
+ ///
+ public interface IInterchangeClearingLevelDetailsApi : IApiAccessor
+ {
+ #region Synchronous Operations
+ ///
+ /// Interchange Clearing Level data for an account or a merchant
+ ///
+ ///
+ /// Interchange Clearing Level data for an account or a merchant
+ ///
+ /// Thrown when fails to make API call
+ /// Valid report Start Time in **ISO 8601 format** Please refer the following link to know more about ISO 8601 format.[Rfc Date Format](https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14) **Example date format:** - yyyy-MM-dd'T'HH:mm:ss.SSSZ (e.g. 2018-01-01T00:00:00.000Z)
+ /// Valid report End Time in **ISO 8601 format** Please refer the following link to know more about ISO 8601 format.[Rfc Date Format](https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14) **Example date format:** - yyyy-MM-dd'T'HH:mm:ss.SSSZ (e.g. 2018-01-01T00:00:00.000Z)
+ /// Valid Organization Id (optional)
+ /// ReportingV3InterchangeClearingLevelDetailsGet200Response
+ ReportingV3InterchangeClearingLevelDetailsGet200Response GetInterchangeClearingLevelDetails (DateTime? startTime, DateTime? endTime, string organizationId = null);
+
+ ///
+ /// Interchange Clearing Level data for an account or a merchant
+ ///
+ ///
+ /// Interchange Clearing Level data for an account or a merchant
+ ///
+ /// Thrown when fails to make API call
+ /// Valid report Start Time in **ISO 8601 format** Please refer the following link to know more about ISO 8601 format.[Rfc Date Format](https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14) **Example date format:** - yyyy-MM-dd'T'HH:mm:ss.SSSZ (e.g. 2018-01-01T00:00:00.000Z)
+ /// Valid report End Time in **ISO 8601 format** Please refer the following link to know more about ISO 8601 format.[Rfc Date Format](https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14) **Example date format:** - yyyy-MM-dd'T'HH:mm:ss.SSSZ (e.g. 2018-01-01T00:00:00.000Z)
+ /// Valid Organization Id (optional)
+ /// ApiResponse of ReportingV3InterchangeClearingLevelDetailsGet200Response
+ ApiResponse GetInterchangeClearingLevelDetailsWithHttpInfo (DateTime? startTime, DateTime? endTime, string organizationId = null);
+ #endregion Synchronous Operations
+ #region Asynchronous Operations
+ ///
+ /// Interchange Clearing Level data for an account or a merchant
+ ///
+ ///
+ /// Interchange Clearing Level data for an account or a merchant
+ ///
+ /// Thrown when fails to make API call
+ /// Valid report Start Time in **ISO 8601 format** Please refer the following link to know more about ISO 8601 format.[Rfc Date Format](https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14) **Example date format:** - yyyy-MM-dd'T'HH:mm:ss.SSSZ (e.g. 2018-01-01T00:00:00.000Z)
+ /// Valid report End Time in **ISO 8601 format** Please refer the following link to know more about ISO 8601 format.[Rfc Date Format](https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14) **Example date format:** - yyyy-MM-dd'T'HH:mm:ss.SSSZ (e.g. 2018-01-01T00:00:00.000Z)
+ /// Valid Organization Id (optional)
+ /// Task of ReportingV3InterchangeClearingLevelDetailsGet200Response
+ System.Threading.Tasks.Task GetInterchangeClearingLevelDetailsAsync (DateTime? startTime, DateTime? endTime, string organizationId = null);
+
+ ///
+ /// Interchange Clearing Level data for an account or a merchant
+ ///
+ ///
+ /// Interchange Clearing Level data for an account or a merchant
+ ///
+ /// Thrown when fails to make API call
+ /// Valid report Start Time in **ISO 8601 format** Please refer the following link to know more about ISO 8601 format.[Rfc Date Format](https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14) **Example date format:** - yyyy-MM-dd'T'HH:mm:ss.SSSZ (e.g. 2018-01-01T00:00:00.000Z)
+ /// Valid report End Time in **ISO 8601 format** Please refer the following link to know more about ISO 8601 format.[Rfc Date Format](https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14) **Example date format:** - yyyy-MM-dd'T'HH:mm:ss.SSSZ (e.g. 2018-01-01T00:00:00.000Z)
+ /// Valid Organization Id (optional)
+ /// Task of ApiResponse (ReportingV3InterchangeClearingLevelDetailsGet200Response)
+ System.Threading.Tasks.Task> GetInterchangeClearingLevelDetailsAsyncWithHttpInfo (DateTime? startTime, DateTime? endTime, string organizationId = null);
+ #endregion Asynchronous Operations
+ }
+
+ ///
+ /// Represents a collection of functions to interact with the API endpoints
+ ///
+ public partial class InterchangeClearingLevelDetailsApi : IInterchangeClearingLevelDetailsApi
+ {
+ private static Logger logger;
+ private ExceptionFactory _exceptionFactory = (name, response) => null;
+
+ ///
+ /// Initializes a new instance of the class.
+ ///
+ ///
+ public InterchangeClearingLevelDetailsApi(string basePath)
+ {
+ Configuration = new Configuration(new ApiClient(basePath));
+
+ ExceptionFactory = Configuration.DefaultExceptionFactory;
+
+ // ensure API client has configuration ready
+ if (Configuration.ApiClient.Configuration == null)
+ {
+ Configuration.ApiClient.Configuration = Configuration;
+ }
+
+ if (logger == null)
+ {
+ logger = LogManager.GetCurrentClassLogger();
+ }
+ }
+
+ ///
+ /// Initializes a new instance of the class
+ /// using Configuration object
+ ///
+ /// An instance of Configuration
+ ///
+ public InterchangeClearingLevelDetailsApi(Configuration configuration = null)
+ {
+ if (configuration == null) // use the default one in Configuration
+ Configuration = Configuration.Default;
+ else
+ Configuration = configuration;
+
+ ExceptionFactory = Configuration.DefaultExceptionFactory;
+
+ Configuration.ApiClient.Configuration = Configuration;
+
+ if (logger == null)
+ {
+ logger = LogManager.GetCurrentClassLogger();
+ }
+ }
+
+ ///
+ /// Gets the base path of the API client.
+ ///
+ /// The base path
+ public string GetBasePath()
+ {
+ return Configuration.ApiClient.RestClient.BaseUrl.ToString();
+ }
+
+ ///
+ /// Sets the base path of the API client.
+ ///
+ /// The base path
+ [Obsolete("SetBasePath is deprecated, please do 'Configuration.ApiClient = new ApiClient(\"http://new-path\")' instead.")]
+ public void SetBasePath(string basePath)
+ {
+ // do nothing
+ }
+
+ ///
+ /// Gets or sets the configuration object
+ ///
+ /// An instance of the Configuration
+ public Configuration Configuration { get; set; }
+
+ ///
+ /// Provides a factory method hook for the creation of exceptions.
+ ///
+ public ExceptionFactory ExceptionFactory
+ {
+ get
+ {
+ if (_exceptionFactory != null && _exceptionFactory.GetInvocationList().Length > 1)
+ {
+ logger.Error("InvalidOperationException : Multicast delegate for ExceptionFactory is unsupported.");
+ throw new InvalidOperationException("Multicast delegate for ExceptionFactory is unsupported.");
+ }
+ return _exceptionFactory;
+ }
+ set { _exceptionFactory = value; }
+ }
+
+ ///
+ /// Gets the default header.
+ ///
+ /// Dictionary of HTTP header
+ [Obsolete("DefaultHeader is deprecated, please use Configuration.DefaultHeader instead.")]
+ public Dictionary DefaultHeader()
+ {
+ return Configuration.DefaultHeader;
+ }
+
+ ///
+ /// Add default header.
+ ///
+ /// Header field name.
+ /// Header field value.
+ ///
+ [Obsolete("AddDefaultHeader is deprecated, please use Configuration.AddDefaultHeader instead.")]
+ public void AddDefaultHeader(string key, string value)
+ {
+ Configuration.AddDefaultHeader(key, value);
+ }
+
+ ///
+ /// Interchange Clearing Level data for an account or a merchant Interchange Clearing Level data for an account or a merchant
+ ///
+ /// Thrown when fails to make API call
+ /// Valid report Start Time in **ISO 8601 format** Please refer the following link to know more about ISO 8601 format.[Rfc Date Format](https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14) **Example date format:** - yyyy-MM-dd'T'HH:mm:ss.SSSZ (e.g. 2018-01-01T00:00:00.000Z)
+ /// Valid report End Time in **ISO 8601 format** Please refer the following link to know more about ISO 8601 format.[Rfc Date Format](https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14) **Example date format:** - yyyy-MM-dd'T'HH:mm:ss.SSSZ (e.g. 2018-01-01T00:00:00.000Z)
+ /// Valid Organization Id (optional)
+ /// ReportingV3InterchangeClearingLevelDetailsGet200Response
+ public ReportingV3InterchangeClearingLevelDetailsGet200Response GetInterchangeClearingLevelDetails (DateTime? startTime, DateTime? endTime, string organizationId = null)
+ {
+ logger.Debug("CALLING API \"GetInterchangeClearingLevelDetails\" STARTED");
+ ApiResponse localVarResponse = GetInterchangeClearingLevelDetailsWithHttpInfo(startTime, endTime, organizationId);
+ logger.Debug("CALLING API \"GetInterchangeClearingLevelDetails\" ENDED");
+ return localVarResponse.Data;
+ }
+
+ ///
+ /// Interchange Clearing Level data for an account or a merchant Interchange Clearing Level data for an account or a merchant
+ ///
+ /// Thrown when fails to make API call
+ /// Valid report Start Time in **ISO 8601 format** Please refer the following link to know more about ISO 8601 format.[Rfc Date Format](https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14) **Example date format:** - yyyy-MM-dd'T'HH:mm:ss.SSSZ (e.g. 2018-01-01T00:00:00.000Z)
+ /// Valid report End Time in **ISO 8601 format** Please refer the following link to know more about ISO 8601 format.[Rfc Date Format](https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14) **Example date format:** - yyyy-MM-dd'T'HH:mm:ss.SSSZ (e.g. 2018-01-01T00:00:00.000Z)
+ /// Valid Organization Id (optional)
+ /// ApiResponse of ReportingV3InterchangeClearingLevelDetailsGet200Response
+ public ApiResponse< ReportingV3InterchangeClearingLevelDetailsGet200Response > GetInterchangeClearingLevelDetailsWithHttpInfo (DateTime? startTime, DateTime? endTime, string organizationId = null)
+ {
+ // verify the required parameter 'startTime' is set
+ if (startTime == null)
+ {
+ logger.Error("ApiException : Missing required parameter 'startTime' when calling InterchangeClearingLevelDetailsApi->GetInterchangeClearingLevelDetails");
+ throw new ApiException(400, "Missing required parameter 'startTime' when calling InterchangeClearingLevelDetailsApi->GetInterchangeClearingLevelDetails");
+ }
+ // verify the required parameter 'endTime' is set
+ if (endTime == null)
+ {
+ logger.Error("ApiException : Missing required parameter 'endTime' when calling InterchangeClearingLevelDetailsApi->GetInterchangeClearingLevelDetails");
+ throw new ApiException(400, "Missing required parameter 'endTime' when calling InterchangeClearingLevelDetailsApi->GetInterchangeClearingLevelDetails");
+ }
+
+ var localVarPath = $"/reporting/v3/interchange-clearing-level-details";
+ var localVarPathParams = new Dictionary();
+ var localVarQueryParams = new Dictionary();
+ var localVarHeaderParams = new Dictionary(Configuration.DefaultHeader);
+ var localVarFormParams = new Dictionary();
+ var localVarFileParams = new Dictionary();
+ object localVarPostBody = null;
+
+ // to determine the Content-Type header
+ string[] localVarHttpContentTypes = new string[] {
+ "application/json;charset=utf-8"
+ };
+ string localVarHttpContentType = Configuration.ApiClient.SelectHeaderContentType(localVarHttpContentTypes);
+
+ // to determine the Accept header
+ string[] localVarHttpHeaderAccepts = new string[] {
+ "application/hal+json",
+ "application/xml"
+ };
+ string localVarHttpHeaderAccept = Configuration.ApiClient.SelectHeaderAccept(localVarHttpHeaderAccepts);
+ if (localVarHttpHeaderAccept != null)
+ {
+ localVarHeaderParams.Add("Accept", localVarHttpHeaderAccept);
+ }
+
+ if (startTime != null)
+ {
+ localVarQueryParams.Add("startTime", Configuration.ApiClient.ParameterToString(startTime)); // query parameter
+ }
+ if (endTime != null)
+ {
+ localVarQueryParams.Add("endTime", Configuration.ApiClient.ParameterToString(endTime)); // query parameter
+ }
+ if (organizationId != null)
+ {
+ localVarQueryParams.Add("organizationId", Configuration.ApiClient.ParameterToString(organizationId)); // query parameter
+ }
+ logger.Debug($"HTTP Request Body :\n{LogUtility.ConvertDictionaryToString(localVarQueryParams)}");
+ logger.Debug($"HTTP Request Body :\n{LogUtility.ConvertDictionaryToString(localVarQueryParams)}");
+ logger.Debug($"HTTP Request Body :\n{LogUtility.ConvertDictionaryToString(localVarQueryParams)}");
+
+
+ // make the HTTP request
+ IRestResponse localVarResponse = (IRestResponse) Configuration.ApiClient.CallApi(localVarPath,
+ Method.GET, localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarFileParams,
+ localVarPathParams, localVarHttpContentType);
+
+ int localVarStatusCode = (int) localVarResponse.StatusCode;
+
+ if (ExceptionFactory != null)
+ {
+ Exception exception = ExceptionFactory("GetInterchangeClearingLevelDetails", localVarResponse);
+ if (exception != null)
+ {
+ logger.Error($"Exception : {exception.Message}");
+ throw exception;
+ }
+ }
+
+ return new ApiResponse(localVarStatusCode,
+ localVarResponse.Headers.ToDictionary(x => x.Name, x => x.Value.ToString()),
+ (ReportingV3InterchangeClearingLevelDetailsGet200Response) Configuration.ApiClient.Deserialize(localVarResponse, typeof(ReportingV3InterchangeClearingLevelDetailsGet200Response))); // Return statement
+ }
+
+ ///
+ /// Interchange Clearing Level data for an account or a merchant Interchange Clearing Level data for an account or a merchant
+ ///
+ /// Thrown when fails to make API call
+ /// Valid report Start Time in **ISO 8601 format** Please refer the following link to know more about ISO 8601 format.[Rfc Date Format](https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14) **Example date format:** - yyyy-MM-dd'T'HH:mm:ss.SSSZ (e.g. 2018-01-01T00:00:00.000Z)
+ /// Valid report End Time in **ISO 8601 format** Please refer the following link to know more about ISO 8601 format.[Rfc Date Format](https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14) **Example date format:** - yyyy-MM-dd'T'HH:mm:ss.SSSZ (e.g. 2018-01-01T00:00:00.000Z)
+ /// Valid Organization Id (optional)
+ /// Task of ReportingV3InterchangeClearingLevelDetailsGet200Response
+ public async System.Threading.Tasks.Task GetInterchangeClearingLevelDetailsAsync (DateTime? startTime, DateTime? endTime, string organizationId = null)
+ {
+ logger.Debug("CALLING API \"GetInterchangeClearingLevelDetailsAsync\" STARTED");
+ ApiResponse localVarResponse = await GetInterchangeClearingLevelDetailsAsyncWithHttpInfo(startTime, endTime, organizationId);
+ logger.Debug("CALLING API \"GetInterchangeClearingLevelDetailsAsync\" STARTED");
+ return localVarResponse.Data;
+
+ }
+
+ ///
+ /// Interchange Clearing Level data for an account or a merchant Interchange Clearing Level data for an account or a merchant
+ ///
+ /// Thrown when fails to make API call
+ /// Valid report Start Time in **ISO 8601 format** Please refer the following link to know more about ISO 8601 format.[Rfc Date Format](https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14) **Example date format:** - yyyy-MM-dd'T'HH:mm:ss.SSSZ (e.g. 2018-01-01T00:00:00.000Z)
+ /// Valid report End Time in **ISO 8601 format** Please refer the following link to know more about ISO 8601 format.[Rfc Date Format](https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14) **Example date format:** - yyyy-MM-dd'T'HH:mm:ss.SSSZ (e.g. 2018-01-01T00:00:00.000Z)
+ /// Valid Organization Id (optional)
+ /// Task of ApiResponse (ReportingV3InterchangeClearingLevelDetailsGet200Response)
+ public async System.Threading.Tasks.Task> GetInterchangeClearingLevelDetailsAsyncWithHttpInfo (DateTime? startTime, DateTime? endTime, string organizationId = null)
+ {
+ // verify the required parameter 'startTime' is set
+ if (startTime == null)
+ {
+ logger.Error("ApiException : Missing required parameter 'startTime' when calling InterchangeClearingLevelDetailsApi->GetInterchangeClearingLevelDetails");
+ throw new ApiException(400, "Missing required parameter 'startTime' when calling InterchangeClearingLevelDetailsApi->GetInterchangeClearingLevelDetails");
+ }
+ // verify the required parameter 'endTime' is set
+ if (endTime == null)
+ {
+ logger.Error("ApiException : Missing required parameter 'endTime' when calling InterchangeClearingLevelDetailsApi->GetInterchangeClearingLevelDetails");
+ throw new ApiException(400, "Missing required parameter 'endTime' when calling InterchangeClearingLevelDetailsApi->GetInterchangeClearingLevelDetails");
+ }
+
+ var localVarPath = $"/reporting/v3/interchange-clearing-level-details";
+ var localVarPathParams = new Dictionary();
+ var localVarQueryParams = new Dictionary();
+ var localVarHeaderParams = new Dictionary(Configuration.DefaultHeader);
+ var localVarFormParams = new Dictionary();
+ var localVarFileParams = new Dictionary();
+ object localVarPostBody = null;
+
+ // to determine the Content-Type header
+ string[] localVarHttpContentTypes = new string[] {
+ "application/json;charset=utf-8"
+ };
+ string localVarHttpContentType = Configuration.ApiClient.SelectHeaderContentType(localVarHttpContentTypes);
+
+ // to determine the Accept header
+ string[] localVarHttpHeaderAccepts = new string[] {
+ "application/hal+json",
+ "application/xml"
+ };
+ string localVarHttpHeaderAccept = Configuration.ApiClient.SelectHeaderAccept(localVarHttpHeaderAccepts);
+ if (localVarHttpHeaderAccept != null)
+ {
+ localVarHeaderParams.Add("Accept", localVarHttpHeaderAccept);
+ }
+
+ if (startTime != null)
+ {
+ localVarQueryParams.Add("startTime", Configuration.ApiClient.ParameterToString(startTime)); // query parameter
+ }
+ if (endTime != null)
+ {
+ localVarQueryParams.Add("endTime", Configuration.ApiClient.ParameterToString(endTime)); // query parameter
+ }
+ if (organizationId != null)
+ {
+ localVarQueryParams.Add("organizationId", Configuration.ApiClient.ParameterToString(organizationId)); // query parameter
+ }
+ logger.Debug($"HTTP Request Body :\n{LogUtility.ConvertDictionaryToString(localVarQueryParams)}");
+ logger.Debug($"HTTP Request Body :\n{LogUtility.ConvertDictionaryToString(localVarQueryParams)}");
+ logger.Debug($"HTTP Request Body :\n{LogUtility.ConvertDictionaryToString(localVarQueryParams)}");
+
+
+ // make the HTTP request
+ IRestResponse localVarResponse = (IRestResponse)await Configuration.ApiClient.CallApiAsync(localVarPath,
+ Method.GET, localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarFileParams,
+ localVarPathParams, localVarHttpContentType);
+
+ int localVarStatusCode = (int)localVarResponse.StatusCode;
+
+ if (ExceptionFactory != null)
+ {
+ Exception exception = ExceptionFactory("GetInterchangeClearingLevelDetails", localVarResponse);
+ if (exception != null)
+ {
+ logger.Error($"Exception : {exception.Message}");
+ throw exception;
+ }
+ }
+
+ return new ApiResponse(localVarStatusCode,
+ localVarResponse.Headers.ToDictionary(x => x.Name, x => x.Value.ToString()),
+ (ReportingV3InterchangeClearingLevelDetailsGet200Response) Configuration.ApiClient.Deserialize(localVarResponse, typeof(ReportingV3InterchangeClearingLevelDetailsGet200Response))); // Return statement
+ }
+ }
+}
diff --git a/Api/NetFundingsApi.cs b/Api/NetFundingsApi.cs
index dfa77c84..ba01c724 100644
--- a/Api/NetFundingsApi.cs
+++ b/Api/NetFundingsApi.cs
@@ -35,7 +35,7 @@ public interface INetFundingsApi : IApiAccessor
/// Thrown when fails to make API call
/// Valid report Start Time in **ISO 8601 format** Please refer the following link to know more about ISO 8601 format.[Rfc Date Format](https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14) **Example date format:** - yyyy-MM-dd'T'HH:mm:ss.SSSZ (e.g. 2018-01-01T00:00:00.000Z)
/// Valid report End Time in **ISO 8601 format** Please refer the following link to know more about ISO 8601 format.[Rfc Date Format](https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14) **Example date format:** - yyyy-MM-dd'T'HH:mm:ss.SSSZ (e.g. 2018-01-01T00:00:00.000Z)
- /// Valid Cybersource Organization Id (optional)
+ /// Valid Organization Id (optional)
/// Valid CyberSource Group Name. (optional)
/// ReportingV3NetFundingsGet200Response
ReportingV3NetFundingsGet200Response GetNetFundingDetails (DateTime? startTime, DateTime? endTime, string organizationId = null, string groupName = null);
@@ -49,7 +49,7 @@ public interface INetFundingsApi : IApiAccessor
/// Thrown when fails to make API call
/// Valid report Start Time in **ISO 8601 format** Please refer the following link to know more about ISO 8601 format.[Rfc Date Format](https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14) **Example date format:** - yyyy-MM-dd'T'HH:mm:ss.SSSZ (e.g. 2018-01-01T00:00:00.000Z)
/// Valid report End Time in **ISO 8601 format** Please refer the following link to know more about ISO 8601 format.[Rfc Date Format](https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14) **Example date format:** - yyyy-MM-dd'T'HH:mm:ss.SSSZ (e.g. 2018-01-01T00:00:00.000Z)
- /// Valid Cybersource Organization Id (optional)
+ /// Valid Organization Id (optional)
/// Valid CyberSource Group Name. (optional)
/// ApiResponse of ReportingV3NetFundingsGet200Response
ApiResponse GetNetFundingDetailsWithHttpInfo (DateTime? startTime, DateTime? endTime, string organizationId = null, string groupName = null);
@@ -64,7 +64,7 @@ public interface INetFundingsApi : IApiAccessor
/// Thrown when fails to make API call
/// Valid report Start Time in **ISO 8601 format** Please refer the following link to know more about ISO 8601 format.[Rfc Date Format](https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14) **Example date format:** - yyyy-MM-dd'T'HH:mm:ss.SSSZ (e.g. 2018-01-01T00:00:00.000Z)
/// Valid report End Time in **ISO 8601 format** Please refer the following link to know more about ISO 8601 format.[Rfc Date Format](https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14) **Example date format:** - yyyy-MM-dd'T'HH:mm:ss.SSSZ (e.g. 2018-01-01T00:00:00.000Z)
- /// Valid Cybersource Organization Id (optional)
+ /// Valid Organization Id (optional)
/// Valid CyberSource Group Name. (optional)
/// Task of ReportingV3NetFundingsGet200Response
System.Threading.Tasks.Task GetNetFundingDetailsAsync (DateTime? startTime, DateTime? endTime, string organizationId = null, string groupName = null);
@@ -78,7 +78,7 @@ public interface INetFundingsApi : IApiAccessor
/// Thrown when fails to make API call
/// Valid report Start Time in **ISO 8601 format** Please refer the following link to know more about ISO 8601 format.[Rfc Date Format](https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14) **Example date format:** - yyyy-MM-dd'T'HH:mm:ss.SSSZ (e.g. 2018-01-01T00:00:00.000Z)
/// Valid report End Time in **ISO 8601 format** Please refer the following link to know more about ISO 8601 format.[Rfc Date Format](https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14) **Example date format:** - yyyy-MM-dd'T'HH:mm:ss.SSSZ (e.g. 2018-01-01T00:00:00.000Z)
- /// Valid Cybersource Organization Id (optional)
+ /// Valid Organization Id (optional)
/// Valid CyberSource Group Name. (optional)
/// Task of ApiResponse (ReportingV3NetFundingsGet200Response)
System.Threading.Tasks.Task> GetNetFundingDetailsAsyncWithHttpInfo (DateTime? startTime, DateTime? endTime, string organizationId = null, string groupName = null);
@@ -208,7 +208,7 @@ public void AddDefaultHeader(string key, string value)
/// Thrown when fails to make API call
/// Valid report Start Time in **ISO 8601 format** Please refer the following link to know more about ISO 8601 format.[Rfc Date Format](https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14) **Example date format:** - yyyy-MM-dd'T'HH:mm:ss.SSSZ (e.g. 2018-01-01T00:00:00.000Z)
/// Valid report End Time in **ISO 8601 format** Please refer the following link to know more about ISO 8601 format.[Rfc Date Format](https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14) **Example date format:** - yyyy-MM-dd'T'HH:mm:ss.SSSZ (e.g. 2018-01-01T00:00:00.000Z)
- /// Valid Cybersource Organization Id (optional)
+ /// Valid Organization Id (optional)
/// Valid CyberSource Group Name. (optional)
/// ReportingV3NetFundingsGet200Response
public ReportingV3NetFundingsGet200Response GetNetFundingDetails (DateTime? startTime, DateTime? endTime, string organizationId = null, string groupName = null)
@@ -225,7 +225,7 @@ public ReportingV3NetFundingsGet200Response GetNetFundingDetails (DateTime? star
/// Thrown when fails to make API call
/// Valid report Start Time in **ISO 8601 format** Please refer the following link to know more about ISO 8601 format.[Rfc Date Format](https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14) **Example date format:** - yyyy-MM-dd'T'HH:mm:ss.SSSZ (e.g. 2018-01-01T00:00:00.000Z)
/// Valid report End Time in **ISO 8601 format** Please refer the following link to know more about ISO 8601 format.[Rfc Date Format](https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14) **Example date format:** - yyyy-MM-dd'T'HH:mm:ss.SSSZ (e.g. 2018-01-01T00:00:00.000Z)
- /// Valid Cybersource Organization Id (optional)
+ /// Valid Organization Id (optional)
/// Valid CyberSource Group Name. (optional)
/// ApiResponse of ReportingV3NetFundingsGet200Response
public ApiResponse< ReportingV3NetFundingsGet200Response > GetNetFundingDetailsWithHttpInfo (DateTime? startTime, DateTime? endTime, string organizationId = null, string groupName = null)
@@ -318,7 +318,7 @@ public ApiResponse< ReportingV3NetFundingsGet200Response > GetNetFundingDetailsW
/// Thrown when fails to make API call
/// Valid report Start Time in **ISO 8601 format** Please refer the following link to know more about ISO 8601 format.[Rfc Date Format](https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14) **Example date format:** - yyyy-MM-dd'T'HH:mm:ss.SSSZ (e.g. 2018-01-01T00:00:00.000Z)
/// Valid report End Time in **ISO 8601 format** Please refer the following link to know more about ISO 8601 format.[Rfc Date Format](https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14) **Example date format:** - yyyy-MM-dd'T'HH:mm:ss.SSSZ (e.g. 2018-01-01T00:00:00.000Z)
- /// Valid Cybersource Organization Id (optional)
+ /// Valid Organization Id (optional)
/// Valid CyberSource Group Name. (optional)
/// Task of ReportingV3NetFundingsGet200Response
public async System.Threading.Tasks.Task GetNetFundingDetailsAsync (DateTime? startTime, DateTime? endTime, string organizationId = null, string groupName = null)
@@ -336,7 +336,7 @@ public async System.Threading.Tasks.Task G
/// Thrown when fails to make API call
/// Valid report Start Time in **ISO 8601 format** Please refer the following link to know more about ISO 8601 format.[Rfc Date Format](https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14) **Example date format:** - yyyy-MM-dd'T'HH:mm:ss.SSSZ (e.g. 2018-01-01T00:00:00.000Z)
/// Valid report End Time in **ISO 8601 format** Please refer the following link to know more about ISO 8601 format.[Rfc Date Format](https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14) **Example date format:** - yyyy-MM-dd'T'HH:mm:ss.SSSZ (e.g. 2018-01-01T00:00:00.000Z)
- /// Valid Cybersource Organization Id (optional)
+ /// Valid Organization Id (optional)
/// Valid CyberSource Group Name. (optional)
/// Task of ApiResponse (ReportingV3NetFundingsGet200Response)
public async System.Threading.Tasks.Task> GetNetFundingDetailsAsyncWithHttpInfo (DateTime? startTime, DateTime? endTime, string organizationId = null, string groupName = null)
diff --git a/Api/PaymentBatchSummariesApi.cs b/Api/PaymentBatchSummariesApi.cs
index e80eba76..80a5cb7d 100644
--- a/Api/PaymentBatchSummariesApi.cs
+++ b/Api/PaymentBatchSummariesApi.cs
@@ -35,7 +35,7 @@ public interface IPaymentBatchSummariesApi : IApiAccessor
/// Thrown when fails to make API call
/// Valid report Start Time in **ISO 8601 format** Please refer the following link to know more about ISO 8601 format.[Rfc Date Format](https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14) **Example date format:** - yyyy-MM-dd'T'HH:mm:ss.SSSZ (e.g. 2018-01-01T00:00:00.000Z)
/// Valid report End Time in **ISO 8601 format** Please refer the following link to know more about ISO 8601 format.[Rfc Date Format](https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14) **Example date format:** - yyyy-MM-dd'T'HH:mm:ss.SSSZ (e.g. 2018-01-01T00:00:00.000Z)
- /// Valid Cybersource Organization Id (optional)
+ /// Valid Organization Id (optional)
/// Conditional - RollUp for data for day/week/month. Required while getting breakdown data for a Merchant (optional)
/// Conditional - Breakdown on account_rollup/all_merchant/selected_merchant. Required while getting breakdown data for a Merchant. (optional)
/// Optional - Start day of week to breakdown data for weeks in a month (optional)
@@ -51,7 +51,7 @@ public interface IPaymentBatchSummariesApi : IApiAccessor
/// Thrown when fails to make API call
/// Valid report Start Time in **ISO 8601 format** Please refer the following link to know more about ISO 8601 format.[Rfc Date Format](https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14) **Example date format:** - yyyy-MM-dd'T'HH:mm:ss.SSSZ (e.g. 2018-01-01T00:00:00.000Z)
/// Valid report End Time in **ISO 8601 format** Please refer the following link to know more about ISO 8601 format.[Rfc Date Format](https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14) **Example date format:** - yyyy-MM-dd'T'HH:mm:ss.SSSZ (e.g. 2018-01-01T00:00:00.000Z)
- /// Valid Cybersource Organization Id (optional)
+ /// Valid Organization Id (optional)
/// Conditional - RollUp for data for day/week/month. Required while getting breakdown data for a Merchant (optional)
/// Conditional - Breakdown on account_rollup/all_merchant/selected_merchant. Required while getting breakdown data for a Merchant. (optional)
/// Optional - Start day of week to breakdown data for weeks in a month (optional)
@@ -68,7 +68,7 @@ public interface IPaymentBatchSummariesApi : IApiAccessor
/// Thrown when fails to make API call
/// Valid report Start Time in **ISO 8601 format** Please refer the following link to know more about ISO 8601 format.[Rfc Date Format](https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14) **Example date format:** - yyyy-MM-dd'T'HH:mm:ss.SSSZ (e.g. 2018-01-01T00:00:00.000Z)
/// Valid report End Time in **ISO 8601 format** Please refer the following link to know more about ISO 8601 format.[Rfc Date Format](https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14) **Example date format:** - yyyy-MM-dd'T'HH:mm:ss.SSSZ (e.g. 2018-01-01T00:00:00.000Z)
- /// Valid Cybersource Organization Id (optional)
+ /// Valid Organization Id (optional)
/// Conditional - RollUp for data for day/week/month. Required while getting breakdown data for a Merchant (optional)
/// Conditional - Breakdown on account_rollup/all_merchant/selected_merchant. Required while getting breakdown data for a Merchant. (optional)
/// Optional - Start day of week to breakdown data for weeks in a month (optional)
@@ -84,7 +84,7 @@ public interface IPaymentBatchSummariesApi : IApiAccessor
/// Thrown when fails to make API call
/// Valid report Start Time in **ISO 8601 format** Please refer the following link to know more about ISO 8601 format.[Rfc Date Format](https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14) **Example date format:** - yyyy-MM-dd'T'HH:mm:ss.SSSZ (e.g. 2018-01-01T00:00:00.000Z)
/// Valid report End Time in **ISO 8601 format** Please refer the following link to know more about ISO 8601 format.[Rfc Date Format](https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14) **Example date format:** - yyyy-MM-dd'T'HH:mm:ss.SSSZ (e.g. 2018-01-01T00:00:00.000Z)
- /// Valid Cybersource Organization Id (optional)
+ /// Valid Organization Id (optional)
/// Conditional - RollUp for data for day/week/month. Required while getting breakdown data for a Merchant (optional)
/// Conditional - Breakdown on account_rollup/all_merchant/selected_merchant. Required while getting breakdown data for a Merchant. (optional)
/// Optional - Start day of week to breakdown data for weeks in a month (optional)
@@ -216,7 +216,7 @@ public void AddDefaultHeader(string key, string value)
/// Thrown when fails to make API call
/// Valid report Start Time in **ISO 8601 format** Please refer the following link to know more about ISO 8601 format.[Rfc Date Format](https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14) **Example date format:** - yyyy-MM-dd'T'HH:mm:ss.SSSZ (e.g. 2018-01-01T00:00:00.000Z)
/// Valid report End Time in **ISO 8601 format** Please refer the following link to know more about ISO 8601 format.[Rfc Date Format](https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14) **Example date format:** - yyyy-MM-dd'T'HH:mm:ss.SSSZ (e.g. 2018-01-01T00:00:00.000Z)
- /// Valid Cybersource Organization Id (optional)
+ /// Valid Organization Id (optional)
/// Conditional - RollUp for data for day/week/month. Required while getting breakdown data for a Merchant (optional)
/// Conditional - Breakdown on account_rollup/all_merchant/selected_merchant. Required while getting breakdown data for a Merchant. (optional)
/// Optional - Start day of week to breakdown data for weeks in a month (optional)
@@ -235,7 +235,7 @@ public ReportingV3PaymentBatchSummariesGet200Response GetPaymentBatchSummary (Da
/// Thrown when fails to make API call
/// Valid report Start Time in **ISO 8601 format** Please refer the following link to know more about ISO 8601 format.[Rfc Date Format](https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14) **Example date format:** - yyyy-MM-dd'T'HH:mm:ss.SSSZ (e.g. 2018-01-01T00:00:00.000Z)
/// Valid report End Time in **ISO 8601 format** Please refer the following link to know more about ISO 8601 format.[Rfc Date Format](https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14) **Example date format:** - yyyy-MM-dd'T'HH:mm:ss.SSSZ (e.g. 2018-01-01T00:00:00.000Z)
- /// Valid Cybersource Organization Id (optional)
+ /// Valid Organization Id (optional)
/// Conditional - RollUp for data for day/week/month. Required while getting breakdown data for a Merchant (optional)
/// Conditional - Breakdown on account_rollup/all_merchant/selected_merchant. Required while getting breakdown data for a Merchant. (optional)
/// Optional - Start day of week to breakdown data for weeks in a month (optional)
@@ -341,7 +341,7 @@ public ApiResponse< ReportingV3PaymentBatchSummariesGet200Response > GetPaymentB
/// Thrown when fails to make API call
/// Valid report Start Time in **ISO 8601 format** Please refer the following link to know more about ISO 8601 format.[Rfc Date Format](https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14) **Example date format:** - yyyy-MM-dd'T'HH:mm:ss.SSSZ (e.g. 2018-01-01T00:00:00.000Z)
/// Valid report End Time in **ISO 8601 format** Please refer the following link to know more about ISO 8601 format.[Rfc Date Format](https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14) **Example date format:** - yyyy-MM-dd'T'HH:mm:ss.SSSZ (e.g. 2018-01-01T00:00:00.000Z)
- /// Valid Cybersource Organization Id (optional)
+ /// Valid Organization Id (optional)
/// Conditional - RollUp for data for day/week/month. Required while getting breakdown data for a Merchant (optional)
/// Conditional - Breakdown on account_rollup/all_merchant/selected_merchant. Required while getting breakdown data for a Merchant. (optional)
/// Optional - Start day of week to breakdown data for weeks in a month (optional)
@@ -361,7 +361,7 @@ public async System.Threading.Tasks.TaskThrown when fails to make API call
/// Valid report Start Time in **ISO 8601 format** Please refer the following link to know more about ISO 8601 format.[Rfc Date Format](https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14) **Example date format:** - yyyy-MM-dd'T'HH:mm:ss.SSSZ (e.g. 2018-01-01T00:00:00.000Z)
/// Valid report End Time in **ISO 8601 format** Please refer the following link to know more about ISO 8601 format.[Rfc Date Format](https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14) **Example date format:** - yyyy-MM-dd'T'HH:mm:ss.SSSZ (e.g. 2018-01-01T00:00:00.000Z)
- /// Valid Cybersource Organization Id (optional)
+ /// Valid Organization Id (optional)
/// Conditional - RollUp for data for day/week/month. Required while getting breakdown data for a Merchant (optional)
/// Conditional - Breakdown on account_rollup/all_merchant/selected_merchant. Required while getting breakdown data for a Merchant. (optional)
/// Optional - Start day of week to breakdown data for weeks in a month (optional)
diff --git a/Api/PurchaseAndRefundDetailsApi.cs b/Api/PurchaseAndRefundDetailsApi.cs
index 138720c1..7b61da80 100644
--- a/Api/PurchaseAndRefundDetailsApi.cs
+++ b/Api/PurchaseAndRefundDetailsApi.cs
@@ -35,7 +35,7 @@ public interface IPurchaseAndRefundDetailsApi : IApiAccessor
/// Thrown when fails to make API call
/// Valid report Start Time in **ISO 8601 format** Please refer the following link to know more about ISO 8601 format.[Rfc Date Format](https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14) **Example date format:** - yyyy-MM-dd'T'HH:mm:ss.SSSZ (e.g. 2018-01-01T00:00:00.000Z)
/// Valid report End Time in **ISO 8601 format** Please refer the following link to know more about ISO 8601 format.[Rfc Date Format](https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14) **Example date format:** - yyyy-MM-dd'T'HH:mm:ss.SSSZ (e.g. 2018-01-01T00:00:00.000Z)
- /// Valid Cybersource Organization Id (optional)
+ /// Valid Organization Id (optional)
/// Payment Subtypes. - **ALL**: All Payment Subtypes - **VI** : Visa - **MC** : Master Card - **AX** : American Express - **DI** : Discover - **DP** : Pinless Debit (optional, default to ALL)
/// View results by Request Date or Submission Date. - **requestDate** : Request Date - **submissionDate**: Submission Date (optional, default to requestDate)
/// Valid CyberSource Group Name.User can define groups using CBAPI and Group Management Module in EBC2. Groups are collection of organizationIds (optional)
@@ -53,7 +53,7 @@ public interface IPurchaseAndRefundDetailsApi : IApiAccessor
/// Thrown when fails to make API call
/// Valid report Start Time in **ISO 8601 format** Please refer the following link to know more about ISO 8601 format.[Rfc Date Format](https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14) **Example date format:** - yyyy-MM-dd'T'HH:mm:ss.SSSZ (e.g. 2018-01-01T00:00:00.000Z)
/// Valid report End Time in **ISO 8601 format** Please refer the following link to know more about ISO 8601 format.[Rfc Date Format](https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14) **Example date format:** - yyyy-MM-dd'T'HH:mm:ss.SSSZ (e.g. 2018-01-01T00:00:00.000Z)
- /// Valid Cybersource Organization Id (optional)
+ /// Valid Organization Id (optional)
/// Payment Subtypes. - **ALL**: All Payment Subtypes - **VI** : Visa - **MC** : Master Card - **AX** : American Express - **DI** : Discover - **DP** : Pinless Debit (optional, default to ALL)
/// View results by Request Date or Submission Date. - **requestDate** : Request Date - **submissionDate**: Submission Date (optional, default to requestDate)
/// Valid CyberSource Group Name.User can define groups using CBAPI and Group Management Module in EBC2. Groups are collection of organizationIds (optional)
@@ -72,7 +72,7 @@ public interface IPurchaseAndRefundDetailsApi : IApiAccessor
/// Thrown when fails to make API call
/// Valid report Start Time in **ISO 8601 format** Please refer the following link to know more about ISO 8601 format.[Rfc Date Format](https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14) **Example date format:** - yyyy-MM-dd'T'HH:mm:ss.SSSZ (e.g. 2018-01-01T00:00:00.000Z)
/// Valid report End Time in **ISO 8601 format** Please refer the following link to know more about ISO 8601 format.[Rfc Date Format](https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14) **Example date format:** - yyyy-MM-dd'T'HH:mm:ss.SSSZ (e.g. 2018-01-01T00:00:00.000Z)
- /// Valid Cybersource Organization Id (optional)
+ /// Valid Organization Id (optional)
/// Payment Subtypes. - **ALL**: All Payment Subtypes - **VI** : Visa - **MC** : Master Card - **AX** : American Express - **DI** : Discover - **DP** : Pinless Debit (optional, default to ALL)
/// View results by Request Date or Submission Date. - **requestDate** : Request Date - **submissionDate**: Submission Date (optional, default to requestDate)
/// Valid CyberSource Group Name.User can define groups using CBAPI and Group Management Module in EBC2. Groups are collection of organizationIds (optional)
@@ -90,7 +90,7 @@ public interface IPurchaseAndRefundDetailsApi : IApiAccessor
/// Thrown when fails to make API call
/// Valid report Start Time in **ISO 8601 format** Please refer the following link to know more about ISO 8601 format.[Rfc Date Format](https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14) **Example date format:** - yyyy-MM-dd'T'HH:mm:ss.SSSZ (e.g. 2018-01-01T00:00:00.000Z)
/// Valid report End Time in **ISO 8601 format** Please refer the following link to know more about ISO 8601 format.[Rfc Date Format](https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14) **Example date format:** - yyyy-MM-dd'T'HH:mm:ss.SSSZ (e.g. 2018-01-01T00:00:00.000Z)
- /// Valid Cybersource Organization Id (optional)
+ /// Valid Organization Id (optional)
/// Payment Subtypes. - **ALL**: All Payment Subtypes - **VI** : Visa - **MC** : Master Card - **AX** : American Express - **DI** : Discover - **DP** : Pinless Debit (optional, default to ALL)
/// View results by Request Date or Submission Date. - **requestDate** : Request Date - **submissionDate**: Submission Date (optional, default to requestDate)
/// Valid CyberSource Group Name.User can define groups using CBAPI and Group Management Module in EBC2. Groups are collection of organizationIds (optional)
@@ -224,7 +224,7 @@ public void AddDefaultHeader(string key, string value)
/// Thrown when fails to make API call
/// Valid report Start Time in **ISO 8601 format** Please refer the following link to know more about ISO 8601 format.[Rfc Date Format](https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14) **Example date format:** - yyyy-MM-dd'T'HH:mm:ss.SSSZ (e.g. 2018-01-01T00:00:00.000Z)
/// Valid report End Time in **ISO 8601 format** Please refer the following link to know more about ISO 8601 format.[Rfc Date Format](https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14) **Example date format:** - yyyy-MM-dd'T'HH:mm:ss.SSSZ (e.g. 2018-01-01T00:00:00.000Z)
- /// Valid Cybersource Organization Id (optional)
+ /// Valid Organization Id (optional)
/// Payment Subtypes. - **ALL**: All Payment Subtypes - **VI** : Visa - **MC** : Master Card - **AX** : American Express - **DI** : Discover - **DP** : Pinless Debit (optional, default to ALL)
/// View results by Request Date or Submission Date. - **requestDate** : Request Date - **submissionDate**: Submission Date (optional, default to requestDate)
/// Valid CyberSource Group Name.User can define groups using CBAPI and Group Management Module in EBC2. Groups are collection of organizationIds (optional)
@@ -245,7 +245,7 @@ public ReportingV3PurchaseRefundDetailsGet200Response GetPurchaseAndRefundDetail
/// Thrown when fails to make API call
/// Valid report Start Time in **ISO 8601 format** Please refer the following link to know more about ISO 8601 format.[Rfc Date Format](https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14) **Example date format:** - yyyy-MM-dd'T'HH:mm:ss.SSSZ (e.g. 2018-01-01T00:00:00.000Z)
/// Valid report End Time in **ISO 8601 format** Please refer the following link to know more about ISO 8601 format.[Rfc Date Format](https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14) **Example date format:** - yyyy-MM-dd'T'HH:mm:ss.SSSZ (e.g. 2018-01-01T00:00:00.000Z)
- /// Valid Cybersource Organization Id (optional)
+ /// Valid Organization Id (optional)
/// Payment Subtypes. - **ALL**: All Payment Subtypes - **VI** : Visa - **MC** : Master Card - **AX** : American Express - **DI** : Discover - **DP** : Pinless Debit (optional, default to ALL)
/// View results by Request Date or Submission Date. - **requestDate** : Request Date - **submissionDate**: Submission Date (optional, default to requestDate)
/// Valid CyberSource Group Name.User can define groups using CBAPI and Group Management Module in EBC2. Groups are collection of organizationIds (optional)
@@ -363,7 +363,7 @@ public ApiResponse< ReportingV3PurchaseRefundDetailsGet200Response > GetPurchase
/// Thrown when fails to make API call
/// Valid report Start Time in **ISO 8601 format** Please refer the following link to know more about ISO 8601 format.[Rfc Date Format](https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14) **Example date format:** - yyyy-MM-dd'T'HH:mm:ss.SSSZ (e.g. 2018-01-01T00:00:00.000Z)
/// Valid report End Time in **ISO 8601 format** Please refer the following link to know more about ISO 8601 format.[Rfc Date Format](https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14) **Example date format:** - yyyy-MM-dd'T'HH:mm:ss.SSSZ (e.g. 2018-01-01T00:00:00.000Z)
- /// Valid Cybersource Organization Id (optional)
+ /// Valid Organization Id (optional)
/// Payment Subtypes. - **ALL**: All Payment Subtypes - **VI** : Visa - **MC** : Master Card - **AX** : American Express - **DI** : Discover - **DP** : Pinless Debit (optional, default to ALL)
/// View results by Request Date or Submission Date. - **requestDate** : Request Date - **submissionDate**: Submission Date (optional, default to requestDate)
/// Valid CyberSource Group Name.User can define groups using CBAPI and Group Management Module in EBC2. Groups are collection of organizationIds (optional)
@@ -385,7 +385,7 @@ public async System.Threading.Tasks.TaskThrown when fails to make API call
/// Valid report Start Time in **ISO 8601 format** Please refer the following link to know more about ISO 8601 format.[Rfc Date Format](https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14) **Example date format:** - yyyy-MM-dd'T'HH:mm:ss.SSSZ (e.g. 2018-01-01T00:00:00.000Z)
/// Valid report End Time in **ISO 8601 format** Please refer the following link to know more about ISO 8601 format.[Rfc Date Format](https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14) **Example date format:** - yyyy-MM-dd'T'HH:mm:ss.SSSZ (e.g. 2018-01-01T00:00:00.000Z)
- /// Valid Cybersource Organization Id (optional)
+ /// Valid Organization Id (optional)
/// Payment Subtypes. - **ALL**: All Payment Subtypes - **VI** : Visa - **MC** : Master Card - **AX** : American Express - **DI** : Discover - **DP** : Pinless Debit (optional, default to ALL)
/// View results by Request Date or Submission Date. - **requestDate** : Request Date - **submissionDate**: Submission Date (optional, default to requestDate)
/// Valid CyberSource Group Name.User can define groups using CBAPI and Group Management Module in EBC2. Groups are collection of organizationIds (optional)
diff --git a/Api/ReportDefinitionsApi.cs b/Api/ReportDefinitionsApi.cs
index 8174871a..752bad5b 100644
--- a/Api/ReportDefinitionsApi.cs
+++ b/Api/ReportDefinitionsApi.cs
@@ -36,7 +36,7 @@ public interface IReportDefinitionsApi : IApiAccessor
/// Name of the Report definition to retrieve
/// The subscription type for which report definition is required. By default the type will be CUSTOM. Valid Values: - CLASSIC - CUSTOM - STANDARD (optional)
/// The format for which the report definition is required. By default the value will be CSV. Valid Values: - application/xml - text/csv (optional)
- /// Valid Cybersource Organization Id (optional)
+ /// Valid Organization Id (optional)
/// ReportingV3ReportDefinitionsNameGet200Response
ReportingV3ReportDefinitionsNameGet200Response GetResourceInfoByReportDefinition (string reportDefinitionName, string subscriptionType = null, string reportMimeType = null, string organizationId = null);
@@ -50,7 +50,7 @@ public interface IReportDefinitionsApi : IApiAccessor
/// Name of the Report definition to retrieve
/// The subscription type for which report definition is required. By default the type will be CUSTOM. Valid Values: - CLASSIC - CUSTOM - STANDARD (optional)
/// The format for which the report definition is required. By default the value will be CSV. Valid Values: - application/xml - text/csv (optional)
- /// Valid Cybersource Organization Id (optional)
+ /// Valid Organization Id (optional)
/// ApiResponse of ReportingV3ReportDefinitionsNameGet200Response
ApiResponse GetResourceInfoByReportDefinitionWithHttpInfo (string reportDefinitionName, string subscriptionType = null, string reportMimeType = null, string organizationId = null);
///
@@ -61,7 +61,7 @@ public interface IReportDefinitionsApi : IApiAccessor
///
/// Thrown when fails to make API call
/// Valid Values: - CLASSIC - CUSTOM - STANDARD (optional)
- /// Valid Cybersource Organization Id (optional)
+ /// Valid Organization Id (optional)
/// ReportingV3ReportDefinitionsGet200Response
ReportingV3ReportDefinitionsGet200Response GetResourceV2Info (string subscriptionType = null, string organizationId = null);
@@ -73,7 +73,7 @@ public interface IReportDefinitionsApi : IApiAccessor
///
/// Thrown when fails to make API call
/// Valid Values: - CLASSIC - CUSTOM - STANDARD (optional)
- /// Valid Cybersource Organization Id (optional)
+ /// Valid Organization Id (optional)
/// ApiResponse of ReportingV3ReportDefinitionsGet200Response
ApiResponse GetResourceV2InfoWithHttpInfo (string subscriptionType = null, string organizationId = null);
#endregion Synchronous Operations
@@ -88,7 +88,7 @@ public interface IReportDefinitionsApi : IApiAccessor
/// Name of the Report definition to retrieve
/// The subscription type for which report definition is required. By default the type will be CUSTOM. Valid Values: - CLASSIC - CUSTOM - STANDARD (optional)
/// The format for which the report definition is required. By default the value will be CSV. Valid Values: - application/xml - text/csv (optional)
- /// Valid Cybersource Organization Id (optional)
+ /// Valid Organization Id (optional)
/// Task of ReportingV3ReportDefinitionsNameGet200Response
System.Threading.Tasks.Task GetResourceInfoByReportDefinitionAsync (string reportDefinitionName, string subscriptionType = null, string reportMimeType = null, string organizationId = null);
@@ -102,7 +102,7 @@ public interface IReportDefinitionsApi : IApiAccessor
/// Name of the Report definition to retrieve
/// The subscription type for which report definition is required. By default the type will be CUSTOM. Valid Values: - CLASSIC - CUSTOM - STANDARD (optional)
/// The format for which the report definition is required. By default the value will be CSV. Valid Values: - application/xml - text/csv (optional)
- /// Valid Cybersource Organization Id (optional)
+ /// Valid Organization Id (optional)
/// Task of ApiResponse (ReportingV3ReportDefinitionsNameGet200Response)
System.Threading.Tasks.Task> GetResourceInfoByReportDefinitionAsyncWithHttpInfo (string reportDefinitionName, string subscriptionType = null, string reportMimeType = null, string organizationId = null);
///
@@ -113,7 +113,7 @@ public interface IReportDefinitionsApi : IApiAccessor
///
/// Thrown when fails to make API call
/// Valid Values: - CLASSIC - CUSTOM - STANDARD (optional)
- /// Valid Cybersource Organization Id (optional)
+ /// Valid Organization Id (optional)
/// Task of ReportingV3ReportDefinitionsGet200Response
System.Threading.Tasks.Task GetResourceV2InfoAsync (string subscriptionType = null, string organizationId = null);
@@ -125,7 +125,7 @@ public interface IReportDefinitionsApi : IApiAccessor
///
/// Thrown when fails to make API call
/// Valid Values: - CLASSIC - CUSTOM - STANDARD (optional)
- /// Valid Cybersource Organization Id (optional)
+ /// Valid Organization Id (optional)
/// Task of ApiResponse (ReportingV3ReportDefinitionsGet200Response)
System.Threading.Tasks.Task> GetResourceV2InfoAsyncWithHttpInfo (string subscriptionType = null, string organizationId = null);
#endregion Asynchronous Operations
@@ -255,7 +255,7 @@ public void AddDefaultHeader(string key, string value)
/// Name of the Report definition to retrieve
/// The subscription type for which report definition is required. By default the type will be CUSTOM. Valid Values: - CLASSIC - CUSTOM - STANDARD (optional)
/// The format for which the report definition is required. By default the value will be CSV. Valid Values: - application/xml - text/csv (optional)
- /// Valid Cybersource Organization Id (optional)
+ /// Valid Organization Id (optional)
/// ReportingV3ReportDefinitionsNameGet200Response
public ReportingV3ReportDefinitionsNameGet200Response GetResourceInfoByReportDefinition (string reportDefinitionName, string subscriptionType = null, string reportMimeType = null, string organizationId = null)
{
@@ -272,7 +272,7 @@ public ReportingV3ReportDefinitionsNameGet200Response GetResourceInfoByReportDef
/// Name of the Report definition to retrieve
/// The subscription type for which report definition is required. By default the type will be CUSTOM. Valid Values: - CLASSIC - CUSTOM - STANDARD (optional)
/// The format for which the report definition is required. By default the value will be CSV. Valid Values: - application/xml - text/csv (optional)
- /// Valid Cybersource Organization Id (optional)
+ /// Valid Organization Id (optional)
/// ApiResponse of ReportingV3ReportDefinitionsNameGet200Response
public ApiResponse< ReportingV3ReportDefinitionsNameGet200Response > GetResourceInfoByReportDefinitionWithHttpInfo (string reportDefinitionName, string subscriptionType = null, string reportMimeType = null, string organizationId = null)
{
@@ -358,7 +358,7 @@ public ApiResponse< ReportingV3ReportDefinitionsNameGet200Response > GetResource
/// Name of the Report definition to retrieve
/// The subscription type for which report definition is required. By default the type will be CUSTOM. Valid Values: - CLASSIC - CUSTOM - STANDARD (optional)
/// The format for which the report definition is required. By default the value will be CSV. Valid Values: - application/xml - text/csv (optional)
- /// Valid Cybersource Organization Id (optional)
+ /// Valid Organization Id (optional)
/// Task of ReportingV3ReportDefinitionsNameGet200Response
public async System.Threading.Tasks.Task GetResourceInfoByReportDefinitionAsync (string reportDefinitionName, string subscriptionType = null, string reportMimeType = null, string organizationId = null)
{
@@ -376,7 +376,7 @@ public async System.Threading.Tasks.TaskName of the Report definition to retrieve
/// The subscription type for which report definition is required. By default the type will be CUSTOM. Valid Values: - CLASSIC - CUSTOM - STANDARD (optional)
/// The format for which the report definition is required. By default the value will be CSV. Valid Values: - application/xml - text/csv (optional)
- /// Valid Cybersource Organization Id (optional)
+ /// Valid Organization Id (optional)
/// Task of ApiResponse (ReportingV3ReportDefinitionsNameGet200Response)
public async System.Threading.Tasks.Task> GetResourceInfoByReportDefinitionAsyncWithHttpInfo (string reportDefinitionName, string subscriptionType = null, string reportMimeType = null, string organizationId = null)
{
@@ -459,7 +459,7 @@ public async System.Threading.Tasks.Task
/// Thrown when fails to make API call
/// Valid Values: - CLASSIC - CUSTOM - STANDARD (optional)
- /// Valid Cybersource Organization Id (optional)
+ /// Valid Organization Id (optional)
/// ReportingV3ReportDefinitionsGet200Response
public ReportingV3ReportDefinitionsGet200Response GetResourceV2Info (string subscriptionType = null, string organizationId = null)
{
@@ -474,7 +474,7 @@ public ReportingV3ReportDefinitionsGet200Response GetResourceV2Info (string subs
///
/// Thrown when fails to make API call
/// Valid Values: - CLASSIC - CUSTOM - STANDARD (optional)
- /// Valid Cybersource Organization Id (optional)
+ /// Valid Organization Id (optional)
/// ApiResponse of ReportingV3ReportDefinitionsGet200Response
public ApiResponse< ReportingV3ReportDefinitionsGet200Response > GetResourceV2InfoWithHttpInfo (string subscriptionType = null, string organizationId = null)
{
@@ -542,7 +542,7 @@ public ApiResponse< ReportingV3ReportDefinitionsGet200Response > GetResourceV2In
///
/// Thrown when fails to make API call
/// Valid Values: - CLASSIC - CUSTOM - STANDARD (optional)
- /// Valid Cybersource Organization Id (optional)
+ /// Valid Organization Id (optional)
/// Task of ReportingV3ReportDefinitionsGet200Response
public async System.Threading.Tasks.Task GetResourceV2InfoAsync (string subscriptionType = null, string organizationId = null)
{
@@ -558,7 +558,7 @@ public async System.Threading.Tasks.Task
/// Thrown when fails to make API call
/// Valid Values: - CLASSIC - CUSTOM - STANDARD (optional)
- /// Valid Cybersource Organization Id (optional)
+ /// Valid Organization Id (optional)
/// Task of ApiResponse (ReportingV3ReportDefinitionsGet200Response)
public async System.Threading.Tasks.Task> GetResourceV2InfoAsyncWithHttpInfo (string subscriptionType = null, string organizationId = null)
{
diff --git a/Api/ReportDownloadsApi.cs b/Api/ReportDownloadsApi.cs
index a835f2cd..9315a42d 100644
--- a/Api/ReportDownloadsApi.cs
+++ b/Api/ReportDownloadsApi.cs
@@ -35,7 +35,7 @@ public interface IReportDownloadsApi : IApiAccessor
/// Thrown when fails to make API call
/// Valid date on which to download the report in **ISO 8601 format** Please refer the following link to know more about ISO 8601 format.[Rfc Date Format](https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14) **Example date format:** yyyy-mm-dd For reports that span multiple days, this value would be the end date of the report in the time zone of the report subscription. Example 1: If your report start date is 2020-03-06 and the end date is 2020-03-09, the reportDate passed in the query is 2020-03-09. Example 2: If your report runs from midnight to midnight on 2020-03-09, the reportDate passed in the query is 2020-03-10
/// Name of the report to download
- /// Valid Cybersource Organization Id (optional)
+ /// Valid Organization Id (optional)
///
void DownloadReport (DateTime? reportDate, string reportName, string organizationId = null);
@@ -48,7 +48,7 @@ public interface IReportDownloadsApi : IApiAccessor
/// Thrown when fails to make API call
/// Valid date on which to download the report in **ISO 8601 format** Please refer the following link to know more about ISO 8601 format.[Rfc Date Format](https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14) **Example date format:** yyyy-mm-dd For reports that span multiple days, this value would be the end date of the report in the time zone of the report subscription. Example 1: If your report start date is 2020-03-06 and the end date is 2020-03-09, the reportDate passed in the query is 2020-03-09. Example 2: If your report runs from midnight to midnight on 2020-03-09, the reportDate passed in the query is 2020-03-10
/// Name of the report to download
- /// Valid Cybersource Organization Id (optional)
+ /// Valid Organization Id (optional)
/// ApiResponse of Object(void)
ApiResponse