com.newegg.marketplace.sdk.sbn.model.GetInboundShipmentResultResponse Maven / Gradle / Ivy
Show all versions of sdk-sbn Show documentation
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802
// See http://java.sun.com/xml/jaxb
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2019.02.26 at 08:35:01 AM CST
//
package com.newegg.marketplace.sdk.sbn.model;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonUnwrapped;
/**
* Java class for anonymous complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <all>
* <element name="IsSuccess">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <enumeration value="true"/>
* </restriction>
* </simpleType>
* </element>
* <element name="OperationType" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="SellerID" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="ResponseBody">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <all>
* <element name="RequestID" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="RequestDate" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="ProcessedDate" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="RequestStatus">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <enumeration value="FINISHED"/>
* </restriction>
* </simpleType>
* </element>
* <element name="Shipment">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <all>
* <element name="ShipmentID" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="LabelURLList">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence maxOccurs="unbounded" minOccurs="0">
* <element name="Label">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <all>
* <element name="LabelType">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <enumeration value="ItemLabel"/>
* <enumeration value="PackageLabel"/>
* <enumeration value="ShippingLabel"/>
* <enumeration value="PackingListLabel"/>
* </restriction>
* </simpleType>
* </element>
* <element name="LabelUrl" type="{http://www.w3.org/2001/XMLSchema}string"/>
* </all>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* <element name="ErrorList">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence maxOccurs="unbounded" minOccurs="0">
* <element name="Error">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <all>
* <element name="ErrorDescription" type="{http://www.w3.org/2001/XMLSchema}string"/>
* </all>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </all>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </all>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </all>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
})
@XmlRootElement(name = "NeweggAPIResponse")
public class GetInboundShipmentResultResponse {
@XmlElement(name = "IsSuccess", required = true)
@JsonProperty("IsSuccess")
protected boolean isSuccess;
@XmlElement(name = "OperationType", required = true)
@JsonProperty("OperationType")
protected String operationType = "GetShipmentResultResponse";
@XmlElement(name = "SellerID", required = true)
@JsonProperty("SellerID")
protected String sellerID;
@XmlElement(name = "ResponseBody", required = true)
@JsonProperty("ResponseBody")
protected GetInboundShipmentResultResponse.ResponseBody responseBody;
/**
* Gets the value of the isSuccess property.
*
* @return
* possible object is
* {@link String }
*
*/
public boolean getIsSuccess() {
return isSuccess;
}
/**
* Sets the value of the isSuccess property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setIsSuccess(boolean value) {
this.isSuccess = value;
}
/**
* Gets the value of the operationType property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getOperationType() {
return operationType;
}
/**
* Sets the value of the operationType property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setOperationType(String value) {
this.operationType = value;
}
/**
* Gets the value of the sellerID property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getSellerID() {
return sellerID;
}
/**
* Sets the value of the sellerID property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setSellerID(String value) {
this.sellerID = value;
}
/**
* Gets the value of the responseBody property.
*
* @return
* possible object is
* {@link GetInboundShipmentResultResponse.ResponseBody }
*
*/
public GetInboundShipmentResultResponse.ResponseBody getResponseBody() {
return responseBody;
}
/**
* Sets the value of the responseBody property.
*
* @param value
* allowed object is
* {@link GetInboundShipmentResultResponse.ResponseBody }
*
*/
public void setResponseBody(GetInboundShipmentResultResponse.ResponseBody value) {
this.responseBody = value;
}
/**
* Java class for anonymous complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <all>
* <element name="RequestID" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="RequestDate" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="ProcessedDate" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="RequestStatus">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <enumeration value="FINISHED"/>
* </restriction>
* </simpleType>
* </element>
* <element name="Shipment">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <all>
* <element name="ShipmentID" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="LabelURLList">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence maxOccurs="unbounded" minOccurs="0">
* <element name="Label">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <all>
* <element name="LabelType">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <enumeration value="ItemLabel"/>
* <enumeration value="PackageLabel"/>
* <enumeration value="ShippingLabel"/>
* <enumeration value="PackingListLabel"/>
* </restriction>
* </simpleType>
* </element>
* <element name="LabelUrl" type="{http://www.w3.org/2001/XMLSchema}string"/>
* </all>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* <element name="ErrorList">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence maxOccurs="unbounded" minOccurs="0">
* <element name="Error">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <all>
* <element name="ErrorDescription" type="{http://www.w3.org/2001/XMLSchema}string"/>
* </all>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </all>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </all>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
})
public static class ResponseBody {
@XmlElement(name = "RequestID", required = true)
@JsonProperty("RequestID")
protected String requestID;
@XmlElement(name = "RequestDate", required = true)
@JsonProperty("RequestDate")
protected String requestDate;
@XmlElement(name = "ProcessedDate", required = true)
@JsonProperty("ProcessedDate")
protected String processedDate;
@XmlElement(name = "RequestStatus", required = true)
@JsonProperty("RequestStatus")
protected String requestStatus;
@XmlElement(name = "Shipment", required = true)
@JsonProperty("Shipment")
protected GetInboundShipmentResultResponse.ResponseBody.Shipment shipment;
/**
* Gets the value of the requestID property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getRequestID() {
return requestID;
}
/**
* Sets the value of the requestID property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setRequestID(String value) {
this.requestID = value;
}
/**
* Gets the value of the requestDate property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getRequestDate() {
return requestDate;
}
/**
* Sets the value of the requestDate property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setRequestDate(String value) {
this.requestDate = value;
}
/**
* Gets the value of the processedDate property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getProcessedDate() {
return processedDate;
}
/**
* Sets the value of the processedDate property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setProcessedDate(String value) {
this.processedDate = value;
}
/**
* Gets the value of the requestStatus property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getRequestStatus() {
return requestStatus;
}
/**
* Sets the value of the requestStatus property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setRequestStatus(String value) {
this.requestStatus = value;
}
/**
* Gets the value of the shipment property.
*
* @return
* possible object is
* {@link GetInboundShipmentResultResponse.ResponseBody.Shipment }
*
*/
public GetInboundShipmentResultResponse.ResponseBody.Shipment getShipment() {
return shipment;
}
/**
* Sets the value of the shipment property.
*
* @param value
* allowed object is
* {@link GetInboundShipmentResultResponse.ResponseBody.Shipment }
*
*/
public void setShipment(GetInboundShipmentResultResponse.ResponseBody.Shipment value) {
this.shipment = value;
}
/**
* Java class for anonymous complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <all>
* <element name="ShipmentID" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="LabelURLList">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence maxOccurs="unbounded" minOccurs="0">
* <element name="Label">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <all>
* <element name="LabelType">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <enumeration value="ItemLabel"/>
* <enumeration value="PackageLabel"/>
* <enumeration value="ShippingLabel"/>
* <enumeration value="PackingListLabel"/>
* </restriction>
* </simpleType>
* </element>
* <element name="LabelUrl" type="{http://www.w3.org/2001/XMLSchema}string"/>
* </all>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* <element name="ErrorList">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence maxOccurs="unbounded" minOccurs="0">
* <element name="Error">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <all>
* <element name="ErrorDescription" type="{http://www.w3.org/2001/XMLSchema}string"/>
* </all>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </all>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
})
public static class Shipment {
@XmlElement(name = "ShipmentID")
@JsonProperty("ShipmentID")
protected String shipmentID;
@XmlElement(name = "LabelURLList", required = true)
//@JsonProperty("LabelURLList")
@JsonUnwrapped
protected GetInboundShipmentResultResponse.ResponseBody.Shipment.LabelURLList labelURLList;
@XmlElement(name = "ErrorList", required = true)
//@JsonProperty("ErrorList")
@JsonUnwrapped
protected GetInboundShipmentResultResponse.ResponseBody.Shipment.ErrorList errorList;
/**
* Gets the value of the shipmentID property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getShipmentID() {
return shipmentID;
}
/**
* Sets the value of the shipmentID property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setShipmentID(String value) {
this.shipmentID = value;
}
/**
* Gets the value of the labelURLList property.
*
* @return
* possible object is
* {@link GetInboundShipmentResultResponse.ResponseBody.Shipment.LabelURLList }
*
*/
public GetInboundShipmentResultResponse.ResponseBody.Shipment.LabelURLList getLabelURLList() {
return labelURLList;
}
/**
* Sets the value of the labelURLList property.
*
* @param value
* allowed object is
* {@link GetInboundShipmentResultResponse.ResponseBody.Shipment.LabelURLList }
*
*/
public void setLabelURLList(GetInboundShipmentResultResponse.ResponseBody.Shipment.LabelURLList value) {
this.labelURLList = value;
}
/**
* Gets the value of the errorList property.
*
* @return
* possible object is
* {@link GetInboundShipmentResultResponse.ResponseBody.Shipment.ErrorList }
*
*/
public GetInboundShipmentResultResponse.ResponseBody.Shipment.ErrorList getErrorList() {
return errorList;
}
/**
* Sets the value of the errorList property.
*
* @param value
* allowed object is
* {@link GetInboundShipmentResultResponse.ResponseBody.Shipment.ErrorList }
*
*/
public void setErrorList(GetInboundShipmentResultResponse.ResponseBody.Shipment.ErrorList value) {
this.errorList = value;
}
/**
* Java class for anonymous complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence maxOccurs="unbounded" minOccurs="0">
* <element name="Error">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <all>
* <element name="ErrorDescription" type="{http://www.w3.org/2001/XMLSchema}string"/>
* </all>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"error"
})
public static class ErrorList {
@XmlElement(name = "Error")
@JsonProperty("Error")
protected List error;
/**
* Gets the value of the error property.
*
*
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a set
method for the error property.
*
*
* For example, to add a new item, do as follows:
*
* getError().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link GetInboundShipmentResultResponse.ResponseBody.Shipment.ErrorList.Error }
*
* @return
* Objects of the following type(s) are allowed in the list
* {@link GetInboundShipmentResultResponse.ResponseBody.Shipment.ErrorList.Error }
*
*/
public List getError() {
if (error == null) {
error = new ArrayList();
}
return this.error;
}
/**
* Java class for anonymous complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <all>
* <element name="ErrorDescription" type="{http://www.w3.org/2001/XMLSchema}string"/>
* </all>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
})
public static class Error {
@XmlElement(name = "ErrorDescription", required = true)
@JsonProperty("ErrorDescription")
protected String errorDescription;
/**
* Gets the value of the errorDescription property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getErrorDescription() {
return errorDescription;
}
/**
* Sets the value of the errorDescription property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setErrorDescription(String value) {
this.errorDescription = value;
}
}
}
/**
* Java class for anonymous complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence maxOccurs="unbounded" minOccurs="0">
* <element name="Label">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <all>
* <element name="LabelType">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <enumeration value="ItemLabel"/>
* <enumeration value="PackageLabel"/>
* <enumeration value="ShippingLabel"/>
* <enumeration value="PackingListLabel"/>
* </restriction>
* </simpleType>
* </element>
* <element name="LabelUrl" type="{http://www.w3.org/2001/XMLSchema}string"/>
* </all>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"label"
})
public static class LabelURLList {
@XmlElement(name = "Label")
@JsonProperty("Label")
protected List label;
/**
* Gets the value of the label property.
*
*
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a set
method for the label property.
*
*
* For example, to add a new item, do as follows:
*
* getLabel().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link GetInboundShipmentResultResponse.ResponseBody.Shipment.LabelURLList.Label }
*
* @return
* Objects of the following type(s) are allowed in the list
* {@link GetInboundShipmentResultResponse.ResponseBody.Shipment.LabelURLList.Label }
*
*/
public List getLabel() {
if (label == null) {
label = new ArrayList();
}
return this.label;
}
/**
* Java class for anonymous complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <all>
* <element name="LabelType">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <enumeration value="ItemLabel"/>
* <enumeration value="PackageLabel"/>
* <enumeration value="ShippingLabel"/>
* <enumeration value="PackingListLabel"/>
* </restriction>
* </simpleType>
* </element>
* <element name="LabelUrl" type="{http://www.w3.org/2001/XMLSchema}string"/>
* </all>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
})
public static class Label {
@XmlElement(name = "LabelType", required = true)
@JsonProperty("LabelType")
protected String labelType;
@XmlElement(name = "LabelUrl", required = true)
@JsonProperty("LabelUrl")
protected String labelUrl;
/**
* Gets the value of the labelType property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getLabelType() {
return labelType;
}
/**
* Sets the value of the labelType property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setLabelType(String value) {
this.labelType = value;
}
/**
* Gets the value of the labelUrl property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getLabelUrl() {
return labelUrl;
}
/**
* Sets the value of the labelUrl property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setLabelUrl(String value) {
this.labelUrl = value;
}
}
}
}
}
}