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;