Skip to content

Commit

Permalink
Merge pull request #154 from CyberSource/june-release
Browse files Browse the repository at this point in the history
June release
  • Loading branch information
gaubansa authored Jul 5, 2023
2 parents 16c6c2d + 17456e8 commit 8ea0d72
Show file tree
Hide file tree
Showing 107 changed files with 3,383 additions and 443 deletions.
13 changes: 13 additions & 0 deletions Api/AsymmetricKeyManagementApi.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
using CyberSource.Model;
using NLog;
using AuthenticationSdk.util;
using CyberSource.Utilities.Tracking;

namespace CyberSource.Api
{
Expand Down Expand Up @@ -399,6 +400,8 @@ public ApiResponse< KmsV2KeysAsymPost201Response > CreateP12KeysWithHttpInfo (Cr

if (createP12KeysRequest != null && createP12KeysRequest.GetType() != typeof(byte[]))
{
SdkTracker sdkTracker = new SdkTracker();
createP12KeysRequest = (CreateP12KeysRequest)sdkTracker.InsertDeveloperIdTracker(createP12KeysRequest, createP12KeysRequest.GetType().Name, Configuration.ApiClient.Configuration.MerchantConfigDictionaryObj["runEnvironment"]);
localVarPostBody = Configuration.ApiClient.Serialize(createP12KeysRequest); // http body (model) parameter
}
else
Expand Down Expand Up @@ -498,6 +501,8 @@ public async System.Threading.Tasks.Task<ApiResponse<KmsV2KeysAsymPost201Respons

if (createP12KeysRequest != null && createP12KeysRequest.GetType() != typeof(byte[]))
{
SdkTracker sdkTracker = new SdkTracker();
createP12KeysRequest = (CreateP12KeysRequest)sdkTracker.InsertDeveloperIdTracker(createP12KeysRequest, createP12KeysRequest.GetType().Name, Configuration.ApiClient.Configuration.MerchantConfigDictionaryObj["runEnvironment"]);
localVarPostBody = Configuration.ApiClient.Serialize(createP12KeysRequest); // http body (model) parameter
}
else
Expand Down Expand Up @@ -595,6 +600,8 @@ public ApiResponse< KmsV2KeysAsymDeletesPost200Response > DeleteBulkP12KeysWithH

if (deleteBulkP12KeysRequest != null && deleteBulkP12KeysRequest.GetType() != typeof(byte[]))
{
SdkTracker sdkTracker = new SdkTracker();
deleteBulkP12KeysRequest = (DeleteBulkP12KeysRequest)sdkTracker.InsertDeveloperIdTracker(deleteBulkP12KeysRequest, deleteBulkP12KeysRequest.GetType().Name, Configuration.ApiClient.Configuration.MerchantConfigDictionaryObj["runEnvironment"]);
localVarPostBody = Configuration.ApiClient.Serialize(deleteBulkP12KeysRequest); // http body (model) parameter
}
else
Expand Down Expand Up @@ -694,6 +701,8 @@ public async System.Threading.Tasks.Task<ApiResponse<KmsV2KeysAsymDeletesPost200

if (deleteBulkP12KeysRequest != null && deleteBulkP12KeysRequest.GetType() != typeof(byte[]))
{
SdkTracker sdkTracker = new SdkTracker();
deleteBulkP12KeysRequest = (DeleteBulkP12KeysRequest)sdkTracker.InsertDeveloperIdTracker(deleteBulkP12KeysRequest, deleteBulkP12KeysRequest.GetType().Name, Configuration.ApiClient.Configuration.MerchantConfigDictionaryObj["runEnvironment"]);
localVarPostBody = Configuration.ApiClient.Serialize(deleteBulkP12KeysRequest); // http body (model) parameter
}
else
Expand Down Expand Up @@ -992,6 +1001,8 @@ public ApiResponse< Object > UpdateAsymKeyWithHttpInfo (string keyId, UpdateAsym
logger.Debug($"HTTP Request Body :\n{logUtility.ConvertDictionaryToString(localVarPathParams)}");
if (updateAsymKeysRequest != null && updateAsymKeysRequest.GetType() != typeof(byte[]))
{
SdkTracker sdkTracker = new SdkTracker();
updateAsymKeysRequest = (UpdateAsymKeysRequest)sdkTracker.InsertDeveloperIdTracker(updateAsymKeysRequest, updateAsymKeysRequest.GetType().Name, Configuration.ApiClient.Configuration.MerchantConfigDictionaryObj["runEnvironment"]);
localVarPostBody = Configuration.ApiClient.Serialize(updateAsymKeysRequest); // http body (model) parameter
}
else
Expand Down Expand Up @@ -1104,6 +1115,8 @@ public async System.Threading.Tasks.Task<ApiResponse<Object>> UpdateAsymKeyAsync
logger.Debug($"HTTP Request Body :\n{logUtility.ConvertDictionaryToString(localVarPathParams)}");
if (updateAsymKeysRequest != null && updateAsymKeysRequest.GetType() != typeof(byte[]))
{
SdkTracker sdkTracker = new SdkTracker();
updateAsymKeysRequest = (UpdateAsymKeysRequest)sdkTracker.InsertDeveloperIdTracker(updateAsymKeysRequest, updateAsymKeysRequest.GetType().Name, Configuration.ApiClient.Configuration.MerchantConfigDictionaryObj["runEnvironment"]);
localVarPostBody = Configuration.ApiClient.Serialize(updateAsymKeysRequest); // http body (model) parameter
}
else
Expand Down
5 changes: 5 additions & 0 deletions Api/BatchesApi.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
using CyberSource.Model;
using NLog;
using AuthenticationSdk.util;
using CyberSource.Utilities.Tracking;

namespace CyberSource.Api
{
Expand Down Expand Up @@ -1001,6 +1002,8 @@ public ApiResponse< InlineResponse2022 > PostBatchWithHttpInfo (Body body)

if (body != null && body.GetType() != typeof(byte[]))
{
SdkTracker sdkTracker = new SdkTracker();
body = (Body)sdkTracker.InsertDeveloperIdTracker(body, body.GetType().Name, Configuration.ApiClient.Configuration.MerchantConfigDictionaryObj["runEnvironment"]);
localVarPostBody = Configuration.ApiClient.Serialize(body); // http body (model) parameter
}
else
Expand Down Expand Up @@ -1100,6 +1103,8 @@ public async System.Threading.Tasks.Task<ApiResponse<InlineResponse2022>> PostBa

if (body != null && body.GetType() != typeof(byte[]))
{
SdkTracker sdkTracker = new SdkTracker();
body = (Body)sdkTracker.InsertDeveloperIdTracker(body, body.GetType().Name, Configuration.ApiClient.Configuration.MerchantConfigDictionaryObj["runEnvironment"]);
localVarPostBody = Configuration.ApiClient.Serialize(body); // http body (model) parameter
}
else
Expand Down
5 changes: 5 additions & 0 deletions Api/CaptureApi.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
using CyberSource.Model;
using NLog;
using AuthenticationSdk.util;
using CyberSource.Utilities.Tracking;

namespace CyberSource.Api
{
Expand Down Expand Up @@ -286,6 +287,8 @@ public ApiResponse< PtsV2PaymentsCapturesPost201Response > CapturePaymentWithHtt
logger.Debug($"HTTP Request Body :\n{logUtility.ConvertDictionaryToString(localVarPathParams)}");
if (capturePaymentRequest != null && capturePaymentRequest.GetType() != typeof(byte[]))
{
SdkTracker sdkTracker = new SdkTracker();
capturePaymentRequest = (CapturePaymentRequest)sdkTracker.InsertDeveloperIdTracker(capturePaymentRequest, capturePaymentRequest.GetType().Name, Configuration.ApiClient.Configuration.MerchantConfigDictionaryObj["runEnvironment"]);
localVarPostBody = Configuration.ApiClient.Serialize(capturePaymentRequest); // http body (model) parameter
}
else
Expand Down Expand Up @@ -398,6 +401,8 @@ public async System.Threading.Tasks.Task<ApiResponse<PtsV2PaymentsCapturesPost20
logger.Debug($"HTTP Request Body :\n{logUtility.ConvertDictionaryToString(localVarPathParams)}");
if (capturePaymentRequest != null && capturePaymentRequest.GetType() != typeof(byte[]))
{
SdkTracker sdkTracker = new SdkTracker();
capturePaymentRequest = (CapturePaymentRequest)sdkTracker.InsertDeveloperIdTracker(capturePaymentRequest, capturePaymentRequest.GetType().Name, Configuration.ApiClient.Configuration.MerchantConfigDictionaryObj["runEnvironment"]);
localVarPostBody = Configuration.ApiClient.Serialize(capturePaymentRequest); // http body (model) parameter
}
else
Expand Down
1 change: 1 addition & 0 deletions Api/ChargebackDetailsApi.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
using CyberSource.Model;
using NLog;
using AuthenticationSdk.util;
using CyberSource.Utilities.Tracking;

namespace CyberSource.Api
{
Expand Down
1 change: 1 addition & 0 deletions Api/ChargebackSummariesApi.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
using CyberSource.Model;
using NLog;
using AuthenticationSdk.util;
using CyberSource.Utilities.Tracking;

namespace CyberSource.Api
{
Expand Down
1 change: 1 addition & 0 deletions Api/ConversionDetailsApi.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
using CyberSource.Model;
using NLog;
using AuthenticationSdk.util;
using CyberSource.Utilities.Tracking;

namespace CyberSource.Api
{
Expand Down
5 changes: 5 additions & 0 deletions Api/CreditApi.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
using CyberSource.Model;
using NLog;
using AuthenticationSdk.util;
using CyberSource.Utilities.Tracking;

namespace CyberSource.Api
{
Expand Down Expand Up @@ -269,6 +270,8 @@ public ApiResponse< PtsV2CreditsPost201Response > CreateCreditWithHttpInfo (Crea

if (createCreditRequest != null && createCreditRequest.GetType() != typeof(byte[]))
{
SdkTracker sdkTracker = new SdkTracker();
createCreditRequest = (CreateCreditRequest)sdkTracker.InsertDeveloperIdTracker(createCreditRequest, createCreditRequest.GetType().Name, Configuration.ApiClient.Configuration.MerchantConfigDictionaryObj["runEnvironment"]);
localVarPostBody = Configuration.ApiClient.Serialize(createCreditRequest); // http body (model) parameter
}
else
Expand Down Expand Up @@ -368,6 +371,8 @@ public async System.Threading.Tasks.Task<ApiResponse<PtsV2CreditsPost201Response

if (createCreditRequest != null && createCreditRequest.GetType() != typeof(byte[]))
{
SdkTracker sdkTracker = new SdkTracker();
createCreditRequest = (CreateCreditRequest)sdkTracker.InsertDeveloperIdTracker(createCreditRequest, createCreditRequest.GetType().Name, Configuration.ApiClient.Configuration.MerchantConfigDictionaryObj["runEnvironment"]);
localVarPostBody = Configuration.ApiClient.Serialize(createCreditRequest); // http body (model) parameter
}
else
Expand Down
9 changes: 9 additions & 0 deletions Api/CustomerApi.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
using CyberSource.Model;
using NLog;
using AuthenticationSdk.util;
using CyberSource.Utilities.Tracking;

namespace CyberSource.Api
{
Expand Down Expand Up @@ -840,6 +841,8 @@ public ApiResponse< TmsV2CustomersResponse > PatchCustomerWithHttpInfo (string c
}
if (patchCustomerRequest != null && patchCustomerRequest.GetType() != typeof(byte[]))
{
SdkTracker sdkTracker = new SdkTracker();
patchCustomerRequest = (PatchCustomerRequest)sdkTracker.InsertDeveloperIdTracker(patchCustomerRequest, patchCustomerRequest.GetType().Name, Configuration.ApiClient.Configuration.MerchantConfigDictionaryObj["runEnvironment"]);
localVarPostBody = Configuration.ApiClient.Serialize(patchCustomerRequest); // http body (model) parameter
}
else
Expand Down Expand Up @@ -964,6 +967,8 @@ public async System.Threading.Tasks.Task<ApiResponse<TmsV2CustomersResponse>> Pa
}
if (patchCustomerRequest != null && patchCustomerRequest.GetType() != typeof(byte[]))
{
SdkTracker sdkTracker = new SdkTracker();
patchCustomerRequest = (PatchCustomerRequest)sdkTracker.InsertDeveloperIdTracker(patchCustomerRequest, patchCustomerRequest.GetType().Name, Configuration.ApiClient.Configuration.MerchantConfigDictionaryObj["runEnvironment"]);
localVarPostBody = Configuration.ApiClient.Serialize(patchCustomerRequest); // http body (model) parameter
}
else
Expand Down Expand Up @@ -1067,6 +1072,8 @@ public ApiResponse< TmsV2CustomersResponse > PostCustomerWithHttpInfo (PostCusto
}
if (postCustomerRequest != null && postCustomerRequest.GetType() != typeof(byte[]))
{
SdkTracker sdkTracker = new SdkTracker();
postCustomerRequest = (PostCustomerRequest)sdkTracker.InsertDeveloperIdTracker(postCustomerRequest, postCustomerRequest.GetType().Name, Configuration.ApiClient.Configuration.MerchantConfigDictionaryObj["runEnvironment"]);
localVarPostBody = Configuration.ApiClient.Serialize(postCustomerRequest); // http body (model) parameter
}
else
Expand Down Expand Up @@ -1172,6 +1179,8 @@ public async System.Threading.Tasks.Task<ApiResponse<TmsV2CustomersResponse>> Po
}
if (postCustomerRequest != null && postCustomerRequest.GetType() != typeof(byte[]))
{
SdkTracker sdkTracker = new SdkTracker();
postCustomerRequest = (PostCustomerRequest)sdkTracker.InsertDeveloperIdTracker(postCustomerRequest, postCustomerRequest.GetType().Name, Configuration.ApiClient.Configuration.MerchantConfigDictionaryObj["runEnvironment"]);
localVarPostBody = Configuration.ApiClient.Serialize(postCustomerRequest); // http body (model) parameter
}
else
Expand Down
9 changes: 9 additions & 0 deletions Api/CustomerPaymentInstrumentApi.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
using CyberSource.Model;
using NLog;
using AuthenticationSdk.util;
using CyberSource.Utilities.Tracking;

namespace CyberSource.Api
{
Expand Down Expand Up @@ -1203,6 +1204,8 @@ public ApiResponse< Tmsv2customersEmbeddedDefaultPaymentInstrument > PatchCustom
}
if (patchCustomerPaymentInstrumentRequest != null && patchCustomerPaymentInstrumentRequest.GetType() != typeof(byte[]))
{
SdkTracker sdkTracker = new SdkTracker();
patchCustomerPaymentInstrumentRequest = (PatchCustomerPaymentInstrumentRequest)sdkTracker.InsertDeveloperIdTracker(patchCustomerPaymentInstrumentRequest, patchCustomerPaymentInstrumentRequest.GetType().Name, Configuration.ApiClient.Configuration.MerchantConfigDictionaryObj["runEnvironment"]);
localVarPostBody = Configuration.ApiClient.Serialize(patchCustomerPaymentInstrumentRequest); // http body (model) parameter
}
else
Expand Down Expand Up @@ -1340,6 +1343,8 @@ public async System.Threading.Tasks.Task<ApiResponse<Tmsv2customersEmbeddedDefau
}
if (patchCustomerPaymentInstrumentRequest != null && patchCustomerPaymentInstrumentRequest.GetType() != typeof(byte[]))
{
SdkTracker sdkTracker = new SdkTracker();
patchCustomerPaymentInstrumentRequest = (PatchCustomerPaymentInstrumentRequest)sdkTracker.InsertDeveloperIdTracker(patchCustomerPaymentInstrumentRequest, patchCustomerPaymentInstrumentRequest.GetType().Name, Configuration.ApiClient.Configuration.MerchantConfigDictionaryObj["runEnvironment"]);
localVarPostBody = Configuration.ApiClient.Serialize(patchCustomerPaymentInstrumentRequest); // http body (model) parameter
}
else
Expand Down Expand Up @@ -1456,6 +1461,8 @@ public ApiResponse< Tmsv2customersEmbeddedDefaultPaymentInstrument > PostCustome
}
if (postCustomerPaymentInstrumentRequest != null && postCustomerPaymentInstrumentRequest.GetType() != typeof(byte[]))
{
SdkTracker sdkTracker = new SdkTracker();
postCustomerPaymentInstrumentRequest = (PostCustomerPaymentInstrumentRequest)sdkTracker.InsertDeveloperIdTracker(postCustomerPaymentInstrumentRequest, postCustomerPaymentInstrumentRequest.GetType().Name, Configuration.ApiClient.Configuration.MerchantConfigDictionaryObj["runEnvironment"]);
localVarPostBody = Configuration.ApiClient.Serialize(postCustomerPaymentInstrumentRequest); // http body (model) parameter
}
else
Expand Down Expand Up @@ -1574,6 +1581,8 @@ public async System.Threading.Tasks.Task<ApiResponse<Tmsv2customersEmbeddedDefau
}
if (postCustomerPaymentInstrumentRequest != null && postCustomerPaymentInstrumentRequest.GetType() != typeof(byte[]))
{
SdkTracker sdkTracker = new SdkTracker();
postCustomerPaymentInstrumentRequest = (PostCustomerPaymentInstrumentRequest)sdkTracker.InsertDeveloperIdTracker(postCustomerPaymentInstrumentRequest, postCustomerPaymentInstrumentRequest.GetType().Name, Configuration.ApiClient.Configuration.MerchantConfigDictionaryObj["runEnvironment"]);
localVarPostBody = Configuration.ApiClient.Serialize(postCustomerPaymentInstrumentRequest); // http body (model) parameter
}
else
Expand Down
9 changes: 9 additions & 0 deletions Api/CustomerShippingAddressApi.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
using CyberSource.Model;
using NLog;
using AuthenticationSdk.util;
using CyberSource.Utilities.Tracking;

namespace CyberSource.Api
{
Expand Down Expand Up @@ -1203,6 +1204,8 @@ public ApiResponse< Tmsv2customersEmbeddedDefaultShippingAddress > PatchCustomer
}
if (patchCustomerShippingAddressRequest != null && patchCustomerShippingAddressRequest.GetType() != typeof(byte[]))
{
SdkTracker sdkTracker = new SdkTracker();
patchCustomerShippingAddressRequest = (PatchCustomerShippingAddressRequest)sdkTracker.InsertDeveloperIdTracker(patchCustomerShippingAddressRequest, patchCustomerShippingAddressRequest.GetType().Name, Configuration.ApiClient.Configuration.MerchantConfigDictionaryObj["runEnvironment"]);
localVarPostBody = Configuration.ApiClient.Serialize(patchCustomerShippingAddressRequest); // http body (model) parameter
}
else
Expand Down Expand Up @@ -1340,6 +1343,8 @@ public async System.Threading.Tasks.Task<ApiResponse<Tmsv2customersEmbeddedDefau
}
if (patchCustomerShippingAddressRequest != null && patchCustomerShippingAddressRequest.GetType() != typeof(byte[]))
{
SdkTracker sdkTracker = new SdkTracker();
patchCustomerShippingAddressRequest = (PatchCustomerShippingAddressRequest)sdkTracker.InsertDeveloperIdTracker(patchCustomerShippingAddressRequest, patchCustomerShippingAddressRequest.GetType().Name, Configuration.ApiClient.Configuration.MerchantConfigDictionaryObj["runEnvironment"]);
localVarPostBody = Configuration.ApiClient.Serialize(patchCustomerShippingAddressRequest); // http body (model) parameter
}
else
Expand Down Expand Up @@ -1456,6 +1461,8 @@ public ApiResponse< Tmsv2customersEmbeddedDefaultShippingAddress > PostCustomerS
}
if (postCustomerShippingAddressRequest != null && postCustomerShippingAddressRequest.GetType() != typeof(byte[]))
{
SdkTracker sdkTracker = new SdkTracker();
postCustomerShippingAddressRequest = (PostCustomerShippingAddressRequest)sdkTracker.InsertDeveloperIdTracker(postCustomerShippingAddressRequest, postCustomerShippingAddressRequest.GetType().Name, Configuration.ApiClient.Configuration.MerchantConfigDictionaryObj["runEnvironment"]);
localVarPostBody = Configuration.ApiClient.Serialize(postCustomerShippingAddressRequest); // http body (model) parameter
}
else
Expand Down Expand Up @@ -1574,6 +1581,8 @@ public async System.Threading.Tasks.Task<ApiResponse<Tmsv2customersEmbeddedDefau
}
if (postCustomerShippingAddressRequest != null && postCustomerShippingAddressRequest.GetType() != typeof(byte[]))
{
SdkTracker sdkTracker = new SdkTracker();
postCustomerShippingAddressRequest = (PostCustomerShippingAddressRequest)sdkTracker.InsertDeveloperIdTracker(postCustomerShippingAddressRequest, postCustomerShippingAddressRequest.GetType().Name, Configuration.ApiClient.Configuration.MerchantConfigDictionaryObj["runEnvironment"]);
localVarPostBody = Configuration.ApiClient.Serialize(postCustomerShippingAddressRequest); // http body (model) parameter
}
else
Expand Down
Loading

0 comments on commit 8ea0d72

Please sign in to comment.