fun create(version: Int, productInfo: ProductInfo): IdentifierInfo
Create product on 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
Return
identifier info