com.newegg.marketplace.sdk.datafeed.model.OrderShipNoticeFeedRequest Maven / Gradle / Ivy
Show all versions of sdk-datafeed 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.03.06 at 01:21:41 PM CST
//
package com.newegg.marketplace.sdk.datafeed.model;
import java.math.BigDecimal;
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;
/**
* 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>
* <element name="Header">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="DocumentVersion" type="{http://www.w3.org/2001/XMLSchema}anyType"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* <element name="MessageType" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="Message">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="ShipNotice">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="Package" maxOccurs="unbounded">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="OrderNumber" type="{http://www.w3.org/2001/XMLSchema}anyType"/>
* <element name="ItemInformation">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="Item" maxOccurs="unbounded">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="SellerPartNumber" type="{http://www.w3.org/2001/XMLSchema}anyType"/>
* <element name="ShippedQuantity" type="{http://www.w3.org/2001/XMLSchema}anyType"/>
* <element name="NeweggItemNumber" type="{http://www.w3.org/2001/XMLSchema}anyType" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* <element name="ActualShippingCarrier" type="{http://www.w3.org/2001/XMLSchema}anyType"/>
* <element name="ActualShippingMethod" type="{http://www.w3.org/2001/XMLSchema}anyType"/>
* <element name="TrackingNumber" type="{http://www.w3.org/2001/XMLSchema}anyType"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"header",
"messageType",
"message"
})
@XmlRootElement(name = "NeweggEnvelope")
public class OrderShipNoticeFeedRequest {
@XmlElement(name = "Header", required = true)
protected OrderShipNoticeFeedRequest.Header header=new OrderShipNoticeFeedRequest.Header();
@XmlElement(name = "MessageType", required = true)
protected String messageType="ShipNotice";
@XmlElement(name = "Message", required = true)
protected OrderShipNoticeFeedRequest.Message message;
/**
* Gets the value of the header property.
*
* @return
* possible object is
* {@link OrderShipNoticeFeedRequest.Header }
*
*/
public OrderShipNoticeFeedRequest.Header getHeader() {
return header;
}
/**
* Sets the value of the header property.
*
* @param value
* allowed object is
* {@link OrderShipNoticeFeedRequest.Header }
*
*/
public void setHeader(OrderShipNoticeFeedRequest.Header value) {
this.header = value;
}
/**
* Gets the value of the messageType property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getMessageType() {
return messageType;
}
/**
* Sets the value of the messageType property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setMessageType(String value) {
this.messageType = value;
}
/**
* Gets the value of the message property.
*
* @return
* possible object is
* {@link OrderShipNoticeFeedRequest.Message }
*
*/
public OrderShipNoticeFeedRequest.Message getMessage() {
return message;
}
/**
* Sets the value of the message property.
*
* @param value
* allowed object is
* {@link OrderShipNoticeFeedRequest.Message }
*
*/
public void setMessage(OrderShipNoticeFeedRequest.Message value) {
this.message = 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>
* <element name="DocumentVersion" type="{http://www.w3.org/2001/XMLSchema}anyType"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"documentVersion"
})
public static class Header {
@XmlElement(name = "DocumentVersion", required = true)
protected BigDecimal documentVersion=new BigDecimal("1.0");
/**
* Gets the value of the documentVersion property.
*
* @return
* possible object is
* {@link Object }
*
*/
public BigDecimal getDocumentVersion() {
return documentVersion;
}
/**
* Sets the value of the documentVersion property.
*
* @param value
* allowed object is
* {@link Object }
*
*/
public void setDocumentVersion(BigDecimal value) {
this.documentVersion = 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>
* <element name="ShipNotice">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="Package" maxOccurs="unbounded">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="OrderNumber" type="{http://www.w3.org/2001/XMLSchema}anyType"/>
* <element name="ItemInformation">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="Item" maxOccurs="unbounded">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="SellerPartNumber" type="{http://www.w3.org/2001/XMLSchema}anyType"/>
* <element name="ShippedQuantity" type="{http://www.w3.org/2001/XMLSchema}anyType"/>
* <element name="NeweggItemNumber" type="{http://www.w3.org/2001/XMLSchema}anyType" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* <element name="ActualShippingCarrier" type="{http://www.w3.org/2001/XMLSchema}anyType"/>
* <element name="ActualShippingMethod" type="{http://www.w3.org/2001/XMLSchema}anyType"/>
* <element name="TrackingNumber" type="{http://www.w3.org/2001/XMLSchema}anyType"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"shipNotice"
})
public static class Message {
@XmlElement(name = "ShipNotice", required = true)
protected OrderShipNoticeFeedRequest.Message.ShipNotice shipNotice;
/**
* Gets the value of the shipNotice property.
*
* @return
* possible object is
* {@link OrderShipNoticeFeedRequest.Message.ShipNotice }
*
*/
public OrderShipNoticeFeedRequest.Message.ShipNotice getShipNotice() {
return shipNotice;
}
/**
* Sets the value of the shipNotice property.
*
* @param value
* allowed object is
* {@link OrderShipNoticeFeedRequest.Message.ShipNotice }
*
*/
public void setShipNotice(OrderShipNoticeFeedRequest.Message.ShipNotice value) {
this.shipNotice = 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>
* <element name="Package" maxOccurs="unbounded">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="OrderNumber" type="{http://www.w3.org/2001/XMLSchema}anyType"/>
* <element name="ItemInformation">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="Item" maxOccurs="unbounded">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="SellerPartNumber" type="{http://www.w3.org/2001/XMLSchema}anyType"/>
* <element name="ShippedQuantity" type="{http://www.w3.org/2001/XMLSchema}anyType"/>
* <element name="NeweggItemNumber" type="{http://www.w3.org/2001/XMLSchema}anyType" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* <element name="ActualShippingCarrier" type="{http://www.w3.org/2001/XMLSchema}anyType"/>
* <element name="ActualShippingMethod" type="{http://www.w3.org/2001/XMLSchema}anyType"/>
* <element name="TrackingNumber" type="{http://www.w3.org/2001/XMLSchema}anyType"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"_package"
})
public static class ShipNotice {
@XmlElement(name = "Package", required = true)
protected List _package;
/**
* Gets the value of the package 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 package property.
*
*
* For example, to add a new item, do as follows:
*
* getPackage().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link OrderShipNoticeFeedRequest.Message.ShipNotice.Package }
*
* @return
* Objects of the following type(s) are allowed in the list
* {@link OrderShipNoticeFeedRequest.Message.ShipNotice.Package }
*
*/
public List getPackage() {
if (_package == null) {
_package = new ArrayList();
}
return this._package;
}
/**
* 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>
* <element name="OrderNumber" type="{http://www.w3.org/2001/XMLSchema}anyType"/>
* <element name="ItemInformation">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="Item" maxOccurs="unbounded">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="SellerPartNumber" type="{http://www.w3.org/2001/XMLSchema}anyType"/>
* <element name="ShippedQuantity" type="{http://www.w3.org/2001/XMLSchema}anyType"/>
* <element name="NeweggItemNumber" type="{http://www.w3.org/2001/XMLSchema}anyType" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* <element name="ActualShippingCarrier" type="{http://www.w3.org/2001/XMLSchema}anyType"/>
* <element name="ActualShippingMethod" type="{http://www.w3.org/2001/XMLSchema}anyType"/>
* <element name="TrackingNumber" type="{http://www.w3.org/2001/XMLSchema}anyType"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"orderNumber",
"itemInformation",
"actualShippingCarrier",
"actualShippingMethod",
"trackingNumber"
})
public static class Package {
@XmlElement(name = "OrderNumber", required = true)
protected String orderNumber;
@XmlElement(name = "ItemInformation", required = true)
protected OrderShipNoticeFeedRequest.Message.ShipNotice.Package.ItemInformation itemInformation;
@XmlElement(name = "ActualShippingCarrier", required = true)
protected String actualShippingCarrier;
@XmlElement(name = "ActualShippingMethod", required = true)
protected String actualShippingMethod;
@XmlElement(name = "TrackingNumber", required = true)
protected String trackingNumber;
/**
* Gets the value of the orderNumber property.
*
* @return
* possible object is
* {@link Object }
*
*/
public String getOrderNumber() {
return orderNumber;
}
/**
* Sets the value of the orderNumber property.
*
* @param value
* allowed object is
* {@link Object }
*
*/
public void setOrderNumber(String value) {
this.orderNumber = value;
}
/**
* Gets the value of the itemInformation property.
*
* @return
* possible object is
* {@link OrderShipNoticeFeedRequest.Message.ShipNotice.Package.ItemInformation }
*
*/
public OrderShipNoticeFeedRequest.Message.ShipNotice.Package.ItemInformation getItemInformation() {
return itemInformation;
}
/**
* Sets the value of the itemInformation property.
*
* @param value
* allowed object is
* {@link OrderShipNoticeFeedRequest.Message.ShipNotice.Package.ItemInformation }
*
*/
public void setItemInformation(OrderShipNoticeFeedRequest.Message.ShipNotice.Package.ItemInformation value) {
this.itemInformation = value;
}
/**
* Gets the value of the actualShippingCarrier property.
*
* @return
* possible object is
* {@link Object }
*
*/
public String getActualShippingCarrier() {
return actualShippingCarrier;
}
/**
* Sets the value of the actualShippingCarrier property.
*
* @param value
* allowed object is
* {@link Object }
*
*/
public void setActualShippingCarrier(String value) {
this.actualShippingCarrier = value;
}
/**
* Gets the value of the actualShippingMethod property.
*
* @return
* possible object is
* {@link Object }
*
*/
public String getActualShippingMethod() {
return actualShippingMethod;
}
/**
* Sets the value of the actualShippingMethod property.
*
* @param value
* allowed object is
* {@link Object }
*
*/
public void setActualShippingMethod(String value) {
this.actualShippingMethod = value;
}
/**
* Gets the value of the trackingNumber property.
*
* @return
* possible object is
* {@link Object }
*
*/
public String getTrackingNumber() {
return trackingNumber;
}
/**
* Sets the value of the trackingNumber property.
*
* @param value
* allowed object is
* {@link Object }
*
*/
public void setTrackingNumber(String value) {
this.trackingNumber = 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>
* <element name="Item" maxOccurs="unbounded">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="SellerPartNumber" type="{http://www.w3.org/2001/XMLSchema}anyType"/>
* <element name="ShippedQuantity" type="{http://www.w3.org/2001/XMLSchema}anyType"/>
* <element name="NeweggItemNumber" type="{http://www.w3.org/2001/XMLSchema}anyType" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"item"
})
public static class ItemInformation {
@XmlElement(name = "Item", required = true)
protected List item;
/**
* Gets the value of the item 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 item property.
*
*
* For example, to add a new item, do as follows:
*
* getItem().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link OrderShipNoticeFeedRequest.Message.ShipNotice.Package.ItemInformation.Item }
*
* @return
* Objects of the following type(s) are allowed in the list
* {@link OrderShipNoticeFeedRequest.Message.ShipNotice.Package.ItemInformation.Item }
*
*/
public List getItem() {
if (item == null) {
item = new ArrayList();
}
return this.item;
}
/**
* 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>
* <element name="SellerPartNumber" type="{http://www.w3.org/2001/XMLSchema}anyType"/>
* <element name="ShippedQuantity" type="{http://www.w3.org/2001/XMLSchema}anyType"/>
* <element name="NeweggItemNumber" type="{http://www.w3.org/2001/XMLSchema}anyType" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"sellerPartNumber",
"shippedQuantity",
"neweggItemNumber"
})
public static class Item {
@XmlElement(name = "SellerPartNumber", required = true)
protected String sellerPartNumber;
@XmlElement(name = "ShippedQuantity", required = true)
protected int shippedQuantity;
@XmlElement(name = "NeweggItemNumber")
protected String neweggItemNumber;
/**
* Gets the value of the sellerPartNumber property.
*
* @return
* possible object is
* {@link Object }
*
*/
public String getSellerPartNumber() {
return sellerPartNumber;
}
/**
* Sets the value of the sellerPartNumber property.
*
* @param value
* allowed object is
* {@link Object }
*
*/
public void setSellerPartNumber(String value) {
this.sellerPartNumber = value;
}
/**
* Gets the value of the shippedQuantity property.
*
* @return
* possible object is
* {@link Object }
*
*/
public int getShippedQuantity() {
return shippedQuantity;
}
/**
* Sets the value of the shippedQuantity property.
*
* @param value
* allowed object is
* {@link Object }
*
*/
public void setShippedQuantity(int value) {
this.shippedQuantity = value;
}
/**
* Gets the value of the neweggItemNumber property.
*
* @return
* possible object is
* {@link Object }
*
*/
public String getNeweggItemNumber() {
return neweggItemNumber;
}
/**
* Sets the value of the neweggItemNumber property.
*
* @param value
* allowed object is
* {@link Object }
*
*/
public void setNeweggItemNumber(String value) {
this.neweggItemNumber = value;
}
}
}
}
}
}
}