Package org.stellar.sdk.xdr
Class InflationResult
java.lang.Object
org.stellar.sdk.xdr.InflationResult
InflationResult's original definition in the XDR file is:
union InflationResult switch (InflationResultCode code) { case INFLATION_SUCCESS: InflationPayout payouts<>; case INFLATION_NOT_TIME: void; };
-
Nested Class Summary
-
Constructor Summary
ConstructorDescriptionInflationResult
(InflationResultCode discriminant, InflationPayout[] payouts) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
static InflationResult
decode
(XdrDataInputStream stream) void
encode
(XdrDataOutputStream stream) boolean
static InflationResult
fromXdrBase64
(String xdr) static InflationResult
fromXdrByteArray
(byte[] xdr) int
hashCode()
void
setDiscriminant
(InflationResultCode discriminant) void
setPayouts
(InflationPayout[] payouts) toString()
default String
default byte[]
-
Constructor Details
-
InflationResult
public InflationResult() -
InflationResult
-
-
Method Details
-
encode
- Throws:
IOException
-
decode
- Throws:
IOException
-
fromXdrBase64
- Throws:
IOException
-
fromXdrByteArray
- Throws:
IOException
-
builder
-
toBuilder
-
getDiscriminant
-
getPayouts
-
setDiscriminant
-
setPayouts
-
equals
-
hashCode
public int hashCode() -
toString
-
toXdrBase64
- Throws:
IOException
-
toXdrByteArray
- Throws:
IOException
-