question

zaven avatar image
zaven asked Miguel Deactivated answered

Insert item into order list items

I have an app on a Clover device. What I'm trying to achieve is:
- Insert custom item in the order list before payment.
OrdersClover 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
If you are using our orderConnector and Android SDK, you can use the following method to add a custom line item to an order:
public LineItem addCustomLineItem(String orderId,
                                  LineItem lineItem,
                                  boolean isTaxable)
Example:
mOrderConnector.addCustomLineItem(mOrder.getId(), lineItem, true);
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