fun deletePicture(version: Int, productIdentifier: String, pictureFilename: String): Unit
Deletes specified picture.
version
- version of seller, if mismatch com.srv4pos.server.api.exceptions.VersionConflictJsonException will be thrown
productIdentifier
- identifier of the product. must match to Constraints.WINDOWS_FILENAME_REGEX
pictureFilename
- picture filename. must match to Constraints.WINDOWS_FILENAME_REGEX
com.srv4pos.server.api.exceptions.ReferenceNotFoundJsonException
- if product is not found
com.srv4pos.server.api.exceptions.VersionConflictJsonException
- if version doesn't match to seller version
See Also