com.paypal.http.HttpResponse Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of com.liferay.commerce.payment.method.paypal
Show all versions of com.liferay.commerce.payment.method.paypal
Liferay Commerce Payment Method PayPal
The newest version!
package com.paypal.http;
public class HttpResponse {
private final Headers headers;
private final int statusCode;
private final T result;
protected HttpResponse(Headers headers, int statusCode, T result) {
this.headers = headers;
this.statusCode = statusCode;
this.result = result;
}
public Headers headers() {
if (headers == null) {
return new Headers();
}
return headers;
}
public int statusCode() {
return statusCode;
}
public T result() {
return result;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy