PaymentsHttp Class
Makes an HTTP request to start the interaction with the payment gateway.
You must specify the CommercePayments namespace when creating an instance of this class. The constructor of this class takes no arguments. For example:
CommercePayments.PaymentsHttp payhttp = new CommercePayments.PaymentsHttp();
The following are methods for PaymentsHttp. All methods are instance methods.
-
Sends an HttpRequest and returns the response.
Sends an HttpRequest and returns the response.
global HttpResponse send(HttpRequest request)
-
request:
Type: System.HttpRequest
Type: System.HttpResponse
The following are constructors for PaymentsHttp.
-
Initiates an HTTP request and response.
Initiates an HTTP request and response.
global PaymentsHttp()