C# Class Braintree.TestUtil.BraintreeTestHttpService

Exibir arquivo Open project: braintree/braintree_dotnet Class Usage Examples

Public Properties

Property Type Description
ApiVersion string

Public Methods

Method Description
Get ( string MerchantId, string URL ) : HttpResponseMessage
Get ( string MerchantId, string URL ) : HttpWebResponse
Post ( string MerchantId, string URL, string requestBody ) : HttpResponseMessage
Post ( string MerchantId, string URL, string requestBody ) : HttpWebResponse

Private Methods

Method Description
GetJsonResponse ( string MerchantId, string Path, string method, string requestBody ) : HttpResponseMessage
GetJsonResponse ( string MerchantId, string Path, string method, string requestBody ) : HttpWebResponse

Method Details

Get() public method

public Get ( string MerchantId, string URL ) : HttpResponseMessage
MerchantId string
URL string
return System.Net.Http.HttpResponseMessage

Get() public method

public Get ( string MerchantId, string URL ) : HttpWebResponse
MerchantId string
URL string
return System.Net.HttpWebResponse

Post() public method

public Post ( string MerchantId, string URL, string requestBody ) : HttpResponseMessage
MerchantId string
URL string
requestBody string
return System.Net.Http.HttpResponseMessage

Post() public method

public Post ( string MerchantId, string URL, string requestBody ) : HttpWebResponse
MerchantId string
URL string
requestBody string
return System.Net.HttpWebResponse

Property Details

ApiVersion public_oe property

public string ApiVersion
return string