Skip to content

Commit 4af705d

Browse files
Merge pull request #84 from CyberSource/release-may-2024
Release May 2024
2 parents 598071d + dfcd5ec commit 4af705d

File tree

354 files changed

+9163
-2858
lines changed

Some content is hidden

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

354 files changed

+9163
-2858
lines changed

cybersource-rest-auth-netstandard/AuthenticationSdk/AuthenticationSdk/util/Constants.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ public static class Constants
1414

1515
public static readonly string HostName = "apitest.cybersource.com";
1616

17-
public static readonly string HideMerchantConfigProps = "MerchantSecretKey, MerchantKeyId, KeyAlias, KeyPassword, RequestJsonData, ";
17+
public static readonly string HideMerchantConfigProps = "MerchantSecretKey, MerchantKeyId, KeyAlias, KeyPassword, KeyPass, RequestJsonData, ClientCertPassword ";
1818

1919
public static readonly List<string> OldRunEnvironmentConstants = new List<string> { "CYBERSOURCE.ENVIRONMENT.SANDBOX", "CYBERSOURCE.ENVIRONMENT.PRODUCTION", "CYBERSOURCE.ENVIRONMENT.MUTUALAUTH.SANDBOX", "CYBERSOURCE.ENVIRONMENT.MUTUALAUTH.PRODUCTION", "BANKOFAMERICA.ENVIRONMENT.SANDBOX", "BANKOFAMERICA.ENVIRONMENT.PRODUCTION", "CYBERSOURCE.IN.ENVIRONMENT.SANDBOX", "CYBESOURCE.IN.ENVIRONMENT.PRODUCTION", "CYBESOURCE.ENVIRONMENT.MUTUALAUTH.SIT" };
2020

cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Api/BatchesApiTests.cs

+3-3
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ public void GetBatchReportTest()
7373
// TODO uncomment below to test the method and replace null with proper value
7474
//string batchId = null;
7575
//var response = instance.GetBatchReport(batchId);
76-
//Assert.IsInstanceOf<InlineResponse2007> (response, "response is InlineResponse2007");
76+
//Assert.IsInstanceOf<InlineResponse2008> (response, "response is InlineResponse2008");
7777
}
7878

7979
/// <summary>
@@ -85,7 +85,7 @@ public void GetBatchStatusTest()
8585
// TODO uncomment below to test the method and replace null with proper value
8686
//string batchId = null;
8787
//var response = instance.GetBatchStatus(batchId);
88-
//Assert.IsInstanceOf<InlineResponse2006> (response, "response is InlineResponse2006");
88+
//Assert.IsInstanceOf<InlineResponse2007> (response, "response is InlineResponse2007");
8989
}
9090

9191
/// <summary>
@@ -100,7 +100,7 @@ public void GetBatchesListTest()
100100
//string fromDate = null;
101101
//string toDate = null;
102102
//var response = instance.GetBatchesList(offset, limit, fromDate, toDate);
103-
//Assert.IsInstanceOf<InlineResponse2005> (response, "response is InlineResponse2005");
103+
//Assert.IsInstanceOf<InlineResponse2006> (response, "response is InlineResponse2006");
104104
}
105105

106106
/// <summary>

cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Api/CustomerApiTests.cs

+3-3
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ public void GetCustomerTest()
8787
//string customerId = null;
8888
//string profileId = null;
8989
//var response = instance.GetCustomer(customerId, profileId);
90-
//Assert.IsInstanceOf<TmsV2CustomersResponse> (response, "response is TmsV2CustomersResponse");
90+
//Assert.IsInstanceOf<PostCustomerRequest> (response, "response is PostCustomerRequest");
9191
}
9292

9393
/// <summary>
@@ -102,7 +102,7 @@ public void PatchCustomerTest()
102102
//string profileId = null;
103103
//string ifMatch = null;
104104
//var response = instance.PatchCustomer(customerId, patchCustomerRequest, profileId, ifMatch);
105-
//Assert.IsInstanceOf<TmsV2CustomersResponse> (response, "response is TmsV2CustomersResponse");
105+
//Assert.IsInstanceOf<PatchCustomerRequest> (response, "response is PatchCustomerRequest");
106106
}
107107

108108
/// <summary>
@@ -115,7 +115,7 @@ public void PostCustomerTest()
115115
//PostCustomerRequest postCustomerRequest = null;
116116
//string profileId = null;
117117
//var response = instance.PostCustomer(postCustomerRequest, profileId);
118-
//Assert.IsInstanceOf<TmsV2CustomersResponse> (response, "response is TmsV2CustomersResponse");
118+
//Assert.IsInstanceOf<PostCustomerRequest> (response, "response is PostCustomerRequest");
119119
}
120120

