Skip to content

Commit

Permalink
Merge pull request #73 from Bandwidth/SWI-5093
Browse files Browse the repository at this point in the history
SWI-5201 CombinedSearchAndOrderType
  • Loading branch information
brianluisgomez authored May 8, 2024
2 parents ce52071 + f8a9cd2 commit 716152f
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 7 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -768,3 +768,4 @@ query.put("tn", "9199918388");

TnOptionOrders response = TnOptions.list(client, query);
```

2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

<groupId>com.bandwidth.sdk</groupId>
<artifactId>bandwidth-java-iris-sdk</artifactId>
<version>4.1.1</version>
<version>4.1.2</version>
<packaging>jar</packaging>
<name>bandwidth-java-iris-sdk</name>
<description>Java SDK for use with the IRIS API.</description>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down
1 change: 1 addition & 0 deletions src/test/java/com/bandwidth/iris/sdk/OrderTests.java
Original file line number Diff line number Diff line change
Expand Up @@ -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");
}
Expand Down

0 comments on commit 716152f

Please sign in to comment.