Skip to content

Commit 667bb9e

Browse files
committed
spec updated and Auto Gen Code Aug25
1 parent 1baf7ec commit 667bb9e

File tree

162 files changed

+7042
-2727
lines changed

Some content is hidden

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

162 files changed

+7042
-2727
lines changed

Api/BatchesApi.cs

Lines changed: 66 additions & 66 deletions
Large diffs are not rendered by default.

Api/BillingAgreementsApi.cs

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

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

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

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

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

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

969-
String inboundMLEStatus = "false";
969+
String inboundMLEStatus = "optional";
970970
MerchantConfig merchantConfig = new MerchantConfig(Configuration.MerchantConfigDictionaryObj, Configuration.MapToControlMLEonAPI);
971971
if (MLEUtility.CheckIsMLEForAPI(merchantConfig, inboundMLEStatus, "BillingAgreementsRegistration,BillingAgreementsRegistrationAsync,BillingAgreementsRegistrationWithHttpInfo,BillingAgreementsRegistrationAsyncWithHttpInfo"))
972972
{

Api/CaptureApi.cs

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

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

423-
String inboundMLEStatus = "false";
423+
String inboundMLEStatus = "optional";
424424
MerchantConfig merchantConfig = new MerchantConfig(Configuration.MerchantConfigDictionaryObj, Configuration.MapToControlMLEonAPI);
425425
if (MLEUtility.CheckIsMLEForAPI(merchantConfig, inboundMLEStatus, "CapturePayment,CapturePaymentAsync,CapturePaymentWithHttpInfo,CapturePaymentAsyncWithHttpInfo"))
426426
{

Api/CreditApi.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,7 @@ public ApiResponse< PtsV2CreditsPost201Response > CreateCreditWithHttpInfo (Crea
281281
localVarPostBody = createCreditRequest; // byte array
282282
}
283283

284-
String inboundMLEStatus = "false";
284+
String inboundMLEStatus = "optional";
285285
MerchantConfig merchantConfig = new MerchantConfig(Configuration.MerchantConfigDictionaryObj, Configuration.MapToControlMLEonAPI);
286286
if (MLEUtility.CheckIsMLEForAPI(merchantConfig, inboundMLEStatus, "CreateCredit,CreateCreditAsync,CreateCreditWithHttpInfo,CreateCreditAsyncWithHttpInfo"))
287287
{
@@ -390,7 +390,7 @@ public async System.Threading.Tasks.Task<ApiResponse<PtsV2CreditsPost201Response
390390
localVarPostBody = createCreditRequest; // byte array
391391
}
392392

393-
String inboundMLEStatus = "false";
393+
String inboundMLEStatus = "optional";
394394
MerchantConfig merchantConfig = new MerchantConfig(Configuration.MerchantConfigDictionaryObj, Configuration.MapToControlMLEonAPI);
395395
if (MLEUtility.CheckIsMLEForAPI(merchantConfig, inboundMLEStatus, "CreateCredit,CreateCreditAsync,CreateCreditWithHttpInfo,CreateCreditAsyncWithHttpInfo"))
396396
{

Api/DeviceDeAssociationApi.cs

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,8 @@ public interface IDeviceDeAssociationApi : IApiAccessor
5858
/// </remarks>
5959
/// <exception cref="CyberSource.Client.ApiException">Thrown when fails to make API call</exception>
6060
/// <param name="deviceDeAssociateV3Request">deviceId that has to be de-associated to the destination organizationId.</param>
61-
/// <returns>List&lt;InlineResponse2006&gt;</returns>
62-
List<InlineResponse2006> PostDeAssociateV3Terminal (List<DeviceDeAssociateV3Request> deviceDeAssociateV3Request);
61+
/// <returns>List&lt;InlineResponse2007&gt;</returns>
62+
List<InlineResponse2007> PostDeAssociateV3Terminal (List<DeviceDeAssociateV3Request> deviceDeAssociateV3Request);
6363

6464
/// <summary>
6565
/// De-associate a device from merchant to account or reseller and from account to reseller
@@ -69,8 +69,8 @@ public interface IDeviceDeAssociationApi : IApiAccessor
6969
/// </remarks>
7070
/// <exception cref="CyberSource.Client.ApiException">Thrown when fails to make API call</exception>
7171
/// <param name="deviceDeAssociateV3Request">deviceId that has to be de-associated to the destination organizationId.</param>
72-
/// <returns>ApiResponse of List&lt;InlineResponse2006&gt;</returns>
73-
ApiResponse<List<InlineResponse2006>> PostDeAssociateV3TerminalWithHttpInfo (List<DeviceDeAssociateV3Request> deviceDeAssociateV3Request);
72+
/// <returns>ApiResponse of List&lt;InlineResponse2007&gt;</returns>
73+
ApiResponse<List<InlineResponse2007>> PostDeAssociateV3TerminalWithHttpInfo (List<DeviceDeAssociateV3Request> deviceDeAssociateV3Request);
7474
#endregion Synchronous Operations
7575
#region Asynchronous Operations
7676
/// <summary>
@@ -102,8 +102,8 @@ public interface IDeviceDeAssociationApi : IApiAccessor
102102
/// </remarks>
103103
/// <exception cref="CyberSource.Client.ApiException">Thrown when fails to make API call</exception>
104104
/// <param name="deviceDeAssociateV3Request">deviceId that has to be de-associated to the destination organizationId.</param>
105-
/// <returns>Task of List&lt;InlineResponse2006&gt;</returns>
106-
System.Threading.Tasks.Task<List<InlineResponse2006>> PostDeAssociateV3TerminalAsync (List<DeviceDeAssociateV3Request> deviceDeAssociateV3Request);
105+
/// <returns>Task of List&lt;InlineResponse2007&gt;</returns>
106+
System.Threading.Tasks.Task<List<InlineResponse2007>> PostDeAssociateV3TerminalAsync (List<DeviceDeAssociateV3Request> deviceDeAssociateV3Request);
107107

108108
/// <summary>
109109
/// De-associate a device from merchant to account or reseller and from account to reseller
@@ -113,8 +113,8 @@ public interface IDeviceDeAssociationApi : IApiAccessor
113113
/// </remarks>
114114
/// <exception cref="CyberSource.Client.ApiException">Thrown when fails to make API call</exception>
115115
/// <param name="deviceDeAssociateV3Request">deviceId that has to be de-associated to the destination organizationId.</param>
116-
/// <returns>Task of ApiResponse (List&lt;InlineResponse2006&gt;)</returns>
117-
System.Threading.Tasks.Task<ApiResponse<List<InlineResponse2006>>> PostDeAssociateV3TerminalAsyncWithHttpInfo (List<DeviceDeAssociateV3Request> deviceDeAssociateV3Request);
116+
/// <returns>Task of ApiResponse (List&lt;InlineResponse2007&gt;)</returns>
117+
System.Threading.Tasks.Task<ApiResponse<List<InlineResponse2007>>> PostDeAssociateV3TerminalAsyncWithHttpInfo (List<DeviceDeAssociateV3Request> deviceDeAssociateV3Request);
118118
#endregion Asynchronous Operations
119119
}
120120

@@ -472,12 +472,12 @@ public async System.Threading.Tasks.Task<ApiResponse<Object>> DeleteTerminalAsso
472472
/// </summary>
473473
/// <exception cref="CyberSource.Client.ApiException">Thrown when fails to make API call</exception>
474474
/// <param name="deviceDeAssociateV3Request">deviceId that has to be de-associated to the destination organizationId.</param>
475-
/// <returns>List&lt;InlineResponse2006&gt;</returns>
476-
public List<InlineResponse2006> PostDeAssociateV3Terminal (List<DeviceDeAssociateV3Request> deviceDeAssociateV3Request)
475+
/// <returns>List&lt;InlineResponse2007&gt;</returns>
476+
public List<InlineResponse2007> PostDeAssociateV3Terminal (List<DeviceDeAssociateV3Request> deviceDeAssociateV3Request)
477477
{
478478
logger.Debug("CALLING API \"PostDeAssociateV3Terminal\" STARTED");
479479
this.SetStatusCode(null);
480-
ApiResponse<List<InlineResponse2006>> localVarResponse = PostDeAssociateV3TerminalWithHttpInfo(deviceDeAssociateV3Request);
480+
ApiResponse<List<InlineResponse2007>> localVarResponse = PostDeAssociateV3TerminalWithHttpInfo(deviceDeAssociateV3Request);
481481
logger.Debug("CALLING API \"PostDeAssociateV3Terminal\" ENDED");
482482
this.SetStatusCode(localVarResponse.StatusCode);
483483
return localVarResponse.Data;
@@ -488,8 +488,8 @@ public List<InlineResponse2006> PostDeAssociateV3Terminal (List<DeviceDeAssociat
488488
/// </summary>
489489
/// <exception cref="CyberSource.Client.ApiException">Thrown when fails to make API call</exception>
490490
/// <param name="deviceDeAssociateV3Request">deviceId that has to be de-associated to the destination organizationId.</param>
491-
/// <returns>ApiResponse of List&lt;InlineResponse2006&gt;</returns>
492-
public ApiResponse< List<InlineResponse2006> > PostDeAssociateV3TerminalWithHttpInfo (List<DeviceDeAssociateV3Request> deviceDeAssociateV3Request)
491+
/// <returns>ApiResponse of List&lt;InlineResponse2007&gt;</returns>
492+
public ApiResponse< List<InlineResponse2007> > PostDeAssociateV3TerminalWithHttpInfo (List<DeviceDeAssociateV3Request> deviceDeAssociateV3Request)
493493
{
494494
LogUtility logUtility = new LogUtility();
495495

@@ -570,22 +570,22 @@ public ApiResponse< List<InlineResponse2006> > PostDeAssociateV3TerminalWithHttp
570570
}
571571
}
572572

573-
return new ApiResponse<List<InlineResponse2006>>(localVarStatusCode,
573+
return new ApiResponse<List<InlineResponse2007>>(localVarStatusCode,
574574
localVarResponse.Headers.GroupBy(h => h.Name).ToDictionary(x => x.Key, x => string.Join(", ", x.Select(h => h.Value.ToString()))),
575-
(List<InlineResponse2006>) Configuration.ApiClient.Deserialize(localVarResponse, typeof(List<InlineResponse2006>))); // Return statement
575+
(List<InlineResponse2007>) Configuration.ApiClient.Deserialize(localVarResponse, typeof(List<InlineResponse2007>))); // Return statement
576576
}
577577

578578
/// <summary>
579579
/// De-associate a device from merchant to account or reseller and from account to reseller A device will be de-associated from its current organization and moved up in the hierarchy. The device&#39;s new position will be determined by a specified destination, either an account or a portfolio. If no destination is provided, the device will default to the currently logged-in user.
580580
/// </summary>
581581
/// <exception cref="CyberSource.Client.ApiException">Thrown when fails to make API call</exception>
582582
/// <param name="deviceDeAssociateV3Request">deviceId that has to be de-associated to the destination organizationId.</param>
583-
/// <returns>Task of List&lt;InlineResponse2006&gt;</returns>
584-
public async System.Threading.Tasks.Task<List<InlineResponse2006>> PostDeAssociateV3TerminalAsync (List<DeviceDeAssociateV3Request> deviceDeAssociateV3Request)
583+
/// <returns>Task of List&lt;InlineResponse2007&gt;</returns>
584+
public async System.Threading.Tasks.Task<List<InlineResponse2007>> PostDeAssociateV3TerminalAsync (List<DeviceDeAssociateV3Request> deviceDeAssociateV3Request)
585585
{
586586
logger.Debug("CALLING API \"PostDeAssociateV3TerminalAsync\" STARTED");
587587
this.SetStatusCode(null);
588-
ApiResponse<List<InlineResponse2006>> localVarResponse = await PostDeAssociateV3TerminalAsyncWithHttpInfo(deviceDeAssociateV3Request);
588+
ApiResponse<List<InlineResponse2007>> localVarResponse = await PostDeAssociateV3TerminalAsyncWithHttpInfo(deviceDeAssociateV3Request);
589589
logger.Debug("CALLING API \"PostDeAssociateV3TerminalAsync\" ENDED");
590590
this.SetStatusCode(localVarResponse.StatusCode);
591591
return localVarResponse.Data;
@@ -597,8 +597,8 @@ public async System.Threading.Tasks.Task<List<InlineResponse2006>> PostDeAssocia
597597
/// </summary>
598598
/// <exception cref="CyberSource.Client.ApiException">Thrown when fails to make API call</exception>
599599
/// <param name="deviceDeAssociateV3Request">deviceId that has to be de-associated to the destination organizationId.</param>
600-
/// <returns>Task of ApiResponse (List&lt;InlineResponse2006&gt;)</returns>
601-
public async System.Threading.Tasks.Task<ApiResponse<List<InlineResponse2006>>> PostDeAssociateV3TerminalAsyncWithHttpInfo (List<DeviceDeAssociateV3Request> deviceDeAssociateV3Request)
600+
/// <returns>Task of ApiResponse (List&lt;InlineResponse2007&gt;)</returns>
601+
public async System.Threading.Tasks.Task<ApiResponse<List<InlineResponse2007>>> PostDeAssociateV3TerminalAsyncWithHttpInfo (List<DeviceDeAssociateV3Request> deviceDeAssociateV3Request)
602602
{
603603
LogUtility logUtility = new LogUtility();
604604

@@ -679,9 +679,9 @@ public async System.Threading.Tasks.Task<ApiResponse<List<InlineResponse2006>>>
679679
}
680680
}
681681

682-
return new ApiResponse<List<InlineResponse2006>>(localVarStatusCode,
682+
return new ApiResponse<List<InlineResponse2007>>(localVarStatusCode,
683683
localVarResponse.Headers.GroupBy(h => h.Name).ToDictionary(x => x.Key, x => string.Join(", ", x.Select(h => h.Value.ToString()))),
684-
(List<InlineResponse2006>) Configuration.ApiClient.Deserialize(localVarResponse, typeof(List<InlineResponse2006>))); // Return statement
684+
(List<InlineResponse2007>) Configuration.ApiClient.Deserialize(localVarResponse, typeof(List<InlineResponse2007>))); // Return statement
685685
}
686686
}
687687
}

0 commit comments

Comments
 (0)