Model.InlineResponse2012 Maven / Gradle / Ivy
/*
* CyberSource Merged Spec
* All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html
*
* OpenAPI spec version: 0.0.1
*
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
package Model;
import java.util.Objects;
import java.util.Arrays;
import Model.InlineResponse2012IntegrationInformation;
import Model.InlineResponse2012OrganizationInformation;
import Model.InlineResponse2012ProductInformationSetups;
import Model.InlineResponse2012RegistrationInformation;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import org.joda.time.DateTime;
/**
* InlineResponse2012
*/
public class InlineResponse2012 {
@SerializedName("id")
private String id = null;
@SerializedName("submitTimeUtc")
private DateTime submitTimeUtc = null;
@SerializedName("status")
private String status = null;
@SerializedName("registrationInformation")
private InlineResponse2012RegistrationInformation registrationInformation = null;
@SerializedName("integrationInformation")
private InlineResponse2012IntegrationInformation integrationInformation = null;
@SerializedName("organizationInformation")
private InlineResponse2012OrganizationInformation organizationInformation = null;
@SerializedName("productInformationSetups")
private List productInformationSetups = null;
@SerializedName("message")
private String message = null;
@SerializedName("details")
private Map> details = null;
public InlineResponse2012 id(String id) {
this.id = id;
return this;
}
/**
* Get id
* @return id
**/
@ApiModelProperty(example = "12351234", value = "")
public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
/**
* Time of request in UTC. `Format: YYYY-MM-DDThh:mm:ssZ` Example 2016-08-11T22:47:57Z equals August 11, 2016, at 22:47:57 (10:47:57 p.m.). The T separates the date and the time. The Z indicates UTC.
* @return submitTimeUtc
**/
@ApiModelProperty(example = "2019-06-11T22:47:57.000Z", value = "Time of request in UTC. `Format: YYYY-MM-DDThh:mm:ssZ` Example 2016-08-11T22:47:57Z equals August 11, 2016, at 22:47:57 (10:47:57 p.m.). The T separates the date and the time. The Z indicates UTC. ")
public DateTime getSubmitTimeUtc() {
return submitTimeUtc;
}
/**
* The status of Registration request Possible Values: - 'INITIALIZED' - 'RECEIVED' - 'PROCESSING' - 'SUCCESS' - 'FAILURE' - 'PARTIAL'
* @return status
**/
@ApiModelProperty(value = "The status of Registration request Possible Values: - 'INITIALIZED' - 'RECEIVED' - 'PROCESSING' - 'SUCCESS' - 'FAILURE' - 'PARTIAL' ")
public String getStatus() {
return status;
}
public InlineResponse2012 registrationInformation(InlineResponse2012RegistrationInformation registrationInformation) {
this.registrationInformation = registrationInformation;
return this;
}
/**
* Get registrationInformation
* @return registrationInformation
**/
@ApiModelProperty(value = "")
public InlineResponse2012RegistrationInformation getRegistrationInformation() {
return registrationInformation;
}
public void setRegistrationInformation(InlineResponse2012RegistrationInformation registrationInformation) {
this.registrationInformation = registrationInformation;
}
public InlineResponse2012 integrationInformation(InlineResponse2012IntegrationInformation integrationInformation) {
this.integrationInformation = integrationInformation;
return this;
}
/**
* Get integrationInformation
* @return integrationInformation
**/
@ApiModelProperty(value = "")
public InlineResponse2012IntegrationInformation getIntegrationInformation() {
return integrationInformation;
}
public void setIntegrationInformation(InlineResponse2012IntegrationInformation integrationInformation) {
this.integrationInformation = integrationInformation;
}
public InlineResponse2012 organizationInformation(InlineResponse2012OrganizationInformation organizationInformation) {
this.organizationInformation = organizationInformation;
return this;
}
/**
* Get organizationInformation
* @return organizationInformation
**/
@ApiModelProperty(value = "")
public InlineResponse2012OrganizationInformation getOrganizationInformation() {
return organizationInformation;
}
public void setOrganizationInformation(InlineResponse2012OrganizationInformation organizationInformation) {
this.organizationInformation = organizationInformation;
}
public InlineResponse2012 productInformationSetups(List productInformationSetups) {
this.productInformationSetups = productInformationSetups;
return this;
}
public InlineResponse2012 addProductInformationSetupsItem(InlineResponse2012ProductInformationSetups productInformationSetupsItem) {
if (this.productInformationSetups == null) {
this.productInformationSetups = new ArrayList();
}
this.productInformationSetups.add(productInformationSetupsItem);
return this;
}
/**
* Get productInformationSetups
* @return productInformationSetups
**/
@ApiModelProperty(value = "")
public List getProductInformationSetups() {
return productInformationSetups;
}
public void setProductInformationSetups(List productInformationSetups) {
this.productInformationSetups = productInformationSetups;
}
public InlineResponse2012 message(String message) {
this.message = message;
return this;
}
/**
* Get message
* @return message
**/
@ApiModelProperty(example = "Request was processed succesfully.", value = "")
public String getMessage() {
return message;
}
public void setMessage(String message) {
this.message = message;
}
public InlineResponse2012 details(Map> details) {
this.details = details;
return this;
}
public InlineResponse2012 putDetailsItem(String key, List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy