Package org.stellar.sdk.xdr
Class SimplePaymentResult
java.lang.Object
org.stellar.sdk.xdr.SimplePaymentResult
SimplePaymentResult's original definition in the XDR file is:
struct SimplePaymentResult
{
AccountID destination;
Asset asset;
int64 amount;
};
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuilder()static SimplePaymentResultdecode(XdrDataInputStream stream) voidencode(XdrDataOutputStream stream) booleanstatic SimplePaymentResultfromXdrBase64(String xdr) static SimplePaymentResultfromXdrByteArray(byte[] xdr) getAsset()inthashCode()voidvoidvoidsetDestination(AccountID destination) toString()default Stringdefault byte[]
-
Constructor Details
-
SimplePaymentResult
public SimplePaymentResult() -
SimplePaymentResult
-
-
Method Details
-
encode
- Throws:
IOException
-
decode
- Throws:
IOException
-
fromXdrBase64
- Throws:
IOException
-
fromXdrByteArray
- Throws:
IOException
-
builder
-
toBuilder
-
getDestination
-
getAsset
-
getAmount
-
setDestination
-
setAsset
-
setAmount
-
equals
-
hashCode
public int hashCode() -
toString
-
toXdrBase64
- Throws:
IOException
-
toXdrByteArray
- Throws:
IOException
-