com.ecwid.apiclient.v3.dto.profile.request.EmailLogoUploadRequest.kt Maven / Gradle / Ivy
The newest version!
package com.ecwid.apiclient.v3.dto.profile.request
import com.ecwid.apiclient.v3.dto.ApiRequest
import com.ecwid.apiclient.v3.dto.common.UploadFileData
import com.ecwid.apiclient.v3.impl.RequestInfo
data class EmailLogoUploadRequest(
val fileData: UploadFileData = UploadFileData.ExternalUrlData("")
) : ApiRequest {
override fun toRequestInfo() = RequestInfo.buildUploadRequestInfo(
listOf("profile", "emaillogo"),
emptyMap(),
fileData
)
}