Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SWI-5201 CombinedSearchAndOrderType #73

Merged
merged 3 commits into from
May 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading