Skip to content

Commit

Permalink
feat: add boleto metadata
Browse files Browse the repository at this point in the history
feat: add boleto metadata
  • Loading branch information
cernadasjuan authored Nov 12, 2024
2 parents 5296764 + 2dbd61d commit 767959b
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 3 deletions.
5 changes: 2 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>

<groupId>ai.pluggy</groupId>
<artifactId>pluggy-java</artifactId>
<version>1.4.0</version>
<version>1.5.0</version>

<packaging>jar</packaging>

Expand Down
13 changes: 13 additions & 0 deletions src/main/java/ai/pluggy/client/response/BoletoMetadata.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
package ai.pluggy.client.response;

import lombok.Data;

@Data
public class BoletoMetadata {
String digitableLine;
String barcode;
Double baseAmount;
Double interestAmount;
Double penaltyAmount;
Double discountAmount;
}
1 change: 1 addition & 0 deletions src/main/java/ai/pluggy/client/response/PaymentData.java
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,5 @@ public class PaymentData {
String paymentMethod;
String referenceNumber;
String reason;
BoletoMetadata boletoMetadata;
}

0 comments on commit 767959b

Please sign in to comment.