checkInvoice(Invoice) method

This method gets called before the funds get authorized from the bill payer.

Syntax

void checkInvoice ( Invoice invoice ) throws UnsupportedOperationException, BillPaymentHandlerException

Parameters

Exceptions

Usage

It is important that all possible checks that could prevent the bill from being paid are executed at this stage. If the bill cannot be paid, a

BillPaymentHandlerException

must be thrown. However, the checkInvoice is not binding in any way. If the authorization is not possible at a later point no further information is sent to the bill payment handler.