com.ecwid.apiclient.v3.dto.customer.request.CustomerDeleteRequest.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 CustomerDeleteRequest(
val customerId: Int = 0
) : ApiRequest {
override fun toRequestInfo() = RequestInfo.createDeleteRequest(
pathSegments = listOf(
"customers",
"$customerId"
)
)
}