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_TIP
int toPrintJob.java
. - Added
OFFLINE
status to support unsubscription. - Added
TEST_PRINT
enum toPrintCategory.java
to support the Test Print feature. - Added dccEligible field to
V3 DCCInfo
class. - Added
EXTRA_NO_TIP
string toIntents.java
to block capturing of tips in the print receipts. - Added the following columns to
ItemColumns
to help fetching MenuItem with item:- On point-of-sale (POS)
- Online
- Stock
- Added ItemColor column to
LineItem
class. - Added DINE_IN service type to
ServiceType.java
. - Added Network Transaction ID to CardTransactionConstants for printed receipts.
- Added Quickpay UUID to
PayIntent
to be used by SecurePayService to finalize a payment. - Added flatTip field to
TipSuggestion.java
. - Added
cashbackAmount
parameter toPayIntent
class, which allows cashbackAmount for the SecurePaymentFlow. - Added cardlessType, count, and total fields to
BatchCardlessTotal.java
. - Added trialDaysLeft field to
App.java
to show the trial days remaining for the app installed. - Added weightedRating field to
AggregateRating.java
to retrieve apps by ratings. - Added isPresentQrcOnly field to
PayIntent
for QR scan.
New features
- Added
deleteCategories
method toInventoryTestActivity.java
to improve the performance of bulk delete items operation. - Added
getItemsForModifierGroup
to theInventoryConnector
class to identify items associated to a modifier group. - Added
OrderContract.OrderSummary
API for improved search performance and longer history. - Added
updateCategoryItems
method to update only category items. - Added
updateCategorySortOrders
method 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
CustomerMode
broadcast receiver. The methods will check whether it is appropriate to register/unregister given the context.register(Context)
unregister()
- Added the following functions to
TenderConstants
for merchants to manage PayPal/Venmo refunds same as the credit/debit refunds.isPayPalVenmo()
isSystemPayPal()
isSystemVenmo()
- Added
TX_ACTION
to TX_ACTION_UPDATE_AUTH to ask for the card details at the terminal while updating a pre-auth request. - Added
bulkAssignColorToItems
method toInventoryConnector
class to assign category color to inventory items that belong to a particular category. - Added CONTENT_WITH_MENU_URI to
InventoryContract
class to help fetch menu data with category. - Added
MERCHANT_ONLY
API toPlatform2.java
to determine if the device is intended for merchants. - Added
TokenizeCardRequest
andTokenizeCardResponse
classes inPayIntent.java
for token request and response. - Added
addServiceCharge2
function toOrderV31Connector.java
to indicate if the service charge was automatically applied to the order. - Added
bulkLineItemEvent.insert
method 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 Connector
interface replacesACTION_SECURE_PAY
,ACTION_STATION_PAY
, andACTION_STATION_SECURE_PAY
APIs. - The
ACTION_AUTHENTICATE_EMPLOYEE
API replaces theACTION_REQUEST_ROLE
API.
Deprecated/removed
OrderContract.OrderSummaries
API.- Product Code and SKU columns.
ACTION_REQUEST_ROLE
API.DeviceCountInfo
andDevicePriceInfo
APIs.
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 about 1 year ago