Skip to content

Commit 5e30cd1

Browse files
committed
Add translations to FetchedSwatchColor
1 parent d8fe1a4 commit 5e30cd1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/main/kotlin/com/ecwid/apiclient/v3/dto/swatches/result/FetchedSwatchColor.kt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,12 @@ package com.ecwid.apiclient.v3.dto.swatches.result
22

33
import com.ecwid.apiclient.v3.dto.common.ApiFetchedDTO
44
import com.ecwid.apiclient.v3.dto.common.ApiResultDTO
5+
import com.ecwid.apiclient.v3.dto.common.LocalizedValueMap
56

67
data class FetchedSwatchColor(
78
val name: String = "",
89
val hexCode: String = "",
10+
val translations: LocalizedValueMap? = null,
911
) : ApiFetchedDTO, ApiResultDTO {
1012
override fun getModifyKind() = ApiFetchedDTO.ModifyKind.ReadOnly
1113
}

0 commit comments

Comments
 (0)