diff --git a/pom.xml b/pom.xml index de47164..8838253 100644 --- a/pom.xml +++ b/pom.xml @@ -1,11 +1,10 @@ + 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"> 4.0.0 ai.pluggy pluggy-java - 1.4.0 + 1.5.0 jar diff --git a/src/main/java/ai/pluggy/client/response/BoletoMetadata.java b/src/main/java/ai/pluggy/client/response/BoletoMetadata.java new file mode 100644 index 0000000..d8ff88a --- /dev/null +++ b/src/main/java/ai/pluggy/client/response/BoletoMetadata.java @@ -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; +} diff --git a/src/main/java/ai/pluggy/client/response/PaymentData.java b/src/main/java/ai/pluggy/client/response/PaymentData.java index 6a6f842..c95f2c3 100644 --- a/src/main/java/ai/pluggy/client/response/PaymentData.java +++ b/src/main/java/ai/pluggy/client/response/PaymentData.java @@ -9,4 +9,5 @@ public class PaymentData { String paymentMethod; String referenceNumber; String reason; + BoletoMetadata boletoMetadata; }