diff --git a/src/main/java/com/mercadopago/resources/payment/PaymentBarcode.java b/src/main/java/com/mercadopago/resources/payment/PaymentBarcode.java new file mode 100644 index 00000000..2390b8e8 --- /dev/null +++ b/src/main/java/com/mercadopago/resources/payment/PaymentBarcode.java @@ -0,0 +1,10 @@ +package com.mercadopago.resources.payment; + +import lombok.Getter; + +/** PaymentBarcode class. */ +@Getter +public class PaymentBarcode { + /** Barcode content. */ + private String content; +} diff --git a/src/main/java/com/mercadopago/resources/payment/PaymentTransactionDetails.java b/src/main/java/com/mercadopago/resources/payment/PaymentTransactionDetails.java index 6e257139..7dcd2cff 100644 --- a/src/main/java/com/mercadopago/resources/payment/PaymentTransactionDetails.java +++ b/src/main/java/com/mercadopago/resources/payment/PaymentTransactionDetails.java @@ -35,4 +35,19 @@ public class PaymentTransactionDetails { /** BACEN identifier for Pix. */ private String transactionId; + + /** Barcode digitable line. */ + private String digitableLine; + + /** Verification code. */ + private String verificationCode; + + /** Payable deferral period. */ + private String payableDeferralPeriod; + + /** Bank transfer id. */ + private String bankTransferId; + + /** Barcode data. */ + private PaymentBarcode barcode; }