Method Subtract
Subtract(MonetaryValue)
Subtracts the specified value from this bag and returns the resulting bag. Zero amounts are not trimmed from the bag.
Declaration
IImmutableMoneyBag Subtract(MonetaryValue value)
Parameters
Returns
Subtract(decimal, string)
Subtracts the specified currency and amount from this bag and returns the resulting bag.
Declaration
IImmutableMoneyBag Subtract(decimal amount, string currencyCode)
Parameters
Returns
Subtract(decimal, Currency)
Adds the specified currency and amount to this bag and returns the resulting bag.
Declaration
IImmutableMoneyBag Subtract(decimal amount, Currency currency)
Parameters
Returns