Class Price

java.lang.Object
org.stellar.sdk.responses.Price

public final class Price extends Object
Represents price.
  • Constructor Details

    • Price

      public Price(Long numerator, Long denominator)
      Creates a new Price instance.
      Parameters:
      numerator - numerator
      denominator - denominator
  • Method Details

    • getNumerator

      public Long getNumerator()
      numerator
    • getDenominator

      public Long getDenominator()
      denominator
    • equals

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

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object