Skip to content

Commit 8ea0d72

Browse files
authored
Merge pull request #154 from CyberSource/june-release
June release
2 parents 16c6c2d + 17456e8 commit 8ea0d72

File tree

107 files changed

+3383
-443
lines changed

Some content is hidden

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

107 files changed

+3383
-443
lines changed

Api/AsymmetricKeyManagementApi.cs

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
using CyberSource.Model;
1818
using NLog;
1919
using AuthenticationSdk.util;
20+
using CyberSource.Utilities.Tracking;
2021

2122
namespace CyberSource.Api
2223
{
@@ -399,6 +400,8 @@ public ApiResponse< KmsV2KeysAsymPost201Response > CreateP12KeysWithHttpInfo (Cr
399400

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

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

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

695702
if (deleteBulkP12KeysRequest != null && deleteBulkP12KeysRequest.GetType() != typeof(byte[]))
696703
{
704+
SdkTracker sdkTracker = new SdkTracker();
705+
deleteBulkP12KeysRequest = (DeleteBulkP12KeysRequest)sdkTracker.InsertDeveloperIdTracker(deleteBulkP12KeysRequest, deleteBulkP12KeysRequest.GetType().Name, Configuration.ApiClient.Configuration.MerchantConfigDictionaryObj["runEnvironment"]);
697706
localVarPostBody = Configuration.ApiClient.Serialize(deleteBulkP12KeysRequest); // http body (model) parameter
698707
}
699708
else
@@ -992,6 +1001,8 @@ public ApiResponse< Object > UpdateAsymKeyWithHttpInfo (string keyId, UpdateAsym
9921001
logger.Debug($"HTTP Request Body :\n{logUtility.ConvertDictionaryToString(localVarPathParams)}");
9931002
if (updateAsymKeysRequest != null && updateAsymKeysRequest.GetType() != typeof(byte[]))
9941003
{
1004+
SdkTracker sdkTracker = new SdkTracker();
1005+
updateAsymKeysRequest = (UpdateAsymKeysRequest)sdkTracker.InsertDeveloperIdTracker(updateAsymKeysRequest, updateAsymKeysRequest.GetType().Name, Configuration.ApiClient.Configuration.MerchantConfigDictionaryObj["runEnvironment"]);
9951006
localVarPostBody = Configuration.ApiClient.Serialize(updateAsymKeysRequest); // http body (model) parameter
9961007
}
9971008
else
@@ -1104,6 +1115,8 @@ public async System.Threading.Tasks.Task<ApiResponse<Object>> UpdateAsymKeyAsync
11041115
logger.Debug($"HTTP Request Body :\n{logUtility.ConvertDictionaryToString(localVarPathParams)}");
11051116
if (updateAsymKeysRequest != null && updateAsymKeysRequest.GetType() != typeof(byte[]))
11061117
{
1118+
SdkTracker sdkTracker = new SdkTracker();
1119+
updateAsymKeysRequest = (UpdateAsymKeysRequest)sdkTracker.InsertDeveloperIdTracker(updateAsymKeysRequest, updateAsymKeysRequest.GetType().Name, Configuration.ApiClient.Configuration.MerchantConfigDictionaryObj["runEnvironment"]);
11071120
localVarPostBody = Configuration.ApiClient.Serialize(updateAsymKeysRequest); // http body (model) parameter
11081121
}
11091122
else

Api/BatchesApi.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
using CyberSource.Model;
1818
using NLog;
1919
using AuthenticationSdk.util;
20+
using CyberSource.Utilities.Tracking;
2021

2122
namespace CyberSource.Api
2223
{
@@ -1001,6 +1002,8 @@ public ApiResponse< InlineResponse2022 > PostBatchWithHttpInfo (Body body)
10011002

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

11011104
if (body != null && body.GetType() != typeof(byte[]))
11021105
{
1106+
SdkTracker sdkTracker = new SdkTracker();
1107+
body = (Body)sdkTracker.InsertDeveloperIdTracker(body, body.GetType().Name, Configuration.ApiClient.Configuration.MerchantConfigDictionaryObj["runEnvironment"]);
11031108
localVarPostBody = Configuration.ApiClient.Serialize(body); // http body (model) parameter
11041109
}
11051110
else

Api/CaptureApi.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
using CyberSource.Model;
1818
using NLog;
1919
using AuthenticationSdk.util;
20+
using CyberSource.Utilities.Tracking;
2021

2122
namespace CyberSource.Api
2223
{
@@ -286,6 +287,8 @@ public ApiResponse< PtsV2PaymentsCapturesPost201Response > CapturePaymentWithHtt
286287
logger.Debug($"HTTP Request Body :\n{logUtility.ConvertDictionaryToString(localVarPathParams)}");
287288
if (capturePaymentRequest != null && capturePaymentRequest.GetType() != typeof(byte[]))
288289
{
290+
SdkTracker sdkTracker = new SdkTracker();
291+
capturePaymentRequest = (CapturePaymentRequest)sdkTracker.InsertDeveloperIdTracker(capturePaymentRequest, capturePaymentRequest.GetType().Name, Configuration.ApiClient.Configuration.MerchantConfigDictionaryObj["runEnvironment"]);
289292
localVarPostBody = Configuration.ApiClient.Serialize(capturePaymentRequest); // http body (model) parameter
290293
}
291294
else
@@ -398,6 +401,8 @@ public async System.Threading.Tasks.Task<ApiResponse<PtsV2PaymentsCapturesPost20
398401
logger.Debug($"HTTP Request Body :\n{logUtility.ConvertDictionaryToString(localVarPathParams)}");
399402
if (capturePaymentRequest != null && capturePaymentRequest.GetType() != typeof(byte[]))
400403
{
404+
SdkTracker sdkTracker = new SdkTracker();
405+
capturePaymentRequest = (CapturePaymentRequest)sdkTracker.InsertDeveloperIdTracker(capturePaymentRequest, capturePaymentRequest.GetType().Name, Configuration.ApiClient.Configuration.MerchantConfigDictionaryObj["runEnvironment"]);
401406
localVarPostBody = Configuration.ApiClient.Serialize(capturePaymentRequest); // http body (model) parameter
402407
}
403408
else

Api/ChargebackDetailsApi.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
using CyberSource.Model;
1818
using NLog;
1919
using AuthenticationSdk.util;
20+
using CyberSource.Utilities.Tracking;
2021

2122
namespace CyberSource.Api
2223
{

Api/ChargebackSummariesApi.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
using CyberSource.Model;
1818
using NLog;
1919
using AuthenticationSdk.util;
20+
using CyberSource.Utilities.Tracking;
2021

2122
namespace CyberSource.Api
2223
{

Api/ConversionDetailsApi.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
using CyberSource.Model;
1818
using NLog;
1919
using AuthenticationSdk.util;
20+
using CyberSource.Utilities.Tracking;
2021

2122
namespace CyberSource.Api
2223
{

Api/CreditApi.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
using CyberSource.Model;
1818
using NLog;
1919
using AuthenticationSdk.util;
20+
using CyberSource.Utilities.Tracking;
2021

2122
namespace CyberSource.Api
2223
{
@@ -269,6 +270,8 @@ public ApiResponse< PtsV2CreditsPost201Response > CreateCreditWithHttpInfo (Crea
269270

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

369372
if (createCreditRequest != null && createCreditRequest.GetType() != typeof(byte[]))
370373
{
374+
SdkTracker sdkTracker = new SdkTracker();
375+
createCreditRequest = (CreateCreditRequest)sdkTracker.InsertDeveloperIdTracker(createCreditRequest, createCreditRequest.GetType().Name, Configuration.ApiClient.Configuration.MerchantConfigDictionaryObj["runEnvironment"]);
371376
localVarPostBody = Configuration.ApiClient.Serialize(createCreditRequest); // http body (model) parameter
372377
}
373378
else

Api/CustomerApi.cs

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
using CyberSource.Model;
1818
using NLog;
1919
using AuthenticationSdk.util;
20+
using CyberSource.Utilities.Tracking;
2021

2122
namespace CyberSource.Api
2223
{
@@ -840,6 +841,8 @@ public ApiResponse< TmsV2CustomersResponse > PatchCustomerWithHttpInfo (string c
840841
}
841842
if (patchCustomerRequest != null && patchCustomerRequest.GetType() != typeof(byte[]))
842843
{
844+
SdkTracker sdkTracker = new SdkTracker();
845+
patchCustomerRequest = (PatchCustomerRequest)sdkTracker.InsertDeveloperIdTracker(patchCustomerRequest, patchCustomerRequest.GetType().Name, Configuration.ApiClient.Configuration.MerchantConfigDictionaryObj["runEnvironment"]);
843846
localVarPostBody = Configuration.ApiClient.Serialize(patchCustomerRequest); // http body (model) parameter
844847
}
845848
else
@@ -964,6 +967,8 @@ public async System.Threading.Tasks.Task<ApiResponse<TmsV2CustomersResponse>> Pa
964967
}
965968
if (patchCustomerRequest != null && patchCustomerRequest.GetType() != typeof(byte[]))
966969
{
970+
SdkTracker sdkTracker = new SdkTracker();
971+
patchCustomerRequest = (PatchCustomerRequest)sdkTracker.InsertDeveloperIdTracker(patchCustomerRequest, patchCustomerRequest.GetType().Name, Configuration.ApiClient.Configuration.MerchantConfigDictionaryObj["runEnvironment"]);
967972
localVarPostBody = Configuration.ApiClient.Serialize(patchCustomerRequest); // http body (model) parameter
968973
}
969974
else
@@ -1067,6 +1072,8 @@ public ApiResponse< TmsV2CustomersResponse > PostCustomerWithHttpInfo (PostCusto
10671072
}
10681073
if (postCustomerRequest != null && postCustomerRequest.GetType() != typeof(byte[]))
10691074
{
1075+
SdkTracker sdkTracker = new SdkTracker();
1076+
postCustomerRequest = (PostCustomerRequest)sdkTracker.InsertDeveloperIdTracker(postCustomerRequest, postCustomerRequest.GetType().Name, Configuration.ApiClient.Configuration.MerchantConfigDictionaryObj["runEnvironment"]);
10701077
localVarPostBody = Configuration.ApiClient.Serialize(postCustomerRequest); // http body (model) parameter
10711078
}
10721079
else
@@ -1172,6 +1179,8 @@ public async System.Threading.Tasks.Task<ApiResponse<TmsV2CustomersResponse>> Po
11721179
}
11731180
if (postCustomerRequest != null && postCustomerRequest.GetType() != typeof(byte[]))
11741181
{
1182+
SdkTracker sdkTracker = new SdkTracker();
1183+
postCustomerRequest = (PostCustomerRequest)sdkTracker.InsertDeveloperIdTracker(postCustomerRequest, postCustomerRequest.GetType().Name, Configuration.ApiClient.Configuration.MerchantConfigDictionaryObj["runEnvironment"]);
11751184
localVarPostBody = Configuration.ApiClient.Serialize(postCustomerRequest); // http body (model) parameter
11761185
}
11771186
else

Api/CustomerPaymentInstrumentApi.cs

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
using CyberSource.Model;
1818
using NLog;
1919
using AuthenticationSdk.util;
20+
using CyberSource.Utilities.Tracking;
2021

2122
namespace CyberSource.Api
2223
{
@@ -1203,6 +1204,8 @@ public ApiResponse< Tmsv2customersEmbeddedDefaultPaymentInstrument > PatchCustom
12031204
}
12041205
if (patchCustomerPaymentInstrumentRequest != null && patchCustomerPaymentInstrumentRequest.GetType() != typeof(byte[]))
12051206
{
1207+
SdkTracker sdkTracker = new SdkTracker();
1208+
patchCustomerPaymentInstrumentRequest = (PatchCustomerPaymentInstrumentRequest)sdkTracker.InsertDeveloperIdTracker(patchCustomerPaymentInstrumentRequest, patchCustomerPaymentInstrumentRequest.GetType().Name, Configuration.ApiClient.Configuration.MerchantConfigDictionaryObj["runEnvironment"]);
12061209
localVarPostBody = Configuration.ApiClient.Serialize(patchCustomerPaymentInstrumentRequest); // http body (model) parameter
12071210
}
12081211
else
@@ -1340,6 +1343,8 @@ public async System.Threading.Tasks.Task<ApiResponse<Tmsv2customersEmbeddedDefau
13401343
}
13411344
if (patchCustomerPaymentInstrumentRequest != null && patchCustomerPaymentInstrumentRequest.GetType() != typeof(byte[]))
13421345
{
1346+
SdkTracker sdkTracker = new SdkTracker();
1347+
patchCustomerPaymentInstrumentRequest = (PatchCustomerPaymentInstrumentRequest)sdkTracker.InsertDeveloperIdTracker(patchCustomerPaymentInstrumentRequest, patchCustomerPaymentInstrumentRequest.GetType().Name, Configuration.ApiClient.Configuration.MerchantConfigDictionaryObj["runEnvironment"]);
13431348
localVarPostBody = Configuration.ApiClient.Serialize(patchCustomerPaymentInstrumentRequest); // http body (model) parameter
13441349
}
13451350
else
@@ -1456,6 +1461,8 @@ public ApiResponse< Tmsv2customersEmbeddedDefaultPaymentInstrument > PostCustome
14561461
}
14571462
if (postCustomerPaymentInstrumentRequest != null && postCustomerPaymentInstrumentRequest.GetType() != typeof(byte[]))
14581463
{
1464+
SdkTracker sdkTracker = new SdkTracker();
1465+
postCustomerPaymentInstrumentRequest = (PostCustomerPaymentInstrumentRequest)sdkTracker.InsertDeveloperIdTracker(postCustomerPaymentInstrumentRequest, postCustomerPaymentInstrumentRequest.GetType().Name, Configuration.ApiClient.Configuration.MerchantConfigDictionaryObj["runEnvironment"]);
14591466
localVarPostBody = Configuration.ApiClient.Serialize(postCustomerPaymentInstrumentRequest); // http body (model) parameter
14601467
}
14611468
else
@@ -1574,6 +1581,8 @@ public async System.Threading.Tasks.Task<ApiResponse<Tmsv2customersEmbeddedDefau
15741581
}
15751582
if (postCustomerPaymentInstrumentRequest != null && postCustomerPaymentInstrumentRequest.GetType() != typeof(byte[]))
15761583
{
1584+
SdkTracker sdkTracker = new SdkTracker();
1585+
postCustomerPaymentInstrumentRequest = (PostCustomerPaymentInstrumentRequest)sdkTracker.InsertDeveloperIdTracker(postCustomerPaymentInstrumentRequest, postCustomerPaymentInstrumentRequest.GetType().Name, Configuration.ApiClient.Configuration.MerchantConfigDictionaryObj["runEnvironment"]);
15771586
localVarPostBody = Configuration.ApiClient.Serialize(postCustomerPaymentInstrumentRequest); // http body (model) parameter
15781587
}
15791588
else

Api/CustomerShippingAddressApi.cs

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
using CyberSource.Model;
1818
using NLog;
1919
using AuthenticationSdk.util;
20+
using CyberSource.Utilities.Tracking;
2021

2122
namespace CyberSource.Api
2223
{
@@ -1203,6 +1204,8 @@ public ApiResponse< Tmsv2customersEmbeddedDefaultShippingAddress > PatchCustomer
12031204
}
12041205
if (patchCustomerShippingAddressRequest != null && patchCustomerShippingAddressRequest.GetType() != typeof(byte[]))
12051206
{
1207+
SdkTracker sdkTracker = new SdkTracker();
1208+
patchCustomerShippingAddressRequest = (PatchCustomerShippingAddressRequest)sdkTracker.InsertDeveloperIdTracker(patchCustomerShippingAddressRequest, patchCustomerShippingAddressRequest.GetType().Name, Configuration.ApiClient.Configuration.MerchantConfigDictionaryObj["runEnvironment"]);
12061209
localVarPostBody = Configuration.ApiClient.Serialize(patchCustomerShippingAddressRequest); // http body (model) parameter
12071210
}
12081211
else
@@ -1340,6 +1343,8 @@ public async System.Threading.Tasks.Task<ApiResponse<Tmsv2customersEmbeddedDefau
13401343
}
13411344
if (patchCustomerShippingAddressRequest != null && patchCustomerShippingAddressRequest.GetType() != typeof(byte[]))
13421345
{
1346+
SdkTracker sdkTracker = new SdkTracker();
1347+
patchCustomerShippingAddressRequest = (PatchCustomerShippingAddressRequest)sdkTracker.InsertDeveloperIdTracker(patchCustomerShippingAddressRequest, patchCustomerShippingAddressRequest.GetType().Name, Configuration.ApiClient.Configuration.MerchantConfigDictionaryObj["runEnvironment"]);
13431348
localVarPostBody = Configuration.ApiClient.Serialize(patchCustomerShippingAddressRequest); // http body (model) parameter
13441349
}
13451350
else
@@ -1456,6 +1461,8 @@ public ApiResponse< Tmsv2customersEmbeddedDefaultShippingAddress > PostCustomerS
14561461
}
14571462
if (postCustomerShippingAddressRequest != null && postCustomerShippingAddressRequest.GetType() != typeof(byte[]))
14581463
{
1464+
SdkTracker sdkTracker = new SdkTracker();
1465+
postCustomerShippingAddressRequest = (PostCustomerShippingAddressRequest)sdkTracker.InsertDeveloperIdTracker(postCustomerShippingAddressRequest, postCustomerShippingAddressRequest.GetType().Name, Configuration.ApiClient.Configuration.MerchantConfigDictionaryObj["runEnvironment"]);
14591466
localVarPostBody = Configuration.ApiClient.Serialize(postCustomerShippingAddressRequest); // http body (model) parameter
14601467
}
14611468
else
@@ -1574,6 +1581,8 @@ public async System.Threading.Tasks.Task<ApiResponse<Tmsv2customersEmbeddedDefau
15741581
}
15751582
if (postCustomerShippingAddressRequest != null && postCustomerShippingAddressRequest.GetType() != typeof(byte[]))
15761583
{
1584+
SdkTracker sdkTracker = new SdkTracker();
1585+
postCustomerShippingAddressRequest = (PostCustomerShippingAddressRequest)sdkTracker.InsertDeveloperIdTracker(postCustomerShippingAddressRequest, postCustomerShippingAddressRequest.GetType().Name, Configuration.ApiClient.Configuration.MerchantConfigDictionaryObj["runEnvironment"]);
15771586
localVarPostBody = Configuration.ApiClient.Serialize(postCustomerShippingAddressRequest); // http body (model) parameter
15781587
}
15791588
else

0 commit comments

Comments
 (0)