Skip to content

Latest commit

 

History

History
91 lines (67 loc) · 3.96 KB

README.md

File metadata and controls

91 lines (67 loc) · 3.96 KB

android-example

Android examples showing different Android APIs in clover-android-sdk.

The examples are made to work with Android Studio 1.5 and Gradle 2.7.

Example of listening for the result of a barcode scan.

Example for opening App Details page in App Market, checking current app's subscriptions/metereds, and suggest subscription upgrade.

Example for getting inventory data from Clover.

Example for showing customer facing UI on Clover Station.

Example for checking employee role.

Example for creating a custom tender that can be utilize its own payment flow (i.e. loyalty credits, scan barcode, etc.) from Register, Sale, and Secure Payment apps.

Example for getting current logged in employee information.

Example for getting owner information.

Example for getting access token using Clover Authentication Utility.

Example for getting merchant information.

Example that adds a custom button to the pay page. Clicking on this button opens an activity which allows the user to add a 10% discount to the current order

Example that adds a custom button to the sale page. Clicking on this button opens an activity which allows the user to add a 10% discount to the current sale amount

Example for getting OAuth 2.0 information like Access Token, Merchant ID, and Employee ID.

Example to pay with Register App.

Example that launches the Secure Payment App, and works with the returned payment.

Example that shows how you can receive clover push notifications

Example to read current open order.

Example to add extra text at the end of the receipt.

Example that shows how to use RotateToMerchantDialogFragment for a smooth transition between customer facing mode to merchant facing mode.

Example to select an item and add to order.

Example that launches a secure payment, and conforms to Terminal Plan modules.