Skip to content

2.1.5

Compare
Choose a tag to compare
@romerosilva-meli romerosilva-meli released this 13 Dec 18:57
· 114 commits to master since this release
540f64f

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();