Currency Currency
Currency Currency
DocFX + Singulink = ♥

Search Results for

    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
    public ImmutableMoneyBag Subtract(MonetaryValue value)
    Parameters
    Type Name Description
    MonetaryValue value
    Returns
    Type Description
    ImmutableMoneyBag
    Remarks

    Default values that are not associated with any currency are ignored.

    Subtract(decimal, string)

    Subtracts the specified currency and amount from this bag and returns the resulting bag.

    Declaration
    public ImmutableMoneyBag Subtract(decimal amount, string currencyCode)
    Parameters
    Type Name Description
    decimal amount
    string currencyCode
    Returns
    Type Description
    ImmutableMoneyBag

    Subtract(decimal, Currency)

    Adds the specified currency and amount to this bag and returns the resulting bag.

    Declaration
    public ImmutableMoneyBag Subtract(decimal amount, Currency currency)
    Parameters
    Type Name Description
    decimal amount
    Currency currency
    Returns
    Type Description
    ImmutableMoneyBag
    © Singulink. All rights reserved.