public class MonetaryValue extends ASN1Object
MonetaryValue ::= SEQUENCE {
currency Iso4217CurrencyCode,
amount INTEGER,
exponent INTEGER }
-- value = amount * 10^exponent
| Modifier and Type | Field and Description |
|---|---|
private ASN1Integer |
amount |
private Iso4217CurrencyCode |
currency |
private ASN1Integer |
exponent |
| Modifier | Constructor and Description |
|---|---|
private |
MonetaryValue(ASN1Sequence seq) |
|
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, toASN1Objectprivate Iso4217CurrencyCode currency
private ASN1Integer amount
private ASN1Integer exponent
private MonetaryValue(ASN1Sequence seq)
public 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