From 6d9de7c50492d8848cd1643eb9695b1e5d5aea71 Mon Sep 17 00:00:00 2001 From: gabs Date: Tue, 28 Nov 2023 12:51:42 -0300 Subject: [PATCH 1/2] Add transaction id --- .../mercadopago/resources/payment/PaymentTransactionData.java | 2 +- .../resources/payment/PaymentTransactionDetails.java | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/main/java/com/mercadopago/resources/payment/PaymentTransactionData.java b/src/main/java/com/mercadopago/resources/payment/PaymentTransactionData.java index 747cfd71..c2511a0e 100644 --- a/src/main/java/com/mercadopago/resources/payment/PaymentTransactionData.java +++ b/src/main/java/com/mercadopago/resources/payment/PaymentTransactionData.java @@ -11,7 +11,7 @@ public class PaymentTransactionData { /** QR code image in Base 64. */ private String qrCodeBase64; - /** Transaction ID. */ + /** BACEN identifier for Pix. */ private String transactionId; /** Bank transfer ID. */ diff --git a/src/main/java/com/mercadopago/resources/payment/PaymentTransactionDetails.java b/src/main/java/com/mercadopago/resources/payment/PaymentTransactionDetails.java index 74e4717b..6e257139 100644 --- a/src/main/java/com/mercadopago/resources/payment/PaymentTransactionDetails.java +++ b/src/main/java/com/mercadopago/resources/payment/PaymentTransactionDetails.java @@ -32,4 +32,7 @@ public class PaymentTransactionDetails { /** Acquirer Reference. */ private String acquirerReference; + + /** BACEN identifier for Pix. */ + private String transactionId; } From 6d6d3d0d57148a279045012cca52dc02da3eaf60 Mon Sep 17 00:00:00 2001 From: gabs Date: Tue, 28 Nov 2023 16:12:16 -0300 Subject: [PATCH 2/2] Update version --- README.md | 2 +- pom.xml | 2 +- src/main/java/com/mercadopago/MercadoPagoConfig.java | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 94de7a15..168f6f54 100644 --- a/README.md +++ b/README.md @@ -21,7 +21,7 @@ already. com.mercadopago sdk-java - 2.1.16 + 2.1.17 ``` diff --git a/pom.xml b/pom.xml index 1b5ea096..f1680457 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ com.mercadopago sdk-java - 2.1.16 + 2.1.17 jar Mercadopago SDK diff --git a/src/main/java/com/mercadopago/MercadoPagoConfig.java b/src/main/java/com/mercadopago/MercadoPagoConfig.java index 23311ab3..c2b84703 100644 --- a/src/main/java/com/mercadopago/MercadoPagoConfig.java +++ b/src/main/java/com/mercadopago/MercadoPagoConfig.java @@ -15,7 +15,7 @@ /** Mercado Pago configuration class. */ public class MercadoPagoConfig { - public static final String CURRENT_VERSION = "2.1.16"; + public static final String CURRENT_VERSION = "2.1.17"; public static final String PRODUCT_ID = "BC32A7VTRPP001U8NHJ0";