Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 61c912f

Browse files
authoredSep 4, 2023
Merge pull request #131 from CyberSource/aug_release
Aug release
2 parents f4674b5 + 7db286c commit 61c912f

File tree

63 files changed

+7289
-168
lines changed

Some content is hidden

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

63 files changed

+7289
-168
lines changed
 

‎docs/BillingAgreementsApi.md

Lines changed: 150 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,150 @@
1+
# BillingAgreementsApi
2+
3+
All URIs are relative to *https://apitest.cybersource.com*
4+
5+
Method | HTTP request | Description
6+
------------- | ------------- | -------------
7+
[**billingAgreementsDeRegistration**](BillingAgreementsApi.md#billingAgreementsDeRegistration) | **PATCH** /pts/v2/billing-agreements/{id} | Standing Instruction Cancellation or Modification
8+
[**billingAgreementsIntimation**](BillingAgreementsApi.md#billingAgreementsIntimation) | **POST** /pts/v2/billing-agreements/{id}/intimations | Standing Instruction intimation
9+
[**billingAgreementsRegistration**](BillingAgreementsApi.md#billingAgreementsRegistration) | **POST** /pts/v2/billing-agreements | Standing Instruction completion registration
10+
11+
12+
<a name="billingAgreementsDeRegistration"></a>
13+
# **billingAgreementsDeRegistration**
14+
> PtsV2CreditsPost201Response1 billingAgreementsDeRegistration(modifyBillingAgreement, id)
15+
16+
Standing Instruction Cancellation or Modification
17+
18+
Standing Instruction with or without Token
19+
20+
### Example
21+
```java
22+
// Import classes:
23+
//import Invokers.ApiException;
24+
//import Api.BillingAgreementsApi;
25+
26+
27+
BillingAgreementsApi apiInstance = new BillingAgreementsApi();
28+
ModifyBillingAgreement modifyBillingAgreement = new ModifyBillingAgreement(); // ModifyBillingAgreement |
29+
String id = "id_example"; // String | ID for de-registration or cancellation of Billing Agreement
30+
try {
31+
PtsV2CreditsPost201Response1 result = apiInstance.billingAgreementsDeRegistration(modifyBillingAgreement, id);
32+
System.out.println(result);
33+
} catch (ApiException e) {
34+
System.err.println("Exception when calling BillingAgreementsApi#billingAgreementsDeRegistration");
35+
e.printStackTrace();
36+
}
37+
```
38+
39+
### Parameters
40+
41+
Name | Type | Description | Notes
42+
------------- | ------------- | ------------- | -------------
43+
**modifyBillingAgreement** | [**ModifyBillingAgreement**](ModifyBillingAgreement.md)| |
44+
**id** | **String**| ID for de-registration or cancellation of Billing Agreement |
45+
46+
### Return type
47+
48+
[**PtsV2CreditsPost201Response1**](PtsV2CreditsPost201Response1.md)
49+
50+
### Authorization
51+
52+
No authorization required
53+
54+
### HTTP request headers
55+
56+
- **Content-Type**: application/json;charset=utf-8
57+
- **Accept**: application/hal+json;charset=utf-8
58+
59+
<a name="billingAgreementsIntimation"></a>
60+
# **billingAgreementsIntimation**
61+
> PtsV2CreditsPost201Response1 billingAgreementsIntimation(intimateBillingAgreement, id)
62+
63+
Standing Instruction intimation
64+
65+
Standing Instruction with or without Token.
66+
67+
### Example
68+
```java
69+
// Import classes:
70+
//import Invokers.ApiException;
71+
//import Api.BillingAgreementsApi;
72+
73+
74+
BillingAgreementsApi apiInstance = new BillingAgreementsApi();
75+
IntimateBillingAgreement intimateBillingAgreement = new IntimateBillingAgreement(); // IntimateBillingAgreement |
76+
String id = "id_example"; // String | ID for intimation of Billing Agreement
77+
try {
78+
PtsV2CreditsPost201Response1 result = apiInstance.billingAgreementsIntimation(intimateBillingAgreement, id);
79+
System.out.println(result);
80+
} catch (ApiException e) {
81+
System.err.println("Exception when calling BillingAgreementsApi#billingAgreementsIntimation");
82+
e.printStackTrace();
83+
}
84+
```
85+
86+
### Parameters
87+
88+
Name | Type | Description | Notes
89+
------------- | ------------- | ------------- | -------------
90+
**intimateBillingAgreement** | [**IntimateBillingAgreement**](IntimateBillingAgreement.md)| |
91+
**id** | **String**| ID for intimation of Billing Agreement |
92+
93+
### Return type
94+
95+
[**PtsV2CreditsPost201Response1**](PtsV2CreditsPost201Response1.md)
96+
97+
### Authorization
98+
99+
No authorization required
100+
101+
### HTTP request headers
102+
103+
- **Content-Type**: application/json;charset=utf-8
104+
- **Accept**: application/hal+json;charset=utf-8
105+
106+
<a name="billingAgreementsRegistration"></a>
107+
# **billingAgreementsRegistration**
108+
> PtsV2CreditsPost201Response1 billingAgreementsRegistration(createBillingAgreement)
109+
110+
Standing Instruction completion registration
111+
112+
Standing Instruction with or without Token. Transaction amount in case First payment is coming along with registration. Only 2 decimal places allowed
113+
114+
### Example
115+
```java
116+
// Import classes:
117+
//import Invokers.ApiException;
118+
//import Api.BillingAgreementsApi;
119+
120+
121+
BillingAgreementsApi apiInstance = new BillingAgreementsApi();
122+
CreateBillingAgreement createBillingAgreement = new CreateBillingAgreement(); // CreateBillingAgreement |
123+
try {
124+
PtsV2CreditsPost201Response1 result = apiInstance.billingAgreementsRegistration(createBillingAgreement);
125+
System.out.println(result);
126+
} catch (ApiException e) {
127+
System.err.println("Exception when calling BillingAgreementsApi#billingAgreementsRegistration");
128+
e.printStackTrace();
129+
}
130+
```
131+
132+
### Parameters
133+
134+
Name | Type | Description | Notes
135+
------------- | ------------- | ------------- | -------------
136+
**createBillingAgreement** | [**CreateBillingAgreement**](CreateBillingAgreement.md)| |
137+
138+
### Return type
139+
140+
[**PtsV2CreditsPost201Response1**](PtsV2CreditsPost201Response1.md)
141+
142+
### Authorization
143+
144+
No authorization required
145+
146+
### HTTP request headers
147+
148+
- **Content-Type**: application/json;charset=utf-8
149+
- **Accept**: application/hal+json;charset=utf-8
150+

‎docs/CreateBillingAgreement.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
2+
# CreateBillingAgreement
3+
4+
## Properties
5+
Name | Type | Description | Notes
6+
------------ | ------------- | ------------- | -------------
7+
**clientReferenceInformation** | [**Ptsv2paymentsClientReferenceInformation**](Ptsv2paymentsClientReferenceInformation.md) | | [optional]
8+
**aggregatorInformation** | [**Ptsv2billingagreementsAggregatorInformation**](Ptsv2billingagreementsAggregatorInformation.md) | | [optional]
9+
**consumerAuthenticationInformation** | [**Ptsv2billingagreementsConsumerAuthenticationInformation**](Ptsv2billingagreementsConsumerAuthenticationInformation.md) | | [optional]
10+
**deviceInformation** | [**Ptsv2billingagreementsDeviceInformation**](Ptsv2billingagreementsDeviceInformation.md) | | [optional]
11+
**installmentInformation** | [**Ptsv2billingagreementsInstallmentInformation**](Ptsv2billingagreementsInstallmentInformation.md) | | [optional]
12+
**merchantInformation** | [**Ptsv2billingagreementsMerchantInformation**](Ptsv2billingagreementsMerchantInformation.md) | | [optional]
13+
**orderInformation** | [**Ptsv2billingagreementsOrderInformation**](Ptsv2billingagreementsOrderInformation.md) | | [optional]
14+
**paymentInformation** | [**Ptsv2billingagreementsPaymentInformation**](Ptsv2billingagreementsPaymentInformation.md) | | [optional]
15+
**processingInformation** | [**Ptsv2billingagreementsProcessingInformation**](Ptsv2billingagreementsProcessingInformation.md) | | [optional]
16+
17+
18+

0 commit comments

Comments
 (0)
Please sign in to comment.