Crate bill [−] [src]

Product and Invoicing primitives.

Please check out examples/catalogue.rs

Structs

Bill

This is where the magic happens.

BillItem

Maps a BillProduct to an amount.

Currency

Represents currency through an optional symbol and amount of coin.

ItemList

A list of BillItems, implements summing methods.

Product

Describes one particular product. Amount is handled by BillItem

Tax

Representation of Tax value

Traits

BillProduct

Describes one particular product. Amount is handled by BillItem

Type Definitions

Amount

Representation of Item quantities.

Money

Alias for Currency.