From bb32f5d003fc4da64e12d2ff3c959c3c82d610a4 Mon Sep 17 00:00:00 2001 From: Hripsime Vardanyan Date: Fri, 5 Sep 2025 17:26:56 +0400 Subject: [PATCH] ECWID-171004: Rename a field in OrderForCalculate class. --- .../ecwid/apiclient/v3/dto/cart/request/OrderForCalculate.kt | 2 +- .../v3/rule/nullablepropertyrules/OrderForCalculateRules.kt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/kotlin/com/ecwid/apiclient/v3/dto/cart/request/OrderForCalculate.kt b/src/main/kotlin/com/ecwid/apiclient/v3/dto/cart/request/OrderForCalculate.kt index 2d9d0e63..3c7f775f 100644 --- a/src/main/kotlin/com/ecwid/apiclient/v3/dto/cart/request/OrderForCalculate.kt +++ b/src/main/kotlin/com/ecwid/apiclient/v3/dto/cart/request/OrderForCalculate.kt @@ -14,7 +14,7 @@ data class OrderForCalculate( val customerTaxExempt: Boolean? = null, val customerTaxId: String? = null, val reversedTaxApplied: Boolean? = null, - val taxAlreadyDeducted: Boolean? = null, + val taxAlreadyDeductedFromShipping: Boolean? = null, val discountCoupon: DiscountCouponInfo? = null, val items: List? = null, val billingPerson: PersonInfo? = null, diff --git a/src/test/kotlin/com/ecwid/apiclient/v3/rule/nullablepropertyrules/OrderForCalculateRules.kt b/src/test/kotlin/com/ecwid/apiclient/v3/rule/nullablepropertyrules/OrderForCalculateRules.kt index 5d3be72c..0938d68d 100644 --- a/src/test/kotlin/com/ecwid/apiclient/v3/rule/nullablepropertyrules/OrderForCalculateRules.kt +++ b/src/test/kotlin/com/ecwid/apiclient/v3/rule/nullablepropertyrules/OrderForCalculateRules.kt @@ -26,7 +26,7 @@ val orderForCalculateNullablePropertyRules: List> = l IgnoreNullable(OrderForCalculate::items), AllowNullable(OrderForCalculate::paymentOptionsDetails), AllowNullable(OrderForCalculate::reversedTaxApplied), - AllowNullable(OrderForCalculate::taxAlreadyDeducted), + AllowNullable(OrderForCalculate::taxAlreadyDeductedFromShipping), AllowNullable(OrderForCalculate::shippingOption), IgnoreNullable(OrderForCalculate::shippingPerson), AllowNullable(OrderForCalculate.CustomSurcharge::description),