
Model.TssV2TransactionsPost201ResponseEmbeddedTransactionSummaries 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.PtsV2CreateOrderPost201ResponseBuyerInformation;
import Model.Ptsv2paymentsMerchantDefinedInformation;
import Model.Riskv1authenticationresultsDeviceInformation;
import Model.TssV2TransactionsGet200ResponseFraudMarkingInformation;
import Model.TssV2TransactionsPost201ResponseEmbeddedApplicationInformation;
import Model.TssV2TransactionsPost201ResponseEmbeddedClientReferenceInformation;
import Model.TssV2TransactionsPost201ResponseEmbeddedConsumerAuthenticationInformation;
import Model.TssV2TransactionsPost201ResponseEmbeddedErrorInformation;
import Model.TssV2TransactionsPost201ResponseEmbeddedLinks;
import Model.TssV2TransactionsPost201ResponseEmbeddedMerchantInformation;
import Model.TssV2TransactionsPost201ResponseEmbeddedOrderInformation;
import Model.TssV2TransactionsPost201ResponseEmbeddedPaymentInformation;
import Model.TssV2TransactionsPost201ResponseEmbeddedPointOfSaleInformation;
import Model.TssV2TransactionsPost201ResponseEmbeddedProcessingInformation;
import Model.TssV2TransactionsPost201ResponseEmbeddedProcessorInformation;
import Model.TssV2TransactionsPost201ResponseEmbeddedRiskInformation;
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;
/**
* TssV2TransactionsPost201ResponseEmbeddedTransactionSummaries
*/
public class TssV2TransactionsPost201ResponseEmbeddedTransactionSummaries {
@SerializedName("id")
private String id = null;
@SerializedName("submitTimeUtc")
private String submitTimeUtc = null;
@SerializedName("merchantId")
private String merchantId = null;
@SerializedName("status")
private String status = null;
@SerializedName("applicationInformation")
private TssV2TransactionsPost201ResponseEmbeddedApplicationInformation applicationInformation = null;
@SerializedName("buyerInformation")
private PtsV2CreateOrderPost201ResponseBuyerInformation buyerInformation = null;
@SerializedName("clientReferenceInformation")
private TssV2TransactionsPost201ResponseEmbeddedClientReferenceInformation clientReferenceInformation = null;
@SerializedName("consumerAuthenticationInformation")
private TssV2TransactionsPost201ResponseEmbeddedConsumerAuthenticationInformation consumerAuthenticationInformation = null;
@SerializedName("deviceInformation")
private Riskv1authenticationresultsDeviceInformation deviceInformation = null;
@SerializedName("errorInformation")
private TssV2TransactionsPost201ResponseEmbeddedErrorInformation errorInformation = null;
@SerializedName("fraudMarkingInformation")
private TssV2TransactionsGet200ResponseFraudMarkingInformation fraudMarkingInformation = null;
@SerializedName("merchantDefinedInformation")
private List merchantDefinedInformation = null;
@SerializedName("merchantInformation")
private TssV2TransactionsPost201ResponseEmbeddedMerchantInformation merchantInformation = null;
@SerializedName("orderInformation")
private TssV2TransactionsPost201ResponseEmbeddedOrderInformation orderInformation = null;
@SerializedName("paymentInformation")
private TssV2TransactionsPost201ResponseEmbeddedPaymentInformation paymentInformation = null;
@SerializedName("processingInformation")
private TssV2TransactionsPost201ResponseEmbeddedProcessingInformation processingInformation = null;
@SerializedName("processorInformation")
private TssV2TransactionsPost201ResponseEmbeddedProcessorInformation processorInformation = null;
@SerializedName("pointOfSaleInformation")
private TssV2TransactionsPost201ResponseEmbeddedPointOfSaleInformation pointOfSaleInformation = null;
@SerializedName("riskInformation")
private TssV2TransactionsPost201ResponseEmbeddedRiskInformation riskInformation = null;
@SerializedName("_links")
private TssV2TransactionsPost201ResponseEmbeddedLinks links = null;
public TssV2TransactionsPost201ResponseEmbeddedTransactionSummaries id(String id) {
this.id = id;
return this;
}
/**
* An unique identification number generated by Cybersource to identify the submitted request. Returned by all services. It is also appended to the endpoint of the resource. On incremental authorizations, this value with be the same as the identification number returned in the original authorization response.
* @return id
**/
@ApiModelProperty(value = "An unique identification number generated by Cybersource to identify the submitted request. Returned by all services. It is also appended to the endpoint of the resource. On incremental authorizations, this value with be the same as the identification number returned in the original authorization response. ")
public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
public TssV2TransactionsPost201ResponseEmbeddedTransactionSummaries submitTimeUtc(String submitTimeUtc) {
this.submitTimeUtc = submitTimeUtc;
return this;
}
/**
* Time of request in UTC. Format: `YYYY-MM-DDThh:mm:ssZ` **Example** `2016-08-11T22:47:57Z` equals August 11, 2016, at 22:47:57 (10:47:57 p.m.). The `T` separates the date and the time. The `Z` indicates UTC. Returned by Cybersource for all services.
* @return submitTimeUtc
**/
@ApiModelProperty(value = "Time of request in UTC. Format: `YYYY-MM-DDThh:mm:ssZ` **Example** `2016-08-11T22:47:57Z` equals August 11, 2016, at 22:47:57 (10:47:57 p.m.). The `T` separates the date and the time. The `Z` indicates UTC. Returned by Cybersource for all services. ")
public String getSubmitTimeUtc() {
return submitTimeUtc;
}
public void setSubmitTimeUtc(String submitTimeUtc) {
this.submitTimeUtc = submitTimeUtc;
}
public TssV2TransactionsPost201ResponseEmbeddedTransactionSummaries merchantId(String merchantId) {
this.merchantId = merchantId;
return this;
}
/**
* Your CyberSource merchant ID.
* @return merchantId
**/
@ApiModelProperty(value = "Your CyberSource merchant ID.")
public String getMerchantId() {
return merchantId;
}
public void setMerchantId(String merchantId) {
this.merchantId = merchantId;
}
public TssV2TransactionsPost201ResponseEmbeddedTransactionSummaries status(String status) {
this.status = status;
return this;
}
/**
* The status of the submitted transaction. Note: This field may not be returned for all transactions.
* @return status
**/
@ApiModelProperty(value = "The status of the submitted transaction. Note: This field may not be returned for all transactions. ")
public String getStatus() {
return status;
}
public void setStatus(String status) {
this.status = status;
}
public TssV2TransactionsPost201ResponseEmbeddedTransactionSummaries applicationInformation(TssV2TransactionsPost201ResponseEmbeddedApplicationInformation applicationInformation) {
this.applicationInformation = applicationInformation;
return this;
}
/**
* Get applicationInformation
* @return applicationInformation
**/
@ApiModelProperty(value = "")
public TssV2TransactionsPost201ResponseEmbeddedApplicationInformation getApplicationInformation() {
return applicationInformation;
}
public void setApplicationInformation(TssV2TransactionsPost201ResponseEmbeddedApplicationInformation applicationInformation) {
this.applicationInformation = applicationInformation;
}
public TssV2TransactionsPost201ResponseEmbeddedTransactionSummaries buyerInformation(PtsV2CreateOrderPost201ResponseBuyerInformation buyerInformation) {
this.buyerInformation = buyerInformation;
return this;
}
/**
* Get buyerInformation
* @return buyerInformation
**/
@ApiModelProperty(value = "")
public PtsV2CreateOrderPost201ResponseBuyerInformation getBuyerInformation() {
return buyerInformation;
}
public void setBuyerInformation(PtsV2CreateOrderPost201ResponseBuyerInformation buyerInformation) {
this.buyerInformation = buyerInformation;
}
public TssV2TransactionsPost201ResponseEmbeddedTransactionSummaries clientReferenceInformation(TssV2TransactionsPost201ResponseEmbeddedClientReferenceInformation clientReferenceInformation) {
this.clientReferenceInformation = clientReferenceInformation;
return this;
}
/**
* Get clientReferenceInformation
* @return clientReferenceInformation
**/
@ApiModelProperty(value = "")
public TssV2TransactionsPost201ResponseEmbeddedClientReferenceInformation getClientReferenceInformation() {
return clientReferenceInformation;
}
public void setClientReferenceInformation(TssV2TransactionsPost201ResponseEmbeddedClientReferenceInformation clientReferenceInformation) {
this.clientReferenceInformation = clientReferenceInformation;
}
public TssV2TransactionsPost201ResponseEmbeddedTransactionSummaries consumerAuthenticationInformation(TssV2TransactionsPost201ResponseEmbeddedConsumerAuthenticationInformation consumerAuthenticationInformation) {
this.consumerAuthenticationInformation = consumerAuthenticationInformation;
return this;
}
/**
* Get consumerAuthenticationInformation
* @return consumerAuthenticationInformation
**/
@ApiModelProperty(value = "")
public TssV2TransactionsPost201ResponseEmbeddedConsumerAuthenticationInformation getConsumerAuthenticationInformation() {
return consumerAuthenticationInformation;
}
public void setConsumerAuthenticationInformation(TssV2TransactionsPost201ResponseEmbeddedConsumerAuthenticationInformation consumerAuthenticationInformation) {
this.consumerAuthenticationInformation = consumerAuthenticationInformation;
}
public TssV2TransactionsPost201ResponseEmbeddedTransactionSummaries deviceInformation(Riskv1authenticationresultsDeviceInformation deviceInformation) {
this.deviceInformation = deviceInformation;
return this;
}
/**
* Get deviceInformation
* @return deviceInformation
**/
@ApiModelProperty(value = "")
public Riskv1authenticationresultsDeviceInformation getDeviceInformation() {
return deviceInformation;
}
public void setDeviceInformation(Riskv1authenticationresultsDeviceInformation deviceInformation) {
this.deviceInformation = deviceInformation;
}
public TssV2TransactionsPost201ResponseEmbeddedTransactionSummaries errorInformation(TssV2TransactionsPost201ResponseEmbeddedErrorInformation errorInformation) {
this.errorInformation = errorInformation;
return this;
}
/**
* Get errorInformation
* @return errorInformation
**/
@ApiModelProperty(value = "")
public TssV2TransactionsPost201ResponseEmbeddedErrorInformation getErrorInformation() {
return errorInformation;
}
public void setErrorInformation(TssV2TransactionsPost201ResponseEmbeddedErrorInformation errorInformation) {
this.errorInformation = errorInformation;
}
public TssV2TransactionsPost201ResponseEmbeddedTransactionSummaries fraudMarkingInformation(TssV2TransactionsGet200ResponseFraudMarkingInformation fraudMarkingInformation) {
this.fraudMarkingInformation = fraudMarkingInformation;
return this;
}
/**
* Get fraudMarkingInformation
* @return fraudMarkingInformation
**/
@ApiModelProperty(value = "")
public TssV2TransactionsGet200ResponseFraudMarkingInformation getFraudMarkingInformation() {
return fraudMarkingInformation;
}
public void setFraudMarkingInformation(TssV2TransactionsGet200ResponseFraudMarkingInformation fraudMarkingInformation) {
this.fraudMarkingInformation = fraudMarkingInformation;
}
public TssV2TransactionsPost201ResponseEmbeddedTransactionSummaries merchantDefinedInformation(List merchantDefinedInformation) {
this.merchantDefinedInformation = merchantDefinedInformation;
return this;
}
public TssV2TransactionsPost201ResponseEmbeddedTransactionSummaries addMerchantDefinedInformationItem(Ptsv2paymentsMerchantDefinedInformation merchantDefinedInformationItem) {
if (this.merchantDefinedInformation == null) {
this.merchantDefinedInformation = new ArrayList();
}
this.merchantDefinedInformation.add(merchantDefinedInformationItem);
return this;
}
/**
* The object containing the custom data that the merchant defines.
* @return merchantDefinedInformation
**/
@ApiModelProperty(value = "The object containing the custom data that the merchant defines. ")
public List getMerchantDefinedInformation() {
return merchantDefinedInformation;
}
public void setMerchantDefinedInformation(List merchantDefinedInformation) {
this.merchantDefinedInformation = merchantDefinedInformation;
}
public TssV2TransactionsPost201ResponseEmbeddedTransactionSummaries merchantInformation(TssV2TransactionsPost201ResponseEmbeddedMerchantInformation merchantInformation) {
this.merchantInformation = merchantInformation;
return this;
}
/**
* Get merchantInformation
* @return merchantInformation
**/
@ApiModelProperty(value = "")
public TssV2TransactionsPost201ResponseEmbeddedMerchantInformation getMerchantInformation() {
return merchantInformation;
}
public void setMerchantInformation(TssV2TransactionsPost201ResponseEmbeddedMerchantInformation merchantInformation) {
this.merchantInformation = merchantInformation;
}
public TssV2TransactionsPost201ResponseEmbeddedTransactionSummaries orderInformation(TssV2TransactionsPost201ResponseEmbeddedOrderInformation orderInformation) {
this.orderInformation = orderInformation;
return this;
}
/**
* Get orderInformation
* @return orderInformation
**/
@ApiModelProperty(value = "")
public TssV2TransactionsPost201ResponseEmbeddedOrderInformation getOrderInformation() {
return orderInformation;
}
public void setOrderInformation(TssV2TransactionsPost201ResponseEmbeddedOrderInformation orderInformation) {
this.orderInformation = orderInformation;
}
public TssV2TransactionsPost201ResponseEmbeddedTransactionSummaries paymentInformation(TssV2TransactionsPost201ResponseEmbeddedPaymentInformation paymentInformation) {
this.paymentInformation = paymentInformation;
return this;
}
/**
* Get paymentInformation
* @return paymentInformation
**/
@ApiModelProperty(value = "")
public TssV2TransactionsPost201ResponseEmbeddedPaymentInformation getPaymentInformation() {
return paymentInformation;
}
public void setPaymentInformation(TssV2TransactionsPost201ResponseEmbeddedPaymentInformation paymentInformation) {
this.paymentInformation = paymentInformation;
}
public TssV2TransactionsPost201ResponseEmbeddedTransactionSummaries processingInformation(TssV2TransactionsPost201ResponseEmbeddedProcessingInformation processingInformation) {
this.processingInformation = processingInformation;
return this;
}
/**
* Get processingInformation
* @return processingInformation
**/
@ApiModelProperty(value = "")
public TssV2TransactionsPost201ResponseEmbeddedProcessingInformation getProcessingInformation() {
return processingInformation;
}
public void setProcessingInformation(TssV2TransactionsPost201ResponseEmbeddedProcessingInformation processingInformation) {
this.processingInformation = processingInformation;
}
public TssV2TransactionsPost201ResponseEmbeddedTransactionSummaries processorInformation(TssV2TransactionsPost201ResponseEmbeddedProcessorInformation processorInformation) {
this.processorInformation = processorInformation;
return this;
}
/**
* Get processorInformation
* @return processorInformation
**/
@ApiModelProperty(value = "")
public TssV2TransactionsPost201ResponseEmbeddedProcessorInformation getProcessorInformation() {
return processorInformation;
}
public void setProcessorInformation(TssV2TransactionsPost201ResponseEmbeddedProcessorInformation processorInformation) {
this.processorInformation = processorInformation;
}
public TssV2TransactionsPost201ResponseEmbeddedTransactionSummaries pointOfSaleInformation(TssV2TransactionsPost201ResponseEmbeddedPointOfSaleInformation pointOfSaleInformation) {
this.pointOfSaleInformation = pointOfSaleInformation;
return this;
}
/**
* Get pointOfSaleInformation
* @return pointOfSaleInformation
**/
@ApiModelProperty(value = "")
public TssV2TransactionsPost201ResponseEmbeddedPointOfSaleInformation getPointOfSaleInformation() {
return pointOfSaleInformation;
}
public void setPointOfSaleInformation(TssV2TransactionsPost201ResponseEmbeddedPointOfSaleInformation pointOfSaleInformation) {
this.pointOfSaleInformation = pointOfSaleInformation;
}
public TssV2TransactionsPost201ResponseEmbeddedTransactionSummaries riskInformation(TssV2TransactionsPost201ResponseEmbeddedRiskInformation riskInformation) {
this.riskInformation = riskInformation;
return this;
}
/**
* Get riskInformation
* @return riskInformation
**/
@ApiModelProperty(value = "")
public TssV2TransactionsPost201ResponseEmbeddedRiskInformation getRiskInformation() {
return riskInformation;
}
public void setRiskInformation(TssV2TransactionsPost201ResponseEmbeddedRiskInformation riskInformation) {
this.riskInformation = riskInformation;
}
public TssV2TransactionsPost201ResponseEmbeddedTransactionSummaries links(TssV2TransactionsPost201ResponseEmbeddedLinks links) {
this.links = links;
return this;
}
/**
* Get links
* @return links
**/
@ApiModelProperty(value = "")
public TssV2TransactionsPost201ResponseEmbeddedLinks getLinks() {
return links;
}
public void setLinks(TssV2TransactionsPost201ResponseEmbeddedLinks links) {
this.links = links;
}
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
TssV2TransactionsPost201ResponseEmbeddedTransactionSummaries tssV2TransactionsPost201ResponseEmbeddedTransactionSummaries = (TssV2TransactionsPost201ResponseEmbeddedTransactionSummaries) o;
return Objects.equals(this.id, tssV2TransactionsPost201ResponseEmbeddedTransactionSummaries.id) &&
Objects.equals(this.submitTimeUtc, tssV2TransactionsPost201ResponseEmbeddedTransactionSummaries.submitTimeUtc) &&
Objects.equals(this.merchantId, tssV2TransactionsPost201ResponseEmbeddedTransactionSummaries.merchantId) &&
Objects.equals(this.status, tssV2TransactionsPost201ResponseEmbeddedTransactionSummaries.status) &&
Objects.equals(this.applicationInformation, tssV2TransactionsPost201ResponseEmbeddedTransactionSummaries.applicationInformation) &&
Objects.equals(this.buyerInformation, tssV2TransactionsPost201ResponseEmbeddedTransactionSummaries.buyerInformation) &&
Objects.equals(this.clientReferenceInformation, tssV2TransactionsPost201ResponseEmbeddedTransactionSummaries.clientReferenceInformation) &&
Objects.equals(this.consumerAuthenticationInformation, tssV2TransactionsPost201ResponseEmbeddedTransactionSummaries.consumerAuthenticationInformation) &&
Objects.equals(this.deviceInformation, tssV2TransactionsPost201ResponseEmbeddedTransactionSummaries.deviceInformation) &&
Objects.equals(this.errorInformation, tssV2TransactionsPost201ResponseEmbeddedTransactionSummaries.errorInformation) &&
Objects.equals(this.fraudMarkingInformation, tssV2TransactionsPost201ResponseEmbeddedTransactionSummaries.fraudMarkingInformation) &&
Objects.equals(this.merchantDefinedInformation, tssV2TransactionsPost201ResponseEmbeddedTransactionSummaries.merchantDefinedInformation) &&
Objects.equals(this.merchantInformation, tssV2TransactionsPost201ResponseEmbeddedTransactionSummaries.merchantInformation) &&
Objects.equals(this.orderInformation, tssV2TransactionsPost201ResponseEmbeddedTransactionSummaries.orderInformation) &&
Objects.equals(this.paymentInformation, tssV2TransactionsPost201ResponseEmbeddedTransactionSummaries.paymentInformation) &&
Objects.equals(this.processingInformation, tssV2TransactionsPost201ResponseEmbeddedTransactionSummaries.processingInformation) &&
Objects.equals(this.processorInformation, tssV2TransactionsPost201ResponseEmbeddedTransactionSummaries.processorInformation) &&
Objects.equals(this.pointOfSaleInformation, tssV2TransactionsPost201ResponseEmbeddedTransactionSummaries.pointOfSaleInformation) &&
Objects.equals(this.riskInformation, tssV2TransactionsPost201ResponseEmbeddedTransactionSummaries.riskInformation) &&
Objects.equals(this.links, tssV2TransactionsPost201ResponseEmbeddedTransactionSummaries.links);
}
@Override
public int hashCode() {
return Objects.hash(id, submitTimeUtc, merchantId, status, applicationInformation, buyerInformation, clientReferenceInformation, consumerAuthenticationInformation, deviceInformation, errorInformation, fraudMarkingInformation, merchantDefinedInformation, merchantInformation, orderInformation, paymentInformation, processingInformation, processorInformation, pointOfSaleInformation, riskInformation, links);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class TssV2TransactionsPost201ResponseEmbeddedTransactionSummaries {\n");
if (id != null) sb.append(" id: ").append(toIndentedString(id)).append("\n");
if (submitTimeUtc != null) sb.append(" submitTimeUtc: ").append(toIndentedString(submitTimeUtc)).append("\n");
if (merchantId != null) sb.append(" merchantId: ").append(toIndentedString(merchantId)).append("\n");
if (status != null) sb.append(" status: ").append(toIndentedString(status)).append("\n");
if (applicationInformation != null) sb.append(" applicationInformation: ").append(toIndentedString(applicationInformation)).append("\n");
if (buyerInformation != null) sb.append(" buyerInformation: ").append(toIndentedString(buyerInformation)).append("\n");
if (clientReferenceInformation != null) sb.append(" clientReferenceInformation: ").append(toIndentedString(clientReferenceInformation)).append("\n");
if (consumerAuthenticationInformation != null) sb.append(" consumerAuthenticationInformation: ").append(toIndentedString(consumerAuthenticationInformation)).append("\n");
if (deviceInformation != null) sb.append(" deviceInformation: ").append(toIndentedString(deviceInformation)).append("\n");
if (errorInformation != null) sb.append(" errorInformation: ").append(toIndentedString(errorInformation)).append("\n");
if (fraudMarkingInformation != null) sb.append(" fraudMarkingInformation: ").append(toIndentedString(fraudMarkingInformation)).append("\n");
if (merchantDefinedInformation != null) sb.append(" merchantDefinedInformation: ").append(toIndentedString(merchantDefinedInformation)).append("\n");
if (merchantInformation != null) sb.append(" merchantInformation: ").append(toIndentedString(merchantInformation)).append("\n");
if (orderInformation != null) sb.append(" orderInformation: ").append(toIndentedString(orderInformation)).append("\n");
if (paymentInformation != null) sb.append(" paymentInformation: ").append(toIndentedString(paymentInformation)).append("\n");
if (processingInformation != null) sb.append(" processingInformation: ").append(toIndentedString(processingInformation)).append("\n");
if (processorInformation != null) sb.append(" processorInformation: ").append(toIndentedString(processorInformation)).append("\n");
if (pointOfSaleInformation != null) sb.append(" pointOfSaleInformation: ").append(toIndentedString(pointOfSaleInformation)).append("\n");
if (riskInformation != null) sb.append(" riskInformation: ").append(toIndentedString(riskInformation)).append("\n");
if (links != null) sb.append(" links: ").append(toIndentedString(links)).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