@Override
  public int hashCode() {
    int hash = 3;
    hash = 71 * hash + (this.quantity != null ? this.quantity.hashCode() : 0);
    hash = 71 * hash + (this.currency != null ? this.currency.hashCode() : 0);
    return hash;
  }