PrintStateDetails
data class PrintStateDetails(val receiptId: String?, val status: PrintStateDetails.PrintStatus, val printFailure: PrintStateDetails.PrintFailure?, val errorMessage: String?)
Class holding all information about the state of the printing action.
Constructors
Link copied to clipboard
constructor(receiptId: String?, status: PrintStateDetails.PrintStatus, printFailure: PrintStateDetails.PrintFailure?, errorMessage: String?)
Types
Properties
Link copied to clipboard
that can contain more details for debug purposes
Link copied to clipboard
failure reason, not null in case of failure to print. Could also be com.teya.unifiedepossdk.PrintStateDetails.PrintFailure.NetworkError temporarily for status that is not final if we're having issues getting updates from the backend.
Link copied to clipboard
id of this receipt - available on all but PrintStatus.Pending
Link copied to clipboard
main state of the printing action. See PrintStatus