
Model.PushFunds201ResponseLinks 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.PushFunds201ResponseLinksCustomer;
import Model.PushFunds201ResponseLinksInstrumentIdentifier;
import Model.PushFunds201ResponseLinksPaymentInstrument;
import Model.PushFunds201ResponseLinksSelf;
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;
/**
* PushFunds201ResponseLinks
*/
public class PushFunds201ResponseLinks {
@SerializedName("self")
private PushFunds201ResponseLinksSelf self = null;
@SerializedName("customer")
private PushFunds201ResponseLinksCustomer customer = null;
@SerializedName("paymentInstrument")
private PushFunds201ResponseLinksPaymentInstrument paymentInstrument = null;
@SerializedName("instrumentIdentifier")
private PushFunds201ResponseLinksInstrumentIdentifier instrumentIdentifier = null;
public PushFunds201ResponseLinks self(PushFunds201ResponseLinksSelf self) {
this.self = self;
return this;
}
/**
* Get self
* @return self
**/
@ApiModelProperty(value = "")
public PushFunds201ResponseLinksSelf getSelf() {
return self;
}
public void setSelf(PushFunds201ResponseLinksSelf self) {
this.self = self;
}
public PushFunds201ResponseLinks customer(PushFunds201ResponseLinksCustomer customer) {
this.customer = customer;
return this;
}
/**
* Get customer
* @return customer
**/
@ApiModelProperty(value = "")
public PushFunds201ResponseLinksCustomer getCustomer() {
return customer;
}
public void setCustomer(PushFunds201ResponseLinksCustomer customer) {
this.customer = customer;
}
public PushFunds201ResponseLinks paymentInstrument(PushFunds201ResponseLinksPaymentInstrument paymentInstrument) {
this.paymentInstrument = paymentInstrument;
return this;
}
/**
* Get paymentInstrument
* @return paymentInstrument
**/
@ApiModelProperty(value = "")
public PushFunds201ResponseLinksPaymentInstrument getPaymentInstrument() {
return paymentInstrument;
}
public void setPaymentInstrument(PushFunds201ResponseLinksPaymentInstrument paymentInstrument) {
this.paymentInstrument = paymentInstrument;
}
public PushFunds201ResponseLinks instrumentIdentifier(PushFunds201ResponseLinksInstrumentIdentifier instrumentIdentifier) {
this.instrumentIdentifier = instrumentIdentifier;
return this;
}
/**
* Get instrumentIdentifier
* @return instrumentIdentifier
**/
@ApiModelProperty(value = "")
public PushFunds201ResponseLinksInstrumentIdentifier getInstrumentIdentifier() {
return instrumentIdentifier;
}
public void setInstrumentIdentifier(PushFunds201ResponseLinksInstrumentIdentifier instrumentIdentifier) {
this.instrumentIdentifier = instrumentIdentifier;
}
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
PushFunds201ResponseLinks pushFunds201ResponseLinks = (PushFunds201ResponseLinks) o;
return Objects.equals(this.self, pushFunds201ResponseLinks.self) &&
Objects.equals(this.customer, pushFunds201ResponseLinks.customer) &&
Objects.equals(this.paymentInstrument, pushFunds201ResponseLinks.paymentInstrument) &&
Objects.equals(this.instrumentIdentifier, pushFunds201ResponseLinks.instrumentIdentifier);
}
@Override
public int hashCode() {
return Objects.hash(self, customer, paymentInstrument, instrumentIdentifier);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class PushFunds201ResponseLinks {\n");
sb.append(" self: ").append(toIndentedString(self)).append("\n");
sb.append(" customer: ").append(toIndentedString(customer)).append("\n");
sb.append(" paymentInstrument: ").append(toIndentedString(paymentInstrument)).append("\n");
sb.append(" instrumentIdentifier: ").append(toIndentedString(instrumentIdentifier)).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