Table of Contents

Struct Currency

Namespace
arolariu.Backend.Common.DDD.ValueObjects
Assembly
arolariu.Backend.Common.dll

The currency value object. This object adheres to the ISO 4217 standard.

[Serializable]
public readonly record struct Currency : IEquatable<Currency>
Implements
Inherited Members

Constructors

Currency(string, string, string)

The currency value object. This object adheres to the ISO 4217 standard.

public Currency(string Name, string Code, string Symbol)

Parameters

Name string
Code string
Symbol string

Properties

Code

public string Code { get; init; }

Property Value

string

Name

public string Name { get; init; }

Property Value

string

Symbol

public string Symbol { get; init; }

Property Value

string