Skip to content
Merged
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
16 changes: 7 additions & 9 deletions .manifest.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"liblabVersion": "2.25.34",
"date": "2025-07-01T19:48:32.486Z",
"date": "2025-07-04T18:29:44.624Z",
"config": {
"apiId": 2190,
"baseUrl": "https://api.asaas.com/",
"sdkName": "asaas-sdk",
"sdkVersion": "1.0.2",
"sdkVersion": "1.0.3",
"languages": ["java"],
"auth": ["apikey"],
"docs": [],
Expand Down Expand Up @@ -73,7 +73,7 @@
"artifactId": "api-sdk",
"githubRepoName": "asaas-api-sdk-java",
"targetBranch": "master",
"sdkVersion": "1.0.2",
"sdkVersion": "1.0.3",
"homepage": "https://asaas.com",
"developers": [
{
Expand Down Expand Up @@ -101,7 +101,7 @@
"ignoreFiles": [],
"liblabVersion": "2",
"renameIllegalModelProperties": true,
"sdkVersion": "1.0.2",
"sdkVersion": "1.0.3",
"targetBranch": "master",
"groupId": "com.asaas",
"artifactId": "api-sdk",
Expand Down Expand Up @@ -177,7 +177,7 @@
},
"multiTenant": true,
"hooksLocation": {
"bucketKey": "12307/hooks.zip",
"bucketKey": "12419/hooks.zip",
"bucketName": "prod-liblab-api-stack-hooks"
},
"includeWatermark": true,
Expand Down Expand Up @@ -307,7 +307,6 @@
"documentation/models/InstallmentSaveWithCreditCardRequestDto.md",
"documentation/models/InstallmentDeleteResponseDto.md",
"documentation/models/InstallmentListPaymentsRequestPaymentStatus.md",
"documentation/models/InstallmentPaymentBookResponseDto.md",
"documentation/models/InstallmentUpdateSplitRequestDto.md",
"documentation/models/InstallmentUpdateSplitResponseDto.md",
"documentation/models/SubscriptionListResponseDto.md",
Expand Down Expand Up @@ -678,7 +677,7 @@
"documentation/models/GenerateInstallmentBookletParameters.md",
"documentation/models/ListSubscriptionsParameters.md",
"documentation/models/ListPaymentsOfASubscriptionParameters.md",
"documentation/models/GenerateSignatureBookletParameters.md",
"documentation/models/GenerateSubscriptionBookletParameters.md",
"documentation/models/ListInvoicesForSubscriptionChargesParameters.md",
"documentation/models/ListKeysParameters.md",
"documentation/models/ListTransactionsParameters.md",
Expand Down Expand Up @@ -967,7 +966,6 @@
"src/main/java/com/asaas/apisdk/models/CustomerDeleteResponseDto.java",
"src/main/java/com/asaas/apisdk/models/NotificationBatchUpdateRequestDto.java",
"src/main/java/com/asaas/apisdk/models/InstallmentDeleteResponseDto.java",
"src/main/java/com/asaas/apisdk/models/InstallmentPaymentBookResponseDto.java",
"src/main/java/com/asaas/apisdk/models/SubscriptionDeleteResponseDto.java",
"src/main/java/com/asaas/apisdk/models/SubscriptionDeleteInvoiceConfigResponseDto.java",
"src/main/java/com/asaas/apisdk/models/PixQrCodeDeleteResponseDto.java",
Expand Down Expand Up @@ -1072,7 +1070,7 @@
"src/main/java/com/asaas/apisdk/models/MyAccountGetAccountFeesPaymentDto.java",
"src/main/java/com/asaas/apisdk/models/MyAccountGetAccountFeesPaymentBankSlipDto.java",
"src/main/java/com/asaas/apisdk/models/MyAccountGetAccountFeesTransferPixDto.java",
"src/main/java/com/asaas/apisdk/models/GenerateSignatureBookletParameters.java",
"src/main/java/com/asaas/apisdk/models/GenerateSubscriptionBookletParameters.java",
"src/main/java/com/asaas/apisdk/models/ListKeysParameters.java",
"src/main/java/com/asaas/apisdk/models/ListCreditBureauReportsParameters.java",
"documentation/services/PaymentDocumentService.md",
Expand Down
11 changes: 5 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# AsaasSdk Java SDK 1.0.2
# AsaasSdk Java SDK 1.0.3

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

Expand All @@ -7,7 +7,7 @@ Welcome to the AsaasSdk SDK documentation. This guide will help you get started
## Versions

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

## About the API

Expand Down Expand Up @@ -42,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.2</version>
<version>1.0.3</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.2
implementation group: com.asaas, name: api-sdk, version: 1.0.3
```

If you use JAR files, package the SDK by running the following command:
Expand Down Expand Up @@ -320,7 +320,6 @@ The SDK includes several models that represent the data structures used in API r
| [InstallmentSaveWithCreditCardRequestDto](documentation/models/InstallmentSaveWithCreditCardRequestDto.md) | |
| [InstallmentDeleteResponseDto](documentation/models/InstallmentDeleteResponseDto.md) | |
| [InstallmentListPaymentsRequestPaymentStatus](documentation/models/InstallmentListPaymentsRequestPaymentStatus.md) | Filter by payment status |
| [InstallmentPaymentBookResponseDto](documentation/models/InstallmentPaymentBookResponseDto.md) | |
| [InstallmentUpdateSplitRequestDto](documentation/models/InstallmentUpdateSplitRequestDto.md) | |
| [InstallmentUpdateSplitResponseDto](documentation/models/InstallmentUpdateSplitResponseDto.md) | |
| [SubscriptionListResponseDto](documentation/models/SubscriptionListResponseDto.md) | |
Expand Down Expand Up @@ -682,7 +681,7 @@ The SDK includes several models that represent the data structures used in API r
| [GenerateInstallmentBookletParameters](documentation/models/GenerateInstallmentBookletParameters.md) | |
| [ListSubscriptionsParameters](documentation/models/ListSubscriptionsParameters.md) | |
| [ListPaymentsOfASubscriptionParameters](documentation/models/ListPaymentsOfASubscriptionParameters.md) | |
| [GenerateSignatureBookletParameters](documentation/models/GenerateSignatureBookletParameters.md) | |
| [GenerateSubscriptionBookletParameters](documentation/models/GenerateSubscriptionBookletParameters.md) | |
| [ListInvoicesForSubscriptionChargesParameters](documentation/models/ListInvoicesForSubscriptionChargesParameters.md) | |
| [ListKeysParameters](documentation/models/ListKeysParameters.md) | |
| [ListTransactionsParameters](documentation/models/ListTransactionsParameters.md) | |
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# GenerateSignatureBookletParameters
# GenerateSubscriptionBookletParameters

**Properties**

Expand Down
10 changes: 0 additions & 10 deletions documentation/models/InstallmentPaymentBookResponseDto.md

This file was deleted.

80 changes: 40 additions & 40 deletions documentation/services/AccountDocumentService.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,33 +72,31 @@ import com.asaas.apisdk.models.AccountDocumentSaveRequestAccountDocumentType;
import com.asaas.apisdk.models.AccountDocumentSaveRequestDto;

public class Main {
public static void main(String[] args) {
AsaasSdkConfig config = AsaasSdkConfig.builder()
.apiKeyAuthConfig(
ApiKeyAuthConfig.builder()
.apiKey("YOUR_API_KEY")
.build()
)
.build();

public static void main(String[] args) {
AsaasSdkConfig config = AsaasSdkConfig.builder()
.apiKeyAuthConfig(ApiKeyAuthConfig.builder().apiKey("YOUR_API_KEY").build())
.build();

AsaasSdk asaasSdk = new AsaasSdk(config);
AsaasSdk asaasSdk = new AsaasSdk(config);

AccountDocumentSaveRequestDto accountDocumentSaveRequestDto = AccountDocumentSaveRequestDto.builder()
.documentFile(sintl)
.type(AccountDocumentSaveRequestAccountDocumentType.IDENTIFICATION)
.build();
AccountDocumentSaveRequestDto accountDocumentSaveRequestDto = AccountDocumentSaveRequestDto.builder()
.documentFile(sintl)
.type(AccountDocumentSaveRequestAccountDocumentType.IDENTIFICATION)
.build();
AccountDocumentSaveRequestDto accountDocumentSaveRequestDto = AccountDocumentSaveRequestDto.builder()
.documentFile(ut Ut )
.type(AccountDocumentSaveRequestAccountDocumentType.IDENTIFICATION)
.build();
AccountDocumentSaveRequestDto accountDocumentSaveRequestDto = AccountDocumentSaveRequestDto.builder()
.documentFile(ut Ut )
.type(AccountDocumentSaveRequestAccountDocumentType.IDENTIFICATION)
.build();

AccountDocumentGetResponseDto response = asaasSdk.accountDocument.sendDocuments(
"8d257732-2220-11ec-b695-b6af4a64184d",
accountDocumentSaveRequestDto,
accountDocumentSaveRequestDto
);
AccountDocumentGetResponseDto response = asaasSdk.accountDocument.sendDocuments("8d257732-2220-11ec-b695-b6af4a64184d", accountDocumentSaveRequestDto, accountDocumentSaveRequestDto);

System.out.println(response);
}
System.out.println(response);
}
}

```

## viewDocumentSent
Expand Down Expand Up @@ -170,29 +168,31 @@ import com.asaas.apisdk.models.AccountDocumentGetResponseDto;
import com.asaas.apisdk.models.AccountDocumentUpdateRequestDto;

public class Main {
public static void main(String[] args) {
AsaasSdkConfig config = AsaasSdkConfig.builder()
.apiKeyAuthConfig(
ApiKeyAuthConfig.builder()
.apiKey("YOUR_API_KEY")
.build()
)
.build();

AsaasSdk asaasSdk = new AsaasSdk(config);
public static void main(String[] args) {
AsaasSdkConfig config = AsaasSdkConfig.builder()
.apiKeyAuthConfig(ApiKeyAuthConfig.builder().apiKey("YOUR_API_KEY").build())
.build();

AccountDocumentUpdateRequestDto accountDocumentUpdateRequestDto = AccountDocumentUpdateRequestDto.builder()
.documentFile(dolor cul)
.build();
AccountDocumentUpdateRequestDto accountDocumentUpdateRequestDto = AccountDocumentUpdateRequestDto.builder()
.documentFile(dolor cul)
.build();
AsaasSdk asaasSdk = new AsaasSdk(config);

AccountDocumentGetResponseDto response = asaasSdk.accountDocument.updateSentDocument("8d257732-2220-11ec-b695-b6af4a64184d", accountDocumentUpdateRequestDto, accountDocumentUpdateRequestDto);
AccountDocumentUpdateRequestDto accountDocumentUpdateRequestDto = AccountDocumentUpdateRequestDto.builder()
.documentFile(sintl)
.build();
AccountDocumentUpdateRequestDto accountDocumentUpdateRequestDto = AccountDocumentUpdateRequestDto.builder()
.documentFile(sintl)
.build();

System.out.println(response);
}
AccountDocumentGetResponseDto response = asaasSdk.accountDocument.updateSentDocument(
"8d257732-2220-11ec-b695-b6af4a64184d",
accountDocumentUpdateRequestDto,
accountDocumentUpdateRequestDto
);

System.out.println(response);
}
}

```

## removeSentDocument
Expand Down
4 changes: 2 additions & 2 deletions documentation/services/AccountInfoService.md
Original file line number Diff line number Diff line change
Expand Up @@ -183,15 +183,15 @@ public class Main {
.infoBackgroundColor("#000fff")
.fontColor("#00ff0")
.enabled(true)
.logoFile(adipisicing)
.logoFile(repre)
.build();
PaymentCheckoutConfigSaveRequestDto paymentCheckoutConfigSaveRequestDto =
PaymentCheckoutConfigSaveRequestDto.builder()
.logoBackgroundColor("#00ff00")
.infoBackgroundColor("#000fff")
.fontColor("#00ff0")
.enabled(true)
.logoFile(adipisicing)
.logoFile(repre)
.build();

PaymentCheckoutConfigGetResponseDto response = asaasSdk.accountInfo.savePaymentCheckoutPersonalization(
Expand Down
6 changes: 3 additions & 3 deletions documentation/services/AnticipationService.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ public class Main {
AsaasSdk asaasSdk = new AsaasSdk(config);

ListAnticipationsParameters requestParameters = ListAnticipationsParameters.builder()
.offset(0L)
.offset(1L)
.limit(10L)
.payment("payment")
.installment("installment")
Expand Down Expand Up @@ -140,12 +140,12 @@ public class Main {
AnticipationSaveRequestDto anticipationSaveRequestDto = AnticipationSaveRequestDto.builder()
.installment("installment")
.payment("pay_626366773834")
.documents(offic)
.documents(occaec)
.build();
AnticipationSaveRequestDto anticipationSaveRequestDto = AnticipationSaveRequestDto.builder()
.installment("installment")
.payment("pay_626366773834")
.documents(offic)
.documents(occaec)
.build();

AnticipationGetResponseDto response = asaasSdk.anticipation.requestAnticipation(
Expand Down
6 changes: 3 additions & 3 deletions documentation/services/BillService.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,9 +90,9 @@ public class Main {
.identificationField("03399.77779 29900.000000 04751.101017 1 81510000002990")
.scheduleDate("2020-03-15")
.description("Celular 03/12")
.discount(4.52D)
.interest(3.73D)
.fine(0.02D)
.discount(2.88D)
.interest(4.04D)
.fine(0.74D)
.dueDate("2020-03-30")
.value(29D)
.externalReference("056984")
Expand Down
2 changes: 1 addition & 1 deletion documentation/services/ChargebackService.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ public class Main {
AsaasSdk asaasSdk = new AsaasSdk(config);

ListChargebacksParameters requestParameters = ListChargebacksParameters.builder()
.offset(9L)
.offset(4L)
.limit(10L)
.creditCardBrand(ChargebackListRequestCreditCardBrand.VISA)
.originDisputeDateLe("2024-12-05")
Expand Down
2 changes: 1 addition & 1 deletion documentation/services/CreditBureauReportService.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public class Main {
AsaasSdk asaasSdk = new AsaasSdk(config);

ListCreditBureauReportsParameters requestParameters = ListCreditBureauReportsParameters.builder()
.offset(0L)
.offset(3L)
.limit(10L)
.startDate("startDate")
.endDate("endDate")
Expand Down
2 changes: 1 addition & 1 deletion documentation/services/FinanceService.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ public class Main {
.customer("cus_3EZfkUThUMAt")
.billingType(FinanceGetPaymentStatisticsRequestBillingType.BOLETO)
.status(FinanceGetPaymentStatisticsRequestPaymentStatus.PENDING)
.anticipated(true)
.anticipated(false)
.dateCreatedGe("2023-01-01")
.dateCreatedLe("2023-01-01")
.dueDateGe("2023-01-01")
Expand Down
2 changes: 1 addition & 1 deletion documentation/services/FinancialTransactionService.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public class Main {
AsaasSdk asaasSdk = new AsaasSdk(config);

RetrieveExtractParameters requestParameters = RetrieveExtractParameters.builder()
.offset(1L)
.offset(10L)
.limit(10L)
.startDate("2023-03-01")
.finishDate("2023-03-31")
Expand Down
10 changes: 5 additions & 5 deletions documentation/services/FiscalInfoService.md
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ public class Main {
.email("john.doe@asaas.com.br")
.municipalInscription("21779501")
.simplesNacional(false)
.culturalProjectsPromoter(true)
.culturalProjectsPromoter(false)
.cnae("6209100")
.specialTaxRegime("1")
.serviceListItem("serviceListItem")
Expand All @@ -131,15 +131,15 @@ public class Main {
.username("johndoe")
.password("password")
.accessToken("accessToken")
.certificateFile(enim ut cupid)
.certificateFile(nostrud sit in)
.certificatePassword("certificatePassword")
.nationalPortalTaxCalculationRegime("nationalPortalTaxCalculationRegime")
.build();
FiscalInfoSaveRequestDto fiscalInfoSaveRequestDto = FiscalInfoSaveRequestDto.builder()
.email("john.doe@asaas.com.br")
.municipalInscription("21779501")
.simplesNacional(false)
.culturalProjectsPromoter(true)
.culturalProjectsPromoter(false)
.cnae("6209100")
.specialTaxRegime("1")
.serviceListItem("serviceListItem")
Expand All @@ -150,7 +150,7 @@ public class Main {
.username("johndoe")
.password("password")
.accessToken("accessToken")
.certificateFile(enim ut cupid)
.certificateFile(nostrud sit in)
.certificatePassword("certificatePassword")
.nationalPortalTaxCalculationRegime("nationalPortalTaxCalculationRegime")
.build();
Expand Down Expand Up @@ -245,7 +245,7 @@ public class Main {
AsaasSdk asaasSdk = new AsaasSdk(config);

ListNbsCodesParameters requestParameters = ListNbsCodesParameters.builder()
.offset(5L)
.offset(6L)
.limit(10L)
.codeDescription("1.0101")
.build();
Expand Down
Loading