All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.newegg.marketplace.sdk.seller.model.SellerStatusCheckResponse Maven / Gradle / Ivy

Go to download

The Seller Management service group contains functions that will allow you to get reference information you may need to use some of the functions in Newegg API.

There is a newer version: 2.0.0
Show newest version
//
// 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.11 at 02:00:33 PM CST 
//


package com.newegg.marketplace.sdk.seller.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;
import com.fasterxml.jackson.annotation.JsonUnwrapped;
/**
Copyright (c) 2000-present, Newegg Inc.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
 */

/**
 * 

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"/>
 *             </restriction>
 *           </simpleType>
 *         </element>
 *         <element name="OperationType">
 *           <simpleType>
 *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
 *               <enumeration value="GetSellerAccountStatusResponse"/>
 *             </restriction>
 *           </simpleType>
 *         </element>
 *         <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="SellerName" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *                   <element name="Status">
 *                     <simpleType>
 *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
 *                         <enumeration value="Active"/>
 *                         <enumeration value="Suspended"/>
 *                         <enumeration value="InActive"/>
 *                         <enumeration value="Terminated"/>
 *                         <enumeration value="Closed"/>
 *                       </restriction>
 *                     </simpleType>
 *                   </element>
 *                   <element name="Membership">
 *                     <simpleType>
 *                       <restriction base="{http://www.w3.org/2001/XMLSchema}int">
 *                         <enumeration value="0"/>
 *                         <enumeration value="1"/>
 *                         <enumeration value="2"/>
 *                       </restriction>
 *                     </simpleType>
 *                   </element>
 *                   <element name="FufillmentCenterList">
 *                     <complexType>
 *                       <complexContent>
 *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *                           <sequence>
 *                             <element name="FufillmentCenter" maxOccurs="unbounded" minOccurs="0">
 *                               <complexType>
 *                                 <complexContent>
 *                                   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *                                     <all>
 *                                       <element name="WarehouseLocation" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *                                       <element name="WarehouseType">
 *                                         <simpleType>
 *                                           <restriction base="{http://www.w3.org/2001/XMLSchema}int">
 *                                             <enumeration value="0"/>
 *                                             <enumeration value="1"/>
 *                                           </restriction>
 *                                         </simpleType>
 *                                       </element>
 *                                       <element name="ShippingDestinationList">
 *                                         <complexType>
 *                                           <complexContent>
 *                                             <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *                                               <sequence>
 *                                                 <element name="ShipToCountry" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
 *                                               </sequence>
 *                                             </restriction>
 *                                           </complexContent>
 *                                         </complexType>
 *                                       </element>
 *                                     </all>
 *                                   </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 = "NeweggAPIResponse") public class SellerStatusCheckResponse { @XmlElement(name = "IsSuccess", required = true) @JsonProperty("IsSuccess") protected boolean isSuccess; @XmlElement(name = "OperationType", required = true) @JsonProperty("OperationType") protected String operationType = "GetSellerAccountStatusResponse"; @XmlElement(name = "SellerID", required = true) @JsonProperty("SellerID") protected String sellerID; @XmlElement(name = "ResponseBody", required = true) @JsonProperty("ResponseBody") protected SellerStatusCheckResponse.ResponseBody responseBody; /** * 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 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 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 SellerStatusCheckResponse.ResponseBody } * */ public SellerStatusCheckResponse.ResponseBody getResponseBody() { return responseBody; } /** * Sets the value of the responseBody property. * * @param value * allowed object is * {@link SellerStatusCheckResponse.ResponseBody } * */ public void setResponseBody(SellerStatusCheckResponse.ResponseBody value) { this.responseBody = 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="SellerName" type="{http://www.w3.org/2001/XMLSchema}string"/>
     *         <element name="Status">
     *           <simpleType>
     *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
     *               <enumeration value="Active"/>
     *               <enumeration value="Suspended"/>
     *               <enumeration value="InActive"/>
     *               <enumeration value="Terminated"/>
     *               <enumeration value="Closed"/>
     *             </restriction>
     *           </simpleType>
     *         </element>
     *         <element name="Membership">
     *           <simpleType>
     *             <restriction base="{http://www.w3.org/2001/XMLSchema}int">
     *               <enumeration value="0"/>
     *               <enumeration value="1"/>
     *               <enumeration value="2"/>
     *             </restriction>
     *           </simpleType>
     *         </element>
     *         <element name="FufillmentCenterList">
     *           <complexType>
     *             <complexContent>
     *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
     *                 <sequence>
     *                   <element name="FufillmentCenter" maxOccurs="unbounded" minOccurs="0">
     *                     <complexType>
     *                       <complexContent>
     *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
     *                           <all>
     *                             <element name="WarehouseLocation" type="{http://www.w3.org/2001/XMLSchema}string"/>
     *                             <element name="WarehouseType">
     *                               <simpleType>
     *                                 <restriction base="{http://www.w3.org/2001/XMLSchema}int">
     *                                   <enumeration value="0"/>
     *                                   <enumeration value="1"/>
     *                                 </restriction>
     *                               </simpleType>
     *                             </element>
     *                             <element name="ShippingDestinationList">
     *                               <complexType>
     *                                 <complexContent>
     *                                   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
     *                                     <sequence>
     *                                       <element name="ShipToCountry" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
     *                                     </sequence>
     *                                   </restriction>
     *                                 </complexContent>
     *                               </complexType>
     *                             </element>
     *                           </all>
     *                         </restriction>
     *                       </complexContent>
     *                     </complexType>
     *                   </element>
     *                 </sequence>
     *               </restriction>
     *             </complexContent>
     *           </complexType>
     *         </element>
     *       </sequence>
     *     </restriction>
     *   </complexContent>
     * </complexType>
     * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "sellerName", "status", "membership", "fufillmentCenterList" }) public static class ResponseBody { @XmlElement(name = "SellerName", required = true) @JsonProperty("SellerName") protected String sellerName; @XmlElement(name = "Status", required = true) @JsonProperty("Status") protected String status; @XmlElement(name = "Membership") @JsonProperty("Membership") protected int membership; @XmlElement(name = "FufillmentCenterList", required = false) @JsonUnwrapped //@JsonProperty("FufillmentCenterList") protected SellerStatusCheckResponse.ResponseBody.FufillmentCenterList fufillmentCenterList; /** * Gets the value of the sellerName property. * * @return * possible object is * {@link String } * */ public String getSellerName() { return sellerName; } /** * Sets the value of the sellerName property. * * @param value * allowed object is * {@link String } * */ public void setSellerName(String value) { this.sellerName = value; } /** * Gets the value of the status property. * * @return * possible object is * {@link String } * */ public String getStatus() { return status; } /** * Sets the value of the status property. * * @param value * allowed object is * {@link String } * */ public void setStatus(String value) { this.status = value; } /** * Gets the value of the membership property. * @return * possible object is * {@link int } * */ public int getMembership() { return membership; } /** * Sets the value of the membership property. * @param value * allowed object is * {@link } * */ public void setMembership(int value) { this.membership = value; } /** * Gets the value of the fufillmentCenterList property. * * @return * possible object is * {@link SellerStatusCheckResponse.ResponseBody.FufillmentCenterList } * */ public SellerStatusCheckResponse.ResponseBody.FufillmentCenterList getFufillmentCenterList() { return fufillmentCenterList; } /** * Sets the value of the fufillmentCenterList property. * * @param value * allowed object is * {@link SellerStatusCheckResponse.ResponseBody.FufillmentCenterList } * */ public void setFufillmentCenterList(SellerStatusCheckResponse.ResponseBody.FufillmentCenterList value) { this.fufillmentCenterList = 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="FufillmentCenter" maxOccurs="unbounded" minOccurs="0">
         *           <complexType>
         *             <complexContent>
         *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
         *                 <all>
         *                   <element name="WarehouseLocation" type="{http://www.w3.org/2001/XMLSchema}string"/>
         *                   <element name="WarehouseType">
         *                     <simpleType>
         *                       <restriction base="{http://www.w3.org/2001/XMLSchema}int">
         *                         <enumeration value="0"/>
         *                         <enumeration value="1"/>
         *                       </restriction>
         *                     </simpleType>
         *                   </element>
         *                   <element name="ShippingDestinationList">
         *                     <complexType>
         *                       <complexContent>
         *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
         *                           <sequence>
         *                             <element name="ShipToCountry" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
         *                           </sequence>
         *                         </restriction>
         *                       </complexContent>
         *                     </complexType>
         *                   </element>
         *                 </all>
         *               </restriction>
         *             </complexContent>
         *           </complexType>
         *         </element>
         *       </sequence>
         *     </restriction>
         *   </complexContent>
         * </complexType>
         * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "fufillmentCenter" }) public static class FufillmentCenterList { @XmlElement(name = "FufillmentCenter") @JsonProperty("FufillmentCenterList") protected List fufillmentCenter; /** * Gets the value of the fufillmentCenter 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 fufillmentCenter property. * *

* For example, to add a new item, do as follows: *

             *    getFufillmentCenter().add(newItem);
             * 
* * *

* Objects of the following type(s) are allowed in the list * {@link SellerStatusCheckResponse.ResponseBody.FufillmentCenterList.FufillmentCenter } * * @return * Objects of the following type(s) are allowed in the list * {@link SellerStatusCheckResponse.ResponseBody.FufillmentCenterList.FufillmentCenter } * */ public List getFufillmentCenter() { if (fufillmentCenter == null) { fufillmentCenter = new ArrayList(); } return this.fufillmentCenter; } /** *

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="WarehouseLocation" type="{http://www.w3.org/2001/XMLSchema}string"/>
             *         <element name="WarehouseType">
             *           <simpleType>
             *             <restriction base="{http://www.w3.org/2001/XMLSchema}int">
             *               <enumeration value="0"/>
             *               <enumeration value="1"/>
             *             </restriction>
             *           </simpleType>
             *         </element>
             *         <element name="ShippingDestinationList">
             *           <complexType>
             *             <complexContent>
             *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
             *                 <sequence>
             *                   <element name="ShipToCountry" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
             *                 </sequence>
             *               </restriction>
             *             </complexContent>
             *           </complexType>
             *         </element>
             *       </all>
             *     </restriction>
             *   </complexContent>
             * </complexType>
             * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { }) public static class FufillmentCenter { @XmlElement(name = "WarehouseLocation", required = true) @JsonProperty("WarehouseLocation") protected String warehouseLocation; @XmlElement(name = "WarehouseType") @JsonProperty("WarehouseType") protected int warehouseType; @XmlElement(name = "ShippingDestinationList", required = true) @JsonUnwrapped //@JsonProperty("ShippingDestinationList") protected SellerStatusCheckResponse.ResponseBody.FufillmentCenterList.FufillmentCenter.ShippingDestinationList shippingDestinationList; /** * Gets the value of the warehouseLocation property. * * @return * possible object is * {@link String } * */ public String getWarehouseLocation() { return warehouseLocation; } /** * Sets the value of the warehouseLocation property. * * @param value * allowed object is * {@link String } * */ public void setWarehouseLocation(String value) { this.warehouseLocation = value; } /** * Gets the value of the warehouseType property. * @return * possible object is * {@link int } * */ public int getWarehouseType() { return warehouseType; } /** * Sets the value of the warehouseType property. * @param value * allowed object is * {@link } * */ public void setWarehouseType(int value) { this.warehouseType = value; } /** * Gets the value of the shippingDestinationList property. * * @return * possible object is * {@link SellerStatusCheckResponse.ResponseBody.FufillmentCenterList.FufillmentCenter.ShippingDestinationList } * */ public SellerStatusCheckResponse.ResponseBody.FufillmentCenterList.FufillmentCenter.ShippingDestinationList getShippingDestinationList() { return shippingDestinationList; } /** * Sets the value of the shippingDestinationList property. * * @param value * allowed object is * {@link SellerStatusCheckResponse.ResponseBody.FufillmentCenterList.FufillmentCenter.ShippingDestinationList } * */ public void setShippingDestinationList(SellerStatusCheckResponse.ResponseBody.FufillmentCenterList.FufillmentCenter.ShippingDestinationList value) { this.shippingDestinationList = 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="ShipToCountry" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
                 *       </sequence>
                 *     </restriction>
                 *   </complexContent>
                 * </complexType>
                 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "shipToCountry" }) public static class ShippingDestinationList { @XmlElement(name = "ShipToCountry") @JsonProperty("ShippingDestinationList") protected List shipToCountry; /** * Gets the value of the shipToCountry 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 shipToCountry property. * *

* For example, to add a new item, do as follows: *

                     *    getShipToCountry().add(newItem);
                     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link String } * * @return * Objects of the following type(s) are allowed in the list * {@link String } * */ public List getShipToCountry() { if (shipToCountry == null) { shipToCountry = new ArrayList(); } return this.shipToCountry; } } } } } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy