com.newegg.marketplace.sdk.datafeed.model.ItemPremierMarkFeedRequest 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 04:50:52 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="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}string"/>
* <element name="NeweggItemNumber" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="CountryCode" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="PremierMark">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <enumeration value="TRUE"/>
* <enumeration value="FALSE"/>
* </restriction>
* </simpleType>
* </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 ItemPremierMarkFeedRequest {
@XmlElement(name = "Header", required = true)
protected ItemPremierMarkFeedRequest.Header header=new ItemPremierMarkFeedRequest.Header();
@XmlElement(name = "MessageType", required = true)
protected String messageType="BatchPremierMarkUpdate";
@XmlElement(name = "Message", required = true)
protected ItemPremierMarkFeedRequest.Message message;
/**
* Gets the value of the header property.
*
* @return
* possible object is
* {@link ItemPremierMarkFeedRequest.Header }
*
*/
public ItemPremierMarkFeedRequest.Header getHeader() {
return header;
}
/**
* Sets the value of the header property.
*
* @param value
* allowed object is
* {@link ItemPremierMarkFeedRequest.Header }
*
*/
public void setHeader(ItemPremierMarkFeedRequest.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 ItemPremierMarkFeedRequest.Message }
*
*/
public ItemPremierMarkFeedRequest.Message getMessage() {
return message;
}
/**
* Sets the value of the message property.
*
* @param value
* allowed object is
* {@link ItemPremierMarkFeedRequest.Message }
*
*/
public void setMessage(ItemPremierMarkFeedRequest.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="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}string"/>
* <element name="NeweggItemNumber" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="CountryCode" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="PremierMark">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <enumeration value="TRUE"/>
* <enumeration value="FALSE"/>
* </restriction>
* </simpleType>
* </element>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"item"
})
public static class Message {
@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 ItemPremierMarkFeedRequest.Message.Item }
*
* @return
* Objects of the following type(s) are allowed in the list
* {@link ItemPremierMarkFeedRequest.Message.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}string"/>
* <element name="NeweggItemNumber" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="CountryCode" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="PremierMark">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <enumeration value="TRUE"/>
* <enumeration value="FALSE"/>
* </restriction>
* </simpleType>
* </element>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"sellerPartNumber",
"neweggItemNumber",
"countryCode",
"premierMark"
})
public static class Item {
@XmlElement(name = "SellerPartNumber", required = true)
protected String sellerPartNumber;
@XmlElement(name = "NeweggItemNumber")
protected String neweggItemNumber;
@XmlElement(name = "CountryCode")
protected String countryCode;
@XmlElement(name = "PremierMark", required = true)
protected String premierMark;
/**
* 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 countryCode property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getCountryCode() {
return countryCode;
}
/**
* Sets the value of the countryCode property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setCountryCode(String value) {
this.countryCode = value;
}
/**
* Gets the value of the premierMark property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getPremierMark() {
return premierMark;
}
/**
* Sets the value of the premierMark property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setPremierMark(String value) {
this.premierMark = value;
}
}
}
}