Skip to content

Commit 1baf7ec

Browse files
authored
Merge pull request #213 from CyberSource/feature/final-mle
Feature/final mle
2 parents b3151c5 + c70ab2c commit 1baf7ec

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

62 files changed

+632
-632
lines changed

Api/BatchesApi.cs

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -428,9 +428,9 @@ public ApiResponse< InlineResponse20010 > GetBatchReportWithHttpInfo (string bat
428428
localVarHttpContentType = "multipart/form-data; boundary=" + filePostBodyAndDelimiter[1];
429429
}
430430

431-
bool isMLESupportedByCybsForApi = false;
431+
String inboundMLEStatus = "false";
432432
MerchantConfig merchantConfig = new MerchantConfig(Configuration.MerchantConfigDictionaryObj, Configuration.MapToControlMLEonAPI);
433-
if (MLEUtility.CheckIsMLEForAPI(merchantConfig, isMLESupportedByCybsForApi, "GetBatchReport,GetBatchReportAsync,GetBatchReportWithHttpInfo,GetBatchReportAsyncWithHttpInfo"))
433+
if (MLEUtility.CheckIsMLEForAPI(merchantConfig, inboundMLEStatus, "GetBatchReport,GetBatchReportAsync,GetBatchReportWithHttpInfo,GetBatchReportAsyncWithHttpInfo"))
434434
{
435435
try
436436
{
@@ -545,9 +545,9 @@ public async System.Threading.Tasks.Task<ApiResponse<InlineResponse20010>> GetBa
545545
localVarHttpContentType = "multipart/form-data; boundary=" + filePostBodyAndDelimiter[1];
546546
}
547547

548-
bool isMLESupportedByCybsForApi = false;
548+
String inboundMLEStatus = "false";
549549
MerchantConfig merchantConfig = new MerchantConfig(Configuration.MerchantConfigDictionaryObj, Configuration.MapToControlMLEonAPI);
550-
if (MLEUtility.CheckIsMLEForAPI(merchantConfig, isMLESupportedByCybsForApi, "GetBatchReport,GetBatchReportAsync,GetBatchReportWithHttpInfo,GetBatchReportAsyncWithHttpInfo"))
550+
if (MLEUtility.CheckIsMLEForAPI(merchantConfig, inboundMLEStatus, "GetBatchReport,GetBatchReportAsync,GetBatchReportWithHttpInfo,GetBatchReportAsyncWithHttpInfo"))
551551
{
552552
try
553553
{
@@ -660,9 +660,9 @@ public ApiResponse< InlineResponse2009 > GetBatchStatusWithHttpInfo (string batc
660660
localVarHttpContentType = "multipart/form-data; boundary=" + filePostBodyAndDelimiter[1];
661661
}
662662

663-
bool isMLESupportedByCybsForApi = false;
663+
String inboundMLEStatus = "false";
664664
MerchantConfig merchantConfig = new MerchantConfig(Configuration.MerchantConfigDictionaryObj, Configuration.MapToControlMLEonAPI);
665-
if (MLEUtility.CheckIsMLEForAPI(merchantConfig, isMLESupportedByCybsForApi, "GetBatchStatus,GetBatchStatusAsync,GetBatchStatusWithHttpInfo,GetBatchStatusAsyncWithHttpInfo"))
665+
if (MLEUtility.CheckIsMLEForAPI(merchantConfig, inboundMLEStatus, "GetBatchStatus,GetBatchStatusAsync,GetBatchStatusWithHttpInfo,GetBatchStatusAsyncWithHttpInfo"))
666666
{
667667
try
668668
{
@@ -777,9 +777,9 @@ public async System.Threading.Tasks.Task<ApiResponse<InlineResponse2009>> GetBat
777777
localVarHttpContentType = "multipart/form-data; boundary=" + filePostBodyAndDelimiter[1];
778778
}
779779

780-
bool isMLESupportedByCybsForApi = false;
780+
String inboundMLEStatus = "false";
781781
MerchantConfig merchantConfig = new MerchantConfig(Configuration.MerchantConfigDictionaryObj, Configuration.MapToControlMLEonAPI);
782-
if (MLEUtility.CheckIsMLEForAPI(merchantConfig, isMLESupportedByCybsForApi, "GetBatchStatus,GetBatchStatusAsync,GetBatchStatusWithHttpInfo,GetBatchStatusAsyncWithHttpInfo"))
782+
if (MLEUtility.CheckIsMLEForAPI(merchantConfig, inboundMLEStatus, "GetBatchStatus,GetBatchStatusAsync,GetBatchStatusWithHttpInfo,GetBatchStatusAsyncWithHttpInfo"))
783783
{
784784
try
785785
{
@@ -907,9 +907,9 @@ public ApiResponse< InlineResponse2008 > GetBatchesListWithHttpInfo (long? offse
907907
localVarHttpContentType = "multipart/form-data; boundary=" + filePostBodyAndDelimiter[1];
908908
}
909909

910-
bool isMLESupportedByCybsForApi = false;
910+
String inboundMLEStatus = "false";
911911
MerchantConfig merchantConfig = new MerchantConfig(Configuration.MerchantConfigDictionaryObj, Configuration.MapToControlMLEonAPI);
912-
if (MLEUtility.CheckIsMLEForAPI(merchantConfig, isMLESupportedByCybsForApi, "GetBatchesList,GetBatchesListAsync,GetBatchesListWithHttpInfo,GetBatchesListAsyncWithHttpInfo"))
912+
if (MLEUtility.CheckIsMLEForAPI(merchantConfig, inboundMLEStatus, "GetBatchesList,GetBatchesListAsync,GetBatchesListWithHttpInfo,GetBatchesListAsyncWithHttpInfo"))
913913
{
914914
try
915915
{
@@ -1039,9 +1039,9 @@ public async System.Threading.Tasks.Task<ApiResponse<InlineResponse2008>> GetBat
10391039
localVarHttpContentType = "multipart/form-data; boundary=" + filePostBodyAndDelimiter[1];
10401040
}
10411041

1042-
bool isMLESupportedByCybsForApi = false;
1042+
String inboundMLEStatus = "false";
10431043
MerchantConfig merchantConfig = new MerchantConfig(Configuration.MerchantConfigDictionaryObj, Configuration.MapToControlMLEonAPI);
1044-
if (MLEUtility.CheckIsMLEForAPI(merchantConfig, isMLESupportedByCybsForApi, "GetBatchesList,GetBatchesListAsync,GetBatchesListWithHttpInfo,GetBatchesListAsyncWithHttpInfo"))
1044+
if (MLEUtility.CheckIsMLEForAPI(merchantConfig, inboundMLEStatus, "GetBatchesList,GetBatchesListAsync,GetBatchesListWithHttpInfo,GetBatchesListAsyncWithHttpInfo"))
10451045
{
10461046
try
10471047
{
@@ -1145,9 +1145,9 @@ public ApiResponse< InlineResponse202 > PostBatchWithHttpInfo (Body body)
11451145
localVarPostBody = body; // byte array
11461146
}
11471147

1148-
bool isMLESupportedByCybsForApi = false;
1148+
String inboundMLEStatus = "false";
11491149
MerchantConfig merchantConfig = new MerchantConfig(Configuration.MerchantConfigDictionaryObj, Configuration.MapToControlMLEonAPI);
1150-
if (MLEUtility.CheckIsMLEForAPI(merchantConfig, isMLESupportedByCybsForApi, "PostBatch,PostBatchAsync,PostBatchWithHttpInfo,PostBatchAsyncWithHttpInfo"))
1150+
if (MLEUtility.CheckIsMLEForAPI(merchantConfig, inboundMLEStatus, "PostBatch,PostBatchAsync,PostBatchWithHttpInfo,PostBatchAsyncWithHttpInfo"))
11511151
{
11521152
try
11531153
{
@@ -1254,9 +1254,9 @@ public async System.Threading.Tasks.Task<ApiResponse<InlineResponse202>> PostBat
12541254
localVarPostBody = body; // byte array
12551255
}
12561256

1257-
bool isMLESupportedByCybsForApi = false;
1257+
String inboundMLEStatus = "false";
12581258
MerchantConfig merchantConfig = new MerchantConfig(Configuration.MerchantConfigDictionaryObj, Configuration.MapToControlMLEonAPI);
1259-
if (MLEUtility.CheckIsMLEForAPI(merchantConfig, isMLESupportedByCybsForApi, "PostBatch,PostBatchAsync,PostBatchWithHttpInfo,PostBatchAsyncWithHttpInfo"))
1259+
if (MLEUtility.CheckIsMLEForAPI(merchantConfig, inboundMLEStatus, "PostBatch,PostBatchAsync,PostBatchWithHttpInfo,PostBatchAsyncWithHttpInfo"))
12601260
{
12611261
try
12621262
{

Api/BillingAgreementsApi.cs

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -386,9 +386,9 @@ public ApiResponse< PtsV2ModifyBillingAgreementPost201Response > BillingAgreemen
386386
localVarPostBody = modifyBillingAgreement; // byte array
387387
}
388388

389-
bool isMLESupportedByCybsForApi = true;
389+
String inboundMLEStatus = "false";
390390
MerchantConfig merchantConfig = new MerchantConfig(Configuration.MerchantConfigDictionaryObj, Configuration.MapToControlMLEonAPI);
391-
if (MLEUtility.CheckIsMLEForAPI(merchantConfig, isMLESupportedByCybsForApi, "BillingAgreementsDeRegistration,BillingAgreementsDeRegistrationAsync,BillingAgreementsDeRegistrationWithHttpInfo,BillingAgreementsDeRegistrationAsyncWithHttpInfo"))
391+
if (MLEUtility.CheckIsMLEForAPI(merchantConfig, inboundMLEStatus, "BillingAgreementsDeRegistration,BillingAgreementsDeRegistrationAsync,BillingAgreementsDeRegistrationWithHttpInfo,BillingAgreementsDeRegistrationAsyncWithHttpInfo"))
392392
{
393393
try
394394
{
@@ -508,9 +508,9 @@ public async System.Threading.Tasks.Task<ApiResponse<PtsV2ModifyBillingAgreement
508508
localVarPostBody = modifyBillingAgreement; // byte array
509509
}
510510

511-
bool isMLESupportedByCybsForApi = true;
511+
String inboundMLEStatus = "false";
512512
MerchantConfig merchantConfig = new MerchantConfig(Configuration.MerchantConfigDictionaryObj, Configuration.MapToControlMLEonAPI);
513-
if (MLEUtility.CheckIsMLEForAPI(merchantConfig, isMLESupportedByCybsForApi, "BillingAgreementsDeRegistration,BillingAgreementsDeRegistrationAsync,BillingAgreementsDeRegistrationWithHttpInfo,BillingAgreementsDeRegistrationAsyncWithHttpInfo"))
513+
if (MLEUtility.CheckIsMLEForAPI(merchantConfig, inboundMLEStatus, "BillingAgreementsDeRegistration,BillingAgreementsDeRegistrationAsync,BillingAgreementsDeRegistrationWithHttpInfo,BillingAgreementsDeRegistrationAsyncWithHttpInfo"))
514514
{
515515
try
516516
{
@@ -628,9 +628,9 @@ public ApiResponse< PtsV2CreditsPost201Response1 > BillingAgreementsIntimationWi
628628
localVarPostBody = intimateBillingAgreement; // byte array
629629
}
630630

631-
bool isMLESupportedByCybsForApi = true;
631+
String inboundMLEStatus = "false";
632632
MerchantConfig merchantConfig = new MerchantConfig(Configuration.MerchantConfigDictionaryObj, Configuration.MapToControlMLEonAPI);
633-
if (MLEUtility.CheckIsMLEForAPI(merchantConfig, isMLESupportedByCybsForApi, "BillingAgreementsIntimation,BillingAgreementsIntimationAsync,BillingAgreementsIntimationWithHttpInfo,BillingAgreementsIntimationAsyncWithHttpInfo"))
633+
if (MLEUtility.CheckIsMLEForAPI(merchantConfig, inboundMLEStatus, "BillingAgreementsIntimation,BillingAgreementsIntimationAsync,BillingAgreementsIntimationWithHttpInfo,BillingAgreementsIntimationAsyncWithHttpInfo"))
634634
{
635635
try
636636
{
@@ -750,9 +750,9 @@ public async System.Threading.Tasks.Task<ApiResponse<PtsV2CreditsPost201Response
750750
localVarPostBody = intimateBillingAgreement; // byte array
751751
}
752752

753-
bool isMLESupportedByCybsForApi = true;
753+
String inboundMLEStatus = "false";
754754
MerchantConfig merchantConfig = new MerchantConfig(Configuration.MerchantConfigDictionaryObj, Configuration.MapToControlMLEonAPI);
755-
if (MLEUtility.CheckIsMLEForAPI(merchantConfig, isMLESupportedByCybsForApi, "BillingAgreementsIntimation,BillingAgreementsIntimationAsync,BillingAgreementsIntimationWithHttpInfo,BillingAgreementsIntimationAsyncWithHttpInfo"))
755+
if (MLEUtility.CheckIsMLEForAPI(merchantConfig, inboundMLEStatus, "BillingAgreementsIntimation,BillingAgreementsIntimationAsync,BillingAgreementsIntimationWithHttpInfo,BillingAgreementsIntimationAsyncWithHttpInfo"))
756756
{
757757
try
758758
{
@@ -857,9 +857,9 @@ public ApiResponse< PtsV2CreateBillingAgreementPost201Response > BillingAgreemen
857857
localVarPostBody = createBillingAgreement; // byte array
858858
}
859859

860-
bool isMLESupportedByCybsForApi = true;
860+
String inboundMLEStatus = "false";
861861
MerchantConfig merchantConfig = new MerchantConfig(Configuration.MerchantConfigDictionaryObj, Configuration.MapToControlMLEonAPI);
862-
if (MLEUtility.CheckIsMLEForAPI(merchantConfig, isMLESupportedByCybsForApi, "BillingAgreementsRegistration,BillingAgreementsRegistrationAsync,BillingAgreementsRegistrationWithHttpInfo,BillingAgreementsRegistrationAsyncWithHttpInfo"))
862+
if (MLEUtility.CheckIsMLEForAPI(merchantConfig, inboundMLEStatus, "BillingAgreementsRegistration,BillingAgreementsRegistrationAsync,BillingAgreementsRegistrationWithHttpInfo,BillingAgreementsRegistrationAsyncWithHttpInfo"))
863863
{
864864
try
865865
{
@@ -966,9 +966,9 @@ public async System.Threading.Tasks.Task<ApiResponse<PtsV2CreateBillingAgreement
966966
localVarPostBody = createBillingAgreement; // byte array
967967
}
968968

969-
bool isMLESupportedByCybsForApi = true;
969+
String inboundMLEStatus = "false";
970970
MerchantConfig merchantConfig = new MerchantConfig(Configuration.MerchantConfigDictionaryObj, Configuration.MapToControlMLEonAPI);
971-
if (MLEUtility.CheckIsMLEForAPI(merchantConfig, isMLESupportedByCybsForApi, "BillingAgreementsRegistration,BillingAgreementsRegistrationAsync,BillingAgreementsRegistrationWithHttpInfo,BillingAgreementsRegistrationAsyncWithHttpInfo"))
971+
if (MLEUtility.CheckIsMLEForAPI(merchantConfig, inboundMLEStatus, "BillingAgreementsRegistration,BillingAgreementsRegistrationAsync,BillingAgreementsRegistrationWithHttpInfo,BillingAgreementsRegistrationAsyncWithHttpInfo"))
972972
{
973973
try
974974
{

Api/BinLookupApi.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -282,9 +282,9 @@ public ApiResponse< InlineResponse2012 > GetAccountInfoWithHttpInfo (CreateBinLo
282282
localVarPostBody = createBinLookupRequest; // byte array
283283
}
284284

285-
bool isMLESupportedByCybsForApi = false;
285+
String inboundMLEStatus = "false";
286286
MerchantConfig merchantConfig = new MerchantConfig(Configuration.MerchantConfigDictionaryObj, Configuration.MapToControlMLEonAPI);
287-
if (MLEUtility.CheckIsMLEForAPI(merchantConfig, isMLESupportedByCybsForApi, "GetAccountInfo,GetAccountInfoAsync,GetAccountInfoWithHttpInfo,GetAccountInfoAsyncWithHttpInfo"))
287+
if (MLEUtility.CheckIsMLEForAPI(merchantConfig, inboundMLEStatus, "GetAccountInfo,GetAccountInfoAsync,GetAccountInfoWithHttpInfo,GetAccountInfoAsyncWithHttpInfo"))
288288
{
289289
try
290290
{
@@ -391,9 +391,9 @@ public async System.Threading.Tasks.Task<ApiResponse<InlineResponse2012>> GetAcc
391391
localVarPostBody = createBinLookupRequest; // byte array
392392
}
393393

394-
bool isMLESupportedByCybsForApi = false;
394+
String inboundMLEStatus = "false";
395395
MerchantConfig merchantConfig = new MerchantConfig(Configuration.MerchantConfigDictionaryObj, Configuration.MapToControlMLEonAPI);
396-
if (MLEUtility.CheckIsMLEForAPI(merchantConfig, isMLESupportedByCybsForApi, "GetAccountInfo,GetAccountInfoAsync,GetAccountInfoWithHttpInfo,GetAccountInfoAsyncWithHttpInfo"))
396+
if (MLEUtility.CheckIsMLEForAPI(merchantConfig, inboundMLEStatus, "GetAccountInfo,GetAccountInfoAsync,GetAccountInfoWithHttpInfo,GetAccountInfoAsyncWithHttpInfo"))
397397
{
398398
try
399399
{

Api/CaptureApi.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -298,9 +298,9 @@ public ApiResponse< PtsV2PaymentsCapturesPost201Response > CapturePaymentWithHtt
298298
localVarPostBody = capturePaymentRequest; // byte array
299299
}
300300

301-
bool isMLESupportedByCybsForApi = true;
301+
String inboundMLEStatus = "false";
302302
MerchantConfig merchantConfig = new MerchantConfig(Configuration.MerchantConfigDictionaryObj, Configuration.MapToControlMLEonAPI);
303-
if (MLEUtility.CheckIsMLEForAPI(merchantConfig, isMLESupportedByCybsForApi, "CapturePayment,CapturePaymentAsync,CapturePaymentWithHttpInfo,CapturePaymentAsyncWithHttpInfo"))
303+
if (MLEUtility.CheckIsMLEForAPI(merchantConfig, inboundMLEStatus, "CapturePayment,CapturePaymentAsync,CapturePaymentWithHttpInfo,CapturePaymentAsyncWithHttpInfo"))
304304
{
305305
try
306306
{
@@ -420,9 +420,9 @@ public async System.Threading.Tasks.Task<ApiResponse<PtsV2PaymentsCapturesPost20
420420
localVarPostBody = capturePaymentRequest; // byte array
421421
}
422422

423-
bool isMLESupportedByCybsForApi = true;
423+
String inboundMLEStatus = "false";
424424
MerchantConfig merchantConfig = new MerchantConfig(Configuration.MerchantConfigDictionaryObj, Configuration.MapToControlMLEonAPI);
425-
if (MLEUtility.CheckIsMLEForAPI(merchantConfig, isMLESupportedByCybsForApi, "CapturePayment,CapturePaymentAsync,CapturePaymentWithHttpInfo,CapturePaymentAsyncWithHttpInfo"))
425+
if (MLEUtility.CheckIsMLEForAPI(merchantConfig, inboundMLEStatus, "CapturePayment,CapturePaymentAsync,CapturePaymentWithHttpInfo,CapturePaymentAsyncWithHttpInfo"))
426426
{
427427
try
428428
{

Api/ChargebackDetailsApi.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -319,9 +319,9 @@ public ApiResponse< ReportingV3ChargebackDetailsGet200Response > GetChargebackDe
319319
localVarHttpContentType = "multipart/form-data; boundary=" + filePostBodyAndDelimiter[1];
320320
}
321321

322-
bool isMLESupportedByCybsForApi = false;
322+
String inboundMLEStatus = "false";
323323
MerchantConfig merchantConfig = new MerchantConfig(Configuration.MerchantConfigDictionaryObj, Configuration.MapToControlMLEonAPI);
324-
if (MLEUtility.CheckIsMLEForAPI(merchantConfig, isMLESupportedByCybsForApi, "GetChargebackDetails,GetChargebackDetailsAsync,GetChargebackDetailsWithHttpInfo,GetChargebackDetailsAsyncWithHttpInfo"))
324+
if (MLEUtility.CheckIsMLEForAPI(merchantConfig, inboundMLEStatus, "GetChargebackDetails,GetChargebackDetailsAsync,GetChargebackDetailsWithHttpInfo,GetChargebackDetailsAsyncWithHttpInfo"))
325325
{
326326
try
327327
{
@@ -457,9 +457,9 @@ public async System.Threading.Tasks.Task<ApiResponse<ReportingV3ChargebackDetail
457457
localVarHttpContentType = "multipart/form-data; boundary=" + filePostBodyAndDelimiter[1];
458458
}
459459

460-
bool isMLESupportedByCybsForApi = false;
460+
String inboundMLEStatus = "false";
461461
MerchantConfig merchantConfig = new MerchantConfig(Configuration.MerchantConfigDictionaryObj, Configuration.MapToControlMLEonAPI);
462-
if (MLEUtility.CheckIsMLEForAPI(merchantConfig, isMLESupportedByCybsForApi, "GetChargebackDetails,GetChargebackDetailsAsync,GetChargebackDetailsWithHttpInfo,GetChargebackDetailsAsyncWithHttpInfo"))
462+
if (MLEUtility.CheckIsMLEForAPI(merchantConfig, inboundMLEStatus, "GetChargebackDetails,GetChargebackDetailsAsync,GetChargebackDetailsWithHttpInfo,GetChargebackDetailsAsyncWithHttpInfo"))
463463
{
464464
try
465465
{

Api/ChargebackSummariesApi.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -319,9 +319,9 @@ public ApiResponse< ReportingV3ChargebackSummariesGet200Response > GetChargeback
319319
localVarHttpContentType = "multipart/form-data; boundary=" + filePostBodyAndDelimiter[1];
320320
}
321321

322-
bool isMLESupportedByCybsForApi = false;
322+
String inboundMLEStatus = "false";
323323
MerchantConfig merchantConfig = new MerchantConfig(Configuration.MerchantConfigDictionaryObj, Configuration.MapToControlMLEonAPI);
324-
if (MLEUtility.CheckIsMLEForAPI(merchantConfig, isMLESupportedByCybsForApi, "GetChargebackSummaries,GetChargebackSummariesAsync,GetChargebackSummariesWithHttpInfo,GetChargebackSummariesAsyncWithHttpInfo"))
324+
if (MLEUtility.CheckIsMLEForAPI(merchantConfig, inboundMLEStatus, "GetChargebackSummaries,GetChargebackSummariesAsync,GetChargebackSummariesWithHttpInfo,GetChargebackSummariesAsyncWithHttpInfo"))
325325
{
326326
try
327327
{
@@ -457,9 +457,9 @@ public async System.Threading.Tasks.Task<ApiResponse<ReportingV3ChargebackSummar
457457
localVarHttpContentType = "multipart/form-data; boundary=" + filePostBodyAndDelimiter[1];
458458
}
459459

460-
bool isMLESupportedByCybsForApi = false;
460+
String inboundMLEStatus = "false";
461461
MerchantConfig merchantConfig = new MerchantConfig(Configuration.MerchantConfigDictionaryObj, Configuration.MapToControlMLEonAPI);
462-
if (MLEUtility.CheckIsMLEForAPI(merchantConfig, isMLESupportedByCybsForApi, "GetChargebackSummaries,GetChargebackSummariesAsync,GetChargebackSummariesWithHttpInfo,GetChargebackSummariesAsyncWithHttpInfo"))
462+
if (MLEUtility.CheckIsMLEForAPI(merchantConfig, inboundMLEStatus, "GetChargebackSummaries,GetChargebackSummariesAsync,GetChargebackSummariesWithHttpInfo,GetChargebackSummariesAsyncWithHttpInfo"))
463463
{
464464
try
465465
{

0 commit comments

Comments
 (0)