Package org.stellar.sdk.xdr
Class ManageOfferSuccessResult
java.lang.Object
org.stellar.sdk.xdr.ManageOfferSuccessResult
ManageOfferSuccessResult's original definition in the XDR file is:
struct ManageOfferSuccessResult { // offers that got claimed while creating this offer ClaimAtom offersClaimed<>; union switch (ManageOfferEffect effect) { case MANAGE_OFFER_CREATED: case MANAGE_OFFER_UPDATED: OfferEntry offer; case MANAGE_OFFER_DELETED: void; } offer; };
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
ManageOfferSuccessResultOffer's original definition in the XDR file is: -
Constructor Summary
ConstructorDescriptionManageOfferSuccessResult
(ClaimAtom[] offersClaimed, ManageOfferSuccessResult.ManageOfferSuccessResultOffer offer) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
static ManageOfferSuccessResult
decode
(XdrDataInputStream stream) void
encode
(XdrDataOutputStream stream) boolean
static ManageOfferSuccessResult
fromXdrBase64
(String xdr) static ManageOfferSuccessResult
fromXdrByteArray
(byte[] xdr) getOffer()
int
hashCode()
void
void
setOffersClaimed
(ClaimAtom[] offersClaimed) toString()
default String
default byte[]
-
Constructor Details
-
ManageOfferSuccessResult
public ManageOfferSuccessResult() -
ManageOfferSuccessResult
public ManageOfferSuccessResult(ClaimAtom[] offersClaimed, ManageOfferSuccessResult.ManageOfferSuccessResultOffer offer)
-
-
Method Details
-
encode
- Throws:
IOException
-
decode
- Throws:
IOException
-
fromXdrBase64
- Throws:
IOException
-
fromXdrByteArray
- Throws:
IOException
-
builder
-
toBuilder
-
getOffersClaimed
-
getOffer
-
setOffersClaimed
-
setOffer
-
equals
-
hashCode
public int hashCode() -
toString
-
toXdrBase64
- Throws:
IOException
-
toXdrByteArray
- Throws:
IOException
-