Package org.stellar.sdk.xdr
Class CreatePassiveSellOfferOp
java.lang.Object
org.stellar.sdk.xdr.CreatePassiveSellOfferOp
CreatePassiveSellOfferOp's original definition in the XDR file is:
struct CreatePassiveSellOfferOp { Asset selling; // A Asset buying; // B int64 amount; // amount taker gets Price price; // cost of A in terms of B };
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
-
Constructor Summary
ConstructorDescriptionCreatePassiveSellOfferOp
(Asset selling, Asset buying, Int64 amount, Price price) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
static CreatePassiveSellOfferOp
decode
(XdrDataInputStream stream) void
encode
(XdrDataOutputStream stream) boolean
static CreatePassiveSellOfferOp
fromXdrBase64
(String xdr) static CreatePassiveSellOfferOp
fromXdrByteArray
(byte[] xdr) getPrice()
int
hashCode()
void
void
void
void
setSelling
(Asset selling) toString()
default String
default byte[]
-
Constructor Details
-
CreatePassiveSellOfferOp
public CreatePassiveSellOfferOp() -
CreatePassiveSellOfferOp
-
-
Method Details
-
encode
- Throws:
IOException
-
decode
- Throws:
IOException
-
fromXdrBase64
- Throws:
IOException
-
fromXdrByteArray
- Throws:
IOException
-
builder
-
toBuilder
-
getSelling
-
getBuying
-
getAmount
-
getPrice
-
setSelling
-
setBuying
-
setAmount
-
setPrice
-
equals
-
hashCode
public int hashCode() -
toString
-
toXdrBase64
- Throws:
IOException
-
toXdrByteArray
- Throws:
IOException
-