com.newegg.marketplace.sdk.sbn.model.GetInboundShipmentPlanRequest 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.25 at 04:18:52 PM 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;
/**
* 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="OperationType">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <enumeration value="GetPlanSuggestionRequest"/>
* </restriction>
* </simpleType>
* </element>
* <element name="RequestBody">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="PlanSuggestion">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="ItemList">
* <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">
* <all>
* <element name="SellerPartNumber">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <maxLength value="40"/>
* <minLength value="1"/>
* </restriction>
* </simpleType>
* </element>
* <element name="PlannedQuantity">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}int">
* <minInclusive value="1"/>
* </restriction>
* </simpleType>
* </element>
* <element name="QuantityPerCarton" minOccurs="0">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}int">
* <minInclusive value="1"/>
* </restriction>
* </simpleType>
* </element>
* </all>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </all>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
})
@XmlRootElement(name = "NeweggAPIRequest")
public class GetInboundShipmentPlanRequest {
@XmlElement(name = "OperationType", required = true)
@JsonProperty("OperationType")
protected String operationType="GetPlanSuggestionRequest";
@XmlElement(name = "RequestBody", required = true)
@JsonProperty("RequestBody")
protected GetInboundShipmentPlanRequest.RequestBody requestBody;
/**
* 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 requestBody property.
*
* @return
* possible object is
* {@link GetInboundShipmentPlanRequest.RequestBody }
*
*/
public GetInboundShipmentPlanRequest.RequestBody getRequestBody() {
return requestBody;
}
/**
* Sets the value of the requestBody property.
*
* @param value
* allowed object is
* {@link GetInboundShipmentPlanRequest.RequestBody }
*
*/
public void setRequestBody(GetInboundShipmentPlanRequest.RequestBody value) {
this.requestBody = 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="PlanSuggestion">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="ItemList">
* <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">
* <all>
* <element name="SellerPartNumber">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <maxLength value="40"/>
* <minLength value="1"/>
* </restriction>
* </simpleType>
* </element>
* <element name="PlannedQuantity">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}int">
* <minInclusive value="1"/>
* </restriction>
* </simpleType>
* </element>
* <element name="QuantityPerCarton" minOccurs="0">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}int">
* <minInclusive value="1"/>
* </restriction>
* </simpleType>
* </element>
* </all>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"planSuggestion"
})
public static class RequestBody {
@XmlElement(name = "PlanSuggestion", required = true)
@JsonProperty("PlanSuggestion")
protected GetInboundShipmentPlanRequest.RequestBody.PlanSuggestion planSuggestion;
/**
* Gets the value of the planSuggestion property.
*
* @return
* possible object is
* {@link GetInboundShipmentPlanRequest.RequestBody.PlanSuggestion }
*
*/
public GetInboundShipmentPlanRequest.RequestBody.PlanSuggestion getPlanSuggestion() {
return planSuggestion;
}
/**
* Sets the value of the planSuggestion property.
*
* @param value
* allowed object is
* {@link GetInboundShipmentPlanRequest.RequestBody.PlanSuggestion }
*
*/
public void setPlanSuggestion(GetInboundShipmentPlanRequest.RequestBody.PlanSuggestion value) {
this.planSuggestion = 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="ItemList">
* <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">
* <all>
* <element name="SellerPartNumber">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <maxLength value="40"/>
* <minLength value="1"/>
* </restriction>
* </simpleType>
* </element>
* <element name="PlannedQuantity">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}int">
* <minInclusive value="1"/>
* </restriction>
* </simpleType>
* </element>
* <element name="QuantityPerCarton" minOccurs="0">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}int">
* <minInclusive value="1"/>
* </restriction>
* </simpleType>
* </element>
* </all>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"itemList"
})
public static class PlanSuggestion {
@XmlElement(name = "ItemList", required = true)
@JsonProperty("ItemList")
protected GetInboundShipmentPlanRequest.RequestBody.PlanSuggestion.ItemList itemList;
/**
* Gets the value of the itemList property.
*
* @return
* possible object is
* {@link GetInboundShipmentPlanRequest.RequestBody.PlanSuggestion.ItemList }
*
*/
public GetInboundShipmentPlanRequest.RequestBody.PlanSuggestion.ItemList getItemList() {
return itemList;
}
/**
* Sets the value of the itemList property.
*
* @param value
* allowed object is
* {@link GetInboundShipmentPlanRequest.RequestBody.PlanSuggestion.ItemList }
*
*/
public void setItemList(GetInboundShipmentPlanRequest.RequestBody.PlanSuggestion.ItemList value) {
this.itemList = 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">
* <all>
* <element name="SellerPartNumber">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <maxLength value="40"/>
* <minLength value="1"/>
* </restriction>
* </simpleType>
* </element>
* <element name="PlannedQuantity">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}int">
* <minInclusive value="1"/>
* </restriction>
* </simpleType>
* </element>
* <element name="QuantityPerCarton" minOccurs="0">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}int">
* <minInclusive value="1"/>
* </restriction>
* </simpleType>
* </element>
* </all>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"item"
})
public static class ItemList {
@XmlElement(name = "Item", required = true)
@JsonProperty("Item")
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 GetInboundShipmentPlanRequest.RequestBody.PlanSuggestion.ItemList.Item }
*
* @return
* Objects of the following type(s) are allowed in the list
* {@link GetInboundShipmentPlanRequest.RequestBody.PlanSuggestion.ItemList.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">
* <all>
* <element name="SellerPartNumber">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <maxLength value="40"/>
* <minLength value="1"/>
* </restriction>
* </simpleType>
* </element>
* <element name="PlannedQuantity">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}int">
* <minInclusive value="1"/>
* </restriction>
* </simpleType>
* </element>
* <element name="QuantityPerCarton" minOccurs="0">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}int">
* <minInclusive value="1"/>
* </restriction>
* </simpleType>
* </element>
* </all>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
})
public static class Item {
@XmlElement(name = "SellerPartNumber", required = true)
@JsonProperty("SellerPartNumber")
protected String sellerPartNumber;
@XmlElement(name = "PlannedQuantity")
@JsonProperty("PlannedQuantity")
protected int plannedQuantity;
@XmlElement(name = "QuantityPerCarton")
@JsonProperty("QuantityPerCarton")
protected Integer quantityPerCarton;
/**
* 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 plannedQuantity property.
* @return
* possible object is
* {@link int }
*
*/
public int getPlannedQuantity() {
return plannedQuantity;
}
/**
* Sets the value of the plannedQuantity property.
* @param value
* allowed object is
* {@link }
*
*/
public void setPlannedQuantity(int value) {
this.plannedQuantity = value;
}
/**
* Gets the value of the quantityPerCarton property.
*
* @return
* possible object is
* {@link Integer }
*
*/
public Integer getQuantityPerCarton() {
return quantityPerCarton;
}
/**
* Sets the value of the quantityPerCarton property.
*
* @param value
* allowed object is
* {@link Integer }
*
*/
public void setQuantityPerCarton(Integer value) {
this.quantityPerCarton = value;
}
}
}
}
}
}