Plug Pag Service Command
class PlugPagServiceCommand(val context: Context, val metricListener: WrapperMetricListener, val appIdentification: PlugPagAppIdentification) : PlugPagServiceCommandBase
Constructors
Link copied to clipboard
fun PlugPagServiceCommand(context: Context, metricListener: WrapperMetricListener, appIdentification: PlugPagAppIdentification)
Inherited properties
Functions
Link copied to clipboard
Link copied to clipboard
fun calculateInstallments(saleValue: String, installmentType: Int, isAsync: Boolean = false): List<PlugPagInstallment>
Link copied to clipboard
Link copied to clipboard
fun deactivate(activationData: PlugPagActivationData, listener: PlugPagEventListener?, isAsync: Boolean = false): PlugPagInitializationResult
Link copied to clipboard
fun doEffectuatePreAuto(effectuatePreAutoData: PlugPagEffectuatePreAutoData, listener: PlugPagEventListener?, printerListener: PlugPagPrinterListener?, printerLayout: PlugPagCustomPrinterLayout?, isAsync: Boolean = false): PlugPagTransactionResult
Link copied to clipboard
fun doPayment(paymentData: PlugPagPaymentData, listener: PlugPagEventListener?, printerListener: PlugPagPrinterListener?, printerLayout: PlugPagCustomPrinterLayout?, isAsync: Boolean = false, runPaymentConnection: (PaymentServiceConnection) -> Unit): PlugPagTransactionResult
Link copied to clipboard
fun doPreAutoCancel(transactionId: String, transactionCode: String, listener: PlugPagEventListener?, printerListener: PlugPagPrinterListener?, printerLayout: PlugPagCustomPrinterLayout?, isAsync: Boolean = false): PlugPagTransactionResult
Link copied to clipboard
fun doPreAutoCreate(plugPagPreAutoData: PlugPagPreAutoData, listener: PlugPagEventListener?, printerListener: PlugPagPrinterListener?, printerLayout: PlugPagCustomPrinterLayout?, isAsync: Boolean = false): PlugPagTransactionResult
fun doPreAutoCreate(plugPagPreAutoKeyingData: PlugPagPreAutoKeyingData, listener: PlugPagEventListener?, printerListener: PlugPagPrinterListener?, printerLayout: PlugPagCustomPrinterLayout?, isAsync: Boolean = false): PlugPagTransactionResult
Link copied to clipboard
Link copied to clipboard
fun getKeyedInPreAutoData(plugPagPreAutoQueryData: PlugPagPreAutoQueryData, listener: PlugPagEventListener?, printerListener: PlugPagPrinterListener?, isAsync: Boolean = false): PlugPagTransactionResult
Link copied to clipboard
Link copied to clipboard
fun getPreAutoData(plugPagPreAutoQueryData: PlugPagPreAutoQueryData?, listener: PlugPagEventListener?, printerListener: PlugPagPrinterListener?, isAsync: Boolean = false): PlugPagTransactionResult
Link copied to clipboard
fun getPreAutoList(listener: PlugPagEventListener?, printerListener: PlugPagPrinterListener?, isAsync: Boolean = false): PlugPagPreAutoQueryResult
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun initializeAndActivatePinpad(activationData: PlugPagActivationData, listener: PlugPagEventListener?, isAsync: Boolean = false): PlugPagInitializationResult
Link copied to clipboard
fun initializeSubAcquirer(subData: PlugPagSubAcquirerData, listener: PlugPagEventListener?, isAsync: Boolean = false): PlugPagInitializationResult
Link copied to clipboard
fun initPagBankActivation(listener: PlugPagEventListener?, isAsync: Boolean = false): PlugPagPagBankActivationResult
Link copied to clipboard
fun initTechActivation(eventListener: PlugPagEventListener?, printerListener: PlugPagPrinterListener?, appIdentification: PlugPagAppIdentification, isAsync: Boolean = false): PlugPagTechActivation
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun printLastTechActivationReceipt(eventListener: PlugPagEventListener?, printerListener: PlugPagPrinterListener?, ppTechActivation: PlugPagTechActivation, isAsync: Boolean = false): PlugPagTechPrintResult
Link copied to clipboard
fun reprintCustomerReceipt(listener: PlugPagEventListener?, printerListener: PlugPagPrinterListener?, isAsync: Boolean = false): PlugPagPrintResult
Link copied to clipboard
fun reprintStablishmentReceipt(listener: PlugPagEventListener?, printerListener: PlugPagPrinterListener?, isAsync: Boolean = false): PlugPagPrintResult
Link copied to clipboard
Link copied to clipboard
fun setPrintActionListener(listener: PlugPagEventListener?, printListener: PlugPagPrintActionListener?, isAsync: Boolean = false): PlugPagPrintActionResult
Link copied to clipboard
fun setStyleData(styleData: PlugPagStyleData, printerLayout: PlugPagCustomPrinterLayout?, isAsync: Boolean = false): Boolean
Link copied to clipboard
Link copied to clipboard
fun voidPayment(voidData: PlugPagVoidData, listener: PlugPagEventListener?, printerListener: PlugPagPrinterListener?, printerLayout: PlugPagCustomPrinterLayout?, isAsync: Boolean = false): PlugPagTransactionResult
Inherited functions
Link copied to clipboard
fun createPlugPagServiceConnection(plugPagCommand: PlugPagCommand, isAsync: Boolean): PlugPagServiceConnection
Link copied to clipboard
fun createServiceIntent(packageName: String = PlugPag.SERVICE_PACKAGE_NAME, className: String = PlugPag.SERVICE_CLASS_NAME): Intent
Link copied to clipboard
fun <R : Any> genericSynchronousResultService(isAsync: Boolean = false, plugPagCommand: PlugPagCommand, intent: Intent, createServiceConnection: (Message) -> SynchronousServiceConnection<R>): R
Link copied to clipboard
fun <R : Any> genericSynchronousService(isAsync: Boolean = false, plugPagCommand: PlugPagCommand, intent: Intent, createServiceConnection: (Message) -> SynchronousServiceConnection<R>): SynchronousServiceConnection<R>