Money
An amount of money in minor units (cents).
On this page
An amount of money in minor units (cents).
namespace Sponsorkit;
public sealed class MoneyConstructors#
| Member | Description |
|---|---|
Money() | Creates an instance with every property at its default; set the properties with an object initializer. |
Money()#
public Money()Creates an instance with every property at its default; set the properties with an object initializer.
Properties#
| Member | Description |
|---|---|
Value | The amount in minor units of Currency (for example 500 = $5.00). |
Currency | ISO 4217 currency code, uppercase. |
Value#
public long Value { get; set; }The amount in minor units of Currency (for example 500 = $5.00).
Type: long · JSON: value
Currency#
public string Currency { get; set; } = "";ISO 4217 currency code, uppercase.
Type: string · Default: "" · JSON: currency