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.
* The documentation here is designed to provide all of the technical guidance required to consume and integrate with our APIs for payment processing. To learn more about our APIs please visit https://docs.firstdata.com/org/gateway.
*
* The version of the OpenAPI document: 21.2.0.20210406.001
*
*
* 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.github.GBSEcom.model;
import java.util.Objects;
import java.util.Arrays;
import com.github.GBSEcom.model.Airline;
import com.github.GBSEcom.model.CarRental;
import com.github.GBSEcom.model.Lodging;
import com.github.GBSEcom.model.Mcc6012;
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;
/**
* Industry-specific information.
*/
@ApiModel(description = "Industry-specific information.")
public class IndustrySpecificExtensions {
public static final String SERIALIZED_NAME_AIRLINE = "airline";
@SerializedName(SERIALIZED_NAME_AIRLINE)
private Airline airline;
public static final String SERIALIZED_NAME_LODGING = "lodging";
@SerializedName(SERIALIZED_NAME_LODGING)
private Lodging lodging;
public static final String SERIALIZED_NAME_CAR_RENTAL = "carRental";
@SerializedName(SERIALIZED_NAME_CAR_RENTAL)
private CarRental carRental;
public static final String SERIALIZED_NAME_MCC6012 = "mcc6012";
@SerializedName(SERIALIZED_NAME_MCC6012)
private Mcc6012 mcc6012;
public IndustrySpecificExtensions airline(Airline airline) {
this.airline = airline;
return this;
}
/**
* Get airline
* @return airline
**/
@javax.annotation.Nullable
@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
**/
@javax.annotation.Nullable
@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
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public CarRental getCarRental() {
return carRental;
}
public void setCarRental(CarRental carRental) {
this.carRental = carRental;
}
public IndustrySpecificExtensions mcc6012(Mcc6012 mcc6012) {
this.mcc6012 = mcc6012;
return this;
}
/**
* Get mcc6012
* @return mcc6012
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public Mcc6012 getMcc6012() {
return mcc6012;
}
public void setMcc6012(Mcc6012 mcc6012) {
this.mcc6012 = mcc6012;
}
@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) &&
Objects.equals(this.mcc6012, industrySpecificExtensions.mcc6012);
}
@Override
public int hashCode() {
return Objects.hash(airline, lodging, carRental, mcc6012);
}
@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(" mcc6012: ").append(toIndentedString(mcc6012)).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