From 07ab1773e2e11bc4b49b53316b8efffcc84d9816 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Armando=20Rodr=C3=ADguez?= <127134616+armando-rodriguez-cko@users.noreply.github.com> Date: Tue, 6 Feb 2024 14:51:32 +0100 Subject: [PATCH] Update `Payment Context` - `Payment Request` --- .../java/com/checkout/payments/PaymentProcessing.java | 8 ++++++++ .../com/checkout/payments/request/PaymentRequest.java | 3 +++ 2 files changed, 11 insertions(+) diff --git a/src/main/java/com/checkout/payments/PaymentProcessing.java b/src/main/java/com/checkout/payments/PaymentProcessing.java index 38577dae..70c2ce18 100644 --- a/src/main/java/com/checkout/payments/PaymentProcessing.java +++ b/src/main/java/com/checkout/payments/PaymentProcessing.java @@ -16,9 +16,14 @@ public final class PaymentProcessing { @SerializedName("recommendation_code") private String recommendationCode; + + private String scheme; @SerializedName("partner_merchant_advice_code") private String partnerMerchantAdviceCode; + + @SerializedName("partner_response_code") + private String partnerResponseCode; @SerializedName("partner_order_id") private String partnerOrderId; @@ -54,5 +59,8 @@ public final class PaymentProcessing { @SerializedName("partner_authorization_response_code") private String partnerAuthorizationResponseCode; + + @SerializedName("surcharge_amount") + private Long surchargeAmount; } diff --git a/src/main/java/com/checkout/payments/request/PaymentRequest.java b/src/main/java/com/checkout/payments/request/PaymentRequest.java index 0a998d73..fea7e470 100644 --- a/src/main/java/com/checkout/payments/request/PaymentRequest.java +++ b/src/main/java/com/checkout/payments/request/PaymentRequest.java @@ -27,6 +27,9 @@ @Data @Builder public final class PaymentRequest { + + @SerializedName("payment_context_id") + private String paymentContextId; private AbstractRequestSource source;