class TaxService
To reach Tax entity.
User: Kirill, Date: 05.08.13 18:00.
TaxService(url: URL, credentials: Credentials?, transport: Transport)
To reach Tax entity. |
fun create(version: Int, taxInfo: TaxInfo): IdentifierInfo
Create tax on the server. |
|
fun delete(version: Int, identifier: String): Unit
Delete tax from the server. |
|
operator fun get(version: Int?, identifier: String): TaxInfo?
Returns an entity. |
|
fun list(version: Int?, firstResult: Int? = null, maxResults: Int? = null, like: String? = null, orderBy: TaxInfo.Fields? = null, orderDesc: Boolean? = null): List<TaxInfo>?
Returns list of entities. |
|
fun listDiff(versionFrom: Int, versionTo: Int): List<TaxInfo>
Returns list of item changes between two versions. |
|
fun put(version: Int, taxInfo: TaxInfo): Unit
Put tax to the server. |
|
fun stats(period: String?, cashRegisterName: String?): TaxesStatsInfo?
Returns stats by taxes. |