Package org.stellar.sdk.xdr
Class PathPaymentStrictSendResult.PathPaymentStrictSendResultSuccess
java.lang.Object
org.stellar.sdk.xdr.PathPaymentStrictSendResult.PathPaymentStrictSendResultSuccess
- All Implemented Interfaces:
XdrElement
- Enclosing class:
PathPaymentStrictSendResult
public static class PathPaymentStrictSendResult.PathPaymentStrictSendResultSuccess
extends Object
implements XdrElement
PathPaymentStrictSendResultSuccess's original definition in the XDR file is:
struct
{
ClaimAtom offers<>;
SimplePaymentResult last;
}
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Constructor Summary
ConstructorsConstructorDescriptionPathPaymentStrictSendResultSuccess(ClaimAtom[] offers, SimplePaymentResult last) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()decode(XdrDataInputStream stream) voidencode(XdrDataOutputStream stream) booleanfromXdrBase64(String xdr) fromXdrByteArray(byte[] xdr) getLast()inthashCode()voidsetLast(SimplePaymentResult last) voidtoString()Methods inherited from interface org.stellar.sdk.xdr.XdrElement
toXdrBase64, toXdrByteArray
-
Constructor Details
-
PathPaymentStrictSendResultSuccess
public PathPaymentStrictSendResultSuccess() -
PathPaymentStrictSendResultSuccess
-
-
Method Details
-
encode
- Specified by:
encodein interfaceXdrElement- 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
-