com.newegg.marketplace.sdk.datafeed.model.ItemCAProp65FeedRequest 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 09:55:14 AM 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}anyType"/>
* <element name="Message">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="Itemfeed" maxOccurs="unbounded">
* <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">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <minLength value="1"/>
* <maxLength value="40"/>
* </restriction>
* </simpleType>
* </element>
* <element name="NeweggItemNumber" minOccurs="0">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <minLength value="1"/>
* <maxLength value="40"/>
* </restriction>
* </simpleType>
* </element>
* <element name="WarningType_ID">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <enumeration value="103"/>
* <enumeration value="104"/>
* <enumeration value="105"/>
* <enumeration value="106"/>
* <enumeration value="107"/>
* <enumeration value="108"/>
* <enumeration value="109"/>
* <enumeration value="110"/>
* <enumeration value="111"/>
* <enumeration value="112"/>
* <enumeration value="113"/>
* <enumeration value="114"/>
* <enumeration value="115"/>
* <enumeration value="116"/>
* <enumeration value="117"/>
* <enumeration value="118"/>
* <enumeration value="119"/>
* </restriction>
* </simpleType>
* </element>
* <element name="ChemicalName_Carcinogen" minOccurs="0">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <minLength value="1"/>
* <maxLength value="600"/>
* </restriction>
* </simpleType>
* </element>
* <element name="ChemicalName_ReproductiveToxicant" minOccurs="0">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <minLength value="1"/>
* <maxLength value="600"/>
* </restriction>
* </simpleType>
* </element>
* <element name="ChemicalName_Both" minOccurs="0">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <minLength value="1"/>
* <maxLength value="600"/>
* </restriction>
* </simpleType>
* </element>
* </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 ItemCAProp65FeedRequest {
@XmlElement(name = "Header", required = true)
protected ItemCAProp65FeedRequest.Header header=new ItemCAProp65FeedRequest.Header();
@XmlElement(name = "MessageType", required = true)
protected String messageType="AddingCAProp65";
@XmlElement(name = "Message", required = true)
protected ItemCAProp65FeedRequest.Message message;
/**
* Gets the value of the header property.
*
* @return
* possible object is
* {@link ItemCAProp65FeedRequest.Header }
*
*/
public ItemCAProp65FeedRequest.Header getHeader() {
return header;
}
/**
* Sets the value of the header property.
*
* @param value
* allowed object is
* {@link ItemCAProp65FeedRequest.Header }
*
*/
public void setHeader(ItemCAProp65FeedRequest.Header value) {
this.header = value;
}
/**
* Gets the value of the messageType property.
*
* @return
* possible object is
* {@link Object }
*
*/
public String getMessageType() {
return messageType;
}
/**
* Sets the value of the messageType property.
*
* @param value
* allowed object is
* {@link Object }
*
*/
public void setMessageType(String value) {
this.messageType = value;
}
/**
* Gets the value of the message property.
*
* @return
* possible object is
* {@link ItemCAProp65FeedRequest.Message }
*
*/
public ItemCAProp65FeedRequest.Message getMessage() {
return message;
}
/**
* Sets the value of the message property.
*
* @param value
* allowed object is
* {@link ItemCAProp65FeedRequest.Message }
*
*/
public void setMessage(ItemCAProp65FeedRequest.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("4.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="Itemfeed" maxOccurs="unbounded">
* <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">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <minLength value="1"/>
* <maxLength value="40"/>
* </restriction>
* </simpleType>
* </element>
* <element name="NeweggItemNumber" minOccurs="0">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <minLength value="1"/>
* <maxLength value="40"/>
* </restriction>
* </simpleType>
* </element>
* <element name="WarningType_ID">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <enumeration value="103"/>
* <enumeration value="104"/>
* <enumeration value="105"/>
* <enumeration value="106"/>
* <enumeration value="107"/>
* <enumeration value="108"/>
* <enumeration value="109"/>
* <enumeration value="110"/>
* <enumeration value="111"/>
* <enumeration value="112"/>
* <enumeration value="113"/>
* <enumeration value="114"/>
* <enumeration value="115"/>
* <enumeration value="116"/>
* <enumeration value="117"/>
* <enumeration value="118"/>
* <enumeration value="119"/>
* </restriction>
* </simpleType>
* </element>
* <element name="ChemicalName_Carcinogen" minOccurs="0">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <minLength value="1"/>
* <maxLength value="600"/>
* </restriction>
* </simpleType>
* </element>
* <element name="ChemicalName_ReproductiveToxicant" minOccurs="0">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <minLength value="1"/>
* <maxLength value="600"/>
* </restriction>
* </simpleType>
* </element>
* <element name="ChemicalName_Both" minOccurs="0">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <minLength value="1"/>
* <maxLength value="600"/>
* </restriction>
* </simpleType>
* </element>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"itemfeed"
})
public static class Message {
@XmlElement(name = "Itemfeed", required = true)
protected List itemfeed;
/**
* Gets the value of the itemfeed 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 itemfeed property.
*
*
* For example, to add a new item, do as follows:
*
* getItemfeed().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link ItemCAProp65FeedRequest.Message.Itemfeed }
*
* @return
* Objects of the following type(s) are allowed in the list
* {@link ItemCAProp65FeedRequest.Message.Itemfeed }
*
*/
public List getItemfeed() {
if (itemfeed == null) {
itemfeed = new ArrayList();
}
return this.itemfeed;
}
/**
* 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">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <minLength value="1"/>
* <maxLength value="40"/>
* </restriction>
* </simpleType>
* </element>
* <element name="NeweggItemNumber" minOccurs="0">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <minLength value="1"/>
* <maxLength value="40"/>
* </restriction>
* </simpleType>
* </element>
* <element name="WarningType_ID">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <enumeration value="103"/>
* <enumeration value="104"/>
* <enumeration value="105"/>
* <enumeration value="106"/>
* <enumeration value="107"/>
* <enumeration value="108"/>
* <enumeration value="109"/>
* <enumeration value="110"/>
* <enumeration value="111"/>
* <enumeration value="112"/>
* <enumeration value="113"/>
* <enumeration value="114"/>
* <enumeration value="115"/>
* <enumeration value="116"/>
* <enumeration value="117"/>
* <enumeration value="118"/>
* <enumeration value="119"/>
* </restriction>
* </simpleType>
* </element>
* <element name="ChemicalName_Carcinogen" minOccurs="0">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <minLength value="1"/>
* <maxLength value="600"/>
* </restriction>
* </simpleType>
* </element>
* <element name="ChemicalName_ReproductiveToxicant" minOccurs="0">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <minLength value="1"/>
* <maxLength value="600"/>
* </restriction>
* </simpleType>
* </element>
* <element name="ChemicalName_Both" minOccurs="0">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <minLength value="1"/>
* <maxLength value="600"/>
* </restriction>
* </simpleType>
* </element>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"item"
})
public static class Itemfeed {
@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 ItemCAProp65FeedRequest.Message.Itemfeed.Item }
*
* @return
* Objects of the following type(s) are allowed in the list
* {@link ItemCAProp65FeedRequest.Message.Itemfeed.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">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <minLength value="1"/>
* <maxLength value="40"/>
* </restriction>
* </simpleType>
* </element>
* <element name="NeweggItemNumber" minOccurs="0">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <minLength value="1"/>
* <maxLength value="40"/>
* </restriction>
* </simpleType>
* </element>
* <element name="WarningType_ID">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <enumeration value="103"/>
* <enumeration value="104"/>
* <enumeration value="105"/>
* <enumeration value="106"/>
* <enumeration value="107"/>
* <enumeration value="108"/>
* <enumeration value="109"/>
* <enumeration value="110"/>
* <enumeration value="111"/>
* <enumeration value="112"/>
* <enumeration value="113"/>
* <enumeration value="114"/>
* <enumeration value="115"/>
* <enumeration value="116"/>
* <enumeration value="117"/>
* <enumeration value="118"/>
* <enumeration value="119"/>
* </restriction>
* </simpleType>
* </element>
* <element name="ChemicalName_Carcinogen" minOccurs="0">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <minLength value="1"/>
* <maxLength value="600"/>
* </restriction>
* </simpleType>
* </element>
* <element name="ChemicalName_ReproductiveToxicant" minOccurs="0">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <minLength value="1"/>
* <maxLength value="600"/>
* </restriction>
* </simpleType>
* </element>
* <element name="ChemicalName_Both" minOccurs="0">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <minLength value="1"/>
* <maxLength value="600"/>
* </restriction>
* </simpleType>
* </element>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"sellerPartNumber",
"neweggItemNumber",
"warningTypeID",
"chemicalNameCarcinogen",
"chemicalNameReproductiveToxicant",
"chemicalNameBoth"
})
public static class Item {
@XmlElement(name = "SellerPartNumber", required = true)
protected String sellerPartNumber;
@XmlElement(name = "NeweggItemNumber")
protected String neweggItemNumber;
@XmlElement(name = "WarningType_ID", required = true)
protected String warningTypeID;
@XmlElement(name = "ChemicalName_Carcinogen")
protected String chemicalNameCarcinogen;
@XmlElement(name = "ChemicalName_ReproductiveToxicant")
protected String chemicalNameReproductiveToxicant;
@XmlElement(name = "ChemicalName_Both")
protected String chemicalNameBoth;
/**
* Gets the value of the sellerPartNumber property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getSellerPartNumber() {
return sellerPartNumber;
}
/**
* Sets the value of the sellerPartNumber property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setSellerPartNumber(String value) {
this.sellerPartNumber = value;
}
/**
* Gets the value of the neweggItemNumber property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getNeweggItemNumber() {
return neweggItemNumber;
}
/**
* Sets the value of the neweggItemNumber property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setNeweggItemNumber(String value) {
this.neweggItemNumber = value;
}
/**
* Gets the value of the warningTypeID property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getWarningTypeID() {
return warningTypeID;
}
/**
* Sets the value of the warningTypeID property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setWarningTypeID(String value) {
this.warningTypeID = value;
}
/**
* Gets the value of the chemicalNameCarcinogen property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getChemicalNameCarcinogen() {
return chemicalNameCarcinogen;
}
/**
* Sets the value of the chemicalNameCarcinogen property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setChemicalNameCarcinogen(String value) {
this.chemicalNameCarcinogen = value;
}
/**
* Gets the value of the chemicalNameReproductiveToxicant property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getChemicalNameReproductiveToxicant() {
return chemicalNameReproductiveToxicant;
}
/**
* Sets the value of the chemicalNameReproductiveToxicant property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setChemicalNameReproductiveToxicant(String value) {
this.chemicalNameReproductiveToxicant = value;
}
/**
* Gets the value of the chemicalNameBoth property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getChemicalNameBoth() {
return chemicalNameBoth;
}
/**
* Sets the value of the chemicalNameBoth property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setChemicalNameBoth(String value) {
this.chemicalNameBoth = value;
}
}
}
}
}