C# Class PayPal.NVP.PlatformAPICallPreHandler

Inheritance: IAPICallPreHandler
显示文件 Open project: paypal/sdk-core-dotnet Class Usage Examples

Public Methods

Method Description
GetCredential ( ) : PayPal.Authentication.ICredential

Reurns instance of ICredential

GetEndpoint ( ) : string

Returns the endpoint url

GetHeaderMap ( ) : string>.Dictionary

Returns the Header

GetPayload ( ) : string

Returns the raw payload as no processing necessary for NVP

PlatformAPICallPreHandler ( string>.Dictionary config, string rawPayload, string serviceName, string method, PayPal.Authentication.ICredential credential ) : System

NVPAPICallPreHandler

PlatformAPICallPreHandler ( string>.Dictionary config, string rawPayload, string serviceName, string method, string apiUserName, string accessToken, string accesstokenSecret ) : System

NVPAPICallPreHandler

Private Methods

Method Description
GetApplicationId ( ) : string

Returns Application Id

GetCredentials ( ) : PayPal.Authentication.ICredential

Returns the credentials

GetDefaultHttpHeadersNVP ( ) : string>.Dictionary

Returns the Default Http Headers NVP

GetDeviceIPAddress ( ) : string
GetSandboxEmailAddress ( ) : string
InitCredential ( ) : void
PlatformAPICallPreHandler ( string rawPayoad, string serviceName, string method, string>.Dictionary config ) : System

Private constructor

Method Details

GetCredential() public method

Reurns instance of ICredential
public GetCredential ( ) : PayPal.Authentication.ICredential
return PayPal.Authentication.ICredential

GetEndpoint() public method

Returns the endpoint url
public GetEndpoint ( ) : string
return string

GetHeaderMap() public method

Returns the Header
public GetHeaderMap ( ) : string>.Dictionary
return string>.Dictionary

GetPayload() public method

Returns the raw payload as no processing necessary for NVP
public GetPayload ( ) : string
return string

PlatformAPICallPreHandler() public method

NVPAPICallPreHandler
public PlatformAPICallPreHandler ( string>.Dictionary config, string rawPayload, string serviceName, string method, PayPal.Authentication.ICredential credential ) : System
config string>.Dictionary
rawPayload string
serviceName string
method string
credential PayPal.Authentication.ICredential
return System

PlatformAPICallPreHandler() public method

NVPAPICallPreHandler
public PlatformAPICallPreHandler ( string>.Dictionary config, string rawPayload, string serviceName, string method, string apiUserName, string accessToken, string accesstokenSecret ) : System
config string>.Dictionary
rawPayload string
serviceName string
method string
apiUserName string
accessToken string
accesstokenSecret string
return System