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

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

Go to download

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.

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;

/** BillingInvoicesSummary. */
public class BillingInvoicesSummary {
  @JsonProperty("accountBalance")
  private String accountBalance = null;

  @JsonProperty("billingInvoices")
  private java.util.List billingInvoices = null;

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

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

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

  /**
   * accountBalance.
   *
   * @return BillingInvoicesSummary
   */
  public BillingInvoicesSummary accountBalance(String accountBalance) {
    this.accountBalance = accountBalance;
    return this;
  }

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

  /** setAccountBalance. */
  public void setAccountBalance(String accountBalance) {
    this.accountBalance = accountBalance;
  }

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

  /**
   * addBillingInvoicesItem.
   *
   * @return BillingInvoicesSummary
   */
  public BillingInvoicesSummary addBillingInvoicesItem(BillingInvoice billingInvoicesItem) {
    if (this.billingInvoices == null) {
      this.billingInvoices = new java.util.ArrayList<>();
    }
    this.billingInvoices.add(billingInvoicesItem);
    return this;
  }

  /**
   * Reserved: TBD.
   *
   * @return billingInvoices
   */
  @Schema(description = "Reserved: TBD")
  public java.util.List getBillingInvoices() {
    return billingInvoices;
  }

  /** setBillingInvoices. */
  public void setBillingInvoices(java.util.List billingInvoices) {
    this.billingInvoices = billingInvoices;
  }

  /**
   * currencyCode.
   *
   * @return BillingInvoicesSummary
   */
  public BillingInvoicesSummary currencyCode(String currencyCode) {
    this.currencyCode = currencyCode;
    return this;
  }

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

  /** setCurrencyCode. */
  public void setCurrencyCode(String currencyCode) {
    this.currencyCode = currencyCode;
  }

  /**
   * pastDueBalance.
   *
   * @return BillingInvoicesSummary
   */
  public BillingInvoicesSummary pastDueBalance(String pastDueBalance) {
    this.pastDueBalance = pastDueBalance;
    return this;
  }

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

  /** setPastDueBalance. */
  public void setPastDueBalance(String pastDueBalance) {
    this.pastDueBalance = pastDueBalance;
  }

  /**
   * paymentAllowed.
   *
   * @return BillingInvoicesSummary
   */
  public BillingInvoicesSummary paymentAllowed(String paymentAllowed) {
    this.paymentAllowed = paymentAllowed;
    return this;
  }

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

  /** setPaymentAllowed. */
  public void setPaymentAllowed(String paymentAllowed) {
    this.paymentAllowed = paymentAllowed;
  }

  /**
   * 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;
    }
    BillingInvoicesSummary billingInvoicesSummary = (BillingInvoicesSummary) o;
    return Objects.equals(this.accountBalance, billingInvoicesSummary.accountBalance)
        && Objects.equals(this.billingInvoices, billingInvoicesSummary.billingInvoices)
        && Objects.equals(this.currencyCode, billingInvoicesSummary.currencyCode)
        && Objects.equals(this.pastDueBalance, billingInvoicesSummary.pastDueBalance)
        && Objects.equals(this.paymentAllowed, billingInvoicesSummary.paymentAllowed);
  }

  /** Returns the HashCode. */
  @Override
  public int hashCode() {
    return Objects.hash(
        accountBalance, billingInvoices, currencyCode, pastDueBalance, paymentAllowed);
  }

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

    sb.append("    accountBalance: ").append(toIndentedString(accountBalance)).append("\n");
    sb.append("    billingInvoices: ").append(toIndentedString(billingInvoices)).append("\n");
    sb.append("    currencyCode: ").append(toIndentedString(currencyCode)).append("\n");
    sb.append("    pastDueBalance: ").append(toIndentedString(pastDueBalance)).append("\n");
    sb.append("    paymentAllowed: ").append(toIndentedString(paymentAllowed)).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