TiTo Statements

class models.TitoStatement.Tito

Bases: object

Class representing the TITO

STATUS_MAP = {'asset_number': [], 'cashable_ticket_receipt_exp': [], 'cashout_amount': [], 'cashout_amount_in_cents': [], 'cashout_ticket_number': [], 'date_validation_operation': [], 'expiration_date_printed_on_ticketpool_id': [], 'index_number': [], 'machine_ID': [], 'restricted_ticket_exp': [], 'sequence_numbercashout_type': [], 'status_bits': [], 'ticket_amount': [], 'ticket_number': [], 'time_validation_operation': [], 'validation_number': [], 'validation_system_ID': [], 'validation_type': []}
classmethod get_non_empty_status_map()

Return a dictionary containing only keys with non-empty values.

classmethod get_status(key)

Get the status value for the given key.

Parameters:

key (str) – The key for the status.

Returns:

The corresponding status value or an error message if the key is not found.

Return type:

str