Tax Rates


Overview

The tax rates API allows you to view all the tax rates.


List all tax rates

Returns tax rates back from WooCommerce, include parementers to query data.

getTaxRates()

Parameters

int page,
int perPage,
int offset,
String order,
String orderBy,
String taxClass

API Call

// CONFIG FOR WOOSIGNAL
var wsConfig = {
"appKey":"your app key",
"debugMode":true
};

// CREATING AN INSTANCE
WooSignal.getInstance(config: wsConfig).then( (wcStore) {

    wcStore.getTaxRates().then( (taxRates) {
        print(taxRates[0].name);
    });

});

Response

List<TaxRate> instance

Represents the following object - WooCommerce list all tax rates