com.docusign.esign.model.BillingPlanUpdateResponse Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of docusign-esign-java Show documentation
Show all versions of docusign-esign-java Show documentation
The official Docusign eSignature JAVA client is based on version 2.1 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.
package com.docusign.esign.model;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import java.util.Objects;
/** Defines a billing plan update response object.. */
@Schema(description = "Defines a billing plan update response object.")
public class BillingPlanUpdateResponse {
@JsonProperty("accountPaymentMethod")
private String accountPaymentMethod = null;
@JsonProperty("billingPlanPreview")
private BillingPlanPreview billingPlanPreview = null;
@JsonProperty("currencyCode")
private String currencyCode = null;
@JsonProperty("includedSeats")
private String includedSeats = null;
@JsonProperty("paymentCycle")
private String paymentCycle = null;
@JsonProperty("paymentMethod")
private String paymentMethod = null;
@JsonProperty("planId")
private String planId = null;
@JsonProperty("planName")
private String planName = null;
/**
* accountPaymentMethod.
*
* @return BillingPlanUpdateResponse
*/
public BillingPlanUpdateResponse accountPaymentMethod(String accountPaymentMethod) {
this.accountPaymentMethod = accountPaymentMethod;
return this;
}
/**
* .
*
* @return accountPaymentMethod
*/
@Schema(description = "")
public String getAccountPaymentMethod() {
return accountPaymentMethod;
}
/** setAccountPaymentMethod. */
public void setAccountPaymentMethod(String accountPaymentMethod) {
this.accountPaymentMethod = accountPaymentMethod;
}
/**
* billingPlanPreview.
*
* @return BillingPlanUpdateResponse
*/
public BillingPlanUpdateResponse billingPlanPreview(BillingPlanPreview billingPlanPreview) {
this.billingPlanPreview = billingPlanPreview;
return this;
}
/**
* .
*
* @return billingPlanPreview
*/
@Schema(description = "")
public BillingPlanPreview getBillingPlanPreview() {
return billingPlanPreview;
}
/** setBillingPlanPreview. */
public void setBillingPlanPreview(BillingPlanPreview billingPlanPreview) {
this.billingPlanPreview = billingPlanPreview;
}
/**
* currencyCode.
*
* @return BillingPlanUpdateResponse
*/
public BillingPlanUpdateResponse currencyCode(String currencyCode) {
this.currencyCode = currencyCode;
return this;
}
/**
* Specifies the ISO currency code for the account..
*
* @return currencyCode
*/
@Schema(description = "Specifies the ISO currency code for the account.")
public String getCurrencyCode() {
return currencyCode;
}
/** setCurrencyCode. */
public void setCurrencyCode(String currencyCode) {
this.currencyCode = currencyCode;
}
/**
* includedSeats.
*
* @return BillingPlanUpdateResponse
*/
public BillingPlanUpdateResponse includedSeats(String includedSeats) {
this.includedSeats = includedSeats;
return this;
}
/**
* The number of seats (users) included..
*
* @return includedSeats
*/
@Schema(description = "The number of seats (users) included.")
public String getIncludedSeats() {
return includedSeats;
}
/** setIncludedSeats. */
public void setIncludedSeats(String includedSeats) {
this.includedSeats = includedSeats;
}
/**
* paymentCycle.
*
* @return BillingPlanUpdateResponse
*/
public BillingPlanUpdateResponse paymentCycle(String paymentCycle) {
this.paymentCycle = paymentCycle;
return this;
}
/**
* .
*
* @return paymentCycle
*/
@Schema(description = "")
public String getPaymentCycle() {
return paymentCycle;
}
/** setPaymentCycle. */
public void setPaymentCycle(String paymentCycle) {
this.paymentCycle = paymentCycle;
}
/**
* paymentMethod.
*
* @return BillingPlanUpdateResponse
*/
public BillingPlanUpdateResponse paymentMethod(String paymentMethod) {
this.paymentMethod = paymentMethod;
return this;
}
/**
* .
*
* @return paymentMethod
*/
@Schema(description = "")
public String getPaymentMethod() {
return paymentMethod;
}
/** setPaymentMethod. */
public void setPaymentMethod(String paymentMethod) {
this.paymentMethod = paymentMethod;
}
/**
* planId.
*
* @return BillingPlanUpdateResponse
*/
public BillingPlanUpdateResponse planId(String planId) {
this.planId = planId;
return this;
}
/**
* .
*
* @return planId
*/
@Schema(description = "")
public String getPlanId() {
return planId;
}
/** setPlanId. */
public void setPlanId(String planId) {
this.planId = planId;
}
/**
* planName.
*
* @return BillingPlanUpdateResponse
*/
public BillingPlanUpdateResponse planName(String planName) {
this.planName = planName;
return this;
}
/**
* .
*
* @return planName
*/
@Schema(description = "")
public String getPlanName() {
return planName;
}
/** setPlanName. */
public void setPlanName(String planName) {
this.planName = planName;
}
/**
* 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;
}
BillingPlanUpdateResponse billingPlanUpdateResponse = (BillingPlanUpdateResponse) o;
return Objects.equals(this.accountPaymentMethod, billingPlanUpdateResponse.accountPaymentMethod)
&& Objects.equals(this.billingPlanPreview, billingPlanUpdateResponse.billingPlanPreview)
&& Objects.equals(this.currencyCode, billingPlanUpdateResponse.currencyCode)
&& Objects.equals(this.includedSeats, billingPlanUpdateResponse.includedSeats)
&& Objects.equals(this.paymentCycle, billingPlanUpdateResponse.paymentCycle)
&& Objects.equals(this.paymentMethod, billingPlanUpdateResponse.paymentMethod)
&& Objects.equals(this.planId, billingPlanUpdateResponse.planId)
&& Objects.equals(this.planName, billingPlanUpdateResponse.planName);
}
/** Returns the HashCode. */
@Override
public int hashCode() {
return Objects.hash(
accountPaymentMethod,
billingPlanPreview,
currencyCode,
includedSeats,
paymentCycle,
paymentMethod,
planId,
planName);
}
/** Converts the given object to string. */
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class BillingPlanUpdateResponse {\n");
sb.append(" accountPaymentMethod: ")
.append(toIndentedString(accountPaymentMethod))
.append("\n");
sb.append(" billingPlanPreview: ").append(toIndentedString(billingPlanPreview)).append("\n");
sb.append(" currencyCode: ").append(toIndentedString(currencyCode)).append("\n");
sb.append(" includedSeats: ").append(toIndentedString(includedSeats)).append("\n");
sb.append(" paymentCycle: ").append(toIndentedString(paymentCycle)).append("\n");
sb.append(" paymentMethod: ").append(toIndentedString(paymentMethod)).append("\n");
sb.append(" planId: ").append(toIndentedString(planId)).append("\n");
sb.append(" planName: ").append(toIndentedString(planName)).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 ");
}
}