org.openapitools.client.model.LineItemsPreviewResponse Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of zuora-sdk-java Show documentation
Show all versions of zuora-sdk-java Show documentation
The SDK of JAVA language for Zuora pricing system
/*
* Quickstart API Reference
* Zuora Quickstart API is the API that helps you achieve fundamental use cases.
* It provides a much simplified object model and improved performance, enabling developers to easily learn and use.
*/
package org.openapitools.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import org.openapitools.client.model.LineItemsPreviewResponseMrr;
import org.openapitools.client.JSON.CustomFieldAdapter;
import org.openapitools.client.JSON.NullableFieldAdapter;
/**
* LineItemsPreviewResponse
*/
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
public class LineItemsPreviewResponse {
public static final String SERIALIZED_NAME_MRR = "mrr";
@SerializedName(SERIALIZED_NAME_MRR)
private LineItemsPreviewResponseMrr mrr;
public static final String SERIALIZED_NAME_TCB = "tcb";
@SerializedName(SERIALIZED_NAME_TCB)
private LineItemsPreviewResponseMrr tcb;
public static final String SERIALIZED_NAME_TCV = "tcv";
@SerializedName(SERIALIZED_NAME_TCV)
private LineItemsPreviewResponseMrr tcv;
public LineItemsPreviewResponse() {
}
public LineItemsPreviewResponse mrr(LineItemsPreviewResponseMrr mrr) {
this.mrr = mrr;
return this;
}
/**
* Get mrr
* @return mrr
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public LineItemsPreviewResponseMrr getMrr() {
return mrr;
}
public void setMrr(LineItemsPreviewResponseMrr mrr) {
this.mrr = mrr;
}
public LineItemsPreviewResponse tcb(LineItemsPreviewResponseMrr tcb) {
this.tcb = tcb;
return this;
}
/**
* Get tcb
* @return tcb
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public LineItemsPreviewResponseMrr getTcb() {
return tcb;
}
public void setTcb(LineItemsPreviewResponseMrr tcb) {
this.tcb = tcb;
}
public LineItemsPreviewResponse tcv(LineItemsPreviewResponseMrr tcv) {
this.tcv = tcv;
return this;
}
/**
* Get tcv
* @return tcv
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public LineItemsPreviewResponseMrr getTcv() {
return tcv;
}
public void setTcv(LineItemsPreviewResponseMrr tcv) {
this.tcv = tcv;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
LineItemsPreviewResponse lineItemsPreviewResponse = (LineItemsPreviewResponse) o;
return Objects.equals(this.mrr, lineItemsPreviewResponse.mrr) &&
Objects.equals(this.tcb, lineItemsPreviewResponse.tcb) &&
Objects.equals(this.tcv, lineItemsPreviewResponse.tcv);
}
@Override
public int hashCode() {
return Objects.hash(mrr, tcb, tcv);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class LineItemsPreviewResponse {\n");
sb.append(" mrr: ").append(toIndentedString(mrr)).append("\n");
sb.append(" tcb: ").append(toIndentedString(tcb)).append("\n");
sb.append(" tcv: ").append(toIndentedString(tcv)).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(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy