CreatePassiveOfferOperation class
Represents CreatePassiveOffer operation.
Constructors
-
CreatePassiveOfferOperation(Asset selling,
Asset buying, String amount, String price )
Properties
- amount → String
-
Amount of selling being sold.
read-only
- buying → Asset
-
The asset being bought in this operation
read-only
- hashCode → int
-
The hash code for this object. [...]
read-only, inherited
- price → String
-
Price of 1 unit of selling in terms of buying.
read-only
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
- selling → Asset
-
The asset being sold in this operation
read-only
- sourceAccount ↔ KeyPair
-
Returns operation source account.
read / write, inherited
Methods
-
noSuchMethod(
Invocation invocation ) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
toOperationBody(
) → XdrOperationBody -
Generates OperationBody XDR object
override
-
toString(
) → String -
Returns a string representation of this object.
inherited
-
toXdr(
) → XdrOperation -
Generates Operation XDR object.
inherited
-
toXdrBase64(
) → String -
Returns base64-encoded Operation XDR object.
inherited
Operators
-
operator ==(
dynamic other ) → bool -
The equality operator. [...]
inherited
Static Methods
-
Builder(
XdrCreatePassiveOfferOp op ) → CreatePassiveOfferOperationBuilder - Construct a new CreatePassiveOffer builder from a CreatePassiveOfferOp XDR.