
com.commercetools.payment.utils.PaymentConnectorHelper Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of common Show documentation
Show all versions of common Show documentation
The commercetools java payment project intend is to make payment integration easy
The newest version!
package com.commercetools.payment.utils;
import com.commercetools.payment.model.HttpRequestResult;
import com.commercetools.payment.utils.impl.PaymentConnectorHelperImpl;
import javax.annotation.Nonnull;
import java.util.concurrent.CompletionStage;
/**
* Created by mgatz on 7/28/16.
*/
public interface PaymentConnectorHelper {
static PaymentConnectorHelper of() {
return new PaymentConnectorHelperImpl();
}
/**
* Create a HTTP client and execute a GET request.
* @param url the URL to be requested
* @return the HTTP response
*/
@Nonnull
CompletionStage sendHttpGetRequest(String url);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy