Mercado Pago's Official Java SDK
Full Changelog: https://github.com/mercadopago/sdk-java/compare/2.1.11...2.1.12
this version adds address and phone information to PaymentPayerRequest
for PSE payments.
Update Payment field PaymentThreeDSInfo
serialized name from three_dsinfo
to three_ds_info
.
This version updates maven-javadoc-plugin to 3.5.0
this version adds:
this version adds:
We changed the field AccountId, which is normally used for Pix transactions. If your app makes use of this field in your integration, alter its type from long to BigInteger.
PaymentClient client = new PaymentClient();
Payment p = client.get(12345L);
// Collector accountId changed type from long to BigInteger
BigInteger collectorAccountId = p.getPointOfInteraction().getTransactionData().getBankInfo().getCollector().getAccountId();
// Collector accountId changed type from long to BigInteger
BigInteger payerAccountId = p.getPointOfInteraction().getTransactionData().getBankInfo().getPayer().getAccountId();
Fix way to set proxy.
this version refactors Serializer's Gson type adapter for OffsetDatetime to account for different ISO 8601 datetime formats during deserialization.
Fix issue with exceptions at InsightDataManager class.