fun put(version: Int, productInfo: ProductInfo): Unit
Put product to the server.
version
- expected latest version of seller
com.srv4pos.server.api.exceptions.VersionConflictJsonException
- if version mismatch
com.srv4pos.server.api.exceptions.ReferenceNotFoundJsonException
- if tax in com.srv4pos.server.api.product.ProductInfo.tax is not found