Skip to content

Commit 1ebbfbc

Browse files
committed
A note
1 parent 8a23e52 commit 1ebbfbc

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/main/java/com/bandwidth/sdk/numbers/NumbersClientImpl.java

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,14 @@ public OrderResponse getOrderStatus(String orderId) {
107107
});
108108
}
109109

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+
*/
110118
@Override
111119
public OrdersResponse getOrdersByCustomerOrderId(String customerOrderId){
112120
return getOrdersByCustomerOrderIdAsync(customerOrderId).join();

0 commit comments

Comments
 (0)