Package org.stellar.sdk.xdr
Class ManageSellOfferOp
java.lang.Object
org.stellar.sdk.xdr.ManageSellOfferOp
ManageSellOfferOp's original definition in the XDR file is:
struct ManageSellOfferOp { Asset selling; Asset buying; int64 amount; // amount being sold. if set to 0, delete the offer Price price; // price of thing being sold in terms of what you are buying // 0=create a new offer, otherwise edit an existing offer int64 offerID; };
-
Nested Class Summary
-
Constructor Summary
ConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
static ManageSellOfferOp
decode
(XdrDataInputStream stream) void
encode
(XdrDataOutputStream stream) boolean
static ManageSellOfferOp
fromXdrBase64
(String xdr) static ManageSellOfferOp
fromXdrByteArray
(byte[] xdr) getPrice()
int
hashCode()
void
void
void
setOfferID
(Int64 offerID) void
void
setSelling
(Asset selling) toString()
default String
default byte[]
-
Constructor Details
-
ManageSellOfferOp
public ManageSellOfferOp() -
ManageSellOfferOp
-
-
Method Details
-
encode
- Throws:
IOException
-
decode
- Throws:
IOException
-
fromXdrBase64
- Throws:
IOException
-
fromXdrByteArray
- Throws:
IOException
-
builder
-
toBuilder
-
getSelling
-
getBuying
-
getAmount
-
getPrice
-
getOfferID
-
setSelling
-
setBuying
-
setAmount
-
setPrice
-
setOfferID
-
equals
-
hashCode
public int hashCode() -
toString
-
toXdrBase64
- Throws:
IOException
-
toXdrByteArray
- Throws:
IOException
-