Payment Status Report (PAIN.002)
ThePaymentStatusReport class represents a Payment Status Report (PAIN.002) in the PAIN.002 format. This
class encapsulates the data and functionality related to ingesting updates about the status of a
previously sent payment instruction.
Usage
To create aPaymentStatusReport instance from a raw XML string:
PaymentStatusReport has a list of StatusInformation elements, each of which has a type and a status field.
The first StatusInformation element in the list is also accessible as paymentStatusReport.type and paymentStatusReport.status.