com.hps.integrator.entities.HpsTransactionHeader Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of secure-submit Show documentation
Show all versions of secure-submit Show documentation
The SecureSubmit Java SDK simplifies processing of credit card transactions using Heartland Payment Systems' Portico Payment Gateway
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;
}
}