AFT Receipt Status

class models.AftReceiptStatus.AftReceiptStatus

Bases: object

Class representing the receipt status for AFT

STATUS_MAP = {'00': 'Receipt printed', '20': 'Receipt printing in progress (not complete)', '40': 'Receipt pending (not complete)', 'ff': 'No receipt requested or receipt not printed'}
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