diff --git a/src/main/java/com/bandwidth/iris/sdk/model/LidbOrder.java b/src/main/java/com/bandwidth/iris/sdk/model/LidbOrder.java index 45fac0b..4a2a9dc 100644 --- a/src/main/java/com/bandwidth/iris/sdk/model/LidbOrder.java +++ b/src/main/java/com/bandwidth/iris/sdk/model/LidbOrder.java @@ -45,9 +45,8 @@ public static LidbOrder create(IrisClient client, LidbOrder order) throws Except } public static LidbOrder get(IrisClient client, String orderId) throws Exception { - LidbOrderResponse orderResponse = client.get(client.buildAccountModelUri( - new String[] { IrisPath.LIDB_ORDER_URI_PATH, orderId }), LidbOrderResponse.class); - LidbOrder order = orderResponse.getOrder(); + LidbOrder order = client.get(client.buildAccountModelUri( + new String[] { IrisPath.LIDB_ORDER_URI_PATH, orderId }), LidbOrder.class); order.setClient(client); return order; }