Package org.stellar.sdk.xdr
Class ManageSellOfferResult
java.lang.Object
org.stellar.sdk.xdr.ManageSellOfferResult
ManageSellOfferResult's original definition in the XDR file is:
union ManageSellOfferResult switch (ManageSellOfferResultCode code) { case MANAGE_SELL_OFFER_SUCCESS: ManageOfferSuccessResult success; case MANAGE_SELL_OFFER_MALFORMED: case MANAGE_SELL_OFFER_SELL_NO_TRUST: case MANAGE_SELL_OFFER_BUY_NO_TRUST: case MANAGE_SELL_OFFER_SELL_NOT_AUTHORIZED: case MANAGE_SELL_OFFER_BUY_NOT_AUTHORIZED: case MANAGE_SELL_OFFER_LINE_FULL: case MANAGE_SELL_OFFER_UNDERFUNDED: case MANAGE_SELL_OFFER_CROSS_SELF: case MANAGE_SELL_OFFER_SELL_NO_ISSUER: case MANAGE_SELL_OFFER_BUY_NO_ISSUER: case MANAGE_SELL_OFFER_NOT_FOUND: case MANAGE_SELL_OFFER_LOW_RESERVE: void; };
-
Nested Class Summary
-
Constructor Summary
ConstructorDescriptionManageSellOfferResult
(ManageSellOfferResultCode discriminant, ManageOfferSuccessResult success) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
static ManageSellOfferResult
decode
(XdrDataInputStream stream) void
encode
(XdrDataOutputStream stream) boolean
static ManageSellOfferResult
fromXdrBase64
(String xdr) static ManageSellOfferResult
fromXdrByteArray
(byte[] xdr) int
hashCode()
void
setDiscriminant
(ManageSellOfferResultCode discriminant) void
setSuccess
(ManageOfferSuccessResult success) toString()
default String
default byte[]
-
Constructor Details
-
ManageSellOfferResult
public ManageSellOfferResult() -
ManageSellOfferResult
public ManageSellOfferResult(ManageSellOfferResultCode 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
-