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 java.util.Objects;
import java.util.Arrays;
import com.docusign.esign.model.BillingInvoice;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonValue;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * BillingInvoicesSummary
 */

public class BillingInvoicesSummary {
  @JsonProperty("billingInvoices")
  private java.util.List billingInvoices = null;

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

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

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

  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
  **/
  @ApiModelProperty(value = "Reserved: TBD")
  public java.util.List getBillingInvoices() {
    return billingInvoices;
  }

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

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

   /**
   * 
   * @return pastDueBalance
  **/
  @ApiModelProperty(value = "")
  public String getPastDueBalance() {
    return pastDueBalance;
  }

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

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

   /**
   * 
   * @return paymentAllowed
  **/
  @ApiModelProperty(value = "")
  public String getPaymentAllowed() {
    return paymentAllowed;
  }

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


  @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.billingInvoices, billingInvoicesSummary.billingInvoices) &&
        Objects.equals(this.pastDueBalance, billingInvoicesSummary.pastDueBalance) &&
        Objects.equals(this.paymentAllowed, billingInvoicesSummary.paymentAllowed);
  }

  @Override
  public int hashCode() {
    return Objects.hash(billingInvoices, pastDueBalance, paymentAllowed);
  }


  @Override
  public String toString() {
    StringBuilder sb = new StringBuilder();
    sb.append("class BillingInvoicesSummary {\n");
    
    sb.append("    billingInvoices: ").append(toIndentedString(billingInvoices)).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