com.hps.integrator.infrastructure.HpsInvalidRequestException 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.infrastructure;
public class HpsInvalidRequestException extends HpsException {
private HpsExceptionCodes code;
private String paramName;
public HpsInvalidRequestException(String message) {
super(message);
}
public HpsInvalidRequestException(HpsExceptionCodes code, String message) {
super(message);
this.setCode(code);
}
public HpsInvalidRequestException(HpsExceptionCodes code, String message, String paramName) {
super(message);
this.setCode(code);
this.setParamName(paramName);
}
public HpsExceptionCodes getCode() {
return code;
}
public void setCode(HpsExceptionCodes code) {
this.code = code;
}
public String getParamName() {
return paramName;
}
public void setParamName(String paramName) {
this.paramName = paramName;
}
}