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

com.stripe.net.StripeResponse Maven / Gradle / Ivy

package com.stripe.net;

import java.util.List;
import java.util.Map;

public class StripeResponse {
	
	int responseCode;
	String responseBody;
	Map> responseHeaders;
	
	public StripeResponse(int responseCode, String responseBody) {
		this.responseCode = responseCode;
		this.responseBody = responseBody;
		this.responseHeaders = null;
	}
	public StripeResponse(int responseCode, String responseBody, Map> responseHeaders) {
		this.responseCode = responseCode;
		this.responseBody = responseBody;
		this.responseHeaders = responseHeaders;
	}

	public int getResponseCode() {
		return responseCode;
	}
	
	public void setResponseCode(int responseCode) {
		this.responseCode = responseCode;
	}
	
	public String getResponseBody() {
		return responseBody;
	}
	
	public void setResponseBody(String responseBody) {
		this.responseBody = responseBody;
	}

	public Map> getResponseHeaders() {
		return responseHeaders;
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy