Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
71 changes: 51 additions & 20 deletions .manifest.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"liblabVersion": "2.25.34",
"date": "2025-07-04T18:29:44.624Z",
"liblabVersion": "2.25.37",
"date": "2025-07-24T13:16:18.329Z",
"config": {
"apiId": 2190,
"baseUrl": "https://api.asaas.com/",
"sdkName": "asaas-sdk",
"sdkVersion": "1.0.3",
"sdkVersion": "1.0.4",
"languages": ["java"],
"auth": ["apikey"],
"docs": [],
Expand All @@ -17,7 +17,7 @@
"sdkName": "asaas-sdk",
"apiVersion": "3.0.0",
"apiName": "Asaas",
"languages": ["java"],
"languages": ["java", "typescript", "php"],
"auth": ["apikey"],
"customizations": {
"environments": [
Expand Down Expand Up @@ -57,23 +57,30 @@
},
"languageOptions": {
"typescript": {
"bundle": true,
"exportClassDefault": false,
"httpClient": "axios",
"npmName": "",
"npmOrg": "",
"githubRepoName": "",
"ignoreFiles": [],
"liblabVersion": "2",
"githubRepoName": "asaas-api-sdk-typescript",
"targetBranch": "master",
"sdkVersion": "1.0.0",
"liblabVersion": "2"
"homepage": "https://asaas.com",
"authors": [
{
"name": "Integrações Asaas",
"email": "integracoes@asaas.com.br"
}
],
"httpClient": "axios",
"bundle": true,
"exportClassDefault": true,
"npmOrg": "asaas",
"npmName": "api_sdk"
},
"java": {
"liblabVersion": "2",
"groupId": "com.asaas",
"artifactId": "api-sdk",
"githubRepoName": "asaas-api-sdk-java",
"targetBranch": "master",
"sdkVersion": "1.0.3",
"sdkVersion": "1.0.4",
"homepage": "https://asaas.com",
"developers": [
{
Expand All @@ -83,6 +90,13 @@
"organizationUrl": "https://github.com/asaasdev/"
}
]
},
"php": {
"liblabVersion": "2",
"githubRepoName": "asaas-api-sdk-php",
"targetBranch": "master",
"sdkVersion": "1.0.0",
"packageName": "asaas/api-sdk"
}
},
"publishing": {
Expand All @@ -101,7 +115,7 @@
"ignoreFiles": [],
"liblabVersion": "2",
"renameIllegalModelProperties": true,
"sdkVersion": "1.0.3",
"sdkVersion": "1.0.4",
"targetBranch": "master",
"groupId": "com.asaas",
"artifactId": "api-sdk",
Expand All @@ -115,19 +129,36 @@
}
]
},
"php": {
"githubRepoName": "asaas-api-sdk-php",
"ignoreFiles": [],
"liblabVersion": "2",
"renameIllegalModelProperties": true,
"sdkVersion": "1.0.0",
"targetBranch": "master",
"packageName": "asaas/api-sdk"
},
"typescript": {
"githubRepoName": "",
"authors": [
{
"email": "integracoes@asaas.com.br",
"name": "Integrações Asaas"
}
],
"githubRepoName": "asaas-api-sdk-typescript",
"homepage": "https://asaas.com",
"ignoreFiles": [],
"liblabVersion": "2",
"renameIllegalModelProperties": true,
"sdkVersion": "1.0.0",
"targetBranch": "master",
"bundle": true,
"denoteCommon": false,
"exportClassDefault": false,
"exportClassDefault": true,
"generateEnumAs": "enum",
"httpClient": "axios",
"npmName": "",
"npmOrg": ""
"npmName": "api_sdk",
"npmOrg": "asaas"
}
},
"validationsToIgnore": [],
Expand Down Expand Up @@ -177,7 +208,7 @@
},
"multiTenant": true,
"hooksLocation": {
"bucketKey": "12419/hooks.zip",
"bucketKey": "12924/hooks.zip",
"bucketName": "prod-liblab-api-stack-hooks"
},
"includeWatermark": true,
Expand Down Expand Up @@ -1088,7 +1119,6 @@
"src/main/java/com/asaas/apisdk/models/BankSlipBillingInfoResponseDto.java",
"src/main/java/com/asaas/apisdk/models/SubscriptionSplitRequestDto.java",
"src/main/java/com/asaas/apisdk/models/PaymentLinkFileImageResponseDto.java",
"src/main/java/com/asaas/apisdk/models/CheckoutSessionItemsDto.java",
"src/main/java/com/asaas/apisdk/models/TransferSaveInternalTransferAccountDto.java",
"src/main/java/com/asaas/apisdk/models/MobilePhoneRechargeFindProviderResponseValuesDto.java",
"src/main/java/com/asaas/apisdk/models/ListTransactionsParameters.java",
Expand Down Expand Up @@ -1139,6 +1169,7 @@
"src/main/java/com/asaas/apisdk/models/PaymentDocumentFileResponseDto.java",
"src/main/java/com/asaas/apisdk/models/InvoiceTaxesDto.java",
"src/main/java/com/asaas/apisdk/models/PixTransactionExternalAccountResponseDto.java",
"src/main/java/com/asaas/apisdk/models/CheckoutSessionItemsDto.java",
"src/main/java/com/asaas/apisdk/models/PaymentDunningSimulateResponseTypeSimulationItemDto.java",
"src/main/java/com/asaas/apisdk/models/PaymentDunningPaymentsAvailableForDunningResponseDataTypeSimulationItemDto.java",
"src/main/java/com/asaas/apisdk/models/ListPaymentsLinksParameters.java",
Expand Down
20 changes: 8 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,13 @@
# Asaas Java SDK 1.0.3
# AsaasSdk Java SDK 1.0.4

