Package org.stellar.sdk.xdr
Class PathPaymentStrictReceiveResult.PathPaymentStrictReceiveResultSuccess
java.lang.Object
org.stellar.sdk.xdr.PathPaymentStrictReceiveResult.PathPaymentStrictReceiveResultSuccess
- Enclosing class:
PathPaymentStrictReceiveResult
public static class PathPaymentStrictReceiveResult.PathPaymentStrictReceiveResultSuccess
extends Object
PathPaymentStrictReceiveResultSuccess's original definition in the XDR file is:
struct { ClaimAtom offers<>; SimplePaymentResult last; }
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
-
Constructor Summary
ConstructorDescriptionPathPaymentStrictReceiveResultSuccess
(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
-
PathPaymentStrictReceiveResultSuccess
public PathPaymentStrictReceiveResultSuccess() -
PathPaymentStrictReceiveResultSuccess
-
-
Method Details
-
encode
- Throws:
IOException
-
decode
public static PathPaymentStrictReceiveResult.PathPaymentStrictReceiveResultSuccess decode(XdrDataInputStream stream) throws IOException - Throws:
IOException
-
fromXdrBase64
public static PathPaymentStrictReceiveResult.PathPaymentStrictReceiveResultSuccess fromXdrBase64(String xdr) throws IOException - Throws:
IOException
-
fromXdrByteArray
public static PathPaymentStrictReceiveResult.PathPaymentStrictReceiveResultSuccess 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
-