Model.TssV2TransactionsGet200ResponsePaymentInformation 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.PtsV2PaymentsPost201ResponseTokenInformationPaymentInstrument;
import Model.PtsV2PaymentsPost201ResponseTokenInformationShippingAddress;
import Model.TssV2TransactionsGet200ResponsePaymentInformationAccountFeatures;
import Model.TssV2TransactionsGet200ResponsePaymentInformationBank;
import Model.TssV2TransactionsGet200ResponsePaymentInformationBrands;
import Model.TssV2TransactionsGet200ResponsePaymentInformationCard;
import Model.TssV2TransactionsGet200ResponsePaymentInformationCustomer;
import Model.TssV2TransactionsGet200ResponsePaymentInformationFeatures;
import Model.TssV2TransactionsGet200ResponsePaymentInformationFluidData;
import Model.TssV2TransactionsGet200ResponsePaymentInformationInstrumentIdentifier;
import Model.TssV2TransactionsGet200ResponsePaymentInformationInvoice;
import Model.TssV2TransactionsGet200ResponsePaymentInformationIssuerInformation;
import Model.TssV2TransactionsGet200ResponsePaymentInformationNetwork;
import Model.TssV2TransactionsGet200ResponsePaymentInformationPaymentType;
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 java.util.ArrayList;
import java.util.List;
/**
* TssV2TransactionsGet200ResponsePaymentInformation
*/
public class TssV2TransactionsGet200ResponsePaymentInformation {
@SerializedName("paymentType")
private TssV2TransactionsGet200ResponsePaymentInformationPaymentType paymentType = null;
@SerializedName("customer")
private TssV2TransactionsGet200ResponsePaymentInformationCustomer customer = null;
@SerializedName("card")
private TssV2TransactionsGet200ResponsePaymentInformationCard card = null;
@SerializedName("brands")
private List brands = null;
@SerializedName("features")
private TssV2TransactionsGet200ResponsePaymentInformationFeatures features = null;
@SerializedName("invoice")
private TssV2TransactionsGet200ResponsePaymentInformationInvoice invoice = null;
@SerializedName("network")
private TssV2TransactionsGet200ResponsePaymentInformationNetwork network = null;
@SerializedName("issuerInformation")
private TssV2TransactionsGet200ResponsePaymentInformationIssuerInformation issuerInformation = null;
@SerializedName("bank")
private TssV2TransactionsGet200ResponsePaymentInformationBank bank = null;
@SerializedName("accountFeatures")
private TssV2TransactionsGet200ResponsePaymentInformationAccountFeatures accountFeatures = null;
@SerializedName("paymentInstrument")
private PtsV2PaymentsPost201ResponseTokenInformationPaymentInstrument paymentInstrument = null;
@SerializedName("instrumentIdentifier")
private TssV2TransactionsGet200ResponsePaymentInformationInstrumentIdentifier instrumentIdentifier = null;
@SerializedName("shippingAddress")
private PtsV2PaymentsPost201ResponseTokenInformationShippingAddress shippingAddress = null;
@SerializedName("fluidData")
private TssV2TransactionsGet200ResponsePaymentInformationFluidData fluidData = null;
public TssV2TransactionsGet200ResponsePaymentInformation paymentType(TssV2TransactionsGet200ResponsePaymentInformationPaymentType paymentType) {
this.paymentType = paymentType;
return this;
}
/**
* Get paymentType
* @return paymentType
**/
@ApiModelProperty(value = "")
public TssV2TransactionsGet200ResponsePaymentInformationPaymentType getPaymentType() {
return paymentType;
}
public void setPaymentType(TssV2TransactionsGet200ResponsePaymentInformationPaymentType paymentType) {
this.paymentType = paymentType;
}
public TssV2TransactionsGet200ResponsePaymentInformation customer(TssV2TransactionsGet200ResponsePaymentInformationCustomer customer) {
this.customer = customer;
return this;
}
/**
* Get customer
* @return customer
**/
@ApiModelProperty(value = "")
public TssV2TransactionsGet200ResponsePaymentInformationCustomer getCustomer() {
return customer;
}
public void setCustomer(TssV2TransactionsGet200ResponsePaymentInformationCustomer customer) {
this.customer = customer;
}
public TssV2TransactionsGet200ResponsePaymentInformation card(TssV2TransactionsGet200ResponsePaymentInformationCard card) {
this.card = card;
return this;
}
/**
* Get card
* @return card
**/
@ApiModelProperty(value = "")
public TssV2TransactionsGet200ResponsePaymentInformationCard getCard() {
return card;
}
public void setCard(TssV2TransactionsGet200ResponsePaymentInformationCard card) {
this.card = card;
}
public TssV2TransactionsGet200ResponsePaymentInformation brands(List brands) {
this.brands = brands;
return this;
}
public TssV2TransactionsGet200ResponsePaymentInformation addBrandsItem(TssV2TransactionsGet200ResponsePaymentInformationBrands brandsItem) {
if (this.brands == null) {
this.brands = new ArrayList();
}
this.brands.add(brandsItem);
return this;
}
/**
* This array contains the supported brands.
* @return brands
**/
@ApiModelProperty(value = "This array contains the supported brands. ")
public List getBrands() {
return brands;
}
public void setBrands(List brands) {
this.brands = brands;
}
public TssV2TransactionsGet200ResponsePaymentInformation features(TssV2TransactionsGet200ResponsePaymentInformationFeatures features) {
this.features = features;
return this;
}
/**
* Get features
* @return features
**/
@ApiModelProperty(value = "")
public TssV2TransactionsGet200ResponsePaymentInformationFeatures getFeatures() {
return features;
}
public void setFeatures(TssV2TransactionsGet200ResponsePaymentInformationFeatures features) {
this.features = features;
}
public TssV2TransactionsGet200ResponsePaymentInformation invoice(TssV2TransactionsGet200ResponsePaymentInformationInvoice invoice) {
this.invoice = invoice;
return this;
}
/**
* Get invoice
* @return invoice
**/
@ApiModelProperty(value = "")
public TssV2TransactionsGet200ResponsePaymentInformationInvoice getInvoice() {
return invoice;
}
public void setInvoice(TssV2TransactionsGet200ResponsePaymentInformationInvoice invoice) {
this.invoice = invoice;
}
public TssV2TransactionsGet200ResponsePaymentInformation network(TssV2TransactionsGet200ResponsePaymentInformationNetwork network) {
this.network = network;
return this;
}
/**
* Get network
* @return network
**/
@ApiModelProperty(value = "")
public TssV2TransactionsGet200ResponsePaymentInformationNetwork getNetwork() {
return network;
}
public void setNetwork(TssV2TransactionsGet200ResponsePaymentInformationNetwork network) {
this.network = network;
}
public TssV2TransactionsGet200ResponsePaymentInformation issuerInformation(TssV2TransactionsGet200ResponsePaymentInformationIssuerInformation issuerInformation) {
this.issuerInformation = issuerInformation;
return this;
}
/**
* Get issuerInformation
* @return issuerInformation
**/
@ApiModelProperty(value = "")
public TssV2TransactionsGet200ResponsePaymentInformationIssuerInformation getIssuerInformation() {
return issuerInformation;
}
public void setIssuerInformation(TssV2TransactionsGet200ResponsePaymentInformationIssuerInformation issuerInformation) {
this.issuerInformation = issuerInformation;
}
public TssV2TransactionsGet200ResponsePaymentInformation bank(TssV2TransactionsGet200ResponsePaymentInformationBank bank) {
this.bank = bank;
return this;
}
/**
* Get bank
* @return bank
**/
@ApiModelProperty(value = "")
public TssV2TransactionsGet200ResponsePaymentInformationBank getBank() {
return bank;
}
public void setBank(TssV2TransactionsGet200ResponsePaymentInformationBank bank) {
this.bank = bank;
}
public TssV2TransactionsGet200ResponsePaymentInformation accountFeatures(TssV2TransactionsGet200ResponsePaymentInformationAccountFeatures accountFeatures) {
this.accountFeatures = accountFeatures;
return this;
}
/**
* Get accountFeatures
* @return accountFeatures
**/
@ApiModelProperty(value = "")
public TssV2TransactionsGet200ResponsePaymentInformationAccountFeatures getAccountFeatures() {
return accountFeatures;
}
public void setAccountFeatures(TssV2TransactionsGet200ResponsePaymentInformationAccountFeatures accountFeatures) {
this.accountFeatures = accountFeatures;
}
public TssV2TransactionsGet200ResponsePaymentInformation paymentInstrument(PtsV2PaymentsPost201ResponseTokenInformationPaymentInstrument paymentInstrument) {
this.paymentInstrument = paymentInstrument;
return this;
}
/**
* Get paymentInstrument
* @return paymentInstrument
**/
@ApiModelProperty(value = "")
public PtsV2PaymentsPost201ResponseTokenInformationPaymentInstrument getPaymentInstrument() {
return paymentInstrument;
}
public void setPaymentInstrument(PtsV2PaymentsPost201ResponseTokenInformationPaymentInstrument paymentInstrument) {
this.paymentInstrument = paymentInstrument;
}
public TssV2TransactionsGet200ResponsePaymentInformation instrumentIdentifier(TssV2TransactionsGet200ResponsePaymentInformationInstrumentIdentifier instrumentIdentifier) {
this.instrumentIdentifier = instrumentIdentifier;
return this;
}
/**
* Get instrumentIdentifier
* @return instrumentIdentifier
**/
@ApiModelProperty(value = "")
public TssV2TransactionsGet200ResponsePaymentInformationInstrumentIdentifier getInstrumentIdentifier() {
return instrumentIdentifier;
}
public void setInstrumentIdentifier(TssV2TransactionsGet200ResponsePaymentInformationInstrumentIdentifier instrumentIdentifier) {
this.instrumentIdentifier = instrumentIdentifier;
}
public TssV2TransactionsGet200ResponsePaymentInformation shippingAddress(PtsV2PaymentsPost201ResponseTokenInformationShippingAddress shippingAddress) {
this.shippingAddress = shippingAddress;
return this;
}
/**
* Get shippingAddress
* @return shippingAddress
**/
@ApiModelProperty(value = "")
public PtsV2PaymentsPost201ResponseTokenInformationShippingAddress getShippingAddress() {
return shippingAddress;
}
public void setShippingAddress(PtsV2PaymentsPost201ResponseTokenInformationShippingAddress shippingAddress) {
this.shippingAddress = shippingAddress;
}
public TssV2TransactionsGet200ResponsePaymentInformation fluidData(TssV2TransactionsGet200ResponsePaymentInformationFluidData fluidData) {
this.fluidData = fluidData;
return this;
}
/**
* Get fluidData
* @return fluidData
**/
@ApiModelProperty(value = "")
public TssV2TransactionsGet200ResponsePaymentInformationFluidData getFluidData() {
return fluidData;
}
public void setFluidData(TssV2TransactionsGet200ResponsePaymentInformationFluidData fluidData) {
this.fluidData = fluidData;
}
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
TssV2TransactionsGet200ResponsePaymentInformation tssV2TransactionsGet200ResponsePaymentInformation = (TssV2TransactionsGet200ResponsePaymentInformation) o;
return Objects.equals(this.paymentType, tssV2TransactionsGet200ResponsePaymentInformation.paymentType) &&
Objects.equals(this.customer, tssV2TransactionsGet200ResponsePaymentInformation.customer) &&
Objects.equals(this.card, tssV2TransactionsGet200ResponsePaymentInformation.card) &&
Objects.equals(this.brands, tssV2TransactionsGet200ResponsePaymentInformation.brands) &&
Objects.equals(this.features, tssV2TransactionsGet200ResponsePaymentInformation.features) &&
Objects.equals(this.invoice, tssV2TransactionsGet200ResponsePaymentInformation.invoice) &&
Objects.equals(this.network, tssV2TransactionsGet200ResponsePaymentInformation.network) &&
Objects.equals(this.issuerInformation, tssV2TransactionsGet200ResponsePaymentInformation.issuerInformation) &&
Objects.equals(this.bank, tssV2TransactionsGet200ResponsePaymentInformation.bank) &&
Objects.equals(this.accountFeatures, tssV2TransactionsGet200ResponsePaymentInformation.accountFeatures) &&
Objects.equals(this.paymentInstrument, tssV2TransactionsGet200ResponsePaymentInformation.paymentInstrument) &&
Objects.equals(this.instrumentIdentifier, tssV2TransactionsGet200ResponsePaymentInformation.instrumentIdentifier) &&
Objects.equals(this.shippingAddress, tssV2TransactionsGet200ResponsePaymentInformation.shippingAddress) &&
Objects.equals(this.fluidData, tssV2TransactionsGet200ResponsePaymentInformation.fluidData);
}
@Override
public int hashCode() {
return Objects.hash(paymentType, customer, card, brands, features, invoice, network, issuerInformation, bank, accountFeatures, paymentInstrument, instrumentIdentifier, shippingAddress, fluidData);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class TssV2TransactionsGet200ResponsePaymentInformation {\n");
sb.append(" paymentType: ").append(toIndentedString(paymentType)).append("\n");
sb.append(" customer: ").append(toIndentedString(customer)).append("\n");
sb.append(" card: ").append(toIndentedString(card)).append("\n");
sb.append(" brands: ").append(toIndentedString(brands)).append("\n");
sb.append(" features: ").append(toIndentedString(features)).append("\n");
sb.append(" invoice: ").append(toIndentedString(invoice)).append("\n");
sb.append(" network: ").append(toIndentedString(network)).append("\n");
sb.append(" issuerInformation: ").append(toIndentedString(issuerInformation)).append("\n");
sb.append(" bank: ").append(toIndentedString(bank)).append("\n");
sb.append(" accountFeatures: ").append(toIndentedString(accountFeatures)).append("\n");
sb.append(" paymentInstrument: ").append(toIndentedString(paymentInstrument)).append("\n");
sb.append(" instrumentIdentifier: ").append(toIndentedString(instrumentIdentifier)).append("\n");
sb.append(" shippingAddress: ").append(toIndentedString(shippingAddress)).append("\n");
sb.append(" fluidData: ").append(toIndentedString(fluidData)).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