All Downloads are FREE. Search and download functionalities are using the official Maven repository.

Model.Boardingv1registrationsRegistrationInformation Maven / Gradle / Ivy

There is a newer version: 0.0.8
Show newest version
/*
 * 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 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 org.joda.time.DateTime;

/**
 * Boardingv1registrationsRegistrationInformation
 */

public class Boardingv1registrationsRegistrationInformation {
  @SerializedName("boardingRegistrationId")
  private String boardingRegistrationId = null;

  @SerializedName("submitTimeUtc")
  private DateTime submitTimeUtc = null;

  @SerializedName("status")
  private String status = null;

  @SerializedName("boardingPackageId")
  private String boardingPackageId = null;

  @SerializedName("boardingFlow")
  private String boardingFlow = null;

  @SerializedName("mode")
  private String mode = null;

  @SerializedName("salesRepId")
  private String salesRepId = null;

   /**
   * Get boardingRegistrationId
   * @return boardingRegistrationId
  **/
  @ApiModelProperty(example = "1234124", value = "")
  public String getBoardingRegistrationId() {
    return boardingRegistrationId;
  }

   /**
   * 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:   - 'PROCESSING': This status is for Registrations that are still in Progress, you can get the latest status by calling the GET endpoint using the Registration Id   - 'SUCCESS': This status is for Registrations that were successfull on every step of the on boarding process.   - 'FAILURE': This status is for Registrations that fail before the Organization was created; please refer to the details section in the reponse for more information.   - 'PARTIAL': This status is for Registrations that created the Organization successfully but fail in at least on step while configuring it; please refer to the details section in the response for more information. 
   * @return status
  **/
  @ApiModelProperty(value = "The status of Registration request Possible Values:   - 'PROCESSING': This status is for Registrations that are still in Progress, you can get the latest status by calling the GET endpoint using the Registration Id   - 'SUCCESS': This status is for Registrations that were successfull on every step of the on boarding process.   - 'FAILURE': This status is for Registrations that fail before the Organization was created; please refer to the details section in the reponse for more information.   - 'PARTIAL': This status is for Registrations that created the Organization successfully but fail in at least on step while configuring it; please refer to the details section in the response for more information. ")
  public String getStatus() {
    return status;
  }

  public Boardingv1registrationsRegistrationInformation boardingPackageId(String boardingPackageId) {
    this.boardingPackageId = boardingPackageId;
    return this;
  }

   /**
   * Get boardingPackageId
   * @return boardingPackageId
  **/
  @ApiModelProperty(example = "1004001", value = "")
  public String getBoardingPackageId() {
    return boardingPackageId;
  }

  public void setBoardingPackageId(String boardingPackageId) {
    this.boardingPackageId = boardingPackageId;
  }

  public Boardingv1registrationsRegistrationInformation boardingFlow(String boardingFlow) {
    this.boardingFlow = boardingFlow;
    return this;
  }

   /**
   * Determines the boarding flow for this registration. Possible Values:   - 'ENTERPRISE'   - 'SMB'   - 'ADDPRODUCT' 
   * @return boardingFlow
  **/
  @ApiModelProperty(value = "Determines the boarding flow for this registration. Possible Values:   - 'ENTERPRISE'   - 'SMB'   - 'ADDPRODUCT' ")
  public String getBoardingFlow() {
    return boardingFlow;
  }

  public void setBoardingFlow(String boardingFlow) {
    this.boardingFlow = boardingFlow;
  }

  public Boardingv1registrationsRegistrationInformation mode(String mode) {
    this.mode = mode;
    return this;
  }

   /**
   * In case mode is not provided the API will use COMPLETE as default Possible Values:   - 'COMPLETE'   - 'PARTIAL' 
   * @return mode
  **/
  @ApiModelProperty(value = "In case mode is not provided the API will use COMPLETE as default Possible Values:   - 'COMPLETE'   - 'PARTIAL' ")
  public String getMode() {
    return mode;
  }

  public void setMode(String mode) {
    this.mode = mode;
  }

  public Boardingv1registrationsRegistrationInformation salesRepId(String salesRepId) {
    this.salesRepId = salesRepId;
    return this;
  }

   /**
   * Get salesRepId
   * @return salesRepId
  **/
  @ApiModelProperty(example = "Rep1", value = "")
  public String getSalesRepId() {
    return salesRepId;
  }

  public void setSalesRepId(String salesRepId) {
    this.salesRepId = salesRepId;
  }


  @Override
  public boolean equals(java.lang.Object o) {
    if (this == o) {
      return true;
    }
    if (o == null || getClass() != o.getClass()) {
      return false;
    }
    Boardingv1registrationsRegistrationInformation boardingv1registrationsRegistrationInformation = (Boardingv1registrationsRegistrationInformation) o;
    return Objects.equals(this.boardingRegistrationId, boardingv1registrationsRegistrationInformation.boardingRegistrationId) &&
        Objects.equals(this.submitTimeUtc, boardingv1registrationsRegistrationInformation.submitTimeUtc) &&
        Objects.equals(this.status, boardingv1registrationsRegistrationInformation.status) &&
        Objects.equals(this.boardingPackageId, boardingv1registrationsRegistrationInformation.boardingPackageId) &&
        Objects.equals(this.boardingFlow, boardingv1registrationsRegistrationInformation.boardingFlow) &&
        Objects.equals(this.mode, boardingv1registrationsRegistrationInformation.mode) &&
        Objects.equals(this.salesRepId, boardingv1registrationsRegistrationInformation.salesRepId);
  }

  @Override
  public int hashCode() {
    return Objects.hash(boardingRegistrationId, submitTimeUtc, status, boardingPackageId, boardingFlow, mode, salesRepId);
  }


  @Override
  public String toString() {
    StringBuilder sb = new StringBuilder();
    sb.append("class Boardingv1registrationsRegistrationInformation {\n");
    
    if (boardingRegistrationId != null) sb.append("    boardingRegistrationId: ").append(toIndentedString(boardingRegistrationId)).append("\n");
    if (submitTimeUtc != null) sb.append("    submitTimeUtc: ").append(toIndentedString(submitTimeUtc)).append("\n");
    if (status != null) sb.append("    status: ").append(toIndentedString(status)).append("\n");
    if (boardingPackageId != null) sb.append("    boardingPackageId: ").append(toIndentedString(boardingPackageId)).append("\n");
    if (boardingFlow != null) sb.append("    boardingFlow: ").append(toIndentedString(boardingFlow)).append("\n");
    if (mode != null) sb.append("    mode: ").append(toIndentedString(mode)).append("\n");
    if (salesRepId != null) sb.append("    salesRepId: ").append(toIndentedString(salesRepId)).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