Object describing a receipt template.


This object contains all of the data needed for adding or updating a receipt template in the gateway.


integerReceiptRefNumGateway-assigned ID of receipt (ignored when adding a receipt). (required)
stringNameName of receipt (used to identify receipt). (required)
stringTargetType of receipt output (Email or Print). (required)
stringSubjectSubject line of email (only applicable if Target is Email). (optional)
stringFromEmailFrom email address (only applicable if Target is Email). (required)
stringContentTypeContent types supported by receipt (HTML, Text, or Both). (required)
stringTemplateHTMLHTML version of template (base64-encoded). (required)
stringTemplateTextText version of template (base64-encoded). (optional)