121121
}

cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Api/CustomerPaymentInstrumentApiTests.cs

+3-3
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ public void GetCustomerPaymentInstrumentTest()
8989
//string paymentInstrumentId = null;
9090
//string profileId = null;
9191
//var response = instance.GetCustomerPaymentInstrument(customerId, paymentInstrumentId, profileId);
92-
//Assert.IsInstanceOf<Tmsv2customersEmbeddedDefaultPaymentInstrument> (response, "response is Tmsv2customersEmbeddedDefaultPaymentInstrument");
92+
//Assert.IsInstanceOf<PostCustomerPaymentInstrumentRequest> (response, "response is PostCustomerPaymentInstrumentRequest");
9393
}
9494

9595
/// <summary>
@@ -120,7 +120,7 @@ public void PatchCustomersPaymentInstrumentTest()
120120
//string profileId = null;
121121
//string ifMatch = null;
122122
//var response = instance.PatchCustomersPaymentInstrument(customerId, paymentInstrumentId, patchCustomerPaymentInstrumentRequest, profileId, ifMatch);
123-
//Assert.IsInstanceOf<Tmsv2customersEmbeddedDefaultPaymentInstrument> (response, "response is Tmsv2customersEmbeddedDefaultPaymentInstrument");
123+
//Assert.IsInstanceOf<PatchCustomerPaymentInstrumentRequest> (response, "response is PatchCustomerPaymentInstrumentRequest");
124124
}
125125

126126
/// <summary>
@@ -134,7 +134,7 @@ public void PostCustomerPaymentInstrumentTest()
134134
//PostCustomerPaymentInstrumentRequest postCustomerPaymentInstrumentRequest = null;
135135
//string profileId = null;
136136
//var response = instance.PostCustomerPaymentInstrument(customerId, postCustomerPaymentInstrumentRequest, profileId);
137-
//Assert.IsInstanceOf<Tmsv2customersEmbeddedDefaultPaymentInstrument> (response, "response is Tmsv2customersEmbeddedDefaultPaymentInstrument");
137+
//Assert.IsInstanceOf<PostCustomerPaymentInstrumentRequest> (response, "response is PostCustomerPaymentInstrumentRequest");
138138
}
139139

140140
}

cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Api/CustomerShippingAddressApiTests.cs

+3-3
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ public void GetCustomerShippingAddressTest()
8989
//string shippingAddressId = null;
9090
//string profileId = null;
9191
//var response = instance.GetCustomerShippingAddress(customerId, shippingAddressId, profileId);
92-
//Assert.IsInstanceOf<Tmsv2customersEmbeddedDefaultShippingAddress> (response, "response is Tmsv2customersEmbeddedDefaultShippingAddress");
92+
//Assert.IsInstanceOf<PostCustomerShippingAddressRequest> (response, "response is PostCustomerShippingAddressRequest");
9393
}
9494

9595
/// <summary>
@@ -120,7 +120,7 @@ public void PatchCustomersShippingAddressTest()
120120
//string profileId = null;
121121
//string ifMatch = null;
122122
//var response = instance.PatchCustomersShippingAddress(customerId, shippingAddressId, patchCustomerShippingAddressRequest, profileId, ifMatch);
123-
//Assert.IsInstanceOf<Tmsv2customersEmbeddedDefaultShippingAddress> (response, "response is Tmsv2customersEmbeddedDefaultShippingAddress");
123+
//Assert.IsInstanceOf<PatchCustomerShippingAddressRequest> (response, "response is PatchCustomerShippingAddressRequest");
124124
}
125125

126126
/// <summary>
@@ -134,7 +134,7 @@ public void PostCustomerShippingAddressTest()
134134
//PostCustomerShippingAddressRequest postCustomerShippingAddressRequest = null;
135135
//string profileId = null;
136136
//var response = instance.PostCustomerShippingAddress(customerId, postCustomerShippingAddressRequest, profileId);
137-
//Assert.IsInstanceOf<Tmsv2customersEmbeddedDefaultShippingAddress> (response, "response is Tmsv2customersEmbeddedDefaultShippingAddress");
137+
//Assert.IsInstanceOf<PostCustomerShippingAddressRequest> (response, "response is PostCustomerShippingAddressRequest");
138138
}
139139

