question

jolly avatar image
jolly asked rachel Deactivated answered

Add Tax Rate with Order in android ?

I want to add custom service tax with the order i am try this

            TaxRate taxRate = new TaxRate();
            taxRate.setIsDefault(true);
            taxRate.setName("service");
            taxRate.setRate(30l);
            List<TaxRate> taxRates = new ArrayList<>(); taxRates.add(taxRate);
            lineItem.setTaxRates(taxRates);
            orderConnector.addServiceCharge(mOrder.getId(),"service");

to add service tax i think addservicecharges not add tax within order ,it take default service charges is their any suggestion ?

10 |2000

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

0 Answers

Welcome to the
Clover Developer Community