noah-sdk 1.1.0

A modern, type-safe Rust SDK for the Noah Business API
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
use crate::models;
use serde::{Deserialize, Serialize};

/// FiatOption : Fiat option for a customer to be onboarded with.
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct FiatOption {
    /// Supported fiat ISO_4217 3 letter currency codes.
    #[serde(rename = "FiatCurrencyCode")]
    pub fiat_currency_code: String,
}

impl FiatOption {
    /// Fiat option for a customer to be onboarded with.
    pub fn new(fiat_currency_code: String) -> FiatOption {
        FiatOption { fiat_currency_code }
    }
}