com.ecwid.apiclient.v3.dto.profile.request.OrderStatusSettingsDetailsRequest.kt Maven / Gradle / Ivy
package com.ecwid.apiclient.v3.dto.profile.request
import com.ecwid.apiclient.v3.dto.ApiRequest
import com.ecwid.apiclient.v3.impl.RequestInfo
import com.ecwid.apiclient.v3.responsefields.ResponseFields
data class OrderStatusSettingsDetailsRequest(
val statusId: String = "",
val responseFields: ResponseFields = ResponseFields.All,
) : ApiRequest {
override fun toRequestInfo() = RequestInfo.createGetRequest(
pathSegments = listOf(
"profile",
"order_status",
statusId
),
params = mapOf(),
responseFields = responseFields
)
}