com.ecwid.apiclient.v3.dto.customergroup.result.FetchedCustomerGroup.kt Maven / Gradle / Ivy
package com.ecwid.apiclient.v3.dto.customergroup.result
import com.ecwid.apiclient.v3.dto.common.ApiFetchedDTO
import com.ecwid.apiclient.v3.dto.common.ApiFetchedDTO.ModifyKind
import com.ecwid.apiclient.v3.dto.customergroup.request.UpdatedCustomerGroup
data class FetchedCustomerGroup(
val id: Int = 0,
val name: String = ""
) : ApiFetchedDTO {
override fun getModifyKind() = ModifyKind.ReadWrite(UpdatedCustomerGroup::class)
}