This page gives a general overview of the entities (DTOs) used in this library.
The Price object will be used from all calculators to get prices into a method and return the result of calculating as an object. See also Price Calculator
The Discount object will be only used by the Discount Calculator. It will be used to get discount values into a method. See also Discount Calculator
The VAT object is used only by the VAT calculator. The VAT object is necessary to create an instance of the VAT calculator. Unlike the discount, which is always added to a method, the VAT object is passed only once via constructor, since constant passing of the information is usually not necessary. See also VAT Calculator
Hint: All entities are immutables.