/*
* eGov suite of products aim to improve the internal efficiency,transparency,
* accountability and the service delivery of the government organizations.
*
* Copyright (C) <2015> eGovernments Foundation
*
* The updated version of eGov suite of products as by eGovernments Foundation
* is available at http://www.egovernments.org
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see http://www.gnu.org/licenses/ or
* http://www.gnu.org/licenses/gpl.html .
*
* In addition to the terms of the GPL license to be adhered to in using this
* program, the following additional terms are to be complied with:
*
* 1) All versions of this program, verbatim or modified must carry this
* Legal Notice.
*
* 2) Any misrepresentation of the origin of the material is prohibited. It
* is required that all modified versions of this material be marked in
* reasonable ways as different from the original version.
*
* 3) This license does not grant any rights to any user of the program
* with regards to rights under trademark law for use of the trade names
* or trademarks of eGovernments Foundation.
*
* In case of any queries, you can reach eGovernments Foundation at contact@egovernments.org.
*/
package org.egov.collection.integration.models;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlType;
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "ResponseAXIS")
public class ResponseAXIS {
@XmlAttribute
protected String transactionId;
@XmlAttribute
protected String paymentId;
@XmlAttribute
protected String amount;
@XmlAttribute
protected String dateTime;
@XmlAttribute
protected String mode;
@XmlAttribute
protected String referenceNo;
@XmlAttribute
protected String transactionType;
@XmlAttribute
protected String status;
@XmlAttribute
protected String isFlagged;
@XmlAttribute
protected String errorCode;
@XmlAttribute
protected String error;
@Override
public String toString() {
final String responseHdfc = "transactionId=" + transactionId + ";referenceNo=" + referenceNo + ";errorCode=" + errorCode
+ ";paymentId=" + paymentId
+ ";amount=" + amount + ";dateTime=" + dateTime + ";transactionType=" + transactionType + ";status=" + status
+ ";isFlagged=" + isFlagged
+ ";error=" + error;
return responseHdfc;
}
/**
* @return the transactionId
*/
public String getTransactionId() {
return transactionId;
}
/**
* @param transactionId the transactionId to set
*/
public void setTransactionId(final String transactionId) {
this.transactionId = transactionId;
}
/**
* @return the paymentId
*/
public String getPaymentId() {
return paymentId;
}
/**
* @param paymentId the paymentId to set
*/
public void setPaymentId(final String paymentId) {
this.paymentId = paymentId;
}
/**
* @return the amount
*/
public String getAmount() {
return amount;
}
/**
* @param amount the amount to set
*/
public void setAmount(final String amount) {
this.amount = amount;
}
/**
* @return the dateTime
*/
public String getDateTime() {
return dateTime;
}
/**
* @param dateTime the dateTime to set
*/
public void setDateTime(final String dateTime) {
this.dateTime = dateTime;
}
/**
* @return the mode
*/
public String getMode() {
return mode;
}
/**
* @param mode the mode to set
*/
public void setMode(final String mode) {
this.mode = mode;
}
/**
* @return the referenceNo
*/
public String getReferenceNo() {
return referenceNo;
}
/**
* @param referenceNo the referenceNo to set
*/
public void setReferenceNo(final String referenceNo) {
this.referenceNo = referenceNo;
}
/**
* @return the transactionType
*/
public String getTransactionType() {
return transactionType;
}
/**
* @param transactionType the transactionType to set
*/
public void setTransactionType(final String transactionType) {
this.transactionType = transactionType;
}
/**
* @return the status
*/
public String getStatus() {
return status;
}
/**
* @param status the status to set
*/
public void setStatus(final String status) {
this.status = status;
}
/**
* @return the isFlagged
*/
public String getIsFlagged() {
return isFlagged;
}
/**
* @param isFlagged the isFlagged to set
*/
public void setIsFlagged(final String isFlagged) {
this.isFlagged = isFlagged;
}
/**
* @return the errorCode
*/
public String getErrorCode() {
return errorCode;
}
/**
* @param errorCode the errorCode to set
*/
public void setErrorCode(final String errorCode) {
this.errorCode = errorCode;
}
/**
* @return the error
*/
public String getError() {
return error;
}
/**
* @param error the error to set
*/
public void setError(final String error) {
this.error = error;
}
}