TaxesRates/Methods

TaxesRates/Methods

Source:

Methods for Custom Tax Rates. Run these methods using Meteor.call().

Methods

(static) taxes/addRate(doc) → {String}

Source:
Parameters:
Name Type Description
doc Object

A Taxes document to be inserted

Returns:

Insert result

Type
String

(static) taxes/deleteRate(taxId) → {String}

Source:
Parameters:
Name Type Description
taxId String

tax taxId to delete

Returns:

returns update/insert result

Type
String

(static) taxes/editRate(details) → {String}

Source:
Parameters:
Name Type Description
details Object

An object with _id and modifier props

Returns:

Update result

Type
String