View Source Taxes.Logic (Channex Taxes v0.3.2)
Module with logic operations to calculate each type of tax
Summary
Functions
@spec calculate_tax(Taxes.Types.tax(), Taxes.Types.payload()) :: {String.t(), float()}
Module with logic operations to calculate each type of tax
@spec calculate_tax(Taxes.Types.tax(), Taxes.Types.payload()) :: {String.t(), float()}