Class ManageBuyOfferOperation

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

public class ManageBuyOfferOperation extends Operation
Represents ManageBuyOffer 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 asset to be bought.
    • getPrice

      @NonNull public @NonNull Price getPrice()
      Price of thing being bought in terms of what you are selling.
    • 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