Skip to content

Commit 0a21ed6

Browse files
authored
Merge pull request #58 from CyberSource/may-release
May release
2 parents 0d20dff + b175fd1 commit 0a21ed6

File tree

69 files changed

+3123
-97
lines changed

Some content is hidden

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

69 files changed

+3123
-97
lines changed

cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/InvoicingV2InvoiceSettingsGet200ResponseInvoiceSettingsInformationTests.cs

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,22 @@ public void PayerAuthentication3DSVersionTest()
128128
{
129129
// TODO unit test for the property 'PayerAuthentication3DSVersion'
130130
}
131+
/// <summary>
132+
/// Test the property 'ShowVatNumber'
133+
/// </summary>
134+
[Test]
135+
public void ShowVatNumberTest()
136+
{
137+
// TODO unit test for the property 'ShowVatNumber'
138+
}
139+
/// <summary>
140+
/// Test the property 'VatRegistrationNumber'
141+
/// </summary>
142+
[Test]
143+
public void VatRegistrationNumberTest()
144+
{
145+
// TODO unit test for the property 'VatRegistrationNumber'
146+
}
131147

132148
}
133149

cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Invoicingv2invoiceSettingsInvoiceSettingsInformationTests.cs

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,22 @@ public void PayerAuthenticationInInvoicingTest()
128128
{
129129
// TODO unit test for the property 'PayerAuthenticationInInvoicing'
130130
}
131+
/// <summary>
132+
/// Test the property 'ShowVatNumber'
133+
/// </summary>
134+
[Test]
135+
public void ShowVatNumberTest()
136+
{
137+
// TODO unit test for the property 'ShowVatNumber'
138+
}
139+
/// <summary>
140+
/// Test the property 'VatRegistrationNumber'
141+
/// </summary>
142+
[Test]
143+
public void VatRegistrationNumberTest()
144+
{
145+
// TODO unit test for the property 'VatRegistrationNumber'
146+
}
131147

132148
}
133149

Original file line numberDiff line numberDiff line change
@@ -0,0 +1,78 @@
1+
/*
2+
* CyberSource Merged Spec
3+
*
4+
* All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html
5+
*
6+
* OpenAPI spec version: 0.0.1
7+
*
8+
* Generated by: https://github.com/swagger-api/swagger-codegen.git
9+
*/
10+
11+
12+
using NUnit.Framework;
13+
14+
using System;
15+
using System.Linq;
16+
using System.IO;
17+
using System.Collections.Generic;
18+
using CyberSource.Api;
19+
using CyberSource.Model;
20+
using CyberSource.Client;
21+
using System.Reflection;
22+
23+
namespace CyberSource.Test
24+
{
25+
/// <summary>
26+
/// Class for testing Invoicingv2invoicesCustomerInformationCompany
27+
/// </summary>
28+
/// <remarks>
29+
/// This file is automatically generated by Swagger Codegen.
30+
/// Please update the test case below to test the model.
31+
/// </remarks>
32+
[TestFixture]
33+
public class Invoicingv2invoicesCustomerInformationCompanyTests
34+
{
35+
// TODO uncomment below to declare an instance variable for Invoicingv2invoicesCustomerInformationCompany
36+
//private Invoicingv2invoicesCustomerInformationCompany instance;
37+
38+
/// <summary>
39+
/// Setup before each test
40+
/// </summary>
41+
[SetUp]
42+
public void Init()
43+
{
44+
// TODO uncomment below to create an instance of Invoicingv2invoicesCustomerInformationCompany
45+
//instance = new Invoicingv2invoicesCustomerInformationCompany();
46+
}
47+
48+
/// <summary>
49+
/// Clean up after each test
50+
/// </summary>
51+
[TearDown]
52+
public void Cleanup()
53+
{
54+
55+
}
56+
57+
/// <summary>
58+
/// Test an instance of Invoicingv2invoicesCustomerInformationCompany
59+
/// </summary>
60+
[Test]
61+
public void Invoicingv2invoicesCustomerInformationCompanyInstanceTest()
62+
{
63+
// TODO uncomment below to test "IsInstanceOfType" Invoicingv2invoicesCustomerInformationCompany
64+
//Assert.IsInstanceOfType<Invoicingv2invoicesCustomerInformationCompany> (instance, "variable 'instance' is a Invoicingv2invoicesCustomerInformationCompany");
65+
}
66+
67+
/// <summary>
68+
/// Test the property 'Name'
69+
/// </summary>
70+
[Test]
71+
public void NameTest()
72+
{
73+
// TODO unit test for the property 'Name'
74+
}
75+
76+
}
77+
78+
}

cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Invoicingv2invoicesCustomerInformationTests.cs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,14 @@ public void MerchantCustomerIdTest()
8888
{
8989
// TODO unit test for the property 'MerchantCustomerId'
9090
}
91+
/// <summary>
92+
/// Test the property 'Company'
93+
/// </summary>
94+
[Test]
95+
public void CompanyTest()
96+
{
97+
// TODO unit test for the property 'Company'
98+
}
9199

92100
}
93101

cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Invoicingv2invoicesOrderInformationAmountDetailsFreightTests.cs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,14 @@ public void TaxableTest()
8080
{
8181
// TODO unit test for the property 'Taxable'
8282
}
83+
/// <summary>
84+
/// Test the property 'TaxRate'
85+
/// </summary>
86+
[Test]
87+
public void TaxRateTest()
88+
{
89+
// TODO unit test for the property 'TaxRate'
90+
}
8391

8492
}
8593

cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Invoicingv2invoicesOrderInformationLineItemsTests.cs

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,46 @@ public void UnitPriceTest()
9696
{
9797
// TODO unit test for the property 'UnitPrice'
9898
}
99+
/// <summary>
100+
/// Test the property 'DiscountAmount'
101+
/// </summary>
102+
[Test]
103+
public void DiscountAmountTest()
104+
{
105+
// TODO unit test for the property 'DiscountAmount'
106+
}
107+
/// <summary>
108+
/// Test the property 'DiscountRate'
109+
/// </summary>
110+
[Test]
111+
public void DiscountRateTest()
112+
{
113+
// TODO unit test for the property 'DiscountRate'
114+
}
115+
/// <summary>
116+
/// Test the property 'TaxAmount'
117+
/// </summary>
118+
[Test]
119+
public void TaxAmountTest()
120+
{
121+
// TODO unit test for the property 'TaxAmount'
122+
}
123+
/// <summary>
124+
/// Test the property 'TaxRate'
125+
/// </summary>
126+
[Test]
127+
public void TaxRateTest()
128+
{
129+
// TODO unit test for the property 'TaxRate'
130+
}
131+
/// <summary>
132+
/// Test the property 'TotalAmount'
133+
/// </summary>
134+
[Test]
135+
public void TotalAmountTest()
136+
{
137+
// TODO unit test for the property 'TotalAmount'
138+
}
99139

100140
}
101141

cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/PtsV2PaymentsPost201ResponseProcessorInformationTests.cs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,14 @@ public void ForwardedAcquirerCodeTest()
145145
// TODO unit test for the property 'ForwardedAcquirerCode'
146146
}
147147
/// <summary>
148+
/// Test the property 'SettlementDate'
149+
/// </summary>
150+
[Test]
151+
public void SettlementDateTest()
152+
{
153+
// TODO unit test for the property 'SettlementDate'
154+
}
155+
/// <summary>
148156
/// Test the property 'Avs'
149157
/// </summary>
150158
[Test]

cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/PtsV2PaymentsRefundPost201ResponseProcessorInformationTests.cs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,14 @@ public void NetworkTransactionIdTest()
120120
{
121121
// TODO unit test for the property 'NetworkTransactionId'
122122
}
123+
/// <summary>
124+
/// Test the property 'SettlementDate'
125+
/// </summary>
126+
[Test]
127+
public void SettlementDateTest()
128+
{
129+
// TODO unit test for the property 'SettlementDate'
130+
}
123131

124132
}
125133

cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Ptsv2paymentsPaymentInformationPaymentTypeTests.cs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,14 @@ public void NameTest()
7373
// TODO unit test for the property 'Name'
7474
}
7575
/// <summary>
76+
/// Test the property 'SubTypeName'
77+
/// </summary>
78+
[Test]
79+
public void SubTypeNameTest()
80+
{
81+
// TODO unit test for the property 'SubTypeName'
82+
}
83+
/// <summary>
7684
/// Test the property 'Method'
7785
/// </summary>
7886
[Test]

cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Model/Ptsv2paymentsProcessingInformationTests.cs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,14 @@ public void ActionTokenTypesTest()
8989
// TODO unit test for the property 'ActionTokenTypes'
9090
}
9191
/// <summary>
92+
/// Test the property 'BinSource'
93+
/// </summary>
94+
[Test]
95+
public void BinSourceTest()
96+
{
97+
// TODO unit test for the property 'BinSource'
98+
}
99+
/// <summary>
92100
/// Test the property 'Capture'
93101
/// </summary>
94102
[Test]

0 commit comments

Comments
 (0)