Cycle Logo

Data Objects & Entities

A reference for the data objects, entities, and interfaces used in the Cycle Android SDK.

Class: ReversePaymentContext

JavaBean data container that is required for a payment reversal / refund.

Properties

TypeDescription
transactionIDTransaction ID of the payment reversal
actionReversal type
currencyCurrency used for a reversal / return
returnAmountPayment amount of a reversal that will be executed. For a full reversal set null
returnAmountBigPayment amount of a reversal that will be executed as a BigDecimal representation
auxDataList of goods in a prescribed format
extIDClient application ID
receiptEmailEmail for a receipt
receiptPhonePhone number for a receipt
ernUnique document number within the shift (used during the transaction via TTK protocol)
suppressSignatureWaitingSignature suppression sign when the receipt is generated and sent to the customer.
acquirerCodeAcquiring bank code (only for a credit voucher)
nfcNFC credit voucher sign
skipFiscalizationSign of the suppression of a fiscalization operation.

Methods

reset()Clears the object fields
putPurchase(Purchase purchase)Adds product data in a standard Purchase format
putInvoiceTag(int tag, Object value)Adds (changes the value of) Fiscal Data Format 1.05 tag applied to the receipt.

Class: AttachCardContext

JavaBean data container that are required for a card linking.

Properties

TypeDescription
currencyCard currency
acquirerCodeAcquiring bank code
deferredIndication of payment via deferred authorization (only for a reader Cycle One)

Class: PaymentResultContext

JavaBean data container that is received when the payment is made or reversed.

Properties

TypeDescription
transactionItemPayment transaction / reversal information as a TransactionItem representation
scheduleItemRecurring payment transaction information as a ScheduleItem representation
requiresSignatureAn indication of the need to send the payer's signature after the payment is conducted
terminalNameA terminal
emvDataEMV (chip) transaction dataset in a representation of HashMap<String, String>
attachedCardInformation about the card that is linked when PaymentController.addLinkedCard() is called
deferredDataTransaction data that is sent during a deferred authorization
cardHashEncrypted PAN card
tranIdTransaction ID for a deferred authorization

Interface: RegistrationCallback

Request result processor of signing up in a Tap2Go application.

Methods

onFinished(String accesCode)Called if the registration is successful.
onFailed(String error)Called if the registration is not successful.