Package com.clover.sdk.v1.printer.job
Class TokenRequestBasedPrintJob
- java.lang.Object
-
- com.clover.sdk.v1.printer.job.PrintJob
-
- com.clover.sdk.v1.printer.job.TokenRequestBasedPrintJob
-
- All Implemented Interfaces:
Parcelable
public class TokenRequestBasedPrintJob extends PrintJob implements Parcelable
To print a token Request or Card Verification receipt, create an instance of this print job and call print
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
TokenRequestBasedPrintJob.Builder
-
Nested classes/interfaces inherited from interface android.os.Parcelable
Parcelable.ClassLoaderCreator<T extends Object>, Parcelable.Creator<T extends Object>
-
-
Field Summary
Fields Modifier and Type Field Description static Parcelable.Creator<TokenRequestBasedPrintJob>
CREATOR
String
reason
TokenRequest
tokenRequest
-
Fields inherited from class com.clover.sdk.v1.printer.job.PrintJob
FLAG_BILL, FLAG_CUSTOMER, FLAG_EXPEDITOR, FLAG_FORCE_SIGNATURE, FLAG_FORCE_TIP, FLAG_MERCHANT, FLAG_NO_SIGNATURE, FLAG_NO_TIP, FLAG_NONE, FLAG_REFUND, FLAG_REPRINT, FLAG_SALE, FLAG_UNLABELED_ITEMS, FLAG_USE_PRINT_GROUP, flags, printToAny
-
Fields inherited from interface android.os.Parcelable
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE
-
-
Constructor Summary
Constructors Modifier Constructor Description TokenRequestBasedPrintJob(Parcel in)
protected
TokenRequestBasedPrintJob(TokenRequestBasedPrintJob.Builder builder)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Category
getPrinterCategory()
void
writeToParcel(Parcel dest, int flags)
-
Methods inherited from class com.clover.sdk.v1.printer.job.PrintJob
cancel, describeContents, print, print
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface android.os.Parcelable
describeContents
-
-
-
-
Field Detail
-
tokenRequest
public TokenRequest tokenRequest
-
reason
public String reason
-
CREATOR
public static final Parcelable.Creator<TokenRequestBasedPrintJob> CREATOR
-
-
Constructor Detail
-
TokenRequestBasedPrintJob
protected TokenRequestBasedPrintJob(TokenRequestBasedPrintJob.Builder builder)
-
TokenRequestBasedPrintJob
public TokenRequestBasedPrintJob(Parcel in)
-
-
Method Detail
-
getPrinterCategory
public Category getPrinterCategory()
- Specified by:
getPrinterCategory
in classPrintJob
-
writeToParcel
public void writeToParcel(Parcel dest, int flags)
- Specified by:
writeToParcel
in interfaceParcelable
- Overrides:
writeToParcel
in classPrintJob
-
-