com.global.api.terminals.genius.request.GeniusMitcRequest 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.genius.request;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;
import java.util.HashMap;
@Accessors(chain = true)
@Setter
@Getter
public class GeniusMitcRequest {
private HttpMethod verb = HttpMethod.GET;
private String endpoint;
private String requestBody = "";
private HashMap queryStringParams;
public GeniusMitcRequest() {
queryStringParams = new HashMap<>();
}
public enum HttpMethod {
GET("GET"),
POST("POST"),
PUT("PUT");
private final String value;
HttpMethod(String value) {
this.value = value;
}
public String getValue() {
return value;
}
}
}