From 7c4d0a0f0935daa85e5adce4e600561cde58682c Mon Sep 17 00:00:00 2001 From: Evgenii Anishchenko Date: Wed, 22 Jan 2025 17:55:43 +0400 Subject: [PATCH 1/2] ECWID-150578: Add name field to CategoryInfo. --- .../ecwid/apiclient/v3/dto/product/result/FetchedProduct.kt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/kotlin/com/ecwid/apiclient/v3/dto/product/result/FetchedProduct.kt b/src/main/kotlin/com/ecwid/apiclient/v3/dto/product/result/FetchedProduct.kt index fd03d5507..e36177f53 100644 --- a/src/main/kotlin/com/ecwid/apiclient/v3/dto/product/result/FetchedProduct.kt +++ b/src/main/kotlin/com/ecwid/apiclient/v3/dto/product/result/FetchedProduct.kt @@ -191,7 +191,8 @@ data class FetchedProduct( data class CategoryInfo( val id: Int = 0, - val enabled: Boolean = true + val enabled: Boolean = true, + val name: String = "", ) data class TaxInfo( From b0e1322ad35c6b0c19beeb351d8f6d41c18da71b Mon Sep 17 00:00:00 2001 From: Evgenii Anishchenko Date: Wed, 22 Jan 2025 22:04:28 +0400 Subject: [PATCH 2/2] ECWID-150578: Add nameTranslated field to CategoryInfo. --- .../com/ecwid/apiclient/v3/dto/product/result/FetchedProduct.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/kotlin/com/ecwid/apiclient/v3/dto/product/result/FetchedProduct.kt b/src/main/kotlin/com/ecwid/apiclient/v3/dto/product/result/FetchedProduct.kt index e36177f53..218ed494a 100644 --- a/src/main/kotlin/com/ecwid/apiclient/v3/dto/product/result/FetchedProduct.kt +++ b/src/main/kotlin/com/ecwid/apiclient/v3/dto/product/result/FetchedProduct.kt @@ -193,6 +193,7 @@ data class FetchedProduct( val id: Int = 0, val enabled: Boolean = true, val name: String = "", + val nameTranslated: String = "", ) data class TaxInfo(