org.openapitools.client.model.GatewayStateTransitions 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.threeten.bp.OffsetDateTime;
import org.openapitools.client.JSON.CustomFieldAdapter;
import org.openapitools.client.JSON.NullableFieldAdapter;
/**
* GatewayStateTransitions
*/
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
public class GatewayStateTransitions {
public static final String SERIALIZED_NAME_MARKED_FOR_SUBMISSION_TIME = "marked_for_submission_time";
@SerializedName(SERIALIZED_NAME_MARKED_FOR_SUBMISSION_TIME)
private OffsetDateTime markedForSubmissionTime;
public static final String SERIALIZED_NAME_SETTLED_TIME = "settled_time";
@SerializedName(SERIALIZED_NAME_SETTLED_TIME)
private OffsetDateTime settledTime;
public static final String SERIALIZED_NAME_SUBMITTED_TIME = "submitted_time";
@SerializedName(SERIALIZED_NAME_SUBMITTED_TIME)
private OffsetDateTime submittedTime;
public GatewayStateTransitions() {
}
public GatewayStateTransitions(
OffsetDateTime markedForSubmissionTime
) {
this();
this.markedForSubmissionTime = markedForSubmissionTime;
}
/**
* The date and time (ISO 8601 UTC format) when the payment was marked for submission.
* @return markedForSubmissionTime
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The date and time (ISO 8601 UTC format) when the payment was marked for submission.")
public OffsetDateTime getMarkedForSubmissionTime() {
return markedForSubmissionTime;
}
public GatewayStateTransitions settledTime(OffsetDateTime settledTime) {
this.settledTime = settledTime;
return this;
}
/**
* The date and time (ISO 8601 UTC format) when the payment was settled.
* @return settledTime
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The date and time (ISO 8601 UTC format) when the payment was settled.")
public OffsetDateTime getSettledTime() {
return settledTime;
}
public void setSettledTime(OffsetDateTime settledTime) {
this.settledTime = settledTime;
}
public GatewayStateTransitions submittedTime(OffsetDateTime submittedTime) {
this.submittedTime = submittedTime;
return this;
}
/**
* The date and time (ISO 8601 UTC format) when the payment was submitted.
* @return submittedTime
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The date and time (ISO 8601 UTC format) when the payment was submitted.")
public OffsetDateTime getSubmittedTime() {
return submittedTime;
}
public void setSubmittedTime(OffsetDateTime submittedTime) {
this.submittedTime = submittedTime;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
GatewayStateTransitions gatewayStateTransitions = (GatewayStateTransitions) o;
return Objects.equals(this.markedForSubmissionTime, gatewayStateTransitions.markedForSubmissionTime) &&
Objects.equals(this.settledTime, gatewayStateTransitions.settledTime) &&
Objects.equals(this.submittedTime, gatewayStateTransitions.submittedTime);
}
@Override
public int hashCode() {
return Objects.hash(markedForSubmissionTime, settledTime, submittedTime);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class GatewayStateTransitions {\n");
sb.append(" markedForSubmissionTime: ").append(toIndentedString(markedForSubmissionTime)).append("\n");
sb.append(" settledTime: ").append(toIndentedString(settledTime)).append("\n");
sb.append(" submittedTime: ").append(toIndentedString(submittedTime)).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