<commit_before>package org.knowm.xchange.dto;

import java.math.BigDecimal;
import java.util.Date;

import org.knowm.xchange.dto.Order.OrderType;

/**
 * Data object representing an order for a loan
 */
public class LoanOrder {

  /**
   * Order type i.e. bid or ask
   */
  private final OrderType type;

  /**
   * The loan currency
   */
  private final String currency;

  /**
   * Amount to be ordered / amount that was ordered
   */
  private final BigDecimal tradableAmount;

  /**
   * Duration of loan in days
   */
  private final int dayPeriod;

  /**
   * An identifier that uniquely identifies the order
   */
  private final String id;

  /**
   * The timestamp on the order according to the exchange's server, null if not provided
   */
  private final Date timestamp;

  /**
   * Constructor
   *
   * @param type
   * @param currency
   * @param tradableAmount
   * @param dayPeriod
   * @param id
   * @param timestamp - The timestamp on the order according to the exchange's server, null if not provided
   */
  public LoanOrder(OrderType type, String currency, BigDecimal tradableAmount, int dayPeriod, String id, Date timestamp) {

    this.type = type;
    this.currency = currency;
    this.tradableAmount = tradableAmount;
    this.dayPeriod = dayPeriod;
    this.id = id;
    this.timestamp = timestamp;
  }

  public OrderType getType() {

    return type;<commit_msg>[core] fill out the missing @param tag descriptions<commit_after>package org.knowm.xchange.dto;

import java.math.BigDecimal;
import java.util.Date;

import org.knowm.xchange.dto.Order.OrderType;

/**
 * Data object representing an order for a loan
 */
public class LoanOrder {

  /**
   * Order type i.e. bid or ask
   */
  private final OrderType type;

  /**
   * The loan currency
   */
  private final String currency;

  /**
   * Amount to be ordered / amount that was ordered
   */
  private final BigDecimal tradableAmount;

  /**
   * Duration of loan in days
   */
  private final int dayPeriod;

  /**
   * An identifier that uniquely identifies the order
   */
  private final String id;

  /**
   * The timestamp on the order according to the exchange's server, null if not provided
   */
  private final Date timestamp;

  /**
   * Constructor
   *
   * @param type Order type i.e. bid or ask
   * @param currency The loan currency
   * @param tradableAmount Amount to be ordered / amount that was ordered
   * @param dayPeriod Duration of loan in days
   * @param id An identifier that uniquely identifies the order
   * @param timestamp The timestamp on the order according to the exchange's server, null if not provided
   */
  public LoanOrder(OrderType type, String currency, BigDecimal tradableAmount, int dayPeriod, String id, Date timestamp) {

    this.type = type;
    this.currency = currency;
    this.tradableAmount = tradableAmount;
    this.dayPeriod = dayPeriod;
    this.id = id;
    this.timestamp = timestamp;
  }

  public OrderType getType() {

    return type;
{'fraction_non_alphanumeric': 0.08595317725752509, 'fraction_numerical': 0.0, 'mean_word_length': 2.9303547963206307, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '15044', 'n_tokens_mistral': 883, 'n_tokens_neox': 843, 'n_words': 321}