All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.global.api.terminals.genius.request.GeniusMitcRequest Maven / Gradle / Ivy

There is a newer version: 14.2.3
Show newest version
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;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy