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

Model.SAConfig 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 Model.SAConfigCheckout;
import Model.SAConfigContactInformation;
import Model.SAConfigNotifications;
import Model.SAConfigPaymentMethods;
import Model.SAConfigPaymentTypes;
import Model.SAConfigService;
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;

/**
 * SAConfig
 */

public class SAConfig {
  @SerializedName("parentProfileId")
  private String parentProfileId = null;

  @SerializedName("contactInformation")
  private SAConfigContactInformation contactInformation = null;

  @SerializedName("notifications")
  private SAConfigNotifications notifications = null;

  @SerializedName("service")
  private SAConfigService service = null;

  @SerializedName("paymentMethods")
  private SAConfigPaymentMethods paymentMethods = null;

  @SerializedName("checkout")
  private SAConfigCheckout checkout = null;

  @SerializedName("paymentTypes")
  private SAConfigPaymentTypes paymentTypes = null;

  public SAConfig parentProfileId(String parentProfileId) {
    this.parentProfileId = parentProfileId;
    return this;
  }

   /**
   * You can group Secure Acceptance profiles under parent profiles. By changing the parent profile, you can update all profiles underneath that parent. Specify the Parent Profile ID here.
   * @return parentProfileId
  **/
  @ApiModelProperty(value = "You can group Secure Acceptance profiles under parent profiles. By changing the parent profile, you can update all profiles underneath that parent. Specify the Parent Profile ID here.")
  public String getParentProfileId() {
    return parentProfileId;
  }

  public void setParentProfileId(String parentProfileId) {
    this.parentProfileId = parentProfileId;
  }

  public SAConfig contactInformation(SAConfigContactInformation contactInformation) {
    this.contactInformation = contactInformation;
    return this;
  }

   /**
   * Get contactInformation
   * @return contactInformation
  **/
  @ApiModelProperty(value = "")
  public SAConfigContactInformation getContactInformation() {
    return contactInformation;
  }

  public void setContactInformation(SAConfigContactInformation contactInformation) {
    this.contactInformation = contactInformation;
  }

  public SAConfig notifications(SAConfigNotifications notifications) {
    this.notifications = notifications;
    return this;
  }

   /**
   * Get notifications
   * @return notifications
  **/
  @ApiModelProperty(value = "")
  public SAConfigNotifications getNotifications() {
    return notifications;
  }

  public void setNotifications(SAConfigNotifications notifications) {
    this.notifications = notifications;
  }

  public SAConfig service(SAConfigService service) {
    this.service = service;
    return this;
  }

   /**
   * Get service
   * @return service
  **/
  @ApiModelProperty(value = "")
  public SAConfigService getService() {
    return service;
  }

  public void setService(SAConfigService service) {
    this.service = service;
  }

  public SAConfig paymentMethods(SAConfigPaymentMethods paymentMethods) {
    this.paymentMethods = paymentMethods;
    return this;
  }

   /**
   * Get paymentMethods
   * @return paymentMethods
  **/
  @ApiModelProperty(value = "")
  public SAConfigPaymentMethods getPaymentMethods() {
    return paymentMethods;
  }

  public void setPaymentMethods(SAConfigPaymentMethods paymentMethods) {
    this.paymentMethods = paymentMethods;
  }

  public SAConfig checkout(SAConfigCheckout checkout) {
    this.checkout = checkout;
    return this;
  }

   /**
   * Get checkout
   * @return checkout
  **/
  @ApiModelProperty(value = "")
  public SAConfigCheckout getCheckout() {
    return checkout;
  }

  public void setCheckout(SAConfigCheckout checkout) {
    this.checkout = checkout;
  }

  public SAConfig paymentTypes(SAConfigPaymentTypes paymentTypes) {
    this.paymentTypes = paymentTypes;
    return this;
  }

   /**
   * Get paymentTypes
   * @return paymentTypes
  **/
  @ApiModelProperty(value = "")
  public SAConfigPaymentTypes getPaymentTypes() {
    return paymentTypes;
  }

  public void setPaymentTypes(SAConfigPaymentTypes paymentTypes) {
    this.paymentTypes = paymentTypes;
  }


  @Override
  public boolean equals(java.lang.Object o) {
    if (this == o) {
      return true;
    }
    if (o == null || getClass() != o.getClass()) {
      return false;
    }
    SAConfig saConfig = (SAConfig) o;
    return Objects.equals(this.parentProfileId, saConfig.parentProfileId) &&
        Objects.equals(this.contactInformation, saConfig.contactInformation) &&
        Objects.equals(this.notifications, saConfig.notifications) &&
        Objects.equals(this.service, saConfig.service) &&
        Objects.equals(this.paymentMethods, saConfig.paymentMethods) &&
        Objects.equals(this.checkout, saConfig.checkout) &&
        Objects.equals(this.paymentTypes, saConfig.paymentTypes);
  }

  @Override
  public int hashCode() {
    return Objects.hash(parentProfileId, contactInformation, notifications, service, paymentMethods, checkout, paymentTypes);
  }


  @Override
  public String toString() {
    StringBuilder sb = new StringBuilder();
    sb.append("class SAConfig {\n");
    
    sb.append("    parentProfileId: ").append(toIndentedString(parentProfileId)).append("\n");
    sb.append("    contactInformation: ").append(toIndentedString(contactInformation)).append("\n");
    sb.append("    notifications: ").append(toIndentedString(notifications)).append("\n");
    sb.append("    service: ").append(toIndentedString(service)).append("\n");
    sb.append("    paymentMethods: ").append(toIndentedString(paymentMethods)).append("\n");
    sb.append("    checkout: ").append(toIndentedString(checkout)).append("\n");
    sb.append("    paymentTypes: ").append(toIndentedString(paymentTypes)).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