From b59b362558813c7bb092463259315c08bd6dcc07 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Armando=20Rodr=C3=ADguez?= <127134616+armando-rodriguez-cko@users.noreply.github.com> Date: Thu, 12 Sep 2024 17:34:42 +0200 Subject: [PATCH] Update items with tax_rate --- src/main/java/com/checkout/payments/Product.java | 3 +++ src/main/java/com/checkout/payments/request/Order.java | 3 +++ 2 files changed, 6 insertions(+) diff --git a/src/main/java/com/checkout/payments/Product.java b/src/main/java/com/checkout/payments/Product.java index 02e00582..ddb3cafa 100644 --- a/src/main/java/com/checkout/payments/Product.java +++ b/src/main/java/com/checkout/payments/Product.java @@ -28,6 +28,9 @@ public final class Product { @SerializedName("total_amount") private Long totalAmount; + @SerializedName("tax_rate") + private Long taxRate; + @SerializedName("tax_amount") private Long taxAmount; diff --git a/src/main/java/com/checkout/payments/request/Order.java b/src/main/java/com/checkout/payments/request/Order.java index 15dc1efc..ccf0987a 100644 --- a/src/main/java/com/checkout/payments/request/Order.java +++ b/src/main/java/com/checkout/payments/request/Order.java @@ -32,6 +32,9 @@ public final class Order { @SerializedName("total_amount") private Long totalAmount; + @SerializedName("tax_rate") + private Long taxRate; + @SerializedName("tax_amount") private Long taxAmount;