140140
}

cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Api/InstrumentIdentifierApiTests.cs

+4-4
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ public void GetInstrumentIdentifierTest()
8787
//string instrumentIdentifierId = null;
8888
//string profileId = null;
8989
//var response = instance.GetInstrumentIdentifier(instrumentIdentifierId, profileId);
90-
//Assert.IsInstanceOf<TmsEmbeddedInstrumentIdentifier> (response, "response is TmsEmbeddedInstrumentIdentifier");
90+
//Assert.IsInstanceOf<PostInstrumentIdentifierRequest> (response, "response is PostInstrumentIdentifierRequest");
9191
}
9292

9393
/// <summary>
@@ -102,7 +102,7 @@ public void GetInstrumentIdentifierPaymentInstrumentsListTest()
102102
//long? offset = null;
103103
//long? limit = null;
104104
//var response = instance.GetInstrumentIdentifierPaymentInstrumentsList(instrumentIdentifierId, profileId, offset, limit);
105-
//Assert.IsInstanceOf<PaymentInstrumentList> (response, "response is PaymentInstrumentList");
105+
//Assert.IsInstanceOf<PaymentInstrumentList1> (response, "response is PaymentInstrumentList1");
106106
}
107107

108108
/// <summary>
@@ -117,7 +117,7 @@ public void PatchInstrumentIdentifierTest()
117117
//string profileId = null;
118118
//string ifMatch = null;
119119
//var response = instance.PatchInstrumentIdentifier(instrumentIdentifierId, patchInstrumentIdentifierRequest, profileId, ifMatch);
120-
//Assert.IsInstanceOf<TmsEmbeddedInstrumentIdentifier> (response, "response is TmsEmbeddedInstrumentIdentifier");
120+
//Assert.IsInstanceOf<PatchInstrumentIdentifierRequest> (response, "response is PatchInstrumentIdentifierRequest");
121121
}
122122

123123
/// <summary>
@@ -130,7 +130,7 @@ public void PostInstrumentIdentifierTest()
130130
//PostInstrumentIdentifierRequest postInstrumentIdentifierRequest = null;
131131
//string profileId = null;
132132
//var response = instance.PostInstrumentIdentifier(postInstrumentIdentifierRequest, profileId);
133-
//Assert.IsInstanceOf<TmsEmbeddedInstrumentIdentifier> (response, "response is TmsEmbeddedInstrumentIdentifier");
133+
//Assert.IsInstanceOf<PostInstrumentIdentifierRequest> (response, "response is PostInstrumentIdentifierRequest");
134134
}
135135

136136
/// <summary>

cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Api/KeymanagementApiTests.cs

