com.global.api.terminals.DeviceMessageWithDocument 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;
import com.global.api.utils.Element;
import com.global.api.utils.IRawRequestBuilder;
import com.global.api.utils.JsonDoc;
public class DeviceMessageWithDocument extends DeviceMessage {
private T document;
public DeviceMessageWithDocument(T doc, byte[] buffer) {
super(buffer);
document = doc;
}
public IRawRequestBuilder getRequestBuilder() {
return document;
}
}