com.newegg.marketplace.sdk.rma.model.IssueCourtesyRefundResponse Maven / Gradle / Ivy
Show all versions of sdk-rma 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.08 at 04:26:58 PM CST
//
package com.newegg.marketplace.sdk.rma.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="IsSuccess">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <enumeration value="true"/>
* <enumeration value="false"/>
* </restriction>
* </simpleType>
* </element>
* <element name="OperationType">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* </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="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="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 IssueCourtesyRefundResponse {
@XmlElement(name = "IsSuccess", required = true)
@JsonProperty("IsSuccess")
protected String isSuccess;
@XmlElement(name = "OperationType", required = true)
@JsonProperty("OperationType")
protected String operationType = "CourtesyRefundResponse";
@XmlElement(name = "SellerID", required = true)
@JsonProperty("SellerID")
protected String sellerID;
@XmlElement(name = "ResponseBody", required = true)
@JsonProperty("ResponseBody")
protected IssueCourtesyRefundResponse.ResponseBody responseBody;
@XmlElement(name = "Memo")
@JsonProperty("Memo")
protected String memo;
public String getIsSuccess() {
return isSuccess;
}
public void setIsSuccess(String isSuccess) {
this.isSuccess = isSuccess;
}
public String getOperationType() {
return operationType;
}
public void setOperationType(String operationType) {
this.operationType = operationType;
}
public String getSellerID() {
return sellerID;
}
public void setSellerID(String sellerID) {
this.sellerID = sellerID;
}
public IssueCourtesyRefundResponse.ResponseBody getResponseBody() {
return responseBody;
}
public void setResponseBody(IssueCourtesyRefundResponse.ResponseBody responseBody) {
this.responseBody = responseBody;
}
public String getMemo() {
return memo;
}
public void setMemo(String memo) {
this.memo = memo;
}
/**
*
* 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="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)
@JsonProperty("ResponseList")
protected IssueCourtesyRefundResponse.ResponseBody.ResponseList responseList;
public IssueCourtesyRefundResponse.ResponseBody.ResponseList getResponseList() {
return responseList;
}
public void setResponseList(IssueCourtesyRefundResponse.ResponseBody.ResponseList responseList) {
this.responseList = responseList;
}
/**
*
* 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="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")
@JsonProperty("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 IssueCourtesyRefundResponse.ResponseBody.ResponseList.ResponseInfo }
*
* @return
* Objects of the following type(s) are allowed in the list
* {@link IssueCourtesyRefundResponse.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="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)
@JsonProperty("RequestId")
protected String requestId;
@XmlElement(name = "RequestDate", required = true)
@JsonProperty("RequestDate")
protected String requestDate;
@XmlElement(name = "RequestStatus", required = true)
@JsonProperty("RequestStatus")
protected String requestStatus;
public String getRequestId() {
return requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public String getRequestDate() {
return requestDate;
}
public void setRequestDate(String requestDate) {
this.requestDate = requestDate;
}
public String getRequestStatus() {
return requestStatus;
}
public void setRequestStatus(String requestStatus) {
this.requestStatus = requestStatus;
}
}
}
}
}