question

Ajmal M A avatar image
Ajmal M A asked rachel Deactivated commented

How to get the default tax rate set by the user ?

Is there any option to get the default tax rate, user set in the clover machine, using android SDK?

2 comments
10 |2000

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

rachel avatar image rachel commented ·

Hi @Ajmal,

Check out this post.

0 Likes 0 ·
Ajmal M A avatar image Ajmal M A commented ·

I dnt want to set the tax rate. need to get the default taxrate set by the user in clover machine.

0 Likes 0 ·
usman avatar image
usman answered Ajmal M A commented

/v3/merchants/{mId}/tax_rates/

Karma me!

1 comment
10 |2000

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

Ajmal M A avatar image Ajmal M A commented ·

Is there any option in android sdk?

0 Likes 0 ·
rachel avatar image
rachel Deactivated answered

Hi @Ajmal,

You can use the inventoryConnector from the Android SDK to get a list of tax rates and then check to see if any of them are default tax rates (there's no guarantee that the merchant has set a default). Something like List<TaxRate> taxRates = inventoryConnector.getTaxRates(); for (TaxRate taxRate : taxRates) { taxRate.getIsDefault(); }

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