Class AdditionalReceipt
Additional receipt document.
Inheritance
System.Object
AdditionalReceipt
Namespace: anybill.POS.Client.Models.Bill.Misc.AdditionalReceipt
Assembly: anybill.POS.Client.Abstractions.dll
Syntax
public class AdditionalReceipt
Properties
Content
Base64-coded content of the additional document.
Declaration
public string Content { get; set; }
Property Value
Type | Description |
---|---|
System.String |
ContentType
MIME type of the additional document, e.g. 'image/png', 'application/pdf' or 'text/plain'.
Declaration
public string ContentType { get; set; }
Property Value
Type | Description |
---|---|
System.String |
IsPrimaryReceipt
Indicating that the provided receipt should be used as primary receipt. A primary receipt will be used as main PDF when a user downloads the bill PDF. Primary receipts need to be of ContentType 'application/pdf'.
Declaration
public bool IsPrimaryReceipt { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
IsPrintBuffer
Indicates that the content will be sent as PrintBuffer and must be processed in a different way when generating the PDF. Print buffer receipts need to be of ContentType 'text/plain' Base64 Encoded and IsPrimaryReceipt = 'true.
Declaration
public bool IsPrintBuffer { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |