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

com.docusign.esign.model.FeatureSet Maven / Gradle / Ivy

Go to download

The official DocuSign eSignature JAVA client is based on version 2 of the DocuSign REST API and provides libraries for JAVA application integration. It is recommended that you use this version of the library for new development.

There is a newer version: 6.0.0
Show newest version
package com.docusign.esign.model;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import java.util.Objects;

/**
 * This object provides details about a feature set, or add-on product that is associated with an
 * account. It is reserved for DocuSign internal use only..
 */
@Schema(
    description =
        "This object provides details about a feature set, or add-on product that is associated with an account. It is reserved for DocuSign internal use only.")
public class FeatureSet {
  @JsonProperty("currencyFeatureSetPrices")
  private java.util.List currencyFeatureSetPrices = null;

  @JsonProperty("envelopeFee")
  private String envelopeFee = null;

  @JsonProperty("featureSetId")
  private String featureSetId = null;

  @JsonProperty("fixedFee")
  private String fixedFee = null;

  @JsonProperty("is21CFRPart11")
  private String is21CFRPart11 = null;

  @JsonProperty("isActive")
  private String isActive = null;

  @JsonProperty("isEnabled")
  private String isEnabled = null;

  @JsonProperty("name")
  private String name = null;

  @JsonProperty("seatFee")
  private String seatFee = null;

  /**
   * currencyFeatureSetPrices.
   *
   * @return FeatureSet
   */
  public FeatureSet currencyFeatureSetPrices(
      java.util.List currencyFeatureSetPrices) {
    this.currencyFeatureSetPrices = currencyFeatureSetPrices;
    return this;
  }

  /**
   * addCurrencyFeatureSetPricesItem.
   *
   * @return FeatureSet
   */
  public FeatureSet addCurrencyFeatureSetPricesItem(
      CurrencyFeatureSetPrice currencyFeatureSetPricesItem) {
    if (this.currencyFeatureSetPrices == null) {
      this.currencyFeatureSetPrices = new java.util.ArrayList<>();
    }
    this.currencyFeatureSetPrices.add(currencyFeatureSetPricesItem);
    return this;
  }

  /**
   * A complex type that contains alternate currency values that are configured for this plan
   * feature set..
   *
   * @return currencyFeatureSetPrices
   */
  @Schema(
      description =
          "A complex type that contains alternate currency values that are configured for this plan feature set.")
  public java.util.List getCurrencyFeatureSetPrices() {
    return currencyFeatureSetPrices;
  }

  /** setCurrencyFeatureSetPrices. */
  public void setCurrencyFeatureSetPrices(
      java.util.List currencyFeatureSetPrices) {
    this.currencyFeatureSetPrices = currencyFeatureSetPrices;
  }

  /**
   * envelopeFee.
   *
   * @return FeatureSet
   */
  public FeatureSet envelopeFee(String envelopeFee) {
    this.envelopeFee = envelopeFee;
    return this;
  }

  /**
   * .
   *
   * @return envelopeFee
   */
  @Schema(description = "")
  public String getEnvelopeFee() {
    return envelopeFee;
  }

  /** setEnvelopeFee. */
  public void setEnvelopeFee(String envelopeFee) {
    this.envelopeFee = envelopeFee;
  }

  /**
   * featureSetId.
   *
   * @return FeatureSet
   */
  public FeatureSet featureSetId(String featureSetId) {
    this.featureSetId = featureSetId;
    return this;
  }

  /**
   * A unique ID for the feature set..
   *
   * @return featureSetId
   */
  @Schema(description = "A unique ID for the feature set.")
  public String getFeatureSetId() {
    return featureSetId;
  }

  /** setFeatureSetId. */
  public void setFeatureSetId(String featureSetId) {
    this.featureSetId = featureSetId;
  }

  /**
   * fixedFee.
   *
   * @return FeatureSet
   */
  public FeatureSet fixedFee(String fixedFee) {
    this.fixedFee = fixedFee;
    return this;
  }

  /**
   * .
   *
   * @return fixedFee
   */
  @Schema(description = "")
  public String getFixedFee() {
    return fixedFee;
  }

  /** setFixedFee. */
  public void setFixedFee(String fixedFee) {
    this.fixedFee = fixedFee;
  }

  /**
   * is21CFRPart11.
   *
   * @return FeatureSet
   */
  public FeatureSet is21CFRPart11(String is21CFRPart11) {
    this.is21CFRPart11 = is21CFRPart11;
    return this;
  }

  /**
   * When set to **true**, indicates that this module is enabled on the account..
   *
   * @return is21CFRPart11
   */
  @Schema(
      description = "When set to **true**, indicates that this module is enabled on the account.")
  public String getIs21CFRPart11() {
    return is21CFRPart11;
  }

  /** setIs21CFRPart11. */
  public void setIs21CFRPart11(String is21CFRPart11) {
    this.is21CFRPart11 = is21CFRPart11;
  }

  /**
   * isActive.
   *
   * @return FeatureSet
   */
  public FeatureSet isActive(String isActive) {
    this.isActive = isActive;
    return this;
  }

  /**
   * .
   *
   * @return isActive
   */
  @Schema(description = "")
  public String getIsActive() {
    return isActive;
  }

  /** setIsActive. */
  public void setIsActive(String isActive) {
    this.isActive = isActive;
  }

  /**
   * isEnabled.
   *
   * @return FeatureSet
   */
  public FeatureSet isEnabled(String isEnabled) {
    this.isEnabled = isEnabled;
    return this;
  }

  /**
   * Specifies whether the feature set is actively enabled as part of the plan..
   *
   * @return isEnabled
   */
  @Schema(
      description = "Specifies whether the feature set is actively enabled as part of the plan.")
  public String getIsEnabled() {
    return isEnabled;
  }

  /** setIsEnabled. */
  public void setIsEnabled(String isEnabled) {
    this.isEnabled = isEnabled;
  }

  /**
   * name.
   *
   * @return FeatureSet
   */
  public FeatureSet name(String name) {
    this.name = name;
    return this;
  }

  /**
   * .
   *
   * @return name
   */
  @Schema(description = "")
  public String getName() {
    return name;
  }

  /** setName. */
  public void setName(String name) {
    this.name = name;
  }

  /**
   * seatFee.
   *
   * @return FeatureSet
   */
  public FeatureSet seatFee(String seatFee) {
    this.seatFee = seatFee;
    return this;
  }

  /**
   * An incremental seat cost for seat-based plans. Only valid when isEnabled for the feature set is
   * set to true..
   *
   * @return seatFee
   */
  @Schema(
      description =
          "An incremental seat cost for seat-based plans. Only valid when isEnabled for the feature set is set to true.")
  public String getSeatFee() {
    return seatFee;
  }

  /** setSeatFee. */
  public void setSeatFee(String seatFee) {
    this.seatFee = seatFee;
  }

  /**
   * Compares objects.
   *
   * @return true or false depending on comparison result.
   */
  @Override
  public boolean equals(java.lang.Object o) {
    if (this == o) {
      return true;
    }
    if (o == null || getClass() != o.getClass()) {
      return false;
    }
    FeatureSet featureSet = (FeatureSet) o;
    return Objects.equals(this.currencyFeatureSetPrices, featureSet.currencyFeatureSetPrices)
        && Objects.equals(this.envelopeFee, featureSet.envelopeFee)
        && Objects.equals(this.featureSetId, featureSet.featureSetId)
        && Objects.equals(this.fixedFee, featureSet.fixedFee)
        && Objects.equals(this.is21CFRPart11, featureSet.is21CFRPart11)
        && Objects.equals(this.isActive, featureSet.isActive)
        && Objects.equals(this.isEnabled, featureSet.isEnabled)
        && Objects.equals(this.name, featureSet.name)
        && Objects.equals(this.seatFee, featureSet.seatFee);
  }

  /** Returns the HashCode. */
  @Override
  public int hashCode() {
    return Objects.hash(
        currencyFeatureSetPrices,
        envelopeFee,
        featureSetId,
        fixedFee,
        is21CFRPart11,
        isActive,
        isEnabled,
        name,
        seatFee);
  }

  /** Converts the given object to string. */
  @Override
  public String toString() {
    StringBuilder sb = new StringBuilder();
    sb.append("class FeatureSet {\n");

    sb.append("    currencyFeatureSetPrices: ")
        .append(toIndentedString(currencyFeatureSetPrices))
        .append("\n");
    sb.append("    envelopeFee: ").append(toIndentedString(envelopeFee)).append("\n");
    sb.append("    featureSetId: ").append(toIndentedString(featureSetId)).append("\n");
    sb.append("    fixedFee: ").append(toIndentedString(fixedFee)).append("\n");
    sb.append("    is21CFRPart11: ").append(toIndentedString(is21CFRPart11)).append("\n");
    sb.append("    isActive: ").append(toIndentedString(isActive)).append("\n");
    sb.append("    isEnabled: ").append(toIndentedString(isEnabled)).append("\n");
    sb.append("    name: ").append(toIndentedString(name)).append("\n");
    sb.append("    seatFee: ").append(toIndentedString(seatFee)).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 - 2024 Weber Informatics LLC | Privacy Policy