com.ecwid.apiclient.v3.dto.customer.request.CustomersLocationsSearchRequest.kt Maven / Gradle / Ivy
package com.ecwid.apiclient.v3.dto.customer.request
import com.ecwid.apiclient.v3.dto.ApiRequest
import com.ecwid.apiclient.v3.impl.RequestInfo
data class CustomersLocationsSearchRequest(
val name: String = ""
) : ApiRequest {
override fun toRequestInfo() = RequestInfo.createGetRequest(
pathSegments = listOf(
"customers",
"locations",
),
params = mapOf(
"name" to name,
),
)
}