v284 release notes
Clover Android SDK
We have recently released version 284 of Clover Android SDK
clover-android-sdk
Data model changes
- The pre-auth payment request allows both incrementing and decrementing of amount.
- Added two columns to item and one column to modifier for auto-management of item availability.
- Added a tag to Merchant Plan to support Essentials.
- Added
FLAG_NO_TIPint toPrintJob.java. - Added
OFFLINEstatus to support unsubscription. - Added
TEST_PRINTenum toPrintCategory.javato support the Test Print feature. - Added dccEligible field to
V3 DCCInfoclass. - Added
EXTRA_NO_TIPstring toIntents.javato block capturing of tips in the print receipts. - Added the following columns to
ItemColumnsto help fetching MenuItem with item:- On point-of-sale (POS)
- Online
- Stock
- Added ItemColor column to
LineItemclass. - Added DINE_IN service type to
ServiceType.java. - Added Network Transaction ID to CardTransactionConstants for printed receipts.
- Added Quickpay UUID to
PayIntentto be used by SecurePayService to finalize a payment. - Added flatTip field to
TipSuggestion.java. - Added
cashbackAmountparameter toPayIntentclass, which allows cashbackAmount for the SecurePaymentFlow. - Added cardlessType, count, and total fields to
BatchCardlessTotal.java. - Added trialDaysLeft field to
App.javato show the trial days remaining for the app installed. - Added weightedRating field to
AggregateRating.javato retrieve apps by ratings. - Added isPresentQrcOnly field to
PayIntentfor QR scan.
New features
- Added
deleteCategoriesmethod toInventoryTestActivity.javato improve the performance of bulk delete items operation. - Added
getItemsForModifierGroupto theInventoryConnectorclass to identify items associated to a modifier group. - Added
OrderContract.OrderSummaryAPI for improved search performance and longer history. - Added
updateCategoryItemsmethod to update only category items. - Added
updateCategorySortOrdersmethod to support bulk update sorting orders. - Added the following APIs to provide access to printer on a merchant's device:
- Added the following methods to simplify registering and unregistering of the
CustomerModebroadcast receiver. The methods will check whether it is appropriate to register/unregister given the context.register(Context)unregister()
- Added the following functions to
TenderConstantsfor merchants to manage PayPal/Venmo refunds same as the credit/debit refunds.isPayPalVenmo()isSystemPayPal()isSystemVenmo()
- Added
TX_ACTIONto TX_ACTION_UPDATE_AUTH to ask for the card details at the terminal while updating a pre-auth request. - Added
bulkAssignColorToItemsmethod toInventoryConnectorclass to assign category color to inventory items that belong to a particular category. - Added CONTENT_WITH_MENU_URI to
InventoryContractclass to help fetch menu data with category. - Added
MERCHANT_ONLYAPI toPlatform2.javato determine if the device is intended for merchants. - Added
TokenizeCardRequestandTokenizeCardResponseclasses inPayIntent.javafor token request and response. - Added
addServiceCharge2function toOrderV31Connector.javato indicate if the service charge was automatically applied to the order. - Added
bulkLineItemEvent.insertmethod toLineItemEventContract.java. - Added the following functions to
PayIntent.java:isManualCardEntryByPassMode- if enabled, on starting the payment in manual flow, the device prompts for card numberisAllowManualCardEntryOnMFD- if enabled, for manual entry, the card information can be added on the merchant-facing device
Replaced intents
- The
Payment Connectorinterface replacesACTION_SECURE_PAY,ACTION_STATION_PAY, andACTION_STATION_SECURE_PAYAPIs. - The
ACTION_AUTHENTICATE_EMPLOYEEAPI replaces theACTION_REQUEST_ROLEAPI.
Deprecated/removed
OrderContract.OrderSummariesAPI.- Product Code and SKU columns.
ACTION_REQUEST_ROLEAPI.DeviceCountInfoandDevicePriceInfoAPIs.
Emulator setup in Android Studio
Python 3.5 or later version is required to run the ./install_apps.py script, refer to Installing required Clover merchant apps.
Updated almost 2 years ago
