
Model.Boardingv1registrationsOrganizationInformation 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.Boardingv1registrationsOrganizationInformationBusinessInformation;
import Model.Boardingv1registrationsOrganizationInformationKYC;
import Model.Boardingv1registrationsOrganizationInformationOwners;
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.List;
/**
* Boardingv1registrationsOrganizationInformation
*/
public class Boardingv1registrationsOrganizationInformation {
@SerializedName("organizationId")
private String organizationId = null;
@SerializedName("parentOrganizationId")
private String parentOrganizationId = null;
@SerializedName("childOrganizations")
private List childOrganizations = null;
@SerializedName("type")
private String type = null;
@SerializedName("status")
private String status = null;
@SerializedName("configurable")
private Boolean configurable = false;
@SerializedName("businessInformation")
private Boardingv1registrationsOrganizationInformationBusinessInformation businessInformation = null;
@SerializedName("KYC")
private Boardingv1registrationsOrganizationInformationKYC KYC = null;
@SerializedName("owners")
private List owners = null;
public Boardingv1registrationsOrganizationInformation organizationId(String organizationId) {
this.organizationId = organizationId;
return this;
}
/**
* Get organizationId
* @return organizationId
**/
@ApiModelProperty(example = "merch-test1", value = "")
public String getOrganizationId() {
return organizationId;
}
public void setOrganizationId(String organizationId) {
this.organizationId = organizationId;
}
public Boardingv1registrationsOrganizationInformation parentOrganizationId(String parentOrganizationId) {
this.parentOrganizationId = parentOrganizationId;
return this;
}
/**
* This field is required for Organization Types: MERCHANT, TRANSACTING
* @return parentOrganizationId
**/
@ApiModelProperty(example = "merch-test1-acct", value = "This field is required for Organization Types: MERCHANT, TRANSACTING ")
public String getParentOrganizationId() {
return parentOrganizationId;
}
public void setParentOrganizationId(String parentOrganizationId) {
this.parentOrganizationId = parentOrganizationId;
}
/**
* Get childOrganizations
* @return childOrganizations
**/
@ApiModelProperty(value = "")
public List getChildOrganizations() {
return childOrganizations;
}
public Boardingv1registrationsOrganizationInformation type(String type) {
this.type = type;
return this;
}
/**
* Determines the type of organization in the hirarchy that this registration will use to onboard this Organization Possible Values: - 'TRANSACTING' - 'STRUCTURAL' - 'MERCHANT'
* @return type
**/
@ApiModelProperty(value = "Determines the type of organization in the hirarchy that this registration will use to onboard this Organization Possible Values: - 'TRANSACTING' - 'STRUCTURAL' - 'MERCHANT' ")
public String getType() {
return type;
}
public void setType(String type) {
this.type = type;
}
public Boardingv1registrationsOrganizationInformation status(String status) {
this.status = status;
return this;
}
/**
* Determines the status that the organization will be after being onboarded Possible Values: - 'LIVE' - 'TEST' - 'DRAFT'
* @return status
**/
@ApiModelProperty(value = "Determines the status that the organization will be after being onboarded Possible Values: - 'LIVE' - 'TEST' - 'DRAFT' ")
public String getStatus() {
return status;
}
public void setStatus(String status) {
this.status = status;
}
public Boardingv1registrationsOrganizationInformation configurable(Boolean configurable) {
this.configurable = configurable;
return this;
}
/**
* This denotes the one organization, with exception to the TRANSACTING types, that is allowed to be used for configuration purposes against products. Eventually this field will be deprecated and all organizations will be allowed for product configuration.
* @return configurable
**/
@ApiModelProperty(example = "false", value = "This denotes the one organization, with exception to the TRANSACTING types, that is allowed to be used for configuration purposes against products. Eventually this field will be deprecated and all organizations will be allowed for product configuration.")
public Boolean Configurable() {
return configurable;
}
public void setConfigurable(Boolean configurable) {
this.configurable = configurable;
}
public Boardingv1registrationsOrganizationInformation businessInformation(Boardingv1registrationsOrganizationInformationBusinessInformation businessInformation) {
this.businessInformation = businessInformation;
return this;
}
/**
* Get businessInformation
* @return businessInformation
**/
@ApiModelProperty(required = true, value = "")
public Boardingv1registrationsOrganizationInformationBusinessInformation getBusinessInformation() {
return businessInformation;
}
public void setBusinessInformation(Boardingv1registrationsOrganizationInformationBusinessInformation businessInformation) {
this.businessInformation = businessInformation;
}
public Boardingv1registrationsOrganizationInformation KYC(Boardingv1registrationsOrganizationInformationKYC KYC) {
this.KYC = KYC;
return this;
}
/**
* Get KYC
* @return KYC
**/
@ApiModelProperty(value = "")
public Boardingv1registrationsOrganizationInformationKYC getKYC() {
return KYC;
}
public void setKYC(Boardingv1registrationsOrganizationInformationKYC KYC) {
this.KYC = KYC;
}
public Boardingv1registrationsOrganizationInformation owners(List owners) {
this.owners = owners;
return this;
}
public Boardingv1registrationsOrganizationInformation addOwnersItem(Boardingv1registrationsOrganizationInformationOwners ownersItem) {
if (this.owners == null) {
this.owners = new ArrayList();
}
this.owners.add(ownersItem);
return this;
}
/**
* Get owners
* @return owners
**/
@ApiModelProperty(value = "")
public List getOwners() {
return owners;
}
public void setOwners(List owners) {
this.owners = owners;
}
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
Boardingv1registrationsOrganizationInformation boardingv1registrationsOrganizationInformation = (Boardingv1registrationsOrganizationInformation) o;
return Objects.equals(this.organizationId, boardingv1registrationsOrganizationInformation.organizationId) &&
Objects.equals(this.parentOrganizationId, boardingv1registrationsOrganizationInformation.parentOrganizationId) &&
Objects.equals(this.childOrganizations, boardingv1registrationsOrganizationInformation.childOrganizations) &&
Objects.equals(this.type, boardingv1registrationsOrganizationInformation.type) &&
Objects.equals(this.status, boardingv1registrationsOrganizationInformation.status) &&
Objects.equals(this.configurable, boardingv1registrationsOrganizationInformation.configurable) &&
Objects.equals(this.businessInformation, boardingv1registrationsOrganizationInformation.businessInformation) &&
Objects.equals(this.KYC, boardingv1registrationsOrganizationInformation.KYC) &&
Objects.equals(this.owners, boardingv1registrationsOrganizationInformation.owners);
}
@Override
public int hashCode() {
return Objects.hash(organizationId, parentOrganizationId, childOrganizations, type, status, configurable, businessInformation, KYC, owners);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class Boardingv1registrationsOrganizationInformation {\n");
if (organizationId != null) sb.append(" organizationId: ").append(toIndentedString(organizationId)).append("\n");
if (parentOrganizationId != null) sb.append(" parentOrganizationId: ").append(toIndentedString(parentOrganizationId)).append("\n");
if (childOrganizations != null) sb.append(" childOrganizations: ").append(toIndentedString(childOrganizations)).append("\n");
if (type != null) sb.append(" type: ").append(toIndentedString(type)).append("\n");
if (status != null) sb.append(" status: ").append(toIndentedString(status)).append("\n");
if (configurable != null) sb.append(" configurable: ").append(toIndentedString(configurable)).append("\n");
if (businessInformation != null) sb.append(" businessInformation: ").append(toIndentedString(businessInformation)).append("\n");
if (KYC != null) sb.append(" KYC: ").append(toIndentedString(KYC)).append("\n");
if (owners != null) sb.append(" owners: ").append(toIndentedString(owners)).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