File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed
src/main/java/com/global/api Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -123,6 +123,7 @@ public class Transaction {
123123 private TokenData tokenData ;
124124 @ Getter @ Setter
125125 private InstallmentData installmentData ;
126+ @ Getter @ Setter private String paymentMethodResult ;
126127
127128 public Customer getCustomerData () {
128129 return customerData ;
Original file line number Diff line number Diff line change 1919import com .global .api .utils .EnumUtils ;
2020import com .global .api .utils .JsonDoc ;
2121import com .global .api .utils .StringUtils ;
22- import com .google .gson .JsonElement ;
2322import lombok .var ;
2423import org .joda .time .DateTime ;
2524
@@ -142,6 +141,7 @@ public static Transaction mapResponse(String rawResponse) throws GatewayExceptio
142141 transaction .setMultiCapture (getIsMultiCapture (json ));
143142 transaction .setFingerPrint (paymentMethod .getString ("fingerprint" ));
144143 transaction .setFingerPrintIndicator (paymentMethod .getString ("fingerprint_presence_indicator" ));
144+ transaction .setPaymentMethodResult (paymentMethod .getString ("result" ));
145145
146146 if (paymentMethod .has ("bnpl" )) {
147147 mapBNPLResponse (json , transaction );
You can’t perform that action at this time.
0 commit comments