All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.hps.integrator.entities.HpsTransactionHeader Maven / Gradle / Ivy

Go to download

The SecureSubmit Java SDK simplifies processing of credit card transactions using Heartland Payment Systems' Portico Payment Gateway

There is a newer version: v2.5.2
Show newest version
package com.hps.integrator.entities;

import java.util.Date;

/**
 * The HPS charge header.
 */
public class HpsTransactionHeader 
{
	private int gateWayRespCode;
	private String gatewayRspMsg;
	private Date rspDt;
	private String clientTxnId;
	
	/**
	 * Constructor
	 * @param responseCode gateway RSP code
	 * @param responseMessage gateway RSP MSG
	 * @param responseDt RSP DateTime
	 * @param transactionId client TXN ID
	 */
	public HpsTransactionHeader(int responseCode, String responseMessage, Date responseDt, String transactionId)
	{
		gateWayRespCode = responseCode;
		gatewayRspMsg = responseMessage;
		rspDt = responseDt;
		clientTxnId = transactionId;
	}

	public int getGateWayRespCode() {
		return gateWayRespCode;
	}

	public String getGatewayRspMsg() {
		return gatewayRspMsg;
	}

	public Date getRspDt() {
		return rspDt;
	}

	public String getClientTxnId() {
		return clientTxnId;
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy