public class ClawbackOp extends java.lang.Object implements XdrElement
struct ClawbackOp { Asset asset; MuxedAccount from; int64 amount; };
Modifier and Type | Class and Description |
---|---|
static class |
ClawbackOp.ClawbackOpBuilder |
Constructor and Description |
---|
ClawbackOp() |
ClawbackOp(Asset asset,
MuxedAccount from,
Int64 amount) |
Modifier and Type | Method and Description |
---|---|
static ClawbackOp.ClawbackOpBuilder |
builder() |
static ClawbackOp |
decode(XdrDataInputStream stream) |
void |
encode(XdrDataOutputStream stream) |
boolean |
equals(java.lang.Object o) |
static ClawbackOp |
fromXdrBase64(java.lang.String xdr) |
static ClawbackOp |
fromXdrByteArray(byte[] xdr) |
Int64 |
getAmount() |
Asset |
getAsset() |
MuxedAccount |
getFrom() |
int |
hashCode() |
void |
setAmount(Int64 amount) |
void |
setAsset(Asset asset) |
void |
setFrom(MuxedAccount from) |
ClawbackOp.ClawbackOpBuilder |
toBuilder() |
java.lang.String |
toString() |
toXdrBase64, toXdrByteArray
public ClawbackOp()
public ClawbackOp(Asset asset, MuxedAccount from, Int64 amount)
public void encode(XdrDataOutputStream stream) throws java.io.IOException
encode
in interface XdrElement
java.io.IOException
public static ClawbackOp decode(XdrDataInputStream stream) throws java.io.IOException
java.io.IOException
public static ClawbackOp fromXdrBase64(java.lang.String xdr) throws java.io.IOException
java.io.IOException
public static ClawbackOp fromXdrByteArray(byte[] xdr) throws java.io.IOException
java.io.IOException
public static ClawbackOp.ClawbackOpBuilder builder()
public ClawbackOp.ClawbackOpBuilder toBuilder()
public Asset getAsset()
public MuxedAccount getFrom()
public Int64 getAmount()
public void setAsset(Asset asset)
public void setFrom(MuxedAccount from)
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