AS2805 Reconciliation Helper Method
ReconciliationRequest(input)
Along with the methods that are described in the 'AS2805 Message Holder base' section as a subclass of AS2805MessageHolder, the following additional properties are provided on an instance of this class.
Name | Type | Description |
---|---|---|
netDebit |
boolean |
read-only property that identifies whether the reconciliation request is a net debit. |
netCredit |
boolean |
read-only property that identifies whether the reconciliation request is a net credit. |
netSettlement |
String |
read-only property returning the value (without 'C' or 'D' prefix for credit or debit) of the reconciliation request. |
ReconciliationResponse(input)
Upon construction of an instance of this class the following steps will be performed automatically:
The 'input' is used to construct the AS2805 base message. This is a reference to the incoming request message (stored as 'trigger') on the exchange.
Subsequently, a 'fresh' AS2805 message is constructed - with
-
message type indicator field set to 0530
-
transaction date time set to the current date and time
-
system trace audit trace number copied from the input message
-
acquiring institution ID code copied from the input message
-
in case the input message’s settlement institution ID code is set, this is copied as well
Along with the methods that are described in the 'AS2805 Message Holder base' section as a subclass of AS2805MessageHolder, the following additional properties and methods are provided on an instance of this class. The ReconciliationResponse message will have the below number and amount fields initialized as '0' (zero). By default, the ReconciliationResponse will start out as a net debit.
Name | Type | Description |
---|---|---|
numberCredits |
String |
property to get and set the value of number credits for the response. |
numberCreditsReversal |
String |
property to get and set the value of reversal number credits for the response. |
numberDebits |
String |
property to get and set the value of number debits for the response. |
numberDebitsReversal |
String |
property to get and set the value of reversal number debits for the response. |
amountCredits |
String |
property to get and set the value of amount credits for the response. |
amountCreditsReversal |
String |
property to get and set the value of reversal amount credits for the response. |
amountDebits |
String |
property to get and set the value of amount debits for the response. |
amountDebitsReversal |
String |
property to get and set the value of amount reversal debits for the response. |
netSettlement |
String |
property to get and set the value of net settlement for the response. |
netDebit |
boolean |
property to get and set a boolean value to indicate that the net settlement of the response is a debit (true) or credit (false). |
as2805RawValue |
String |
a method to be called on the response message that constructs the AS2805 representation (typically called at the very end of the dynamic logic). |