File tree Expand file tree Collapse file tree 7 files changed +39
-3
lines changed
src/main/java/com/mercadopago Expand file tree Collapse file tree 7 files changed +39
-3
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ already.
20
20
<dependency >
21
21
<groupId >com.mercadopago</groupId >
22
22
<artifactId >sdk-java</artifactId >
23
- <version >2.4 .0</version >
23
+ <version >2.5 .0</version >
24
24
</dependency >
25
25
```
26
26
Original file line number Diff line number Diff line change 4
4
5
5
<groupId >com.mercadopago</groupId >
6
6
<artifactId >sdk-java</artifactId >
7
- <version >2.4 .0</version >
7
+ <version >2.5 .0</version >
8
8
<packaging >jar</packaging >
9
9
10
10
<name >Mercadopago SDK</name >
Original file line number Diff line number Diff line change 15
15
/** Mercado Pago configuration class. */
16
16
public class MercadoPagoConfig {
17
17
18
- public static final String CURRENT_VERSION = "2.4 .0" ;
18
+ public static final String CURRENT_VERSION = "2.5 .0" ;
19
19
20
20
public static final String PRODUCT_ID = "BC32A7VTRPP001U8NHJ0" ;
21
21
Original file line number Diff line number Diff line change @@ -11,4 +11,7 @@ public class PaymentForwardDataRequest {
11
11
12
12
/** ForwardData for SubMerchant */
13
13
private final SubMerchant subMerchant ;
14
+
15
+ /** Network transaction data for recurring payments with Visa/Master */
16
+ private final PaymentNetworkTransactionDataRequest networkTransactionData ;
14
17
}
Original file line number Diff line number Diff line change
1
+ package com .mercadopago .client .payment ;
2
+
3
+ import lombok .Builder ;
4
+ import lombok .Getter ;
5
+
6
+ /** PaymentNetworkTransactionDataRequest class. */
7
+ @ Getter
8
+ @ Builder
9
+ public class PaymentNetworkTransactionDataRequest {
10
+ /** Network transaction ID associated with the card brand identifier. */
11
+ private final String networkTransactionId ;
12
+ }
Original file line number Diff line number Diff line change @@ -199,4 +199,7 @@ public class Payment extends MPResource {
199
199
* merchant.
200
200
*/
201
201
private Map <String , Object > internalMetadata ;
202
+
203
+ /** Expanded information returned when using X-Expand-Response-Nodes header. */
204
+ private PaymentExpanded expanded ;
202
205
}
Original file line number Diff line number Diff line change
1
+ package com .mercadopago .resources .payment ;
2
+
3
+ import com .mercadopago .client .payment .PaymentNetworkTransactionDataRequest ;
4
+ import lombok .Getter ;
5
+
6
+ /** PaymentExpanded class. */
7
+ @ Getter
8
+ public class PaymentExpanded {
9
+ /** Gateway information. */
10
+ private Gateway gateway ;
11
+
12
+ /** Gateway class for expanded information. */
13
+ @ Getter
14
+ public static class Gateway {
15
+ /** Reference information. */
16
+ private PaymentNetworkTransactionDataRequest reference ;
17
+ }
18
+ }
You can’t perform that action at this time.
0 commit comments