public static Order Get(APIContext apiContext, string orderId)
{
// Validate the arguments to be used in the request
ArgumentValidator.ValidateAndSetupAPIContext(apiContext);
ArgumentValidator.Validate(orderId, "orderId");
// Configure and send the request
var pattern = "v1/payments/orders/{0}";
var resourcePath = SDKUtil.FormatURIPath(pattern, new object[] { orderId });
return PayPalResource.ConfigureAndExecute<Order>(apiContext, HttpMethod.GET, resourcePath);
}