diff --git a/README.md b/README.md index b308e49..ac1cfdd 100644 --- a/README.md +++ b/README.md @@ -768,3 +768,4 @@ query.put("tn", "9199918388"); TnOptionOrders response = TnOptions.list(client, query); ``` + diff --git a/pom.xml b/pom.xml index 2df19a3..ec8e26f 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ com.bandwidth.sdk bandwidth-java-iris-sdk - 4.1.1 + 4.1.2 jar bandwidth-java-iris-sdk Java SDK for use with the IRIS API. diff --git a/src/main/java/com/bandwidth/iris/sdk/model/CombinedSearchAndOrderType.java b/src/main/java/com/bandwidth/iris/sdk/model/CombinedSearchAndOrderType.java index 80d4958..d146f19 100644 --- a/src/main/java/com/bandwidth/iris/sdk/model/CombinedSearchAndOrderType.java +++ b/src/main/java/com/bandwidth/iris/sdk/model/CombinedSearchAndOrderType.java @@ -27,24 +27,24 @@ public void setCity(String city) { } @XmlElement(name = "EnableLCA") - private boolean enableLCA; + private Boolean enableLCA; - public boolean isEnableLCA() { + public Boolean isEnableLCA() { return enableLCA; } - public void setEnableLCA(boolean enableLCA) { + public void setEnableLCA(Boolean enableLCA) { this.enableLCA = enableLCA; } @XmlElement(name = "EndsIn") - private boolean endsIn; + private Boolean endsIn; - public boolean isEndsIn() { + public Boolean isEndsIn() { return endsIn; } - public void setEndsIn(boolean endsIn) { + public void setEndsIn(Boolean endsIn) { this.endsIn = endsIn; } diff --git a/src/test/java/com/bandwidth/iris/sdk/OrderTests.java b/src/test/java/com/bandwidth/iris/sdk/OrderTests.java index 03d9643..cbbdc78 100644 --- a/src/test/java/com/bandwidth/iris/sdk/OrderTests.java +++ b/src/test/java/com/bandwidth/iris/sdk/OrderTests.java @@ -173,6 +173,7 @@ public void CombinedSearchAndOrderTypeTestCreate() throws Exception { order.setCombinedSearchAndOrderType(combinedSearchAndOrderType); OrderResponse createdOrder = Order.create(getDefaultClient(), order); + assertEquals(combinedSearchAndOrderType.isEndsIn(), null); assertEquals(createdOrder.getOrder().getName(), "Test CombinedSearchAndOrderType Order"); assertEquals(createdOrder.getOrder().getCombinedSearchAndOrderType().getRateCenter(), "DOVER"); }