/*
* The Selling Partner API for Amazon Seller Wallet Open Banking API
*
* The Selling Partner API for Seller Wallet (Seller Wallet API) provides financial information that is relevant to a seller's Seller Wallet account. You can obtain financial events, balances, and transfer schedules for Seller Wallet accounts. You can also schedule and initiate transactions.
*
* The version of the OpenAPI document: 2024-03-01
*
* Generated by: https://openapi-generator.tech
*/
use crate::models;
use serde::{Deserialize, Serialize};
/// Currency : A currency type and amount.
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct Currency {
/// The three-digit currency code in ISO 4217 format.
#[serde(rename = "currencyCode", skip_serializing_if = "Option::is_none")]
pub currency_code: Option<String>,
/// A decimal number such as amount or FX rate.
#[serde(rename = "currencyAmount", skip_serializing_if = "Option::is_none")]
pub currency_amount: Option<f64>,
}
impl Currency {
/// A currency type and amount.
pub fn new() -> Currency {
Currency {
currency_code: None,
currency_amount: None,
}
}
}