io.github.mainstringargs.alpaca.rest.orders.GetOrderRequestBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of alpaca-java Show documentation
Show all versions of alpaca-java Show documentation
Java API for Alpaca trading
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;
}
}