Class ManageSellOfferOperation

java.lang.Object
org.stellar.sdk.Operation
org.stellar.sdk.ManageSellOfferOperation

public class ManageSellOfferOperation extends Operation
Represents ManageSellOffer operation.
  • Method Details

    • getSelling

      @NonNull public @NonNull Asset getSelling()
      The asset being sold in this operation
    • getBuying

      @NonNull public @NonNull Asset getBuying()
      The asset being bought in this operation
    • getAmount

      @NonNull public @NonNull String getAmount()
      Amount of selling being sold.
    • getPrice

      @NonNull public @NonNull Price 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

      public boolean equals(Object o)
      Overrides:
      equals in class Operation
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Operation