question

zaven avatar image
zaven asked Miguel Deactivated answered

Get lineitem SKU

I want to get SKU code of a lineitem form a custom app installed in clover.
Clover Android 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.

1 Answer

Miguel avatar image
Miguel Deactivated answered
Using the Clover Android SDK, you can get the SKU from a LineItem using the InventoryConnector. Reference the following snippet:
mInventoryConnector.getItem(lineitem.getItem().getId()).getSku();
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