File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed
src/main/java/com/bandwidth/sdk/numbers Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -107,6 +107,14 @@ public OrderResponse getOrderStatus(String orderId) {
107
107
});
108
108
}
109
109
110
+ /**
111
+ * This queries the /orders API with a required parameter of customerOrderId
112
+ * If we need to extend this for any reason, we should implement a getOrders method with a builder for the possible query parameters
113
+ * The HTTP client will need to be investigated to see how it will support adding multiple query parameters
114
+ *
115
+ * @param customerOrderId The customerOrderId of the order to search on
116
+ * @return The orders response
117
+ */
110
118
@ Override
111
119
public OrdersResponse getOrdersByCustomerOrderId (String customerOrderId ){
112
120
return getOrdersByCustomerOrderIdAsync (customerOrderId ).join ();
You can’t perform that action at this time.
0 commit comments