class BTCTurkPair {
  public final CurrencyPair pair;

  public BTCTurkPair(CurrencyPair pair) {
    this.pair = pair;
  }

  public BTCTurkPair(String pair) {
    this(CurrencyPairDeserializer.getCurrencyPairFromString(pair));
  }

  @Override
  public boolean equals(Object o) {
    return this == o
        || !(o == null || getClass() != o.getClass())
            && Objects.equals(pair, ((BTCTurkPair) o).pair);
  }

  @Override
  public int hashCode() {
    return Objects.hash(pair);
  }

  @Override
  public String toString() {<FILL_FUNCTION_BODY>}
}

    return pair == null
        ? ""
        : String.format("%s%s", pair.base.getCurrencyCode(), pair.counter.getCurrencyCode());
  
<no_super_class>