Skip to content

Latest commit

 

History

History
19 lines (12 loc) · 716 Bytes

File metadata and controls

19 lines (12 loc) · 716 Bytes

OpenapiClient::Receipt

Properties

Name Type Description Notes
type String Defines the consumer of the receipt (e.g. cardholder, merchant).
data Array<ReceiptLine> Array of formatted lines that represents the actual receipt data, that can be printed out.

Code Sample

require 'OpenapiClient'

instance = OpenapiClient::Receipt.new(type: merchant,
                                 data: [{&quot;endOfLine&quot;:true,&quot;text&quot;:&quot;          MerchantName          &quot;},{&quot;endOfLine&quot;:true,&quot;text&quot;:&quot;--------------------------------&quot;}])