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

com.commercetools.payment.model.HttpRequestInfo Maven / Gradle / Ivy

Go to download

The commercetools java payment project intend is to make payment integration easy

The newest version!
package com.commercetools.payment.model;

import java.net.InetAddress;
import java.util.Locale;
import java.util.Optional;

/**
 * Data wrapper for HTTP client request data that could be used for payment purposes.
 * Created by mgatz on 7/20/16.
 */
public interface HttpRequestInfo {
    /**
     * @return the requests locale information
     */
    Optional getRequestLocale();

    /**
     * @return the origin IP address of the request
     */
    Optional getInetAddress();
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy