public static class ManageOfferSuccessResult.ManageOfferSuccessResultOffer extends java.lang.Object implements XdrElement
union switch (ManageOfferEffect effect) { case MANAGE_OFFER_CREATED: case MANAGE_OFFER_UPDATED: OfferEntry offer; case MANAGE_OFFER_DELETED: void; }
Modifier and Type | Class and Description |
---|---|
static class |
ManageOfferSuccessResult.ManageOfferSuccessResultOffer.ManageOfferSuccessResultOfferBuilder |
Constructor and Description |
---|
ManageOfferSuccessResultOffer() |
ManageOfferSuccessResultOffer(ManageOfferEffect discriminant,
OfferEntry offer) |
Modifier and Type | Method and Description |
---|---|
static ManageOfferSuccessResult.ManageOfferSuccessResultOffer.ManageOfferSuccessResultOfferBuilder |
builder() |
static ManageOfferSuccessResult.ManageOfferSuccessResultOffer |
decode(XdrDataInputStream stream) |
void |
encode(XdrDataOutputStream stream) |
boolean |
equals(java.lang.Object o) |
static ManageOfferSuccessResult.ManageOfferSuccessResultOffer |
fromXdrBase64(java.lang.String xdr) |
static ManageOfferSuccessResult.ManageOfferSuccessResultOffer |
fromXdrByteArray(byte[] xdr) |
ManageOfferEffect |
getDiscriminant() |
OfferEntry |
getOffer() |
int |
hashCode() |
void |
setDiscriminant(ManageOfferEffect discriminant) |
void |
setOffer(OfferEntry offer) |
ManageOfferSuccessResult.ManageOfferSuccessResultOffer.ManageOfferSuccessResultOfferBuilder |
toBuilder() |
java.lang.String |
toString() |
toXdrBase64, toXdrByteArray
public ManageOfferSuccessResultOffer()
public ManageOfferSuccessResultOffer(ManageOfferEffect discriminant, OfferEntry offer)
public void encode(XdrDataOutputStream stream) throws java.io.IOException
encode
in interface XdrElement
java.io.IOException
public static ManageOfferSuccessResult.ManageOfferSuccessResultOffer decode(XdrDataInputStream stream) throws java.io.IOException
java.io.IOException
public static ManageOfferSuccessResult.ManageOfferSuccessResultOffer fromXdrBase64(java.lang.String xdr) throws java.io.IOException
java.io.IOException
public static ManageOfferSuccessResult.ManageOfferSuccessResultOffer fromXdrByteArray(byte[] xdr) throws java.io.IOException
java.io.IOException
public static ManageOfferSuccessResult.ManageOfferSuccessResultOffer.ManageOfferSuccessResultOfferBuilder builder()
public ManageOfferSuccessResult.ManageOfferSuccessResultOffer.ManageOfferSuccessResultOfferBuilder toBuilder()
public ManageOfferEffect getDiscriminant()
public OfferEntry getOffer()
public void setDiscriminant(ManageOfferEffect discriminant)
public void setOffer(OfferEntry offer)
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object