com.ecwid.apiclient.v3.dto.extrafield.request.CustomersConfigDetailsRequest.kt Maven / Gradle / Ivy
The newest version!
package com.ecwid.apiclient.v3.dto.extrafield.request
import com.ecwid.apiclient.v3.dto.ApiRequest
import com.ecwid.apiclient.v3.impl.RequestInfo
import com.ecwid.apiclient.v3.responsefields.ResponseFields
data class CustomersConfigDetailsRequest(
val extrafieldKey: String = "",
val responseFields: ResponseFields = ResponseFields.All,
) : ApiRequest {
override fun toRequestInfo() = RequestInfo.createGetRequest(
pathSegments = listOf(
"store_extrafields",
"customers",
extrafieldKey
),
params = mapOf(),
responseFields = responseFields,
)
}