Package org.stellar.sdk
Class ManageSellOfferOperation
java.lang.Object
org.stellar.sdk.Operation
org.stellar.sdk.ManageSellOfferOperation
Represents ManageSellOffer operation.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classBuilds ManageSellOffer operation.Nested classes/interfaces inherited from class org.stellar.sdk.Operation
Operation.OperationBuilder<C extends Operation,B extends Operation.OperationBuilder<C, B>> -
Method Summary
Modifier and TypeMethodDescriptionboolean@NonNull StringAmount of selling being sold.@NonNull AssetThe asset being bought in this operationlongThe ID of the offer, when it is 0, represents creating a new offer, otherwise updates an existing offer.@NonNull PricegetPrice()Price of 1 unit of selling in terms of buying.@NonNull AssetThe asset being sold in this operationinthashCode()Methods inherited from class org.stellar.sdk.Operation
fromXdr, fromXdr, getSourceAccount, setSourceAccount, toXdr, toXdr, toXdrBase64, toXdrBase64
-
Method Details
-
getSelling
The asset being sold in this operation -
getBuying
The asset being bought in this operation -
getAmount
Amount of selling being sold. -
getPrice
Price of 1 unit of selling in terms of buying. -
getOfferId
public long getOfferId()The ID of the offer, when it is 0, represents creating a new offer, otherwise updates an existing offer. -
equals
-
hashCode
public int hashCode()
-