View Source Taxes.Logic (Channex Taxes v0.3.2)

Module with logic operations to calculate each type of tax

Summary

Functions

Link to this function

calculate_tax(tax, payload)

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