Package org.stellar.sdk.xdr
Class PathPaymentStrictSendResult.PathPaymentStrictSendResultSuccess
java.lang.Object
org.stellar.sdk.xdr.PathPaymentStrictSendResult.PathPaymentStrictSendResultSuccess
- Enclosing class:
PathPaymentStrictSendResult
PathPaymentStrictSendResultSuccess's original definition in the XDR file is:
struct { ClaimAtom offers<>; SimplePaymentResult last; }
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
-
Constructor Summary
ConstructorDescriptionPathPaymentStrictSendResultSuccess
(ClaimAtom[] offers, SimplePaymentResult last) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
decode
(XdrDataInputStream stream) void
encode
(XdrDataOutputStream stream) boolean
fromXdrBase64
(String xdr) fromXdrByteArray
(byte[] xdr) getLast()
int
hashCode()
void
setLast
(SimplePaymentResult last) void
toString()
default String
default byte[]
-
Constructor Details
-
PathPaymentStrictSendResultSuccess
public PathPaymentStrictSendResultSuccess() -
PathPaymentStrictSendResultSuccess
-
-
Method Details
-
encode
- Throws:
IOException
-
decode
public static PathPaymentStrictSendResult.PathPaymentStrictSendResultSuccess decode(XdrDataInputStream stream) throws IOException - Throws:
IOException
-
fromXdrBase64
public static PathPaymentStrictSendResult.PathPaymentStrictSendResultSuccess fromXdrBase64(String xdr) throws IOException - Throws:
IOException
-
fromXdrByteArray
public static PathPaymentStrictSendResult.PathPaymentStrictSendResultSuccess fromXdrByteArray(byte[] xdr) throws IOException - Throws:
IOException
-
builder
-
toBuilder
-
getOffers
-
getLast
-
setOffers
-
setLast
-
equals
-
hashCode
public int hashCode() -
toString
-
toXdrBase64
- Throws:
IOException
-
toXdrByteArray
- Throws:
IOException
-