Skip to content

Commit b917444

Browse files
author
andreals
committed
Automated commit message
1 parent 1a292ef commit b917444

38 files changed

+5582
-4691
lines changed

README.md

Lines changed: 46 additions & 46 deletions
Large diffs are not rendered by default.

doc/controllers/balance-operations.md

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -10,38 +10,34 @@ BalanceOperationsController balanceOperationsController = client.getBalanceOpera
1010

1111
## Methods
1212

13-
* [Get Balance Operations](../../doc/controllers/balance-operations.md#get-balance-operations)
14-
* [Get Balance Operation by Id](../../doc/controllers/balance-operations.md#get-balance-operation-by-id)
13+
* [Get Balance Operation by Id](../../doc/controllers/balance-operations.md#get-balance-operation-by-id)
14+
* [Get Balance Operations](../../doc/controllers/balance-operations.md#get-balance-operations)
1515

1616

17-
# Get Balance Operations
17+
# Get Balance Operation by Id
1818

1919
```java
20-
ListBalanceOperationResponse getBalanceOperations(
21-
final String status,
22-
final LocalDateTime createdSince,
23-
final LocalDateTime createdUntil,
24-
final String recipientId)
20+
GetBalanceOperationResponse getBalanceOperationById(
21+
final long id)
2522
```
2623

2724
## Parameters
2825

2926
| Parameter | Type | Tags | Description |
3027
| --- | --- | --- | --- |
31-
| `status` | `String` | Query, Optional | - |
32-
| `createdSince` | `LocalDateTime` | Query, Optional | - |
33-
| `createdUntil` | `LocalDateTime` | Query, Optional | - |
34-
| `recipientId` | `String` | Query, Optional | - |
28+
| `id` | `long` | Template, Required | - |
3529

3630
## Response Type
3731

38-
[`ListBalanceOperationResponse`](../../doc/models/list-balance-operation-response.md)
32+
[`GetBalanceOperationResponse`](../../doc/models/get-balance-operation-response.md)
3933

4034
## Example Usage
4135

4236
```java
37+
long id = 112L;
38+
4339
try {
44-
ListBalanceOperationResponse result = balanceOperationsController.getBalanceOperations(null, null, null, null);
40+
GetBalanceOperationResponse result = balanceOperationsController.getBalanceOperationById(id);
4541
System.out.println(result);
4642
} catch (ApiException e) {
4743
e.printStackTrace();
@@ -51,30 +47,34 @@ try {
5147
```
5248

5349

54-
# Get Balance Operation by Id
50+
# Get Balance Operations
5551

5652
```java
57-
GetBalanceOperationResponse getBalanceOperationById(
58-
final long id)
53+
ListBalanceOperationResponse getBalanceOperations(
54+
final String status,
55+
final LocalDateTime createdSince,
56+
final LocalDateTime createdUntil,
57+
final String recipientId)
5958
```
6059

6160
## Parameters
6261

6362
| Parameter | Type | Tags | Description |
6463
| --- | --- | --- | --- |
65-
| `id` | `long` | Template, Required | - |
64+
| `status` | `String` | Query, Optional | - |
65+
| `createdSince` | `LocalDateTime` | Query, Optional | - |
66+
| `createdUntil` | `LocalDateTime` | Query, Optional | - |
67+
| `recipientId` | `String` | Query, Optional | - |
6668

6769
## Response Type
6870

69-
[`GetBalanceOperationResponse`](../../doc/models/get-balance-operation-response.md)
71+
[`ListBalanceOperationResponse`](../../doc/models/list-balance-operation-response.md)
7072

7173
## Example Usage
7274

7375
```java
74-
long id = 112L;
75-
7676
try {
77-
GetBalanceOperationResponse result = balanceOperationsController.getBalanceOperationById(id);
77+
ListBalanceOperationResponse result = balanceOperationsController.getBalanceOperations(null, null, null, null);
7878
System.out.println(result);
7979
} catch (ApiException e) {
8080
e.printStackTrace();

0 commit comments

Comments
 (0)