tktax-amazon 0.2.2

High-performance crate for parsing, fusing, and exporting Amazon transaction data for financial recordkeeping.
Documentation
// ---------------- [ File: tktax-amazon/src/item_listing.rs ]
crate::ix!();

#[derive(Getters,Clone,Debug)]
#[getset(get="pub")]
pub struct AmazonItemListing {
    item:  &'static str,
    price: MonetaryAmount,
}

impl AmazonItemListing {

    pub fn new(item: &'static str, price: f64) -> Self {
        Self {
            item,
            price: MonetaryAmount::from(price)
        }
    }
}