Skip to content

Commit

Permalink
fix(currency): add BYN and MMK to currency list
Browse files Browse the repository at this point in the history
  • Loading branch information
BentEngbers authored and arlyon committed Jan 24, 2024
1 parent 306b94c commit 03cddce
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion openapi/src/metadata.rs
Expand Up @@ -314,5 +314,5 @@ pub fn feature_groups() -> BTreeMap<&'static str, &'static str> {
]
.iter()
.copied()
.collect()
.collect()
}
4 changes: 4 additions & 0 deletions src/resources/currency.rs
Expand Up @@ -7,6 +7,10 @@ use crate::params::to_snakecase;
/// For more details see <https://support.stripe.com/questions/which-currencies-does-stripe-support>.
#[derive(Copy, Clone, Debug, Deserialize, Serialize, Eq, PartialEq, Hash)]
pub enum Currency {
#[serde(rename = "byn")]
BYN, // Belarusian Ruble
#[serde(rename = "mmk")]
MMK, // Myanmar Kyat
#[serde(rename = "aed")]
AED, // United Arab Emirates Dirham
#[serde(rename = "afn")]
Expand Down

0 comments on commit 03cddce

Please sign in to comment.