MonetaryAmount
instance.
Recovery all value as minor units as a long.
This returns the monetary amount in terms of the minor units of the currency, truncating the amount if necessary. For example, 'EUR 2.35' will return 235, and 'BHD -1.345' will return -1345.
| Access | Constructor and Description |
|---|---|
| pack-priv | ConvertMinorPartQuery()
Private constructor, there is only one instance of this class, accessible
calling |
| Modifier and Type | Method and Description |
|---|---|
| public Long | Returns: the minor units part of the amountImplements javax. Gets the amount in minor units as a |
| ConvertMinorPartQuery | back to summary |
|---|---|
| pack-priv ConvertMinorPartQuery() Private constructor, there is only one instance of this class, accessible
calling | |
| queryFrom | back to summary |
|---|---|
| public Long queryFrom(MonetaryAmount amount) Implements javax. Gets the amount in minor units as a This returns the monetary amount in terms of the minor units of the currency, truncating the amount if necessary. For example, 'EUR 2.35' will return 235, and 'BHD -1.345' will return -1345.
This method matches the API of
| |