com.newegg.marketplace.sdk.rma.model.SubmitRMARequest 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.02.23 at 02:55:40 PM CST
//
package com.newegg.marketplace.sdk.rma.model;
import java.math.BigDecimal;
import java.math.BigInteger;
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="IssueUser" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="OperationType" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="RequestBody">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <all>
* <element name="IssueRMA">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <all>
* <element name="RMAType">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}integer">
* <minInclusive value="1"/>
* <maxInclusive value="2"/>
* </restriction>
* </simpleType>
* </element>
* <element name="SourceSONumber">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}int">
* <minInclusive value="1"/>
* </restriction>
* </simpleType>
* </element>
* <element name="SellerRMANumber" minOccurs="0">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <maxLength value="50"/>
* </restriction>
* </simpleType>
* </element>
* <element name="DiffShippedByPartyAction" minOccurs="0">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}integer">
* <minInclusive value="1"/>
* <maxInclusive value="3"/>
* </restriction>
* </simpleType>
* </element>
* <element name="AutoReceiveMark" minOccurs="0">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}int">
* <minInclusive value="0"/>
* <maxInclusive value="1"/>
* </restriction>
* </simpleType>
* </element>
* <element name="RMANote" minOccurs="0">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <maxLength value="4000"/>
* </restriction>
* </simpleType>
* </element>
* <element name="RMATransactionList">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence maxOccurs="unbounded">
* <element name="RMATransaction">
* <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">
* </restriction>
* </simpleType>
* </element>
* <element name="ReturnQuantity">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}integer">
* <minInclusive value="1"/>
* </restriction>
* </simpleType>
* </element>
* <element name="ReturnUnitPrice" minOccurs="0">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}decimal">
* <minInclusive value="0"/>
* </restriction>
* </simpleType>
* </element>
* <element name="RefundShippingPrice" minOccurs="0">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}decimal">
* <minInclusive value="0"/>
* </restriction>
* </simpleType>
* </element>
* <element name="RMAReason">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}integer">
* <minInclusive value="1"/>
* <maxInclusive value="8"/>
* </restriction>
* </simpleType>
* </element>
* </all>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </all>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </all>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </all>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
})
@XmlRootElement(name = "NeweggAPIRequest")
public class SubmitRMARequest {
@XmlElement(name = "IssueUser")
@JsonProperty("IssueUser")
protected String issueUser;
@XmlElement(name = "OperationType", required = true)
@JsonProperty("OperationType")
protected String operationType = "IssueRMARequest";
@XmlElement(name = "RequestBody", required = true)
@JsonProperty("RequestBody")
protected SubmitRMARequest.RequestBody requestBody;
public String getIssueUser() {
return issueUser;
}
public void setIssueUser(String issueUser) {
this.issueUser = issueUser;
}
public String getOperationType() {
return operationType;
}
public void setOperationType(String operationType) {
this.operationType = operationType;
}
public SubmitRMARequest.RequestBody getRequestBody() {
return requestBody;
}
public void setRequestBody(SubmitRMARequest.RequestBody requestBody) {
this.requestBody = requestBody;
}
/**
*
* 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="IssueRMA">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <all>
* <element name="RMAType">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}integer">
* <minInclusive value="1"/>
* <maxInclusive value="2"/>
* </restriction>
* </simpleType>
* </element>
* <element name="SourceSONumber">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}int">
* <minInclusive value="1"/>
* </restriction>
* </simpleType>
* </element>
* <element name="SellerRMANumber" minOccurs="0">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <maxLength value="50"/>
* </restriction>
* </simpleType>
* </element>
* <element name="DiffShippedByPartyAction" minOccurs="0">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}integer">
* <minInclusive value="1"/>
* <maxInclusive value="3"/>
* </restriction>
* </simpleType>
* </element>
* <element name="AutoReceiveMark" minOccurs="0">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}int">
* <minInclusive value="0"/>
* <maxInclusive value="1"/>
* </restriction>
* </simpleType>
* </element>
* <element name="RMANote" minOccurs="0">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <maxLength value="4000"/>
* </restriction>
* </simpleType>
* </element>
* <element name="RMATransactionList">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence maxOccurs="unbounded">
* <element name="RMATransaction">
* <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">
* </restriction>
* </simpleType>
* </element>
* <element name="ReturnQuantity">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}integer">
* <minInclusive value="1"/>
* </restriction>
* </simpleType>
* </element>
* <element name="ReturnUnitPrice" minOccurs="0">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}decimal">
* <minInclusive value="0"/>
* </restriction>
* </simpleType>
* </element>
* <element name="RefundShippingPrice" minOccurs="0">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}decimal">
* <minInclusive value="0"/>
* </restriction>
* </simpleType>
* </element>
* <element name="RMAReason">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}integer">
* <minInclusive value="1"/>
* <maxInclusive value="8"/>
* </restriction>
* </simpleType>
* </element>
* </all>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </all>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </all>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
})
public static class RequestBody {
@XmlElement(name = "IssueRMA", required = true)
@JsonProperty("IssueRMA")
protected SubmitRMARequest.RequestBody.IssueRMA issueRMA;
public SubmitRMARequest.RequestBody.IssueRMA getIssueRMA() {
return issueRMA;
}
public void setIssueRMA(SubmitRMARequest.RequestBody.IssueRMA issueRMA) {
this.issueRMA = issueRMA;
}
/**
*
* 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="RMAType">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}integer">
* <minInclusive value="1"/>
* <maxInclusive value="2"/>
* </restriction>
* </simpleType>
* </element>
* <element name="SourceSONumber">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}int">
* <minInclusive value="1"/>
* </restriction>
* </simpleType>
* </element>
* <element name="SellerRMANumber" minOccurs="0">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <maxLength value="50"/>
* </restriction>
* </simpleType>
* </element>
* <element name="DiffShippedByPartyAction" minOccurs="0">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}integer">
* <minInclusive value="1"/>
* <maxInclusive value="3"/>
* </restriction>
* </simpleType>
* </element>
* <element name="AutoReceiveMark" minOccurs="0">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}int">
* <minInclusive value="0"/>
* <maxInclusive value="1"/>
* </restriction>
* </simpleType>
* </element>
* <element name="RMANote" minOccurs="0">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <maxLength value="4000"/>
* </restriction>
* </simpleType>
* </element>
* <element name="RMATransactionList">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence maxOccurs="unbounded">
* <element name="RMATransaction">
* <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">
* </restriction>
* </simpleType>
* </element>
* <element name="ReturnQuantity">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}integer">
* <minInclusive value="1"/>
* </restriction>
* </simpleType>
* </element>
* <element name="ReturnUnitPrice" minOccurs="0">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}decimal">
* <minInclusive value="0"/>
* </restriction>
* </simpleType>
* </element>
* <element name="RefundShippingPrice" minOccurs="0">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}decimal">
* <minInclusive value="0"/>
* </restriction>
* </simpleType>
* </element>
* <element name="RMAReason">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}integer">
* <minInclusive value="1"/>
* <maxInclusive value="8"/>
* </restriction>
* </simpleType>
* </element>
* </all>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </all>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
})
public static class IssueRMA {
@XmlElement(name = "RMAType")
@JsonProperty("RMAType")
protected int rmaType;
@XmlElement(name = "SourceSONumber")
@JsonProperty("SourceSONumber")
protected int sourceSONumber;
@XmlElement(name = "SellerRMANumber")
@JsonProperty("SellerRMANumber")
protected String sellerRMANumber;
@XmlElement(name = "DiffShippedByPartyAction")
@JsonProperty("DiffShippedByPartyAction")
protected Integer diffShippedByPartyAction;
@XmlElement(name = "AutoReceiveMark")
@JsonProperty("AutoReceiveMark")
protected Integer autoReceiveMark;
@XmlElement(name = "RMANote")
@JsonProperty("RMANote")
protected String rmaNote;
@XmlElement(name = "RMATransactionList", required = true)
@JsonProperty("RMATransactionList")
protected SubmitRMARequest.RequestBody.IssueRMA.RMATransactionList rmaTransactionList;
public int getRmaType() {
return rmaType;
}
public void setRmaType(int rmaType) {
this.rmaType = rmaType;
}
public int getSourceSONumber() {
return sourceSONumber;
}
public void setSourceSONumber(int sourceSONumber) {
this.sourceSONumber = sourceSONumber;
}
public String getSellerRMANumber() {
return sellerRMANumber;
}
public void setSellerRMANumber(String sellerRMANumber) {
this.sellerRMANumber = sellerRMANumber;
}
public Integer getDiffShippedByPartyAction() {
return diffShippedByPartyAction;
}
public void setDiffShippedByPartyAction(Integer diffShippedByPartyAction) {
this.diffShippedByPartyAction = diffShippedByPartyAction;
}
public Integer getAutoReceiveMark() {
return autoReceiveMark;
}
public void setAutoReceiveMark(Integer autoReceiveMark) {
this.autoReceiveMark = autoReceiveMark;
}
public String getRmaNote() {
return rmaNote;
}
public void setRmaNote(String rmaNote) {
this.rmaNote = rmaNote;
}
public SubmitRMARequest.RequestBody.IssueRMA.RMATransactionList getRmaTransactionList() {
return rmaTransactionList;
}
public void setRmaTransactionList(SubmitRMARequest.RequestBody.IssueRMA.RMATransactionList rmaTransactionList) {
this.rmaTransactionList = rmaTransactionList;
}
/**
*
* 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 maxOccurs="unbounded">
* <element name="RMATransaction">
* <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">
* </restriction>
* </simpleType>
* </element>
* <element name="ReturnQuantity">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}integer">
* <minInclusive value="1"/>
* </restriction>
* </simpleType>
* </element>
* <element name="ReturnUnitPrice" minOccurs="0">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}decimal">
* <minInclusive value="0"/>
* </restriction>
* </simpleType>
* </element>
* <element name="RefundShippingPrice" minOccurs="0">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}decimal">
* <minInclusive value="0"/>
* </restriction>
* </simpleType>
* </element>
* <element name="RMAReason">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}integer">
* <minInclusive value="1"/>
* <maxInclusive value="8"/>
* </restriction>
* </simpleType>
* </element>
* </all>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"rmaTransaction"
})
public static class RMATransactionList {
@XmlElement(name = "RMATransaction", required = true)
@JsonProperty("RMATransaction")
protected List rmaTransaction;
/**
* Gets the value of the rmaTransaction 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 rmaTransaction property.
*
*
* For example, to add a new item, do as follows:
*
*
* getRMATransaction().add(newItem);
*
*
*
* @return
* Objects of the following type(s) are allowed in the list
* {@link SubmitRMARequest.RequestBody.IssueRMA.RMATransactionList.RMATransaction }
*
*/
public List getRmaTransaction() {
if (rmaTransaction == null) {
rmaTransaction = new ArrayList();
}
return this.rmaTransaction;
}
/**
*
* 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">
* </restriction>
* </simpleType>
* </element>
* <element name="ReturnQuantity">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}integer">
* <minInclusive value="1"/>
* </restriction>
* </simpleType>
* </element>
* <element name="ReturnUnitPrice" minOccurs="0">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}decimal">
* <minInclusive value="0"/>
* </restriction>
* </simpleType>
* </element>
* <element name="RefundShippingPrice" minOccurs="0">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}decimal">
* <minInclusive value="0"/>
* </restriction>
* </simpleType>
* </element>
* <element name="RMAReason">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}integer">
* <minInclusive value="1"/>
* <maxInclusive value="8"/>
* </restriction>
* </simpleType>
* </element>
* </all>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
})
public static class RMATransaction {
@XmlElement(name = "SellerPartNumber", required = true)
@JsonProperty("SellerPartNumber")
protected String sellerPartNumber;
@XmlElement(name = "ReturnQuantity", required = true)
@JsonProperty("ReturnQuantity")
protected BigInteger returnQuantity;
@XmlElement(name = "ReturnUnitPrice")
@JsonProperty("ReturnUnitPrice")
protected BigDecimal returnUnitPrice;
@XmlElement(name = "RefundShippingPrice")
@JsonProperty("RefundShippingPrice")
protected BigDecimal refundShippingPrice;
@XmlElement(name = "RMAReason")
@JsonProperty("RMAReason")
protected int rmaReason;
public String getSellerPartNumber() {
return sellerPartNumber;
}
public void setSellerPartNumber(String sellerPartNumber) {
this.sellerPartNumber = sellerPartNumber;
}
public BigInteger getReturnQuantity() {
return returnQuantity;
}
public void setReturnQuantity(BigInteger returnQuantity) {
this.returnQuantity = returnQuantity;
}
public BigDecimal getReturnUnitPrice() {
return returnUnitPrice;
}
public void setReturnUnitPrice(BigDecimal returnUnitPrice) {
this.returnUnitPrice = returnUnitPrice;
}
public BigDecimal getRefundShippingPrice() {
return refundShippingPrice;
}
public void setRefundShippingPrice(BigDecimal refundShippingPrice) {
this.refundShippingPrice = refundShippingPrice;
}
public int getRmaReason() {
return rmaReason;
}
public void setRmaReason(int rmaReason) {
this.rmaReason = rmaReason;
}
}
}
}
}
}