Revision 9b9e30ee689ec5cd647a25d304a2e73013a27fb9

Committed on 27/06/2014 6:44 am by Bertrand Dunogier <bd@ez.no> [GitHub Diff]

Cleaned up Price\Value

Now has two properties: (float)$price and (bool)$isVatIncluded.

hash & persistence handling have been updated.
The Converter now reads data_text, formatted as "<isVatIncluded>,<vatId>",
and sets the appropriate value.

The Value constructor now accepts, for convenience:
- either an array of properties,
- or a price.