The mPress SDK provides the following method to retrieve the correctly formatted customer receipt data in the event that the customer receipt needs to be communicated to the customer via means other than using the built in printer. For example, the mobile application may desire to send the cardholder an emailed receipt.
|ReceiptFormat||string||Yes||The format that the CustomerReceipt will be returned as, raw, text or html|
|Name||Data Type||Mandatory||Enterprise setTag Equivalent||Description|
|CustomerReceipt||string||Yes||N/A||Populated with a text or html representation of the CustomerReceipt.|
The getCustomerReceipt method will throw an exception of type mPressException (“Not Implemented”) if a CustomerReceipt is not available to return.