com.ecwid.apiclient.v3.dto.customergroup.request.CustomerGroupDeleteRequest.kt Maven / Gradle / Ivy
package com.ecwid.apiclient.v3.dto.customergroup.request
import com.ecwid.apiclient.v3.dto.ApiRequest
import com.ecwid.apiclient.v3.impl.RequestInfo
data class CustomerGroupDeleteRequest(
val customerGroupId: Int = 0
) : ApiRequest {
override fun toRequestInfo() = RequestInfo.createDeleteRequest(
pathSegments = listOf(
"customer_groups",
"$customerGroupId"
)
)
}