use *;
/// A currency amount stored in Stripe's smallest denomination.
///
/// Stripe never transmits a floating point amount, so `Money` keeps an
/// integer minor-unit count plus the currency that determines how the
/// value converts back to a major-unit decimal. Two USD is `200`
/// minor units; two JPY is `2`, because JPY has no minor unit.
///
/// Accessors are generated by `#[derive(Getter)]`. Both fields are
/// public because callers persist the raw minor-unit count straight
/// into Stripe's `amount` parameter; `currency_code` pairs the two when
/// a human-readable form is needed.