All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.ecwid.apiclient.v3.dto.common.DtoMarkerIntefaces.kt Maven / Gradle / Ivy

There is a newer version: 0.347.0
Show newest version
package com.ecwid.apiclient.v3.dto.common

import kotlin.reflect.KClass

interface ApiFetchedDTO {

	fun getModifyKind(): ModifyKind

	sealed class ModifyKind {
		object ReadOnly : ModifyKind()
		data class ReadWrite(val updatedDTOClass: KClass) : ModifyKind()
	}
}

interface ApiUpdatedDTO {

	fun getModifyKind(): ModifyKind

	sealed class ModifyKind {
		data class ReadWrite(val fetchedDTOClass: KClass) : ModifyKind()
	}
}

interface ApiRequestDTO
interface ApiResultDTO




© 2015 - 2024 Weber Informatics LLC | Privacy Policy