You've already forked AstralRinth
forked from didirus/AstralRinth
Improve support for non-USD Tremendous gift cards (#4887)
* Improve support for non-USD Tremendous gift cards * add forex info to tremendous payout methods * fix: partially fix DEV-535 * feat: wip * eur/usd to usd/eur * feat: better denom picking * feat: qa changes * fix: intl --------- Co-authored-by: Calum H. (IMB11) <contact@cal.engineer> Co-authored-by: Prospector <6166773+Prospector@users.noreply.github.com>
This commit is contained in:
@@ -239,6 +239,10 @@ pub struct PayoutMethod {
|
||||
pub image_logo_url: Option<String>,
|
||||
pub interval: PayoutInterval,
|
||||
pub fee: PayoutMethodFee,
|
||||
pub currency_code: Option<String>,
|
||||
/// USD to the given `currency_code`.
|
||||
#[serde(with = "rust_decimal::serde::float_option")]
|
||||
pub exchange_rate: Option<Decimal>,
|
||||
}
|
||||
|
||||
#[derive(Serialize, Deserialize, Clone)]
|
||||
|
||||
Reference in New Issue
Block a user