1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
//! Product and Invoicing primitives.
//!
//! Please check out `examples/catalogue.rs`
pub use claude::Currency;
mod bill;
pub use crate::bill::Bill;
mod itemlist;
pub use crate::itemlist::ItemList;
mod product;
pub use crate::product::{BillProduct, Product};
mod item;
pub use crate::item::BillItem;
mod tax;
pub use crate::tax::Tax;
/// Representation of Item quantities.
pub type Amount = f64;
/// Alias for `Currency`.
pub type Money = Currency;