Skip to content

Commit

Permalink
Merge pull request #403 from Ecwid/ECWID-116277-ApiClient
Browse files Browse the repository at this point in the history
ECWID-116277 Implement alt-text support for all image API
  • Loading branch information
ZimuZhengLightspeed authored May 21, 2024
2 parents dd62fe3 + 364951a commit 482be1f
Showing 1 changed file with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,11 @@ package com.ecwid.apiclient.v3.dto.common
data class AsyncPictureData(
val url: String = "",
val width: Int = 0,
val height: Int = 0
val height: Int = 0,
val alt: PictureAlt? = null
)

data class PictureAlt(
val main: String? = null,
val translated: Map<String, String>? = null
)

0 comments on commit 482be1f

Please sign in to comment.