
Model.Flexv2sessionsFields Maven / Gradle / Ivy
/*
* CyberSource Merged Spec
* All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html
*
* OpenAPI spec version: 0.0.1
*
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
package Model;
import java.util.Objects;
import java.util.Arrays;
import Model.Flexv2sessionsFieldsOrderInformation;
import Model.Flexv2sessionsFieldsPaymentInformation;
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;
/**
* Flexv2sessionsFields
*/
public class Flexv2sessionsFields {
@SerializedName("orderInformation")
private Flexv2sessionsFieldsOrderInformation orderInformation = null;
@SerializedName("paymentInformation")
private Flexv2sessionsFieldsPaymentInformation paymentInformation = null;
public Flexv2sessionsFields orderInformation(Flexv2sessionsFieldsOrderInformation orderInformation) {
this.orderInformation = orderInformation;
return this;
}
/**
* Get orderInformation
* @return orderInformation
**/
@ApiModelProperty(value = "")
public Flexv2sessionsFieldsOrderInformation getOrderInformation() {
return orderInformation;
}
public void setOrderInformation(Flexv2sessionsFieldsOrderInformation orderInformation) {
this.orderInformation = orderInformation;
}
public Flexv2sessionsFields paymentInformation(Flexv2sessionsFieldsPaymentInformation paymentInformation) {
this.paymentInformation = paymentInformation;
return this;
}
/**
* Get paymentInformation
* @return paymentInformation
**/
@ApiModelProperty(value = "")
public Flexv2sessionsFieldsPaymentInformation getPaymentInformation() {
return paymentInformation;
}
public void setPaymentInformation(Flexv2sessionsFieldsPaymentInformation paymentInformation) {
this.paymentInformation = paymentInformation;
}
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
Flexv2sessionsFields flexv2sessionsFields = (Flexv2sessionsFields) o;
return Objects.equals(this.orderInformation, flexv2sessionsFields.orderInformation) &&
Objects.equals(this.paymentInformation, flexv2sessionsFields.paymentInformation);
}
@Override
public int hashCode() {
return Objects.hash(orderInformation, paymentInformation);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class Flexv2sessionsFields {\n");
if (orderInformation != null) sb.append(" orderInformation: ").append(toIndentedString(orderInformation)).append("\n");
if (paymentInformation != null) sb.append(" paymentInformation: ").append(toIndentedString(paymentInformation)).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