question

mohit-kanada avatar image
mohit-kanada asked Jacob Abrams answered

How to remove tax from order using android SDK ?

I want to remove Tax from whole android. I am using android SDK. In inventory connector there is option for order to set Is Tax Removed Boolean. Using that I can't able to remove tax from order.

order.setTaxRemoved(true);

Let me know if there is any way to remove all taxes from an order.

Orders
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

Jacob Abrams avatar image
Jacob Abrams answered

Changes to Clover objects must be followed by a call to the corresponding Connector class. Changes to an Order object made using methods such as setTaxRemoved should be made by calling OrderConnector#updateOrder(...). See the javadocs here for all the possible methods you can use to operate on Orders: https://clover.github.io/clover-andro...

You can use InventoryConnector methods to make changes to an item that will affect all future orders with that specific item.

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