Soenneker.Enums.CurrencyCodes 11.0.128

Prefix Reserved
dotnet add package Soenneker.Enums.CurrencyCodes --version 11.0.128
                    
NuGet\Install-Package Soenneker.Enums.CurrencyCodes -Version 11.0.128
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Soenneker.Enums.CurrencyCodes" Version="11.0.128" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Soenneker.Enums.CurrencyCodes" Version="11.0.128" />
                    
Directory.Packages.props
<PackageReference Include="Soenneker.Enums.CurrencyCodes" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Soenneker.Enums.CurrencyCodes --version 11.0.128
                    
#r "nuget: Soenneker.Enums.CurrencyCodes, 11.0.128"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Soenneker.Enums.CurrencyCodes@11.0.128
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Soenneker.Enums.CurrencyCodes&version=11.0.128
                    
Install as a Cake Addin
#tool nuget:?package=Soenneker.Enums.CurrencyCodes&version=11.0.128
                    
Install as a Cake Tool

alternate text is missing from this package README image alternate text is missing from this package README image alternate text is missing from this package README image alternate text is missing from this package README image

Soenneker.Enums.CurrencyCodes

A string-backed currency-code type for payment and financial API contracts. Values use lowercase, three-letter wire strings such as usd, eur, and gbp.

Install

dotnet add package Soenneker.Enums.CurrencyCodes

Usage

using Soenneker.Enums.CurrencyCodes;

CurrencyCode currency = CurrencyCode.Usd;
string wireValue = currency.Value; // "usd"

if (CurrencyCode.TryFromValue(input, out CurrencyCode? parsed))
{
    // Use parsed in a typed request model
}

System.Text.Json serializes the type as its lowercase string value and restores recognized values to the corresponding static instance. FromValue throws for an unknown value; use TryFromValue at external-input boundaries. FromName and TryFromName are also generated for C# member-name lookup, such as "Usd".

Important boundaries

The constants are a compatibility list for API contracts, not a live currency registry or a guarantee that a payment processor accepts a currency. The set includes legacy identifiers such as mro, std, and sll; verify processor support and settlement rules when accepting a user-selected currency.

The type represents only the currency identifier. It does not provide symbols, localized names, exchange rates, decimal precision, minor-unit conversion, or amount validation. Keep monetary amounts in an appropriate decimal or minor-unit representation and apply the target processor's rules separately.

Product Compatible and additional computed target framework versions.
.NET net11.0 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (2)

Showing the top 2 NuGet packages that depend on Soenneker.Enums.CurrencyCodes:

Package Downloads
Soenneker.Stripe.PaymentIntents

Create, retrieve, update, confirm, cancel, capture, and list Stripe payment intents.

Soenneker.Blazor.Stripe.Elements

A modular, strongly-typed Blazor library for Stripe Elements

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
11.0.128 281 11/19/2026
11.0.127 84 11/18/2026
11.0.126 676 11/14/2026
11.0.125 478 11/11/2026
11.0.124 130 11/11/2026
11.0.123 124 11/11/2026
11.0.122 1,611 10/26/2026
11.0.121 268 10/26/2026
11.0.120 94 10/26/2026
11.0.119 158 10/26/2026
4.0.118 1,222 10/15/2026
4.0.117 153 10/14/2026
4.0.116 197 10/14/2026
4.0.114 138 10/14/2026
4.0.113 106 10/14/2026
4.0.106 200 10/13/2026
4.0.105 166 10/12/2026
4.0.103 179 10/12/2026
4.0.102 375 10/11/2026
4.0.101 131 10/11/2026
Loading failed

Updated Multiple NuGet packages