/*
* Selling Partner API for Direct Fulfillment Orders
*
* The Selling Partner API for Direct Fulfillment Orders provides programmatic access to a direct fulfillment vendor's order data.
*
* The version of the OpenAPI document: v1
*
* Generated by: https://openapi-generator.tech
*/
use crate::models;
use serde::{Deserialize, Serialize};
/// Money : An amount of money, including units in the form of currency.
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct Money {
/// Three digit currency code in ISO 4217 format. String of length 3.
#[serde(rename = "currencyCode", skip_serializing_if = "Option::is_none")]
pub currency_code: Option<String>,
/// A decimal number with no loss of precision. Useful when precision loss is unacceptable, as with currencies. Follows RFC7159 for number representation.
#[serde(rename = "amount", skip_serializing_if = "Option::is_none")]
pub amount: Option<String>,
}
impl Money {
/// An amount of money, including units in the form of currency.
pub fn new() -> Money {
Money {
currency_code: None,
amount: None,
}
}
}