7.19.4 HandleBillFromEscrow Method

The HandleBillFromEscrow Method defines what the payment device shall do with the bill or token currently stored in the escrow.

If the execution of the Method cannot be done due to some application logic, the Method should return an Uncertain StatusCode and provide details of the failure in the Status output Argument. When the Method returns an Uncertain StatusCode, the Method is considered to be failed.

If the Method returns successful, it does not indicate, that the bill or token was already processed completely from the escrow. Clients need to access the CurrentValueInEscrow Variable to get the information, if the bill or token has successfully been moved.

The signature of this Method is specified below. Table 64 and Table 65 specify the Arguments and AddressSpace representation, respectively.

Signature

	HandleBillFromEscrow (
	  [in]   0:Boolean                  AcceptBill,
	  [out]  0:Int32                    Status);
Table 64 - HandleBillFromEscrow Arguments
Argument Description
AcceptBillIf true, the current bill or token in escrow (see Variable CurrentValueInEscrow) gets accepted, if false, it gets rejected. The place where the bill or token is moved to in case of it gets accepted is defined in the AssetConfigurationList.
Status

Status of the execution of the method. If issues occurred during execution.

0 = Execution was successful.

-1 = Currently no bill in escrow

Vendors may return a vendor specific status starting with number -16 or smaller.

Method Result Codes (defined in Call Service)

Result Code Description
Bad_UserAccessDeniedSee OPC 10000-4 for a general description.
Table 65 - HandleBillFromEscrow AddressSpace definition
Attribute Value
BrowseNameHandleBillFromEscrow
References NodeClass BrowseName DataType TypeDefinition ModellingRule
0:HasPropertyVariable0:InputArguments0:Argument[] 0:PropertyType0:Mandatory
0:HasPropertyVariable0:OutputArguments0:Argument[] 0:PropertyType0:Mandatory