com.stripe.net.StripeResponse Maven / Gradle / Ivy
package com.stripe.net;
/** A response from Stripe's API, with body represented as a String. */
public class StripeResponse extends AbstractStripeResponse {
/**
* Initializes a new instance of the {@link StripeResponse} class.
*
* @param code the HTTP status code of the response
* @param headers the HTTP headers of the response
* @param body the body of the response
* @throws NullPointerException if {@code headers} or {@code body} is {@code null}
*/
public StripeResponse(int code, HttpHeaders headers, String body) {
super(code, headers, body);
}
}