
com.xero.models.finance.ManualJournalTotal Maven / Gradle / Ivy
/*
* Xero Finance API
* The Finance API is a collection of endpoints which customers can use in the course of a loan application, which may assist lenders to gain the confidence they need to provide capital.
*
* Contact: [email protected]
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.xero.models.finance;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.xero.api.StringUtil;
import io.swagger.annotations.ApiModelProperty;
import java.util.Objects;
/** ManualJournalTotal */
public class ManualJournalTotal {
StringUtil util = new StringUtil();
@JsonProperty("total")
private Double total;
/**
* Total value of manual journals.
*
* @param total Double
* @return ManualJournalTotal
*/
public ManualJournalTotal total(Double total) {
this.total = total;
return this;
}
/**
* Total value of manual journals.
*
* @return total
*/
@ApiModelProperty(value = "Total value of manual journals.")
/**
* Total value of manual journals.
*
* @return total Double
*/
public Double getTotal() {
return total;
}
/**
* Total value of manual journals.
*
* @param total Double
*/
public void setTotal(Double total) {
this.total = total;
}
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
ManualJournalTotal manualJournalTotal = (ManualJournalTotal) o;
return Objects.equals(this.total, manualJournalTotal.total);
}
@Override
public int hashCode() {
return Objects.hash(total);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class ManualJournalTotal {\n");
sb.append(" total: ").append(toIndentedString(total)).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