Package org.stellar.sdk.xdr
Class ManageOfferSuccessResult.ManageOfferSuccessResultOffer
java.lang.Object
org.stellar.sdk.xdr.ManageOfferSuccessResult.ManageOfferSuccessResultOffer
- Enclosing class:
ManageOfferSuccessResult
ManageOfferSuccessResultOffer's original definition in the XDR file is:
union switch (ManageOfferEffect effect) { case MANAGE_OFFER_CREATED: case MANAGE_OFFER_UPDATED: OfferEntry offer; case MANAGE_OFFER_DELETED: void; }
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
-
Constructor Summary
ConstructorDescriptionManageOfferSuccessResultOffer
(ManageOfferEffect discriminant, OfferEntry offer) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
decode
(XdrDataInputStream stream) void
encode
(XdrDataOutputStream stream) boolean
fromXdrBase64
(String xdr) fromXdrByteArray
(byte[] xdr) getOffer()
int
hashCode()
void
setDiscriminant
(ManageOfferEffect discriminant) void
setOffer
(OfferEntry offer) toString()
default String
default byte[]
-
Constructor Details
-
ManageOfferSuccessResultOffer
public ManageOfferSuccessResultOffer() -
ManageOfferSuccessResultOffer
-
-
Method Details
-
encode
- Throws:
IOException
-
decode
public static ManageOfferSuccessResult.ManageOfferSuccessResultOffer decode(XdrDataInputStream stream) throws IOException - Throws:
IOException
-
fromXdrBase64
public static ManageOfferSuccessResult.ManageOfferSuccessResultOffer fromXdrBase64(String xdr) throws IOException - Throws:
IOException
-
fromXdrByteArray
public static ManageOfferSuccessResult.ManageOfferSuccessResultOffer fromXdrByteArray(byte[] xdr) throws IOException - Throws:
IOException
-
builder
public static ManageOfferSuccessResult.ManageOfferSuccessResultOffer.ManageOfferSuccessResultOfferBuilder builder() -
toBuilder
-
getDiscriminant
-
getOffer
-
setDiscriminant
-
setOffer
-
equals
-
hashCode
public int hashCode() -
toString
-
toXdrBase64
- Throws:
IOException
-
toXdrByteArray
- Throws:
IOException
-