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
| Type | Description |
|---|---|
transactionID | Transaction ID of the payment reversal |
action | Reversal type |
currency | Currency used for a reversal / return |
returnAmount | Payment amount of a reversal that will be executed. For a full reversal set null |
returnAmountBig | Payment amount of a reversal that will be executed as a BigDecimal representation |
auxData | List of goods in a prescribed format |
extID | Client application ID |
receiptEmail | Email for a receipt |
receiptPhone | Phone number for a receipt |
ern | Unique document number within the shift (used during the transaction via TTK protocol) |
suppressSignatureWaiting | Signature suppression sign when the receipt is generated and sent to the customer. |
acquirerCode | Acquiring bank code (only for a credit voucher) |
nfc | NFC credit voucher sign |
skipFiscalization | Sign 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
| Type | Description |
|---|---|
currency | Card currency |
acquirerCode | Acquiring bank code |
deferred | Indication 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
| Type | Description |
|---|---|
transactionItem | Payment transaction / reversal information as a TransactionItem representation |
scheduleItem | Recurring payment transaction information as a ScheduleItem representation |
requiresSignature | An indication of the need to send the payer's signature after the payment is conducted |
terminalName | A terminal |
emvData | EMV (chip) transaction dataset in a representation of HashMap<String, String> |
attachedCard | Information about the card that is linked when PaymentController.addLinkedCard() is called |
deferredData | Transaction data that is sent during a deferred authorization |
cardHash | Encrypted PAN card |
tranId | Transaction 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. |