Package org.stellar.sdk.xdr
Class Price
java.lang.Object
org.stellar.sdk.xdr.Price
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Pricedecode(XdrDataInputStream stream) voidencode(XdrDataOutputStream stream) static voidencode(XdrDataOutputStream stream, Price encodedPrice) booleanstatic PricefromXdrBase64(String xdr) static PricefromXdrByteArray(byte[] xdr) getD()getN()inthashCode()voidvoidbyte[]
-
Constructor Details
-
Price
public Price()
-
-
Method Details
-
getN
-
setN
-
getD
-
setD
-
encode
- Throws:
IOException
-
encode
- Throws:
IOException
-
decode
- Throws:
IOException
-
hashCode
public int hashCode() -
equals
-
toXdrBase64
- Throws:
IOException
-
toXdrByteArray
- Throws:
IOException
-
fromXdrBase64
- Throws:
IOException
-
fromXdrByteArray
- Throws:
IOException
-