public class MonetaryValue extends ASN1Object
MonetaryValue ::= SEQUENCE {
currency Iso4217CurrencyCode,
amount INTEGER,
exponent INTEGER }
-- value = amount * 10^exponent
| Constructor and Description |
|---|
MonetaryValue(Iso4217CurrencyCode currency,
int amount,
int exponent) |
| Modifier and Type | Method and Description |
|---|---|
java.math.BigInteger |
getAmount() |
Iso4217CurrencyCode |
getCurrency() |
java.math.BigInteger |
getExponent() |
static MonetaryValue |
getInstance(java.lang.Object obj) |
ASN1Primitive |
toASN1Primitive()
Method providing a primitive representation of this object suitable for encoding.
|
equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode, toASN1Objectpublic MonetaryValue(Iso4217CurrencyCode currency, int amount, int exponent)
public static MonetaryValue getInstance(java.lang.Object obj)
public Iso4217CurrencyCode getCurrency()
public java.math.BigInteger getAmount()
public java.math.BigInteger getExponent()
public ASN1Primitive toASN1Primitive()
ASN1ObjecttoASN1Primitive in interface ASN1EncodabletoASN1Primitive in class ASN1Object