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

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

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

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

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

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

    return this;

  }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy