public class PrintedReceiptV2
extends java.lang.Object
implements android.os.Parcelable
Modifier and Type | Field and Description |
---|---|
static android.os.Parcelable.Creator<PrintedReceiptV2> |
CREATOR |
static byte |
ESC |
static byte |
PRINT_MODE |
Constructor and Description |
---|
PrintedReceiptV2() |
public static final byte ESC
public static final byte PRINT_MODE
public static final android.os.Parcelable.Creator<PrintedReceiptV2> CREATOR
public int describeContents()
describeContents
in interface android.os.Parcelable
public void writeToParcel(android.os.Parcel dest, int flags)
writeToParcel
in interface android.os.Parcelable
public android.graphics.Bitmap getHeaderImage()
public void setHeaderImage(android.graphics.Bitmap headerImage)
public android.graphics.Bitmap getFooterImage()
public void setFooterImage(android.graphics.Bitmap footerImage)
public PrintedReceiptSection getHeader()
public void setHeader(PrintedReceiptSection header)
public PrintedReceiptSection getMerchantInfo()
public void setMerchantInfo(PrintedReceiptSection merchantInfo)
public PrintedReceiptSection getBody1()
public void setBody1(PrintedReceiptSection body1)
public PrintedReceiptSection getBody2()
public void setBody2(PrintedReceiptSection body2)
public PrintedReceiptSection getBody3()
public void setBody3(PrintedReceiptSection body3)
public PrintedReceiptSection getBody4()
public void setBody4(PrintedReceiptSection body4)
public PrintedReceiptSection getBody5()
public void setBody5(PrintedReceiptSection body5)
public PrintedReceiptSection getBody6()
public void setBody6(PrintedReceiptSection body6)
public PrintedReceiptSection getFooter()
public void setFooter(PrintedReceiptSection footer)
public int getMaxTextLineLength()
public void printPrintedReceipLineList(java.util.List<PrintedReceiptLine> inputList, java.util.List<java.lang.String> result)
public java.util.List<java.lang.String> convertReceiptToListOfStrings()