getBuyTicketInformation method
- int index
Get buy ticket data obj specified by index.
Parameters
- IN index The index of the buy ticket data object.
Returns
- Valid PTBuyTicketInformation object for corresponding index.
- Empty PTBuyTicketInformation object if id index is out of bounds.
Throws
- An exception if it fails.
Implementation
PTBuyTicketInformation getBuyTicketInformation(final int index) {
final OperationResult resultString = objectMethod(
_pointerId,
'PTRoute',
'getBuyTicketInformation',
args: index,
);
return PTBuyTicketInformation(resultString['result']);
}