PlugPagServiceCommand

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

Link copied to clipboard
val context: Context
Link copied to clipboard

Functions

Link copied to clipboard
fun abort(listener: PlugPagEventListener?, isAsync: Boolean = false): PlugPagAbortResult
Link copied to clipboard
fun calculateInstallments(saleValue: String, isAsync: Boolean = false): Array<String>
fun calculateInstallments(saleValue: String, installmentType: Int, isAsync: Boolean = false): List<PlugPagInstallment>
Link copied to clipboard
fun checkPermissionPlugPagService(isAsync: Boolean = false): Boolean
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
fun getCardData(isAsync: Boolean = false): PlugPagCardInfoResult
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
fun getSubAcquirerData(isAsync: Boolean = false): PlugPagSubAcquirerResult
Link copied to clipboard
fun hasCapability(capability: Int, isAsync: Boolean = false): Boolean
Link copied to clipboard
fun hasSoftwareCapability(operation: Int, mode: Int, isAsync: Boolean = false): Boolean
Link copied to clipboard
fun hasSubAcquirer(isAsync: Boolean = false): Boolean
Link copied to clipboard
fun initializeAndActivatePinpad(    activationData: PlugPagActivationData,     listener: PlugPagEventListener?,     isAsync: Boolean = false): PlugPagInitializationResult
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun initTechActivation(    eventListener: PlugPagEventListener?,     printerListener: PlugPagPrinterListener?,     appIdentification: PlugPagAppIdentification,     isAsync: Boolean = false): PlugPagTechActivation
Link copied to clipboard
fun invalidateAuthentication(isAsync: Boolean = false)
Link copied to clipboard
fun invalidateSubAcquirer(isAsync: Boolean = false): Boolean
Link copied to clipboard
fun isAuthenticated(isAsync: Boolean = false): Boolean
Link copied to clipboard
fun isServiceBusy(isAsync: Boolean = false): Boolean
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
fun sendReceiptSMS(smsData: PlugPagReceiptSMSData, isAsync: Boolean = false): Boolean
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
fun updateRemoteConfig(isAsync: Boolean = false): Int
Link copied to clipboard
fun voidPayment(    voidData: PlugPagVoidData,     listener: PlugPagEventListener?,     printerListener: PlugPagPrinterListener?,     printerLayout: PlugPagCustomPrinterLayout?,     isAsync: Boolean = false): PlugPagTransactionResult

Inherited functions

Link copied to clipboard
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>