com.github.GBSEcom.model.IndustrySpecificExtensions Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of first-data-gateway Show documentation
Show all versions of first-data-gateway Show documentation
Java SDK to be used with a First Data Gateway account. This SDK has been created and packaged to offer the easiest way to integrate your application into the First Data Gateway. This SDK gives you the ability to run transactions such as sales, preauthorizations, postauthorizations, credits, voids, and returns; transaction inquiries; setting up scheduled payments and much more.
/*
* Payment Gateway API Specification
* Payment Gateway API for payment processing.
*
* 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 com.github.GBSEcom.model;
import java.util.Objects;
import com.github.GBSEcom.model.Airline;
import com.github.GBSEcom.model.CarRental;
import com.github.GBSEcom.model.Lodging;
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;
/**
* IndustrySpecificExtensions
*/
public class IndustrySpecificExtensions {
@SerializedName("airline")
private Airline airline = null;
@SerializedName("lodging")
private Lodging lodging = null;
@SerializedName("carRental")
private CarRental carRental = null;
public IndustrySpecificExtensions airline(Airline airline) {
this.airline = airline;
return this;
}
/**
* Get airline
* @return airline
**/
@ApiModelProperty(value = "")
public Airline getAirline() {
return airline;
}
public void setAirline(Airline airline) {
this.airline = airline;
}
public IndustrySpecificExtensions lodging(Lodging lodging) {
this.lodging = lodging;
return this;
}
/**
* Get lodging
* @return lodging
**/
@ApiModelProperty(value = "")
public Lodging getLodging() {
return lodging;
}
public void setLodging(Lodging lodging) {
this.lodging = lodging;
}
public IndustrySpecificExtensions carRental(CarRental carRental) {
this.carRental = carRental;
return this;
}
/**
* Get carRental
* @return carRental
**/
@ApiModelProperty(value = "")
public CarRental getCarRental() {
return carRental;
}
public void setCarRental(CarRental carRental) {
this.carRental = carRental;
}
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
IndustrySpecificExtensions industrySpecificExtensions = (IndustrySpecificExtensions) o;
return Objects.equals(this.airline, industrySpecificExtensions.airline) &&
Objects.equals(this.lodging, industrySpecificExtensions.lodging) &&
Objects.equals(this.carRental, industrySpecificExtensions.carRental);
}
@Override
public int hashCode() {
return Objects.hash(airline, lodging, carRental);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class IndustrySpecificExtensions {\n");
sb.append(" airline: ").append(toIndentedString(airline)).append("\n");
sb.append(" lodging: ").append(toIndentedString(lodging)).append("\n");
sb.append(" carRental: ").append(toIndentedString(carRental)).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