Class MercadoPagoResponse
Class that contains response data from MercadoPago's APIs.
Inherited Members
Namespace: MercadoPago.Http
Assembly: MercadoPago.dll
Syntax
public class MercadoPagoResponse
Constructors
| Edit this page View SourceMercadoPagoResponse(int, IDictionary<string, string>, string)
Initializes a new instance of the MercadoPagoResponse class.
Declaration
public MercadoPagoResponse(int statusCode, IDictionary<string, string> headers, string content)
Parameters
Type | Name | Description |
---|---|---|
int | statusCode | HTTP response status code. |
IDictionary<string, string> | headers | HTTP response headers. |
string | content | HTTP response content as string. |
Properties
| Edit this page View SourceContent
Response content as string.
Declaration
public string Content { get; }
Property Value
Type | Description |
---|---|
string |
Headers
HTTP response headers.
Declaration
public IDictionary<string, string> Headers { get; }
Property Value
Type | Description |
---|---|
IDictionary<string, string> |
StatusCode
HTTP status code.
Declaration
public int StatusCode { get; }
Property Value
Type | Description |
---|---|
int |