// Usage:
ckt = CheckoutClass("pathToPrices.json","pathToDiscounts.json")
to insert the items: ckt.scan("ITEM").
to get the total amount to pay: ckt.total().
// Usage:
ckt = CheckoutClass("pathToPrices.json","pathToDiscounts.json")
to insert the items: ckt.scan("ITEM").
to get the total amount to pay: ckt.total().