com.global.api.terminals.hpa.responses.HeartBeatResponse Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of globalpayments-sdk Show documentation
Show all versions of globalpayments-sdk Show documentation
API for processing payments through Global Payments
package com.global.api.terminals.hpa.responses;
import com.global.api.entities.exceptions.ApiException;
import com.global.api.utils.Element;
public class HeartBeatResponse extends SipBaseResponse {
private String transactionTime;
public String getTransactionTime() {
return transactionTime;
}
public HeartBeatResponse(byte[] buffer, String... messageIds) throws ApiException {
super(buffer, messageIds);
}
protected void mapResponse(Element response) {
super.mapResponse(response);
responseCode = normalizeResponse(response.getString("Result"));
responseText = response.getString("ResultText");
transactionTime = response.getString("TransactionTime");
}
}