apidocs / com.srv4pos.server.api.customization / CustomizationItemService

CustomizationItemService

class CustomizationItemService

Constructors

<init>

CustomizationItemService(url: URL, credentials: Credentials?, transport: Transport)

Functions

create

fun create(version: Int, customizationItemInfo: CustomizationItemInfo): IdentifierInfo

Create tax on the server.

get

operator fun get(version: Int?, identifier: String): CustomizationItemInfo?

Returns an entity.

list

fun list(version: Int?, firstResult: Int? = null, maxResults: Int? = null, like: String? = null, orderBy: CustomizationItemInfo.Fields? = null, orderDesc: Boolean? = null): List<CustomizationItemInfo>?

Returns list of entities.

listDiff

fun listDiff(versionFrom: Int, versionTo: Int): List<CustomizationItemInfo>

Returns list of item changes between two versions.

put

fun put(version: Int, customizationItemInfo: CustomizationItemInfo): Unit

Put tax to the server.