
Model.PostRegistrationBody 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.Boardingv1registrationsDocumentInformation;
import Model.Boardingv1registrationsIntegrationInformation;
import Model.Boardingv1registrationsOrganizationInformation;
import Model.Boardingv1registrationsProductInformation;
import Model.Boardingv1registrationsRegistrationInformation;
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;
/**
* PostRegistrationBody
*/
public class PostRegistrationBody {
@SerializedName("registrationInformation")
private Boardingv1registrationsRegistrationInformation registrationInformation = null;
@SerializedName("integrationInformation")
private Boardingv1registrationsIntegrationInformation integrationInformation = null;
@SerializedName("organizationInformation")
private Boardingv1registrationsOrganizationInformation organizationInformation = null;
@SerializedName("productInformation")
private Boardingv1registrationsProductInformation productInformation = null;
@SerializedName("documentInformation")
private Boardingv1registrationsDocumentInformation documentInformation = null;
public PostRegistrationBody registrationInformation(Boardingv1registrationsRegistrationInformation registrationInformation) {
this.registrationInformation = registrationInformation;
return this;
}
/**
* Get registrationInformation
* @return registrationInformation
**/
@ApiModelProperty(value = "")
public Boardingv1registrationsRegistrationInformation getRegistrationInformation() {
return registrationInformation;
}
public void setRegistrationInformation(Boardingv1registrationsRegistrationInformation registrationInformation) {
this.registrationInformation = registrationInformation;
}
public PostRegistrationBody integrationInformation(Boardingv1registrationsIntegrationInformation integrationInformation) {
this.integrationInformation = integrationInformation;
return this;
}
/**
* Get integrationInformation
* @return integrationInformation
**/
@ApiModelProperty(value = "")
public Boardingv1registrationsIntegrationInformation getIntegrationInformation() {
return integrationInformation;
}
public void setIntegrationInformation(Boardingv1registrationsIntegrationInformation integrationInformation) {
this.integrationInformation = integrationInformation;
}
public PostRegistrationBody organizationInformation(Boardingv1registrationsOrganizationInformation organizationInformation) {
this.organizationInformation = organizationInformation;
return this;
}
/**
* Get organizationInformation
* @return organizationInformation
**/
@ApiModelProperty(required = true, value = "")
public Boardingv1registrationsOrganizationInformation getOrganizationInformation() {
return organizationInformation;
}
public void setOrganizationInformation(Boardingv1registrationsOrganizationInformation organizationInformation) {
this.organizationInformation = organizationInformation;
}
public PostRegistrationBody productInformation(Boardingv1registrationsProductInformation productInformation) {
this.productInformation = productInformation;
return this;
}
/**
* Get productInformation
* @return productInformation
**/
@ApiModelProperty(value = "")
public Boardingv1registrationsProductInformation getProductInformation() {
return productInformation;
}
public void setProductInformation(Boardingv1registrationsProductInformation productInformation) {
this.productInformation = productInformation;
}
public PostRegistrationBody documentInformation(Boardingv1registrationsDocumentInformation documentInformation) {
this.documentInformation = documentInformation;
return this;
}
/**
* Get documentInformation
* @return documentInformation
**/
@ApiModelProperty(value = "")
public Boardingv1registrationsDocumentInformation getDocumentInformation() {
return documentInformation;
}
public void setDocumentInformation(Boardingv1registrationsDocumentInformation documentInformation) {
this.documentInformation = documentInformation;
}
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
PostRegistrationBody postRegistrationBody = (PostRegistrationBody) o;
return Objects.equals(this.registrationInformation, postRegistrationBody.registrationInformation) &&
Objects.equals(this.integrationInformation, postRegistrationBody.integrationInformation) &&
Objects.equals(this.organizationInformation, postRegistrationBody.organizationInformation) &&
Objects.equals(this.productInformation, postRegistrationBody.productInformation) &&
Objects.equals(this.documentInformation, postRegistrationBody.documentInformation);
}
@Override
public int hashCode() {
return Objects.hash(registrationInformation, integrationInformation, organizationInformation, productInformation, documentInformation);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class PostRegistrationBody {\n");
sb.append(" registrationInformation: ").append(toIndentedString(registrationInformation)).append("\n");
sb.append(" integrationInformation: ").append(toIndentedString(integrationInformation)).append("\n");
sb.append(" organizationInformation: ").append(toIndentedString(organizationInformation)).append("\n");
sb.append(" productInformation: ").append(toIndentedString(productInformation)).append("\n");
sb.append(" documentInformation: ").append(toIndentedString(documentInformation)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(java.lang.Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy