public class InflationPayout extends java.lang.Object implements XdrElement
struct InflationPayout // or use PaymentResultAtom to limit types? { AccountID destination; int64 amount; };
Modifier and Type | Class and Description |
---|---|
static class |
InflationPayout.InflationPayoutBuilder |
Constructor and Description |
---|
InflationPayout() |
InflationPayout(AccountID destination,
Int64 amount) |
Modifier and Type | Method and Description |
---|---|
static InflationPayout.InflationPayoutBuilder |
builder() |
static InflationPayout |
decode(XdrDataInputStream stream) |
void |
encode(XdrDataOutputStream stream) |
boolean |
equals(java.lang.Object o) |
static InflationPayout |
fromXdrBase64(java.lang.String xdr) |
static InflationPayout |
fromXdrByteArray(byte[] xdr) |
Int64 |
getAmount() |
AccountID |
getDestination() |
int |
hashCode() |
void |
setAmount(Int64 amount) |
void |
setDestination(AccountID destination) |
InflationPayout.InflationPayoutBuilder |
toBuilder() |
java.lang.String |
toString() |
toXdrBase64, toXdrByteArray
public void encode(XdrDataOutputStream stream) throws java.io.IOException
encode
in interface XdrElement
java.io.IOException
public static InflationPayout decode(XdrDataInputStream stream) throws java.io.IOException
java.io.IOException
public static InflationPayout fromXdrBase64(java.lang.String xdr) throws java.io.IOException
java.io.IOException
public static InflationPayout fromXdrByteArray(byte[] xdr) throws java.io.IOException
java.io.IOException
public static InflationPayout.InflationPayoutBuilder builder()
public InflationPayout.InflationPayoutBuilder toBuilder()
public AccountID getDestination()
public Int64 getAmount()
public void setDestination(AccountID destination)
public void setAmount(Int64 amount)
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object