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 {
117
117
private Address address ;
118
118
private Customer customerData ;
119
119
private TokenData tokenData ;
120
+ @ Getter @ Setter private String paymentMethodResult ;
120
121
121
122
public Customer getCustomerData () {
122
123
return customerData ;
Original file line number Diff line number Diff line change 17
17
import com .global .api .utils .EnumUtils ;
18
18
import com .global .api .utils .JsonDoc ;
19
19
import com .global .api .utils .StringUtils ;
20
- import com .google .gson .JsonElement ;
21
20
import lombok .var ;
22
21
import org .joda .time .DateTime ;
23
22
@@ -140,6 +139,7 @@ public static Transaction mapResponse(String rawResponse) throws GatewayExceptio
140
139
transaction .setMultiCapture (getIsMultiCapture (json ));
141
140
transaction .setFingerPrint (paymentMethod .getString ("fingerprint" ));
142
141
transaction .setFingerPrintIndicator (paymentMethod .getString ("fingerprint_presence_indicator" ));
142
+ transaction .setPaymentMethodResult (paymentMethod .getString ("result" ));
143
143
144
144
if (paymentMethod .has ("bnpl" )) {
145
145
mapBNPLResponse (json , transaction );
You can’t perform that action at this time.
0 commit comments