The mPress SDK provides the following method to retrieve the correctly formatted merchant receipt data in the event that the merchant receipt needs to be communicated to the via means other than using the built in printer. For example, the mobile application may desire to send the merchant an emailed receipt.
|ReceiptFormat||string||Yes||The format that the MerchantReceipt 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 MerchantReceipt.|
The getMerchantReceipt method will throw an exception of type mPressException (“Not Implemented”) if a MerchantReceipt is not available to return.