Overview | Package | Class | Tree | Deprecated | Index | Help
| © 2004 BEA Systems, Inc.
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.beasys.commerce.axiom.units
Interface Money

All Superinterfaces:
  Belonging, BusinessSmartComponent, Cloneable, Comparable, Serializable

All Known Subinterfaces:
  DescribedMoney, DescribedPrice, Price

All Known Implementing Classes:
  DescribedMoneyImpl, DescribedPriceImpl, MoneyImpl, PriceImpl

public interface Money
extends Belonging

Represents money as value and currency

See Also:
  `MoneyHome`

Method Summary
`String` | `getCurrency()` Returns the currency of money
`double` | `getValue()` Returns the value of money
`void` | `setCurrency(String currency)` Sets the currency of money
`void` | `setValue(double value)` Sets the value of money

Methods inherited from interface com.beasys.commerce.foundation.Belonging
`clone, equals, interfaceName, setByValue, value`

Methods inherited from interface java.lang.Comparable
`compareTo`

Method Detail

### getCurrency

    public String getCurrency()

  Returns the currency of money

  Returns:
    currency.

### getValue

    public double getValue()

  Returns the value of money

  Returns:
    value.

### setCurrency

    public void setCurrency(String currency)
                     throws InvalidArgumentException

  Sets the currency of money

  Parameters:
    `currency` - currency to be set
  Throws:
    `InvalidArgumentException`

### setValue

    public void setValue(double value)

  Sets the value of money

  Parameters:
    `value` - value to be set

Overview | Package | Class | Tree | Deprecated | Index | Help
| © 2004 BEA Systems, Inc.
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2004 BEA Systems, Inc. All Rights Reserved