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 @@ -117,6 +117,7 @@ public class Transaction {
117117 private Address address ;
118118 private Customer customerData ;
119119 private TokenData tokenData ;
120+ @ Getter @ Setter private String paymentMethodResult ;
120121
121122 public Customer getCustomerData () {
122123 return customerData ;
Original file line number Diff line number Diff line change 1717import com .global .api .utils .EnumUtils ;
1818import com .global .api .utils .JsonDoc ;
1919import com .global .api .utils .StringUtils ;
20- import com .google .gson .JsonElement ;
2120import lombok .var ;
2221import org .joda .time .DateTime ;
2322
@@ -140,6 +139,7 @@ public static Transaction mapResponse(String rawResponse) throws GatewayExceptio
140139 transaction .setMultiCapture (getIsMultiCapture (json ));
141140 transaction .setFingerPrint (paymentMethod .getString ("fingerprint" ));
142141 transaction .setFingerPrintIndicator (paymentMethod .getString ("fingerprint_presence_indicator" ));
142+ transaction .setPaymentMethodResult (paymentMethod .getString ("result" ));
143143
144144 if (paymentMethod .has ("bnpl" )) {
145145 mapBNPLResponse (json , transaction );
You can’t perform that action at this time.
0 commit comments