question

darylfuller avatar image
darylfuller asked Jacob Abrams commented

Anybody working on dual cash drawers?

Station 2018 power hub has two cash drawer receptacles. Has anyone tried to develop a way to utilize those independently?

clover developer communityClover Station 2018
10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

Jeffrey Blattman avatar image
Jeffrey Blattman answered darylfuller commented

You can do this using the com.clover.sdk.cashdrawer.CashDrawers API in the Clover Android SDK. If you call CashDrawers#list, you get a set of the connected cash drawers. Each CashDrawer object returned is a pair that is a String identifier + cash drawer number.

You can see an example of this in use in CashDrawersActivity in the SDK.

10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Welcome to the
Clover Developer Community