Image update bean

The image update bean can be used to modify the check images associated with a particular item or transaction.

The payload class name of the image update bean is com.ibm.paydir.ima.txacc.app.bridge.payment.ImageUpdateBean.

By using the bean, the user can rescan the images supported by the Transaction Server and save them. The supported image types are:
  • Front black and white
  • Rear black and white
  • Front gray scale
  • Rear gray scale

Any or all of the images for a transaction can be updated with a single image update request.

The Transaction Server supports one set of user updated images. Subsequent user image updates overlay the existing user images and old images are discarded. User image versioning is not supported. The image update request fails if the specified transaction is absent.

When queried, the image update bean returns ACTION_IMAGE_UPDATE as its action code. It can also be queried for the payment ID being affected by the update.

The caller can use the mutator methods that are shown in the following table to configure the image update bean.
Table 1. ACTION_IMAGE_UPDATE request
Method name Takes data type Description
setFrontBlackWhiteImage Byte[] Updates the front black and white image.
setRearBlackWhiteImage Byte[] Updates the rear black and white image.
setFrontGreyScaleImage Byte[] Updates the front gray scale image.
setRearGreyScaleImage Byte[] Updates the rear gray scale image.

If only a subset of the images are updated, the Transaction Server uses the images that previously existed for the other image types. If an image does not exist and is not updated, no image is stored for the image type. Item totals are not updated for image update requests.