From 1809be8fe11fb6b082291e1dc8520fd69ff42e8f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Burak=20Y=C4=B1ld=C4=B1z?= Date: Thu, 9 Jan 2025 06:43:30 +0300 Subject: [PATCH] Update BNPL integration --- src/main/java/io/craftgate/request/BnplPaymentOfferRequest.java | 2 ++ src/main/java/io/craftgate/response/dto/BnplBankOffer.java | 1 + 2 files changed, 3 insertions(+) diff --git a/src/main/java/io/craftgate/request/BnplPaymentOfferRequest.java b/src/main/java/io/craftgate/request/BnplPaymentOfferRequest.java index cfaf8bd8..4ab666c3 100644 --- a/src/main/java/io/craftgate/request/BnplPaymentOfferRequest.java +++ b/src/main/java/io/craftgate/request/BnplPaymentOfferRequest.java @@ -8,6 +8,7 @@ import java.math.BigDecimal; import java.util.List; +import java.util.Map; @Data @Builder @@ -17,6 +18,7 @@ public class BnplPaymentOfferRequest { private Long merchantApmId; private BigDecimal price; private Currency currency; + private Map additionalParams; private List items; } diff --git a/src/main/java/io/craftgate/response/dto/BnplBankOffer.java b/src/main/java/io/craftgate/response/dto/BnplBankOffer.java index a277975a..33df72e7 100644 --- a/src/main/java/io/craftgate/response/dto/BnplBankOffer.java +++ b/src/main/java/io/craftgate/response/dto/BnplBankOffer.java @@ -12,6 +12,7 @@ public class BnplBankOffer { private String bankIconUrl; private String bankTableBannerMessage; private String bankSmallBannerMessage; + private String preApprovedApplicationId; private Boolean isSupportNonCustomer; private Boolean isPaymentPlanCalculatedByBank; private List bankOfferTerms;