Crate bill

source ·
Expand description

Product and Invoicing primitives.

Please check out examples/catalogue.rs

Structs

  • This is where the magic happens.
  • Maps a BillProduct to an amount.
  • Represents currency through an optional symbol and amount of coin.
  • A list of BillItems, implements summing methods.
  • Describes one particular product. Amount is handled by BillItem
  • Representation of Tax value

Traits

  • Describes one particular product. Amount is handled by BillItem

Type Definitions

  • Representation of Item quantities.
  • Alias for Currency.