Trait bill::BillProduct
[−]
[src]
pub trait BillProduct { fn price(&self) -> Money; fn name(&self) -> String; fn tax(&self) -> Tax; }
Describes one particular product.
Amount is handled by BillItem
Required Methods
fn price(&self) -> Money
Price in Money
fn name(&self) -> String
A name is a term used for identification.
fn tax(&self) -> Tax
Implementors
impl<'a> BillProduct for Product<'a>