Package org.stellar.sdk.operations
Class CreatePassiveSellOfferOperation
java.lang.Object
org.stellar.sdk.operations.Operation
org.stellar.sdk.operations.CreatePassiveSellOfferOperation
Represents CreatePassiveSellOffer operation.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classCreatePassiveSellOfferOperation.CreatePassiveSellOfferOperationBuilder<C extends CreatePassiveSellOfferOperation,B extends CreatePassiveSellOfferOperation.CreatePassiveSellOfferOperationBuilder<C, B>> Nested classes/interfaces inherited from class org.stellar.sdk.operations.Operation
Operation.OperationBuilder<C extends Operation,B extends Operation.OperationBuilder<C, B>> -
Method Summary
Modifier and TypeMethodDescriptionbuilder()booleanConstruct a newCreatePassiveSellOfferOperationobject from aCreatePassiveSellOfferOpXDR object.@NonNull BigDecimalAmount of selling being sold (max of 7 decimal places).@NonNull AssetThe asset being bought in this operation@NonNull PricegetPrice()Price of 1 unit of selling in terms of buying.@NonNull AssetThe asset being sold in this operationinthashCode()toString()Methods inherited from class org.stellar.sdk.operations.Operation
formatAmountScale, fromXdr, fromXdrAmount, getSourceAccount, setSourceAccount, toXdr, toXdrAmount, toXdrBase64
-
Method Details
-
fromXdr
Construct a newCreatePassiveSellOfferOperationobject from aCreatePassiveSellOfferOpXDR object.- Parameters:
op-CreatePassiveSellOfferOpXDR object- Returns:
CreatePassiveSellOfferOperationobject
-
builder
-
toBuilder
-
getSelling
The asset being sold in this operation -
getBuying
The asset being bought in this operation -
getAmount
Amount of selling being sold (max of 7 decimal places). -
getPrice
Price of 1 unit of selling in terms of buying. -
toString
-
equals
-
hashCode
public int hashCode()
-