+7-7
Original file line numberDiff line numberDiff line change
@@ -24,24 +24,24 @@
2424
namespace CyberSource.Test
2525
{
2626
/// <summary>
27-
/// Class for testing KeymanagementApi
27+
/// Class for testing KeyManagementApi
2828
/// </summary>
2929
/// <remarks>
3030
/// This file is automatically generated by Swagger Codegen.
3131
/// Please update the test case below to test the API endpoint.
3232
/// </remarks>
3333
[TestFixture]
34-
public class KeymanagementApiTests
34+
public class KeyManagementApiTests
3535
{
36-
private KeymanagementApi instance;
36+
private KeyManagementApi instance;
3737

3838
/// <summary>
3939
/// Setup before each unit test
4040
/// </summary>
4141
[SetUp]
4242
public void Init()
4343
{
44-
instance = new KeymanagementApi();
44+
instance = new KeyManagementApi();
4545
}
4646

4747
/// <summary>
@@ -54,13 +54,13 @@ public void Cleanup()
5454
}
5555

5656
/// <summary>
57-
/// Test an instance of KeymanagementApi
57+
/// Test an instance of KeyManagementApi
5858
/// </summary>
5959
[Test]
6060
public void InstanceTest()
6161
{
62-
// TODO uncomment below to test 'IsInstanceOfType' KeymanagementApi
63-
//Assert.IsInstanceOfType(typeof(KeymanagementApi), instance, "instance is a KeymanagementApi");
62+
// TODO uncomment below to test 'IsInstanceOfType' KeyManagementApi
63+
//Assert.IsInstanceOfType(typeof(KeyManagementApi), instance, "instance is a KeyManagementApi");
6464
}
6565

6666

cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Api/KeymanagementpasswordApiTests.cs

+7-7
Original file line numberDiff line numberDiff line change
@@ -24,24 +24,24 @@
2424
namespace CyberSource.Test
2525
{
2626
/// <summary>
27-
/// Class for testing KeymanagementpasswordApi
27+
/// Class for testing KeyManagementPasswordApi
2828
/// </summary>
2929
/// <remarks>
3030
/// This file is automatically generated by Swagger Codegen.
3131
/// Please update the test case below to test the API endpoint.
3232
/// </remarks>
3333
[TestFixture]
34-
public class KeymanagementpasswordApiTests
34+
public class KeyManagementPasswordApiTests
3535
{
36-
private KeymanagementpasswordApi instance;
36+
private KeyManagementPasswordApi instance;
3737

3838
/// <summary>
3939
/// Setup before each unit test
4040
/// </summary>
4141
[SetUp]
4242
public void Init()
4343
{
44-
instance = new KeymanagementpasswordApi();
44+
instance = new KeyManagementPasswordApi();
4545
}
4646

4747
/// <summary>
@@ -54,13 +54,13 @@ public void Cleanup()
5454
}
5555

5656
/// <summary>
57-
/// Test an instance of KeymanagementpasswordApi
57+
/// Test an instance of KeyManagementPasswordApi
5858
/// </summary>
5959
[Test]
6060
public void InstanceTest()
6161
{
62-
// TODO uncomment below to test 'IsInstanceOfType' KeymanagementpasswordApi
63-
//Assert.IsInstanceOfType(typeof(KeymanagementpasswordApi), instance, "instance is a KeymanagementpasswordApi");
62+
// TODO uncomment below to test 'IsInstanceOfType' KeyManagementPasswordApi
63+
//Assert.IsInstanceOfType(typeof(KeyManagementPasswordApi), instance, "instance is a KeyManagementPasswordApi");
6464
}
6565

6666

cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Api/KeymanagementpgpApiTests.cs

+7-7
Original file line numberDiff line numberDiff line change
@@ -24,24 +24,24 @@
2424
namespace CyberSource.Test
2525
{
2626
/// <summary>
27-
/// Class for testing KeymanagementpgpApi
27+
/// Class for testing KeyManagementPgpApi
2828
/// </summary>
2929
/// <remarks>
3030
/// This file is automatically generated by Swagger Codegen.
3131
/// Please update the test case below to test the API endpoint.
3232
/// </remarks>
3333
[TestFixture]
34-
public class KeymanagementpgpApiTests
34+
public class KeyManagementPgpApiTests
3535
{
36-
private KeymanagementpgpApi instance;
36+
private KeyManagementPgpApi instance;
3737

3838
/// <summary>
3939
/// Setup before each unit test
4040
/// </summary>
4141
[SetUp]
4242
public void Init()
4343
{
44-
instance = new KeymanagementpgpApi();
44+
instance = new KeyManagementPgpApi();
4545
}
4646

4747
/// <summary>
@@ -54,13 +54,13 @@ public void Cleanup()
5454
}
5555

5656
/// <summary>
57-
/// Test an instance of KeymanagementpgpApi
57+
/// Test an instance of KeyManagementPgpApi
5858
/// </summary>
5959
[Test]
6060
public void InstanceTest()
6161
{
62-
// TODO uncomment below to test 'IsInstanceOfType' KeymanagementpgpApi
63-
//Assert.IsInstanceOfType(typeof(KeymanagementpgpApi), instance, "instance is a KeymanagementpgpApi");
62+
// TODO uncomment below to test 'IsInstanceOfType' KeyManagementPgpApi
63+
//Assert.IsInstanceOfType(typeof(KeyManagementPgpApi), instance, "instance is a KeyManagementPgpApi");
6464
}
6565

6666

cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Api/KeymanagementscmpApiTests.cs

+7-7
Original file line numberDiff line numberDiff line change
@@ -24,24 +24,24 @@
2424
namespace CyberSource.Test
2525
{
2626
/// <summary>
27-
/// Class for testing KeymanagementscmpApi
27+
/// Class for testing KeyManagementScmpApi
2828
/// </summary>
2929
/// <remarks>
3030
/// This file is automatically generated by Swagger Codegen.
3131
/// Please update the test case below to test the API endpoint.
3232
/// </remarks>
3333
[TestFixture]
34-
public class KeymanagementscmpApiTests
34+
public class KeyManagementScmpApiTests
3535
{
36-
private KeymanagementscmpApi instance;
36+
private KeyManagementScmpApi instance;
3737

3838
/// <summary>
3939
/// Setup before each unit test
4040
/// </summary>
4141
[SetUp]
4242
public void Init()
4343
{
44-
instance = new KeymanagementscmpApi();
44+
instance = new KeyManagementScmpApi();
4545
}
4646

4747
/// <summary>
@@ -54,13 +54,13 @@ public void Cleanup()
5454
}
5555

5656
/// <summary>
57-
/// Test an instance of KeymanagementscmpApi
57+
/// Test an instance of KeyManagementScmpApi
5858
/// </summary>
5959
[Test]
6060
public void InstanceTest()
6161
{
62-
// TODO uncomment below to test 'IsInstanceOfType' KeymanagementscmpApi
63-
//Assert.IsInstanceOfType(typeof(KeymanagementscmpApi), instance, "instance is a KeymanagementscmpApi");
62+
// TODO uncomment below to test 'IsInstanceOfType' KeyManagementScmpApi
63+
//Assert.IsInstanceOfType(typeof(KeyManagementScmpApi), instance, "instance is a KeyManagementScmpApi");
6464
}
6565

6666

cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Api/ManageWebhooksApiTests.cs

+1-14
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ public void GetWebhookSubscriptionByIdTest()
8585
// TODO uncomment below to test the method and replace null with proper value
8686
//string webhookId = null;
8787
//var response = instance.GetWebhookSubscriptionById(webhookId);
88-
//Assert.IsInstanceOf<InlineResponse2004> (response, "response is InlineResponse2004");
88+
//Assert.IsInstanceOf<InlineResponse2005> (response, "response is InlineResponse2005");
8989
}
9090

9191
/// <summary>
@@ -102,19 +102,6 @@ public void GetWebhookSubscriptionsByOrgTest()
102102
//Assert.IsInstanceOf<List<InlineResponse2004>> (response, "response is List<InlineResponse2004>");
103103
}
104104

105-
/// <summary>
106-
/// Test ReplayPreviousWebhooks
107-
/// </summary>
108-
[Test]
109-
public void ReplayPreviousWebhooksTest()
110-
{
111-
// TODO uncomment below to test the method and replace null with proper value
112-
//string webhookId = null;
113-
//ReplayWebhooksRequest replayWebhooksRequest = null;
114-
//instance.ReplayPreviousWebhooks(webhookId, replayWebhooksRequest);
115-
116-
}
117-
118105
/// <summary>
119106
/// Test SaveAsymEgressKey
120107
/// </summary>

cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Api/PaymentInstrumentApiTests.cs

+3-3
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ public void GetPaymentInstrumentTest()
8787
//string paymentInstrumentId = null;
8888
//string profileId = null;
8989
//var response = instance.GetPaymentInstrument(paymentInstrumentId, profileId);
90-
//Assert.IsInstanceOf<Tmsv2customersEmbeddedDefaultPaymentInstrument> (response, "response is Tmsv2customersEmbeddedDefaultPaymentInstrument");
90+
//Assert.IsInstanceOf<PostPaymentInstrumentRequest> (response, "response is PostPaymentInstrumentRequest");
9191
}
9292

9393
/// <summary>
@@ -102,7 +102,7 @@ public void PatchPaymentInstrumentTest()
102102
//string profileId = null;
103103
//string ifMatch = null;
104104
//var response = instance.PatchPaymentInstrument(paymentInstrumentId, patchPaymentInstrumentRequest, profileId, ifMatch);
105-
//Assert.IsInstanceOf<Tmsv2customersEmbeddedDefaultPaymentInstrument> (response, "response is Tmsv2customersEmbeddedDefaultPaymentInstrument");
105+
//Assert.IsInstanceOf<PatchPaymentInstrumentRequest> (response, "response is PatchPaymentInstrumentRequest");
106106
}
107107

108108
/// <summary>
@@ -115,7 +115,7 @@ public void PostPaymentInstrumentTest()
115115
//PostPaymentInstrumentRequest postPaymentInstrumentRequest = null;
116116
//string profileId = null;
117117
//var response = instance.PostPaymentInstrument(postPaymentInstrumentRequest, profileId);
118-
//Assert.IsInstanceOf<Tmsv2customersEmbeddedDefaultPaymentInstrument> (response, "response is Tmsv2customersEmbeddedDefaultPaymentInstrument");
118+
//Assert.IsInstanceOf<PostPaymentInstrumentRequest> (response, "response is PostPaymentInstrumentRequest");
119119
}
120120

121121
}

0 commit comments

Comments
 (0)