Package org.stellar.sdk.xdr
Class PaymentOp
java.lang.Object
org.stellar.sdk.xdr.PaymentOp
PaymentOp's original definition in the XDR file is:
struct PaymentOp { MuxedAccount destination; // recipient of the payment Asset asset; // what they end up with int64 amount; // amount they end up with };
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic PaymentOp.PaymentOpBuilder
builder()
static PaymentOp
decode
(XdrDataInputStream stream) void
encode
(XdrDataOutputStream stream) boolean
static PaymentOp
fromXdrBase64
(String xdr) static PaymentOp
fromXdrByteArray
(byte[] xdr) getAsset()
int
hashCode()
void
void
void
setDestination
(MuxedAccount destination) toString()
default String
default byte[]
-
Constructor Details
-
PaymentOp
public PaymentOp() -
PaymentOp
-
-
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
-