com.bandwidth.iris.sdk.model.OrderResponse Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of bandwidth-java-iris-sdk Show documentation
Show all versions of bandwidth-java-iris-sdk Show documentation
Java SDK for use with the IRIS API.
package com.bandwidth.iris.sdk.model;
import javax.xml.bind.annotation.*;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
@XmlRootElement(name = "OrderResponse")
@XmlAccessorType(XmlAccessType.FIELD)
public class OrderResponse {
@XmlElement(name = "Order")
private Order order;
@XmlElement(name = "CompletedQuantity")
private int completedQuantity;
@XmlElement(name = "CreatedByUser")
private String createdByUser;
@XmlElement(name = "FailedQuantity")
private int failedQuantity;
@XmlElement(name = "PendingQuantity")
private int pendingQuantity;
@XmlElement(name = "OrderCompleteDate")
private Date orderCompletedDate;
@XmlElement(name = "LastModifiedDate")
private Date lastModifiedDate;
@XmlElementWrapper(name = "ErrorList")
@XmlElement(name = "Error")
private List errorList = new ArrayList();
@XmlElement(name = "OrderStatus")
private String orderStatus;
@XmlElementWrapper(name = "CompletedNumbers")
@XmlElement(name = "TelephoneNumber")
private List telephoneNumbers = new ArrayList();
@XmlElement(name = "FailedNumbers")
private List failedNumbers = new ArrayList();
public Order getOrder() {
return order;
}
public void setOrder(Order order) {
this.order = order;
}
public int getCompletedQuantity() {
return completedQuantity;
}
public void setCompletedQuantity(int completedQuantity) {
this.completedQuantity = completedQuantity;
}
public String getCreatedByUser() {
return createdByUser;
}
public void setCreatedByUser(String createdByUser) {
this.createdByUser = createdByUser;
}
public int getFailedQuantity() {
return failedQuantity;
}
public void setFailedQuantity(int failedQuantity) {
this.failedQuantity = failedQuantity;
}
public int getPendingQuantity() {
return pendingQuantity;
}
public void setPendingQuantity(int pendingQuantity) {
this.pendingQuantity = pendingQuantity;
}
public Date getOrderCompletedDate() {
return orderCompletedDate;
}
public void setOrderCompletedDate(Date orderCompletedDate) {
this.orderCompletedDate = orderCompletedDate;
}
public Date getLastModifiedDate() {
return lastModifiedDate;
}
public void setLastModifiedDate(Date lastModifiedDate) {
this.lastModifiedDate = lastModifiedDate;
}
public List getErrorList() {
return errorList;
}
public void setErrorList(List errorList) {
this.errorList = errorList;
}
public String getOrderStatus() {
return orderStatus;
}
public void setOrderStatus(String orderStatus) {
this.orderStatus = orderStatus;
}
public List getTelephoneNumbers() {
return telephoneNumbers;
}
public void setTelephoneNumbers(List telephoneNumbers) {
this.telephoneNumbers = telephoneNumbers;
}
public List getFailedNumbers() {
return failedNumbers;
}
public void setFailedNumbers(List failedNumbers) {
this.failedNumbers = failedNumbers;
}
}