com.newegg.marketplace.sdk.rma.model.RejectRMARequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sdk-rma Show documentation
Show all versions of sdk-rma Show documentation
How to create, retrieve and update RMA (e.g. refund and replacement), as well as how to issue a courtesy refund.
//
// 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 03:44:55 PM CST
//
package com.newegg.marketplace.sdk.rma.model;
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.newegg.marketplace.sdk.rma.model.bean.RejectRMAInfo;
/**
*
* 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" minOccurs="0">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* </restriction>
* </simpleType>
* </element>
* <element name="OperationType">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <enumeration value="EditRMARequest"/>
* <enumeration value="RejectRMARequest"/>
* <enumeration value="VoidRMARequest"/>
* <enumeration value="ReceiveRMARequest"/>
* </restriction>
* </simpleType>
* </element>
* <element name="RequestBody">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <choice>
* <element ref="{}EditRMAInfo"/>
* <element ref="{}ReceiveRMAInfo"/>
* <element ref="{}VoidRMAInfo"/>
* <element ref="{}RejectRMAInfo"/>
* </choice>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </all>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
})
@XmlRootElement(name = "NeweggAPIRequest")
public class RejectRMARequest {
@XmlElement(name = "IssueUser")
@JsonProperty("IssueUser")
protected String issueUser;
@XmlElement(name = "OperationType", required = true)
@JsonProperty("OperationType")
protected String operationType = "RejectRMARequest";
@XmlElement(name = "RequestBody", required = true)
@JsonProperty("RequestBody")
protected RejectRMARequest.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 RejectRMARequest.RequestBody getRequestBody() {
return requestBody;
}
public void setRequestBody(RejectRMARequest.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">
* <choice>
* <element ref="{}EditRMAInfo"/>
* <element ref="{}ReceiveRMAInfo"/>
* <element ref="{}VoidRMAInfo"/>
* <element ref="{}RejectRMAInfo"/>
* </choice>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = { "rejectRMAInfo" })
public static class RequestBody {
/*
* @XmlElement(name = "EditRMAInfo")
*
* @JsonProperty("EditRMAInfo") protected EditRMAInfo editRMAInfo;
*
* @XmlElement(name = "ReceiveRMAInfo")
*
* @JsonProperty("ReceiveRMAInfo") protected ReceiveRMAInfo receiveRMAInfo;
*
* @XmlElement(name = "VoidRMAInfo")
*
* @JsonProperty("VoidRMAInfo") protected VoidRMAInfo voidRMAInfo;
*/
@XmlElement(name = "RejectRMAInfo")
@JsonProperty("RejectRMAInfo")
protected RejectRMAInfo rejectRMAInfo;
/*
* public EditRMAInfo getEditRMAInfo() { return editRMAInfo; }
*
* public void setEditRMAInfo(EditRMAInfo editRMAInfo) { this.editRMAInfo =
* editRMAInfo; }
*
* public ReceiveRMAInfo getReceiveRMAInfo() { return receiveRMAInfo; }
*
* public void setReceiveRMAInfo(ReceiveRMAInfo receiveRMAInfo) {
* this.receiveRMAInfo = receiveRMAInfo; }
*
* public VoidRMAInfo getVoidRMAInfo() { return voidRMAInfo; }
*
* public void setVoidRMAInfo(VoidRMAInfo voidRMAInfo) { this.voidRMAInfo =
* voidRMAInfo; }
*/
public RejectRMAInfo getRejectRMAInfo() {
return rejectRMAInfo;
}
public void setRejectRMAInfo(RejectRMAInfo rejectRMAInfo) {
this.rejectRMAInfo = rejectRMAInfo;
}
}
}