Skip to content

Commit 49e192d

Browse files
committed
Adding missing files
1 parent b142ebb commit 49e192d

File tree

7 files changed

+598
-0
lines changed

7 files changed

+598
-0
lines changed
Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
/*
2+
* CyberSource Merged Spec
3+
* All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html
4+
*
5+
* OpenAPI spec version: 0.0.1
6+
*
7+
*
8+
* NOTE: This class is auto generated by the swagger code generator program.
9+
* https://github.com/swagger-api/swagger-codegen.git
10+
* Do not edit the class manually.
11+
*/
12+
13+
14+
package Api;
15+
16+
import Invokers.ApiException;
17+
import org.junit.Test;
18+
import org.junit.Ignore;
19+
20+
import java.util.ArrayList;
21+
import java.util.HashMap;
22+
import java.util.List;
23+
import java.util.Map;
24+
25+
/**
26+
* API tests for DownloadDTDApi
27+
*/
28+
@Ignore
29+
public class DownloadDTDApiTest {
30+
31+
private final DownloadDTDApi api = new DownloadDTDApi();
32+
33+
34+
/**
35+
* Download DTD for report
36+
*
37+
* Used to download DTDs for reports on no-auth.
38+
*
39+
* @throws ApiException
40+
* if the Api call fails
41+
*/
42+
@Test
43+
public void getDTDV2Test() throws ApiException {
44+
String reportDefinitionNameVersion = null;
45+
api.getDTDV2(reportDefinitionNameVersion);
46+
47+
// TODO: test validations
48+
}
49+
50+
}
Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
/*
2+
* CyberSource Merged Spec
3+
* All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html
4+
*
5+
* OpenAPI spec version: 0.0.1
6+
*
7+
*
8+
* NOTE: This class is auto generated by the swagger code generator program.
9+
* https://github.com/swagger-api/swagger-codegen.git
10+
* Do not edit the class manually.
11+
*/
12+
13+
14+
package Api;
15+
16+
import Invokers.ApiException;
17+
import org.junit.Test;
18+
import org.junit.Ignore;
19+
20+
import java.util.ArrayList;
21+
import java.util.HashMap;
22+
import java.util.List;
23+
import java.util.Map;
24+
25+
/**
26+
* API tests for DownloadXSDApi
27+
*/
28+
@Ignore
29+
public class DownloadXSDApiTest {
30+
31+
private final DownloadXSDApi api = new DownloadXSDApi();
32+
33+
34+
/**
35+
* Download XSD for report
36+
*
37+
* Used to download XSDs for reports on no-auth.
38+
*
39+
* @throws ApiException
40+
* if the Api call fails
41+
*/
42+
@Test
43+
public void getXSDV2Test() throws ApiException {
44+
String reportDefinitionNameVersion = null;
45+
api.getXSDV2(reportDefinitionNameVersion);
46+
47+
// TODO: test validations
48+
}
49+
50+
}
Lines changed: 128 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,128 @@
1+
/*
2+
* CyberSource Merged Spec
3+
* All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html
4+
*
5+
* OpenAPI spec version: 0.0.1
6+
*
7+
*
8+
* NOTE: This class is auto generated by the swagger code generator program.
9+
* https://github.com/swagger-api/swagger-codegen.git
10+
* Do not edit the class manually.
11+
*/
12+
13+
14+
package Api;
15+
16+
import Invokers.ApiException;
17+
import Model.CreateInstrumentIdentifierRequest;
18+
import Model.InlineResponse4001;
19+
import Model.TmsV1InstrumentIdentifiersDelete409Response;
20+
import Model.TmsV1InstrumentIdentifiersPaymentInstrumentsGet200Response;
21+
import Model.TmsV1InstrumentIdentifiersPost200Response;
22+
import Model.UpdateInstrumentIdentifierRequest;
23+
import org.junit.Test;
24+
import org.junit.Ignore;
25+
26+
import java.util.ArrayList;
27+
import java.util.HashMap;
28+
import java.util.List;
29+
import java.util.Map;
30+
31+
/**
32+
* API tests for InstrumentIdentifierApi
33+
*/
34+
@Ignore
35+
public class InstrumentIdentifierApiTest {
36+
37+
private final InstrumentIdentifierApi api = new InstrumentIdentifierApi();
38+
39+
40+
/**
41+
* Create an Instrument Identifier
42+
*
43+
*
44+
*
45+
* @throws ApiException
46+
* if the Api call fails
47+
*/
48+
@Test
49+
public void createInstrumentIdentifierTest() throws ApiException {
50+
String profileId = null;
51+
CreateInstrumentIdentifierRequest createInstrumentIdentifierRequest = null;
52+
TmsV1InstrumentIdentifiersPost200Response response = api.createInstrumentIdentifier(profileId, createInstrumentIdentifierRequest);
53+
54+
// TODO: test validations
55+
}
56+
57+
/**
58+
* Delete an Instrument Identifier
59+
*
60+
*
61+
*
62+
* @throws ApiException
63+
* if the Api call fails
64+
*/
65+
@Test
66+
public void deleteInstrumentIdentifierTest() throws ApiException {
67+
String profileId = null;
68+
String tokenId = null;
69+
api.deleteInstrumentIdentifier(profileId, tokenId);
70+
71+
// TODO: test validations
72+
}
73+
74+
/**
75+
* Retrieve all Payment Instruments
76+
*
77+
*
78+
*
79+
* @throws ApiException
80+
* if the Api call fails
81+
*/
82+
@Test
83+
public void getAllPaymentInstrumentsTest() throws ApiException {
84+
String profileId = null;
85+
String tokenId = null;
86+
Long offset = null;
87+
Long limit = null;
88+
TmsV1InstrumentIdentifiersPaymentInstrumentsGet200Response response = api.getAllPaymentInstruments(profileId, tokenId, offset, limit);
89+
90+
// TODO: test validations
91+
}
92+
93+
/**
94+
* Retrieve an Instrument Identifier
95+
*
96+
*
97+
*
98+
* @throws ApiException
99+
* if the Api call fails
100+
*/
101+
@Test
102+
public void getInstrumentIdentifierTest() throws ApiException {
103+
String profileId = null;
104+
String tokenId = null;
105+
TmsV1InstrumentIdentifiersPost200Response response = api.getInstrumentIdentifier(profileId, tokenId);
106+
107+
// TODO: test validations
108+
}
109+
110+
/**
111+
* Update a Instrument Identifier
112+
*
113+
*
114+
*
115+
* @throws ApiException
116+
* if the Api call fails
117+
*/
118+
@Test
119+
public void updateInstrumentIdentifierTest() throws ApiException {
120+
String profileId = null;
121+
String tokenId = null;
122+
UpdateInstrumentIdentifierRequest updateInstrumentIdentifierRequest = null;
123+
TmsV1InstrumentIdentifiersPost200Response response = api.updateInstrumentIdentifier(profileId, tokenId, updateInstrumentIdentifierRequest);
124+
125+
// TODO: test validations
126+
}
127+
128+
}
Lines changed: 107 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,107 @@
1+
/*
2+
* CyberSource Merged Spec
3+
* All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html
4+
*
5+
* OpenAPI spec version: 0.0.1
6+
*
7+
*
8+
* NOTE: This class is auto generated by the swagger code generator program.
9+
* https://github.com/swagger-api/swagger-codegen.git
10+
* Do not edit the class manually.
11+
*/
12+
13+
14+
package Api;
15+
16+
import Invokers.ApiException;
17+
import Model.CreatePaymentInstrumentRequest;
18+
import Model.InlineResponse4001;
19+
import Model.TmsV1InstrumentIdentifiersPaymentInstrumentsGet200ResponseEmbeddedPaymentInstruments;
20+
import Model.UpdatePaymentInstrumentRequest;
21+
import org.junit.Test;
22+
import org.junit.Ignore;
23+
24+
import java.util.ArrayList;
25+
import java.util.HashMap;
26+
import java.util.List;
27+
import java.util.Map;
28+
29+
/**
30+
* API tests for PaymentInstrumentApi
31+
*/
32+
@Ignore
33+
public class PaymentInstrumentApiTest {
34+
35+
private final PaymentInstrumentApi api = new PaymentInstrumentApi();
36+
37+
38+
/**
39+
* Create a Payment Instrument
40+
*
41+
*
42+
*
43+
* @throws ApiException
44+
* if the Api call fails
45+
*/
46+
@Test
47+
public void createPaymentInstrumentTest() throws ApiException {
48+
String profileId = null;
49+
CreatePaymentInstrumentRequest createPaymentInstrumentRequest = null;
50+
TmsV1InstrumentIdentifiersPaymentInstrumentsGet200ResponseEmbeddedPaymentInstruments response = api.createPaymentInstrument(profileId, createPaymentInstrumentRequest);
51+
52+
// TODO: test validations
53+
}
54+
55+
/**
56+
* Delete a Payment Instrument
57+
*
58+
*
59+
*
60+
* @throws ApiException
61+
* if the Api call fails
62+
*/
63+
@Test
64+
public void deletePaymentInstrumentTest() throws ApiException {
65+
String profileId = null;
66+
String tokenId = null;
67+
api.deletePaymentInstrument(profileId, tokenId);
68+
69+
// TODO: test validations
70+
}
71+
72+
/**
73+
* Retrieve a Payment Instrument
74+
*
75+
*
76+
*
77+
* @throws ApiException
78+
* if the Api call fails
79+
*/
80+
@Test
81+
public void getPaymentInstrumentTest() throws ApiException {
82+
String profileId = null;
83+
String tokenId = null;
84+
TmsV1InstrumentIdentifiersPaymentInstrumentsGet200ResponseEmbeddedPaymentInstruments response = api.getPaymentInstrument(profileId, tokenId);
85+
86+
// TODO: test validations
87+
}
88+
89+
/**
90+
* Update a Payment Instrument
91+
*
92+
*
93+
*
94+
* @throws ApiException
95+
* if the Api call fails
96+
*/
97+
@Test
98+
public void updatePaymentInstrumentTest() throws ApiException {
99+
String profileId = null;
100+
String tokenId = null;
101+
UpdatePaymentInstrumentRequest updatePaymentInstrumentRequest = null;
102+
TmsV1InstrumentIdentifiersPaymentInstrumentsGet200ResponseEmbeddedPaymentInstruments response = api.updatePaymentInstrument(profileId, tokenId, updatePaymentInstrumentRequest);
103+
104+
// TODO: test validations
105+
}
106+
107+
}

0 commit comments

Comments
 (0)