From 0ba5b9bea08ddba61699fecaa3e991609c9c2694 Mon Sep 17 00:00:00 2001 From: Michal Schielmann Date: Mon, 30 Sep 2024 13:57:06 +0200 Subject: [PATCH] added merchant token identifier to apple pay response --- src/main/java/com/shift4/response/PaymentMethod.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/main/java/com/shift4/response/PaymentMethod.java b/src/main/java/com/shift4/response/PaymentMethod.java index 6c443d7..6c7f0c4 100644 --- a/src/main/java/com/shift4/response/PaymentMethod.java +++ b/src/main/java/com/shift4/response/PaymentMethod.java @@ -107,6 +107,7 @@ public static class ApplePay { private String last4; private Integer amount; private String currency; + private String merchantTokenIdentifier; @JsonIgnore private final Map other = new HashMap<>(); @@ -143,6 +144,10 @@ public String getCurrency() { return currency; } + public String getMerchantTokenIdentifier() { + return currency; + } + public String get(String name) { return Shift4Utils.toStringNullSafe(other.get(name)); }