Package org.stellar.sdk.xdr
Class ManageBuyOfferResult
java.lang.Object
org.stellar.sdk.xdr.ManageBuyOfferResult
ManageBuyOfferResult's original definition in the XDR file is:
union ManageBuyOfferResult switch (ManageBuyOfferResultCode code) { case MANAGE_BUY_OFFER_SUCCESS: ManageOfferSuccessResult success; case MANAGE_BUY_OFFER_MALFORMED: case MANAGE_BUY_OFFER_SELL_NO_TRUST: case MANAGE_BUY_OFFER_BUY_NO_TRUST: case MANAGE_BUY_OFFER_SELL_NOT_AUTHORIZED: case MANAGE_BUY_OFFER_BUY_NOT_AUTHORIZED: case MANAGE_BUY_OFFER_LINE_FULL: case MANAGE_BUY_OFFER_UNDERFUNDED: case MANAGE_BUY_OFFER_CROSS_SELF: case MANAGE_BUY_OFFER_SELL_NO_ISSUER: case MANAGE_BUY_OFFER_BUY_NO_ISSUER: case MANAGE_BUY_OFFER_NOT_FOUND: case MANAGE_BUY_OFFER_LOW_RESERVE: void; };
-
Nested Class Summary
-
Constructor Summary
ConstructorDescriptionManageBuyOfferResult
(ManageBuyOfferResultCode discriminant, ManageOfferSuccessResult success) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
static ManageBuyOfferResult
decode
(XdrDataInputStream stream) void
encode
(XdrDataOutputStream stream) boolean
static ManageBuyOfferResult
fromXdrBase64
(String xdr) static ManageBuyOfferResult
fromXdrByteArray
(byte[] xdr) int
hashCode()
void
setDiscriminant
(ManageBuyOfferResultCode discriminant) void
setSuccess
(ManageOfferSuccessResult success) toString()
default String
default byte[]
-
Constructor Details
-
ManageBuyOfferResult
public ManageBuyOfferResult() -
ManageBuyOfferResult
public ManageBuyOfferResult(ManageBuyOfferResultCode discriminant, ManageOfferSuccessResult success)
-
-
Method Details
-
encode
- Throws:
IOException
-
decode
- Throws:
IOException
-
fromXdrBase64
- Throws:
IOException
-
fromXdrByteArray
- Throws:
IOException
-
builder
-
toBuilder
-
getDiscriminant
-
getSuccess
-
setDiscriminant
-
setSuccess
-
equals
-
hashCode
public int hashCode() -
toString
-
toXdrBase64
- Throws:
IOException
-
toXdrByteArray
- Throws:
IOException
-