Channex Taxes v0.2.5 Taxes.Logic View Source

Module with logic operations to calculate each type of tax

Link to this section Summary

Link to this section Functions

Link to this function

calculate_tax(tax, payload)

View Source
calculate_tax(Taxes.Types.tax(), Taxes.Types.payload()) :: {String.t(), float()}