Skip to content

Commit 2f0d957

Browse files
authored
Merge pull request #455 from Ecwid/ECWID-150578-New-IS-Category-name-for-product
ECWID-150578: Add name field to CategoryInfo.
2 parents 0123582 + b0e1322 commit 2f0d957

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/main/kotlin/com/ecwid/apiclient/v3/dto/product/result/FetchedProduct.kt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,9 @@ data class FetchedProduct(
191191

192192
data class CategoryInfo(
193193
val id: Int = 0,
194-
val enabled: Boolean = true
194+
val enabled: Boolean = true,
195+
val name: String = "",
196+
val nameTranslated: String = "",
195197
)
196198

197199
data class TaxInfo(

0 commit comments

Comments
 (0)