Skip to content

Feature/support batch api #115

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
10 commits merged into from
May 29, 2025
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
using AuthenticationSdk.util;
using CyberSource.Utilities.Tracking;
using AuthenticationSdk.core;
using CyberSource.Utilities;

namespace CyberSource.Api
{
Expand Down Expand Up @@ -420,6 +421,12 @@ public ApiResponse< InlineResponse2007 > GetBatchReportWithHttpInfo (string batc
{
localVarPostBody = null;
}
String[] filePostBodyAndDelimiter = MultipartHelpers.BuildPostBodyForFiles(localVarFileParams);
if(null!= filePostBodyAndDelimiter)
{
localVarPostBody = filePostBodyAndDelimiter[0];
localVarHttpContentType = "multipart/form-data; boundary=" + filePostBodyAndDelimiter[1];
}

bool isMLESupportedByCybsForApi = false;
MerchantConfig merchantConfig = new MerchantConfig(Configuration.MerchantConfigDictionaryObj, Configuration.MapToControlMLEonAPI);
Expand Down Expand Up @@ -531,6 +538,12 @@ public async System.Threading.Tasks.Task<ApiResponse<InlineResponse2007>> GetBat
{
localVarPostBody = null;
}
String[] filePostBodyAndDelimiter = MultipartHelpers.BuildPostBodyForFiles(localVarFileParams);
if(null!= filePostBodyAndDelimiter)
{
localVarPostBody = filePostBodyAndDelimiter[0];
localVarHttpContentType = "multipart/form-data; boundary=" + filePostBodyAndDelimiter[1];
}

bool isMLESupportedByCybsForApi = false;
MerchantConfig merchantConfig = new MerchantConfig(Configuration.MerchantConfigDictionaryObj, Configuration.MapToControlMLEonAPI);
Expand Down Expand Up @@ -640,6 +653,12 @@ public ApiResponse< InlineResponse2006 > GetBatchStatusWithHttpInfo (string batc
{
localVarPostBody = null;
}
String[] filePostBodyAndDelimiter = MultipartHelpers.BuildPostBodyForFiles(localVarFileParams);
if(null!= filePostBodyAndDelimiter)
{
localVarPostBody = filePostBodyAndDelimiter[0];
localVarHttpContentType = "multipart/form-data; boundary=" + filePostBodyAndDelimiter[1];
}

bool isMLESupportedByCybsForApi = false;
MerchantConfig merchantConfig = new MerchantConfig(Configuration.MerchantConfigDictionaryObj, Configuration.MapToControlMLEonAPI);
Expand Down Expand Up @@ -751,6 +770,12 @@ public async System.Threading.Tasks.Task<ApiResponse<InlineResponse2006>> GetBat
{
localVarPostBody = null;
}
String[] filePostBodyAndDelimiter = MultipartHelpers.BuildPostBodyForFiles(localVarFileParams);
if(null!= filePostBodyAndDelimiter)
{
localVarPostBody = filePostBodyAndDelimiter[0];
localVarHttpContentType = "multipart/form-data; boundary=" + filePostBodyAndDelimiter[1];
}

bool isMLESupportedByCybsForApi = false;
MerchantConfig merchantConfig = new MerchantConfig(Configuration.MerchantConfigDictionaryObj, Configuration.MapToControlMLEonAPI);
Expand Down Expand Up @@ -875,6 +900,12 @@ public ApiResponse< InlineResponse2005 > GetBatchesListWithHttpInfo (long? offse
{
localVarPostBody = null;
}
String[] filePostBodyAndDelimiter = MultipartHelpers.BuildPostBodyForFiles(localVarFileParams);
if(null!= filePostBodyAndDelimiter)
{
localVarPostBody = filePostBodyAndDelimiter[0];
localVarHttpContentType = "multipart/form-data; boundary=" + filePostBodyAndDelimiter[1];
}

bool isMLESupportedByCybsForApi = false;
MerchantConfig merchantConfig = new MerchantConfig(Configuration.MerchantConfigDictionaryObj, Configuration.MapToControlMLEonAPI);
Expand Down Expand Up @@ -1001,6 +1032,12 @@ public async System.Threading.Tasks.Task<ApiResponse<InlineResponse2005>> GetBat
{
localVarPostBody = null;
}
String[] filePostBodyAndDelimiter = MultipartHelpers.BuildPostBodyForFiles(localVarFileParams);
if(null!= filePostBodyAndDelimiter)
{
localVarPostBody = filePostBodyAndDelimiter[0];
localVarHttpContentType = "multipart/form-data; boundary=" + filePostBodyAndDelimiter[1];
}

bool isMLESupportedByCybsForApi = false;
MerchantConfig merchantConfig = new MerchantConfig(Configuration.MerchantConfigDictionaryObj, Configuration.MapToControlMLEonAPI);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
using AuthenticationSdk.util;
using CyberSource.Utilities.Tracking;
using AuthenticationSdk.core;
using CyberSource.Utilities;

namespace CyberSource.Api
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
using AuthenticationSdk.util;
using CyberSource.Utilities.Tracking;
using AuthenticationSdk.core;
using CyberSource.Utilities;

namespace CyberSource.Api
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
using AuthenticationSdk.util;
using CyberSource.Utilities.Tracking;
using AuthenticationSdk.core;
using CyberSource.Utilities;

namespace CyberSource.Api
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
using AuthenticationSdk.util;
using CyberSource.Utilities.Tracking;
using AuthenticationSdk.core;
using CyberSource.Utilities;

namespace CyberSource.Api
{
Expand Down Expand Up @@ -311,6 +312,12 @@ public ApiResponse< ReportingV3ChargebackDetailsGet200Response > GetChargebackDe
{
localVarPostBody = null;
}
String[] filePostBodyAndDelimiter = MultipartHelpers.BuildPostBodyForFiles(localVarFileParams);
if(null!= filePostBodyAndDelimiter)
{
localVarPostBody = filePostBodyAndDelimiter[0];
localVarHttpContentType = "multipart/form-data; boundary=" + filePostBodyAndDelimiter[1];
}

bool isMLESupportedByCybsForApi = false;
MerchantConfig merchantConfig = new MerchantConfig(Configuration.MerchantConfigDictionaryObj, Configuration.MapToControlMLEonAPI);
Expand Down Expand Up @@ -443,6 +450,12 @@ public async System.Threading.Tasks.Task<ApiResponse<ReportingV3ChargebackDetail
{
localVarPostBody = null;
}
String[] filePostBodyAndDelimiter = MultipartHelpers.BuildPostBodyForFiles(localVarFileParams);
if(null!= filePostBodyAndDelimiter)
{
localVarPostBody = filePostBodyAndDelimiter[0];
localVarHttpContentType = "multipart/form-data; boundary=" + filePostBodyAndDelimiter[1];
}

bool isMLESupportedByCybsForApi = false;
MerchantConfig merchantConfig = new MerchantConfig(Configuration.MerchantConfigDictionaryObj, Configuration.MapToControlMLEonAPI);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
using AuthenticationSdk.util;
using CyberSource.Utilities.Tracking;
using AuthenticationSdk.core;
using CyberSource.Utilities;

namespace CyberSource.Api
{
Expand Down Expand Up @@ -311,6 +312,12 @@ public ApiResponse< ReportingV3ChargebackSummariesGet200Response > GetChargeback
{
localVarPostBody = null;
}
String[] filePostBodyAndDelimiter = MultipartHelpers.BuildPostBodyForFiles(localVarFileParams);
if(null!= filePostBodyAndDelimiter)
{
localVarPostBody = filePostBodyAndDelimiter[0];
localVarHttpContentType = "multipart/form-data; boundary=" + filePostBodyAndDelimiter[1];
}

bool isMLESupportedByCybsForApi = false;
MerchantConfig merchantConfig = new MerchantConfig(Configuration.MerchantConfigDictionaryObj, Configuration.MapToControlMLEonAPI);
Expand Down Expand Up @@ -443,6 +450,12 @@ public async System.Threading.Tasks.Task<ApiResponse<ReportingV3ChargebackSummar
{
localVarPostBody = null;
}
String[] filePostBodyAndDelimiter = MultipartHelpers.BuildPostBodyForFiles(localVarFileParams);
if(null!= filePostBodyAndDelimiter)
{
localVarPostBody = filePostBodyAndDelimiter[0];
localVarHttpContentType = "multipart/form-data; boundary=" + filePostBodyAndDelimiter[1];
}

bool isMLESupportedByCybsForApi = false;
MerchantConfig merchantConfig = new MerchantConfig(Configuration.MerchantConfigDictionaryObj, Configuration.MapToControlMLEonAPI);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
using AuthenticationSdk.util;
using CyberSource.Utilities.Tracking;
using AuthenticationSdk.core;
using CyberSource.Utilities;

namespace CyberSource.Api
{
Expand Down Expand Up @@ -311,6 +312,12 @@ public ApiResponse< ReportingV3ConversionDetailsGet200Response > GetConversionDe
{
localVarPostBody = null;
}
String[] filePostBodyAndDelimiter = MultipartHelpers.BuildPostBodyForFiles(localVarFileParams);
if(null!= filePostBodyAndDelimiter)
{
localVarPostBody = filePostBodyAndDelimiter[0];
localVarHttpContentType = "multipart/form-data; boundary=" + filePostBodyAndDelimiter[1];
}

bool isMLESupportedByCybsForApi = false;
MerchantConfig merchantConfig = new MerchantConfig(Configuration.MerchantConfigDictionaryObj, Configuration.MapToControlMLEonAPI);
Expand Down Expand Up @@ -443,6 +450,12 @@ public async System.Threading.Tasks.Task<ApiResponse<ReportingV3ConversionDetail
{
localVarPostBody = null;
}
String[] filePostBodyAndDelimiter = MultipartHelpers.BuildPostBodyForFiles(localVarFileParams);
if(null!= filePostBodyAndDelimiter)
{
localVarPostBody = filePostBodyAndDelimiter[0];
localVarHttpContentType = "multipart/form-data; boundary=" + filePostBodyAndDelimiter[1];
}

bool isMLESupportedByCybsForApi = false;
MerchantConfig merchantConfig = new MerchantConfig(Configuration.MerchantConfigDictionaryObj, Configuration.MapToControlMLEonAPI);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
using AuthenticationSdk.util;
using CyberSource.Utilities.Tracking;
using AuthenticationSdk.core;
using CyberSource.Utilities;

namespace CyberSource.Api
{
Expand Down Expand Up @@ -378,6 +379,12 @@ public ApiResponse< List<InlineResponse2003> > FindProductsToSubscribeWithHttpIn
{
localVarPostBody = null;
}
String[] filePostBodyAndDelimiter = MultipartHelpers.BuildPostBodyForFiles(localVarFileParams);
if(null!= filePostBodyAndDelimiter)
{
localVarPostBody = filePostBodyAndDelimiter[0];
localVarHttpContentType = "multipart/form-data; boundary=" + filePostBodyAndDelimiter[1];
}

bool isMLESupportedByCybsForApi = false;
MerchantConfig merchantConfig = new MerchantConfig(Configuration.MerchantConfigDictionaryObj, Configuration.MapToControlMLEonAPI);
Expand Down Expand Up @@ -489,6 +496,12 @@ public async System.Threading.Tasks.Task<ApiResponse<List<InlineResponse2003>>>
{
localVarPostBody = null;
}
String[] filePostBodyAndDelimiter = MultipartHelpers.BuildPostBodyForFiles(localVarFileParams);
if(null!= filePostBodyAndDelimiter)
{
localVarPostBody = filePostBodyAndDelimiter[0];
localVarHttpContentType = "multipart/form-data; boundary=" + filePostBodyAndDelimiter[1];
}

bool isMLESupportedByCybsForApi = false;
MerchantConfig merchantConfig = new MerchantConfig(Configuration.MerchantConfigDictionaryObj, Configuration.MapToControlMLEonAPI);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
using AuthenticationSdk.util;
using CyberSource.Utilities.Tracking;
using AuthenticationSdk.core;
using CyberSource.Utilities;

namespace CyberSource.Api
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
using AuthenticationSdk.util;
using CyberSource.Utilities.Tracking;
using AuthenticationSdk.core;
using CyberSource.Utilities;

namespace CyberSource.Api
{
Expand Down Expand Up @@ -435,6 +436,12 @@ public ApiResponse<Object> DeleteCustomerWithHttpInfo (string customerId, string
{
localVarPostBody = null;
}
String[] filePostBodyAndDelimiter = MultipartHelpers.BuildPostBodyForFiles(localVarFileParams);
if(null!= filePostBodyAndDelimiter)
{
localVarPostBody = filePostBodyAndDelimiter[0];
localVarHttpContentType = "multipart/form-data; boundary=" + filePostBodyAndDelimiter[1];
}

bool isMLESupportedByCybsForApi = false;
MerchantConfig merchantConfig = new MerchantConfig(Configuration.MerchantConfigDictionaryObj, Configuration.MapToControlMLEonAPI);
Expand Down Expand Up @@ -550,6 +557,12 @@ public async System.Threading.Tasks.Task<ApiResponse<Object>> DeleteCustomerAsyn
{
localVarPostBody = null;
}
String[] filePostBodyAndDelimiter = MultipartHelpers.BuildPostBodyForFiles(localVarFileParams);
if(null!= filePostBodyAndDelimiter)
{
localVarPostBody = filePostBodyAndDelimiter[0];
localVarHttpContentType = "multipart/form-data; boundary=" + filePostBodyAndDelimiter[1];
}

bool isMLESupportedByCybsForApi = false;
MerchantConfig merchantConfig = new MerchantConfig(Configuration.MerchantConfigDictionaryObj, Configuration.MapToControlMLEonAPI);
Expand Down Expand Up @@ -666,6 +679,12 @@ public ApiResponse< PostCustomerRequest > GetCustomerWithHttpInfo (string custom
{
localVarPostBody = null;
}
String[] filePostBodyAndDelimiter = MultipartHelpers.BuildPostBodyForFiles(localVarFileParams);
if(null!= filePostBodyAndDelimiter)
{
localVarPostBody = filePostBodyAndDelimiter[0];
localVarHttpContentType = "multipart/form-data; boundary=" + filePostBodyAndDelimiter[1];
}

bool isMLESupportedByCybsForApi = false;
MerchantConfig merchantConfig = new MerchantConfig(Configuration.MerchantConfigDictionaryObj, Configuration.MapToControlMLEonAPI);
Expand Down Expand Up @@ -783,6 +802,12 @@ public async System.Threading.Tasks.Task<ApiResponse<PostCustomerRequest>> GetCu
{
localVarPostBody = null;
}
String[] filePostBodyAndDelimiter = MultipartHelpers.BuildPostBodyForFiles(localVarFileParams);
if(null!= filePostBodyAndDelimiter)
{
localVarPostBody = filePostBodyAndDelimiter[0];
localVarHttpContentType = "multipart/form-data; boundary=" + filePostBodyAndDelimiter[1];
}

bool isMLESupportedByCybsForApi = false;
MerchantConfig merchantConfig = new MerchantConfig(Configuration.MerchantConfigDictionaryObj, Configuration.MapToControlMLEonAPI);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
using AuthenticationSdk.util;
using CyberSource.Utilities.Tracking;
using AuthenticationSdk.core;
using CyberSource.Utilities;

namespace CyberSource.Api
{
Expand Down Expand Up @@ -518,6 +519,12 @@ public ApiResponse<Object> DeleteCustomerPaymentInstrumentWithHttpInfo (string c
{
localVarPostBody = null;
}
String[] filePostBodyAndDelimiter = MultipartHelpers.BuildPostBodyForFiles(localVarFileParams);
if(null!= filePostBodyAndDelimiter)
{
localVarPostBody = filePostBodyAndDelimiter[0];
localVarHttpContentType = "multipart/form-data; boundary=" + filePostBodyAndDelimiter[1];
}

bool isMLESupportedByCybsForApi = false;
MerchantConfig merchantConfig = new MerchantConfig(Configuration.MerchantConfigDictionaryObj, Configuration.MapToControlMLEonAPI);
Expand Down Expand Up @@ -646,6 +653,12 @@ public async System.Threading.Tasks.Task<ApiResponse<Object>> DeleteCustomerPaym
{
localVarPostBody = null;
}
String[] filePostBodyAndDelimiter = MultipartHelpers.BuildPostBodyForFiles(localVarFileParams);
if(null!= filePostBodyAndDelimiter)
{
localVarPostBody = filePostBodyAndDelimiter[0];
localVarHttpContentType = "multipart/form-data; boundary=" + filePostBodyAndDelimiter[1];
}

bool isMLESupportedByCybsForApi = false;
MerchantConfig merchantConfig = new MerchantConfig(Configuration.MerchantConfigDictionaryObj, Configuration.MapToControlMLEonAPI);
Expand Down Expand Up @@ -775,6 +788,12 @@ public ApiResponse< PostCustomerPaymentInstrumentRequest > GetCustomerPaymentIns
{
localVarPostBody = null;
}
String[] filePostBodyAndDelimiter = MultipartHelpers.BuildPostBodyForFiles(localVarFileParams);
if(null!= filePostBodyAndDelimiter)
{
localVarPostBody = filePostBodyAndDelimiter[0];
localVarHttpContentType = "multipart/form-data; boundary=" + filePostBodyAndDelimiter[1];
}

bool isMLESupportedByCybsForApi = false;
MerchantConfig merchantConfig = new MerchantConfig(Configuration.MerchantConfigDictionaryObj, Configuration.MapToControlMLEonAPI);
Expand Down Expand Up @@ -905,6 +924,12 @@ public async System.Threading.Tasks.Task<ApiResponse<PostCustomerPaymentInstrume
{
localVarPostBody = null;
}
String[] filePostBodyAndDelimiter = MultipartHelpers.BuildPostBodyForFiles(localVarFileParams);
if(null!= filePostBodyAndDelimiter)
{
localVarPostBody = filePostBodyAndDelimiter[0];
localVarHttpContentType = "multipart/form-data; boundary=" + filePostBodyAndDelimiter[1];
}

bool isMLESupportedByCybsForApi = false;
MerchantConfig merchantConfig = new MerchantConfig(Configuration.MerchantConfigDictionaryObj, Configuration.MapToControlMLEonAPI);
Expand Down Expand Up @@ -1034,6 +1059,12 @@ public ApiResponse< PaymentInstrumentList > GetCustomerPaymentInstrumentsListWit
{
localVarPostBody = null;
}
String[] filePostBodyAndDelimiter = MultipartHelpers.BuildPostBodyForFiles(localVarFileParams);
if(null!= filePostBodyAndDelimiter)
{
localVarPostBody = filePostBodyAndDelimiter[0];
localVarHttpContentType = "multipart/form-data; boundary=" + filePostBodyAndDelimiter[1];
}

bool isMLESupportedByCybsForApi = false;
MerchantConfig merchantConfig = new MerchantConfig(Configuration.MerchantConfigDictionaryObj, Configuration.MapToControlMLEonAPI);
Expand Down Expand Up @@ -1165,6 +1196,12 @@ public async System.Threading.Tasks.Task<ApiResponse<PaymentInstrumentList>> Get
{
localVarPostBody = null;
}
String[] filePostBodyAndDelimiter = MultipartHelpers.BuildPostBodyForFiles(localVarFileParams);
if(null!= filePostBodyAndDelimiter)
{
localVarPostBody = filePostBodyAndDelimiter[0];
localVarHttpContentType = "multipart/form-data; boundary=" + filePostBodyAndDelimiter[1];
}

bool isMLESupportedByCybsForApi = false;
MerchantConfig merchantConfig = new MerchantConfig(Configuration.MerchantConfigDictionaryObj, Configuration.MapToControlMLEonAPI);
Expand Down
Loading