All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.github.mainstringargs.alpaca.rest.orders.GetOrderRequestBuilder Maven / Gradle / Ivy

There is a newer version: 5.0.13
Show newest version
package io.github.mainstringargs.alpaca.rest.orders;

/**
 * The Class GetOrderRequestBuilder.
 */
public class GetOrderRequestBuilder extends OrdersRequestBuilder {

  /**
   * Instantiates a new gets the order request builder.
   *
   * @param baseUrl the base url
   */
  public GetOrderRequestBuilder(String baseUrl) {
    super(baseUrl);
  }

  /**
   * Order id.
   *
   * @param orderId the order id
   * @return the gets the order request builder
   */
  public GetOrderRequestBuilder orderId(String orderId) {
    if (orderId != null) {
      super.appendEndpoint(orderId);
    }

    return this;

  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy