Method SetAmount
SetAmount(decimal, ReadOnlySpan<char>)
Sets the amount the bag contains for the specified currency code and returns the resulting bag.
Declaration
public ImmutableMoneyBag SetAmount(decimal amount, ReadOnlySpan<char> currencyCode)
Parameters
Returns
SetAmount(decimal, Currency)
Sets the amount the bag contains for the specified currency code and returns the resulting bag.
Declaration
public ImmutableMoneyBag SetAmount(decimal amount, Currency currency)
Parameters
Returns
SetAmount(decimal, string)
Sets the amount the bag contains for the specified currency code and returns the resulting bag.
Declaration
public ImmutableMoneyBag SetAmount(decimal amount, string currencyCode)
Parameters
Returns