Package org.stellar.sdk.xdr
Class InflationResult
java.lang.Object
org.stellar.sdk.xdr.InflationResult
- All Implemented Interfaces:
XdrElement
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
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionInflationResult(InflationResultCode discriminant, InflationPayout[] payouts) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()static InflationResultdecode(XdrDataInputStream stream) voidencode(XdrDataOutputStream stream) booleanstatic InflationResultfromXdrBase64(String xdr) static InflationResultfromXdrByteArray(byte[] xdr) inthashCode()voidsetDiscriminant(InflationResultCode discriminant) voidsetPayouts(InflationPayout[] payouts) toString()Methods inherited from interface org.stellar.sdk.xdr.XdrElement
toXdrBase64, toXdrByteArray
-
Constructor Details
-
InflationResult
public InflationResult() -
InflationResult
-
-
Method Details
-
encode
- Specified by:
encodein interfaceXdrElement- Throws:
IOException
-
decode
- Throws:
IOException
-
fromXdrBase64
- Throws:
IOException
-
fromXdrByteArray
- Throws:
IOException
-
builder
-
toBuilder
-
getDiscriminant
-
getPayouts
-
setDiscriminant
-
setPayouts
-
equals
-
hashCode
public int hashCode() -
toString
-