// ---------------- [ 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)
}
}
}