Skip to content

Commit dec28d8

Browse files
Merge pull request #41 from pagarme/CodeGen-Java
Adding property legal_name with sdk version 6.8.16
2 parents 8b294db + c8370d7 commit dec28d8

Some content is hidden

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

47 files changed

+4784
-4779
lines changed

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ License:
33
The MIT License (MIT)
44
http://opensource.org/licenses/MIT
55

6-
Copyright (c) 2014 - 2024 APIMATIC Limited
6+
Copyright (c) 2014 - 2025 APIMATIC Limited
77

88
Permission is hereby granted, free of charge, to any person obtaining a copy
99
of this software and associated documentation files (the "Software"), to deal

README.md

Lines changed: 49 additions & 49 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,34 +10,38 @@ BalanceOperationsController balanceOperationsController = client.getBalanceOpera
1010

1111
## Methods
1212

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)
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)
1515

1616

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

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

2427
## Parameters
2528

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

3036
## Response Type
3137

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

3440
## Example Usage
3541

3642
```java
37-
long id = 112L;
38-
3943
try {
40-
GetBalanceOperationResponse result = balanceOperationsController.getBalanceOperationById(id);
44+
ListBalanceOperationResponse result = balanceOperationsController.getBalanceOperations(null, null, null, null);
4145
System.out.println(result);
4246
} catch (ApiException e) {
4347
e.printStackTrace();
@@ -47,34 +51,30 @@ try {
4751
```
4852

4953

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

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

6061
## Parameters
6162

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

6967
## Response Type
7068

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

7371
## Example Usage
7472

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

0 commit comments

Comments
 (0)