Class PrintData
Contains receipts or receipt items for printing by the ECR depending on the PrintOptions used during login. Immutable class.
Inheritance
System.Object
PrintData
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: SIX.TimApi
Assembly: TimApi.dll
Syntax
public class PrintData
Constructors
PrintData(List<Receipt>, List<ReceiptItems>)
Create print information.
Declaration
public PrintData(List<Receipt> receipts, List<ReceiptItems> receiptItems)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.List<Receipt> | receipts | |
System.Collections.Generic.List<ReceiptItems> | receiptItems |
Fields
m_cardholderReceipt
Declaration
protected string m_cardholderReceipt
Field Value
Type | Description |
---|---|
System.String |
m_merchantReceipt
Declaration
protected string m_merchantReceipt
Field Value
Type | Description |
---|---|
System.String |
Properties
CardholderReceipt
Cardholder Receipt Text.
Declaration
public string CardholderReceipt { get; }
Property Value
Type | Description |
---|---|
System.String |
MerchantReceipt
Merchant Receipt Text.
Declaration
public string MerchantReceipt { get; }
Property Value
Type | Description |
---|---|
System.String |
ReceiptItems
Gets the receipt items.
Declaration
public List<ReceiptItems> ReceiptItems { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<ReceiptItems> | The receipt items. |
Receipts
Gets the receipts.
Declaration
public List<Receipt> Receipts { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<Receipt> | The receipts. |
Methods
ToString()
String representation for debugging purpose.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String |
Overrides
System.Object.ToString()