public interface IPoyntReceiptPrintingService
extends android.os.IInterface
| Modifier and Type | Interface and Description |
|---|---|
static class |
IPoyntReceiptPrintingService.Stub
Local-side IPC implementation stub class.
|
| Modifier and Type | Method and Description |
|---|---|
void |
printBalanceInquiry(java.lang.String jobId,
co.poynt.api.model.BalanceInquiry balanceInquiry,
IPoyntReceiptPrintingServiceListener callback)
Deprecated.
use printBalanceInquiryWithOptions()
Print a balance inquiry receipt to the onboard printer
The format is predetermined as required by the balance inquiry processor.
|
void |
printBalanceInquiryWithOptions(java.lang.String jobId,
co.poynt.api.model.BalanceInquiry balanceInquiry,
android.os.Bundle receiptOptions,
IPoyntReceiptPrintingServiceListener callback)
Print a balance inquiry receipt to the onboard printer
The format is predetermined as required by the balance inquiry processor.
|
void |
printBitmap(java.lang.String jobId,
android.graphics.Bitmap bitmap,
IPoyntReceiptPrintingServiceListener callback)
Deprecated.
please use PoyntPrinterService.
Print a receipt Bitmap to the onboard printer representing an order.
|
void |
printOrderReceipt(java.lang.String jobId,
java.lang.String orderId,
IPoyntReceiptPrintingServiceListener callback)
Print a receipt to the onboard printer representing an order.
|
void |
printReceipt(java.lang.String jobId,
PrintedReceipt receipt,
IPoyntReceiptPrintingServiceListener callback)
Deprecated.
please use PoyntPrinterService.
Print a receipt to the onboard printer representing an order.
The order of the contents will be as follow:
PrintedReceipt.headerImage (if provided)
PrintedReceipt.header
PrintedReceipt.body
PrintedReceipt.footer
PrintedReceipt.footerImage (if provided)
The text header/body/footer can be any text content the client
chooses. The optional headerImage and footerImage are byte arrays
representing Bitmap image of the client's choosing.
|
void |
printReceiptWithOptions(java.lang.String jobId,
android.os.Bundle options,
IPoyntReceiptPrintingServiceListener callback)
Print a Receipt with the given Transaction/ORDER/STAY information passed as options.
|
void |
printStayReceipt(java.lang.String jobId,
java.lang.String stayId,
IPoyntReceiptPrintingServiceListener callback)
* @deprecated use printStayReceiptWithOptions()
Print a receipt to the onboard printer representing a stay.
|
void |
printStayReceiptWithOptions(java.lang.String jobId,
java.lang.String stayId,
android.os.Bundle receiptOptions,
IPoyntReceiptPrintingServiceListener callback)
Print a receipt to the onboard printer representing a stay.
|
void |
printTransaction(java.lang.String jobId,
co.poynt.api.model.Transaction transaction,
long tipAmount,
boolean signatureCollected,
IPoyntReceiptPrintingServiceListener callback)
Deprecated.
please use printReceiptWithOptions() method
Print a receipt to the onboard printer representing a transaction.
The format is predetermined as required by the transaction processor.
The details of the transactions will be automatically loaded
from the Poynt Transaction service.
|
void |
printTransactionReceipt(java.lang.String jobId,
java.lang.String transactionId,
long tipAmount,
IPoyntReceiptPrintingServiceListener callback)
Print a receipt to the onboard printer representing a transaction.
|
void |
printTransactionReceiptWithOptions(java.lang.String jobId,
java.lang.String transactionId,
long tipAmount,
android.os.Bundle receiptOptions,
IPoyntReceiptPrintingServiceListener callback)
Print a receipt to the onboard printer representing a transaction.
|
void |
sendReceipt(java.lang.String orderId,
java.lang.String transactionId,
java.lang.String email,
java.lang.String phoneNumber,
IPoyntReceiptSendListener callback)
Sends email with the information from the given orderId or transactionId.
|
void printTransaction(java.lang.String jobId,
co.poynt.api.model.Transaction transaction,
long tipAmount,
boolean signatureCollected,
IPoyntReceiptPrintingServiceListener callback)
throws android.os.RemoteException
jobId - client provided UUID for referencetransaction - transaction to be printedcallback - IPoyntReceiptPrintingServiceListenerandroid.os.RemoteExceptionvoid printTransactionReceipt(java.lang.String jobId,
java.lang.String transactionId,
long tipAmount,
IPoyntReceiptPrintingServiceListener callback)
throws android.os.RemoteException
jobId - client provided UUID for referencetransactionId - transaction to be printedcallback - IPoyntReceiptPrintingServiceListenerandroid.os.RemoteExceptionvoid printOrderReceipt(java.lang.String jobId,
java.lang.String orderId,
IPoyntReceiptPrintingServiceListener callback)
throws android.os.RemoteException
jobId - client provided UUID for referenceorderId - order to be printedcallback - IPoyntReceiptPrintingServiceListenerandroid.os.RemoteExceptionvoid printReceipt(java.lang.String jobId,
PrintedReceipt receipt,
IPoyntReceiptPrintingServiceListener callback)
throws android.os.RemoteException
jobId - client provided UUID for referencereceipt - co.poynt.api.model.PrintedReceipt custom receipt content to be printedcallback - IPoyntReceiptPrintingServiceListenerandroid.os.RemoteExceptionvoid printBitmap(java.lang.String jobId,
android.graphics.Bitmap bitmap,
IPoyntReceiptPrintingServiceListener callback)
throws android.os.RemoteException
jobId - client provided UUID for referencebitmap - Bitmap custom receipt content proved as a bitmapcallback - IPoyntReceiptPrintingServiceListenerandroid.os.RemoteExceptionvoid printStayReceipt(java.lang.String jobId,
java.lang.String stayId,
IPoyntReceiptPrintingServiceListener callback)
throws android.os.RemoteException
jobId - client provided UUID for referencestayId - stay to be printedcallback - IPoyntReceiptPrintingServiceListenerandroid.os.RemoteExceptionvoid printBalanceInquiry(java.lang.String jobId,
co.poynt.api.model.BalanceInquiry balanceInquiry,
IPoyntReceiptPrintingServiceListener callback)
throws android.os.RemoteException
jobId - client provided UUID for referencebalanceInquiry - to be printedcallback - IPoyntReceiptPrintingServiceListenerandroid.os.RemoteExceptionvoid sendReceipt(java.lang.String orderId,
java.lang.String transactionId,
java.lang.String email,
java.lang.String phoneNumber,
IPoyntReceiptSendListener callback)
throws android.os.RemoteException
orderId - ID of the ordertransactionId - ID of the transactionemail - Email Address to send tophoneNumber - Phone number to send tocallback - IPoyntReceiptSendListenerandroid.os.RemoteExceptionvoid printTransactionReceiptWithOptions(java.lang.String jobId,
java.lang.String transactionId,
long tipAmount,
android.os.Bundle receiptOptions,
IPoyntReceiptPrintingServiceListener callback)
throws android.os.RemoteException
jobId - client provided UUID for referencetransactionId - transaction to be printedtipAmount - tipAmount tip entered by user.receiptOptions - options for receipt printingcallback - IPoyntReceiptPrintingServiceListenerandroid.os.RemoteExceptionvoid printStayReceiptWithOptions(java.lang.String jobId,
java.lang.String stayId,
android.os.Bundle receiptOptions,
IPoyntReceiptPrintingServiceListener callback)
throws android.os.RemoteException
jobId - client provided UUID for referencestayId - stay to be printedreceiptOptions - options for receipt printingcallback - IPoyntReceiptPrintingServiceListenerandroid.os.RemoteExceptionvoid printBalanceInquiryWithOptions(java.lang.String jobId,
co.poynt.api.model.BalanceInquiry balanceInquiry,
android.os.Bundle receiptOptions,
IPoyntReceiptPrintingServiceListener callback)
throws android.os.RemoteException
jobId - client provided UUID for referencebalanceInquiry - to be printedreceiptOptions - options for receipt printingcallback - IPoyntReceiptPrintingServiceListenerandroid.os.RemoteExceptionvoid printReceiptWithOptions(java.lang.String jobId,
android.os.Bundle options,
IPoyntReceiptPrintingServiceListener callback)
throws android.os.RemoteException
Bundle can contain the following:
TRANSACTION: Transaction object associated with this payment TIP_AMOUNT: Long Tip Amount to override and print on receipt
STAY: Stay object associated with this payment TRANSACTION_ACTION: TransactionAction action (string) used for Stay Receipt ADJUST_TO_ADD_CHARGES: Boolean to indicate adjustToAddCharges
ORDER: Order object associated with this payment BALANCE_INQUIRY: BalanceInquiry object
jobId - receiptOptions - callback - android.os.RemoteException