com.newegg.marketplace.sdk.datafeed.model.ItemPromotionFeedResponse 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:41:17 AM CST
//
package com.newegg.marketplace.sdk.datafeed.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;
/**
* 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"/>
* <enumeration value="false"/>
* </restriction>
* </simpleType>
* </element>
* <element name="OperationType" type="{http://www.w3.org/2001/XMLSchema}anyType"/>
* <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">
* <sequence>
* <element name="ResponseList">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="ResponseInfo" maxOccurs="unbounded" minOccurs="0">
* <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="RequestType">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <enumeration value="ITEM_DATA"/>
* <enumeration value="INVENTORY_AND_PRICE_DATA"/>
* <enumeration value="ORDER_SHIP_NOTICE_DATA"/>
* <enumeration value="MULTICHANNEL_ORDER_DATA"/>
* <enumeration value="ITEM_SUBSCRIPTION"/>
* <enumeration value="VOLUME_DISCOUNT_DATA"/>
* <enumeration value="ITEM_COUNTRY_RESTRICTION_DATA"/>
* </restriction>
* </simpleType>
* </element>
* <element name="RequestDate" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="RequestStatus">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <enumeration value="SUBMITTED"/>
* </restriction>
* </simpleType>
* </element>
* </all>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* <element name="Memo" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* </all>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
})
@XmlRootElement(name = "NeweggAPIResponse")
public class ItemPromotionFeedResponse {
@XmlElement(name = "IsSuccess", required = true)
protected boolean isSuccess;
@XmlElement(name = "OperationType", required = true)
protected Object operationType;
@XmlElement(name = "SellerID", required = true)
protected String sellerID;
@XmlElement(name = "ResponseBody", required = true)
protected SubmitFeedResponse.ResponseBody responseBody;
@XmlElement(name = "Memo")
protected String memo;
/**
* 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 Object }
*
*/
public Object getOperationType() {
return operationType;
}
/**
* Sets the value of the operationType property.
*
* @param value
* allowed object is
* {@link Object }
*
*/
public void setOperationType(Object 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 SubmitFeedResponse.ResponseBody }
*
*/
public SubmitFeedResponse.ResponseBody getResponseBody() {
return responseBody;
}
/**
* Sets the value of the responseBody property.
*
* @param value
* allowed object is
* {@link SubmitFeedResponse.ResponseBody }
*
*/
public void setResponseBody(SubmitFeedResponse.ResponseBody value) {
this.responseBody = value;
}
/**
* Gets the value of the memo property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getMemo() {
return memo;
}
/**
* Sets the value of the memo property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setMemo(String value) {
this.memo = 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="ResponseList">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="ResponseInfo" maxOccurs="unbounded" minOccurs="0">
* <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="RequestType">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <enumeration value="ITEM_DATA"/>
* <enumeration value="INVENTORY_AND_PRICE_DATA"/>
* <enumeration value="ORDER_SHIP_NOTICE_DATA"/>
* <enumeration value="MULTICHANNEL_ORDER_DATA"/>
* <enumeration value="ITEM_SUBSCRIPTION"/>
* <enumeration value="VOLUME_DISCOUNT_DATA"/>
* <enumeration value="ITEM_COUNTRY_RESTRICTION_DATA"/>
* </restriction>
* </simpleType>
* </element>
* <element name="RequestDate" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="RequestStatus">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <enumeration value="SUBMITTED"/>
* </restriction>
* </simpleType>
* </element>
* </all>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"responseList"
})
public static class ResponseBody {
@XmlElement(name = "ResponseList", required = true)
protected SubmitFeedResponse.ResponseBody.ResponseList responseList;
/**
* Gets the value of the responseList property.
*
* @return
* possible object is
* {@link SubmitFeedResponse.ResponseBody.ResponseList }
*
*/
public SubmitFeedResponse.ResponseBody.ResponseList getResponseList() {
return responseList;
}
/**
* Sets the value of the responseList property.
*
* @param value
* allowed object is
* {@link SubmitFeedResponse.ResponseBody.ResponseList }
*
*/
public void setResponseList(SubmitFeedResponse.ResponseBody.ResponseList value) {
this.responseList = 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="ResponseInfo" maxOccurs="unbounded" minOccurs="0">
* <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="RequestType">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <enumeration value="ITEM_DATA"/>
* <enumeration value="INVENTORY_AND_PRICE_DATA"/>
* <enumeration value="ORDER_SHIP_NOTICE_DATA"/>
* <enumeration value="MULTICHANNEL_ORDER_DATA"/>
* <enumeration value="ITEM_SUBSCRIPTION"/>
* <enumeration value="VOLUME_DISCOUNT_DATA"/>
* <enumeration value="ITEM_COUNTRY_RESTRICTION_DATA"/>
* </restriction>
* </simpleType>
* </element>
* <element name="RequestDate" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="RequestStatus">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <enumeration value="SUBMITTED"/>
* </restriction>
* </simpleType>
* </element>
* </all>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"responseInfo"
})
public static class ResponseList {
@XmlElement(name = "ResponseInfo")
protected List responseInfo;
/**
* Gets the value of the responseInfo 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 responseInfo property.
*
*
* For example, to add a new item, do as follows:
*
* getResponseInfo().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link SubmitFeedResponse.ResponseBody.ResponseList.ResponseInfo }
*
* @return
* Objects of the following type(s) are allowed in the list
* {@link SubmitFeedResponse.ResponseBody.ResponseList.ResponseInfo }
*
*/
public List getResponseInfo() {
if (responseInfo == null) {
responseInfo = new ArrayList();
}
return this.responseInfo;
}
/**
* 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="RequestType">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <enumeration value="ITEM_DATA"/>
* <enumeration value="INVENTORY_AND_PRICE_DATA"/>
* <enumeration value="ORDER_SHIP_NOTICE_DATA"/>
* <enumeration value="MULTICHANNEL_ORDER_DATA"/>
* <enumeration value="ITEM_SUBSCRIPTION"/>
* <enumeration value="VOLUME_DISCOUNT_DATA"/>
* <enumeration value="ITEM_COUNTRY_RESTRICTION_DATA"/>
* </restriction>
* </simpleType>
* </element>
* <element name="RequestDate" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="RequestStatus">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <enumeration value="SUBMITTED"/>
* </restriction>
* </simpleType>
* </element>
* </all>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
})
public static class ResponseInfo {
@XmlElement(name = "RequestId", required = true)
protected String requestId;
@XmlElement(name = "RequestType", required = true)
protected String requestType;
@XmlElement(name = "RequestDate", required = true)
protected String requestDate;
@XmlElement(name = "RequestStatus", required = true)
protected String requestStatus;
/**
* 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 requestType property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getRequestType() {
return requestType;
}
/**
* Sets the value of the requestType property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setRequestType(String value) {
this.requestType = 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 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;
}
}
}
}
}