Package org.stellar.sdk.xdr
Class PathPaymentStrictReceiveResult.PathPaymentStrictReceiveResultSuccess
java.lang.Object
org.stellar.sdk.xdr.PathPaymentStrictReceiveResult.PathPaymentStrictReceiveResultSuccess
- All Implemented Interfaces:
XdrElement
- Enclosing class:
PathPaymentStrictReceiveResult
public static class PathPaymentStrictReceiveResult.PathPaymentStrictReceiveResultSuccess
extends Object
implements XdrElement
PathPaymentStrictReceiveResultSuccess's original definition in the XDR file is:
struct { ClaimAtom offers<>; SimplePaymentResult last; }
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
-
Constructor Summary
ConstructorsConstructorDescriptionPathPaymentStrictReceiveResultSuccess
(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()
Methods inherited from interface org.stellar.sdk.xdr.XdrElement
toXdrBase64, toXdrByteArray
-
Constructor Details
-
PathPaymentStrictReceiveResultSuccess
public PathPaymentStrictReceiveResultSuccess() -
PathPaymentStrictReceiveResultSuccess
-
-
Method Details
-
encode
- Specified by:
encode
in interfaceXdrElement
- 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
-