Welcome to the official Asaas API Sdk documentation.
Welcome to the AsaasSdk SDK documentation. This guide will help you get started with integrating and using the AsaasSdk SDK in your project.

This guide will help you get started with integrating and using the Asaas SDK in your project.

You can find the dependency on Sonatype [here](https://central.sonatype.com/artifact/com.asaas/api-sdk).

[![This SDK was generated by liblab](https://public-liblab-readme-assets.s3.us-east-1.amazonaws.com/built-by-liblab-icon.svg)](https://liblab.com/?utm_source=readme)
[![This SDK was generated by liblab](https://raw.githubusercontent.com/liblaber/liblab-assets/main/assets/built-by-liblab-icon.svg)](https://liblab.com/?utm_source=readme)

## Versions

- API version: `3.0.0`
- SDK version: `1.0.3`
- SDK version: `1.0.4`

## About the API

Expand Down Expand Up @@ -46,14 +42,14 @@ If you use Maven, place the following within the _dependency_ tag in your `pom.x
<dependency>
<groupId>com.asaas</groupId>
<artifactId>api-sdk</artifactId>
<version>1.0.3</version>
<version>1.0.4</version>
</dependency>
```

If you use Gradle, paste the next line inside the _dependencies_ block of your `build.gradle` file:

```Gradle
implementation group: com.asaas, name: api-sdk, version: 1.0.3
implementation group: com.asaas, name: api-sdk, version: 1.0.4
```

If you use JAR files, package the SDK by running the following command:
Expand Down Expand Up @@ -222,7 +218,7 @@ public class Main {

The SDK provides various services to interact with the API.

<details>
<details>
<summary>Below is a list of all available services with links to their detailed documentation:</summary>

| Name |
Expand Down Expand Up @@ -266,7 +262,7 @@ The SDK provides various services to interact with the API.

The SDK includes several models that represent the data structures used in API requests and responses. These models help in organizing and managing the data efficiently.

<details>
<details>
<summary>Below is a list of all available models with links to their detailed documentation:</summary>

| Name | Description |
Expand Down
15 changes: 8 additions & 7 deletions documentation/models/CheckoutSessionItemsDto.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,13 @@ List of items at checkout

**Properties**

| Name | Type | Required | Description |
| :---------- | :----- | :------- | :------------------- |
| imageBase64 | String | ✅ | Item image in Base64 |
| name | String | ✅ | Item name |
| quantity | Long | ✅ | Item Quantity |
| value | Double | ✅ | Item value |
| description | String | ❌ | Item Description |
| Name | Type | Required | Description |
| :---------------- | :----- | :------- | :------------------------------------ |
| imageBase64 | String | ✅ | Item image in Base64 |
| name | String | ✅ | Item name |
| quantity | Long | ✅ | Item Quantity |
| value | Double | ✅ | Item value |
| externalReference | String | ❌ | Item unique identifier in your system |
| description | String | ❌ | Item Description |

<!-- This file was generated by liblab | https://liblab.com/ -->
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ Split status
| Name | Type | Required | Description |
| :-------------------------- | :----- | :------- | :---------------------------- |
| PENDING | String | ✅ | "PENDING" |
| PROCESSING | String | ✅ | "PROCESSING" |
| AWAITING_CREDIT | String | ✅ | "AWAITING_CREDIT" |
| CANCELLED | String | ✅ | "CANCELLED" |
| DONE | String | ✅ | "DONE" |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ Split status
| Name | Type | Required | Description |
| :-------------------------- | :----- | :------- | :---------------------------- |
| PENDING | String | ✅ | "PENDING" |
| PROCESSING | String | ✅ | "PROCESSING" |
| AWAITING_CREDIT | String | ✅ | "AWAITING_CREDIT" |
| CANCELLED | String | ✅ | "CANCELLED" |
| DONE | String | ✅ | "DONE" |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ Filter by status
| Name | Type | Required | Description |
| :-------------------------- | :----- | :------- | :---------------------------- |
| PENDING | String | ✅ | "PENDING" |
| PROCESSING | String | ✅ | "PROCESSING" |
| AWAITING_CREDIT | String | ✅ | "AWAITING_CREDIT" |
| CANCELLED | String | ✅ | "CANCELLED" |
| DONE | String | ✅ | "DONE" |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ Filter by status
| Name | Type | Required | Description |
| :-------------------------- | :----- | :------- | :---------------------------- |
| PENDING | String | ✅ | "PENDING" |
| PROCESSING | String | ✅ | "PROCESSING" |
| AWAITING_CREDIT | String | ✅ | "AWAITING_CREDIT" |
| CANCELLED | String | ✅ | "CANCELLED" |
| DONE | String | ✅ | "DONE" |
Expand Down
1 change: 1 addition & 0 deletions documentation/services/CheckoutService.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ public class Main {
.build();

CheckoutSessionItemsDto checkoutSessionItemsDto = CheckoutSessionItemsDto.builder()
.externalReference("ea28b0ba-4980-44f6-9f44-def89880dca5")
.description("Camisetas")
.imageBase64("IMAGE IN BASE64")
.name("Roupas")
Expand Down
2 changes: 1 addition & 1 deletion examples/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<dependency>
<groupId>com.asaas</groupId>
<artifactId>api-sdk</artifactId>
<version>1.0.3</version>
<version>1.0.4</version>
</dependency>
</dependencies>

Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

<groupId>com.asaas</groupId>
<artifactId>api-sdk</artifactId>
<version>1.0.3</version>
<version>1.0.4</version>

<!-- See https://central.sonatype.org/publish/requirements/#project-name-description-and-url -->
<name>${project.groupId}:${project.artifactId}</name>
Expand Down
19 changes: 19 additions & 0 deletions src/main/java/com/asaas/apisdk/models/CheckoutSessionItemsDto.java
Original file line number Diff line number Diff line change
Expand Up @@ -48,12 +48,23 @@ public class CheckoutSessionItemsDto {
@NonNull
private Double value;

/**
* Item unique identifier in your system
*/
@JsonProperty("externalReference")
private JsonNullable<String> externalReference;

/**
* Item Description
*/
@JsonProperty("description")
private JsonNullable<String> description;

@JsonIgnore
public String getExternalReference() {
return externalReference.orElse(null);
}

@JsonIgnore
public String getDescription() {
return description.orElse(null);
Expand All @@ -62,6 +73,14 @@ public String getDescription() {
// Overwrite lombok builder methods
public static class CheckoutSessionItemsDtoBuilder {

private JsonNullable<String> externalReference = JsonNullable.undefined();

@JsonProperty("externalReference")
public CheckoutSessionItemsDtoBuilder externalReference(String value) {
this.externalReference = JsonNullable.of(value);
return this;
}

private JsonNullable<String> description = JsonNullable.undefined();

@JsonProperty("description")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
@AllArgsConstructor
public enum InstallmentSplitGetResponsePaymentSplitStatus {
PENDING("PENDING"),
PROCESSING("PROCESSING"),
AWAITING_CREDIT("AWAITING_CREDIT"),
CANCELLED("CANCELLED"),
DONE("DONE"),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
@AllArgsConstructor
public enum PaymentSplitGetResponsePaymentSplitStatus {
PENDING("PENDING"),
PROCESSING("PROCESSING"),
AWAITING_CREDIT("AWAITING_CREDIT"),
CANCELLED("CANCELLED"),
DONE("DONE"),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
@AllArgsConstructor
public enum PaymentSplitListPaidRequestPaymentSplitStatus {
PENDING("PENDING"),
PROCESSING("PROCESSING"),
AWAITING_CREDIT("AWAITING_CREDIT"),
CANCELLED("CANCELLED"),
DONE("DONE"),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
@AllArgsConstructor
public enum PaymentSplitListReceivedRequestPaymentSplitStatus {
PENDING("PENDING"),
PROCESSING("PROCESSING"),
AWAITING_CREDIT("AWAITING_CREDIT"),
CANCELLED("CANCELLED"),
DONE("DONE"),
Expand Down