C# Class PayPal.NVP.PlatformAPICallPreHandler

Inheritance: IAPICallPreHandler
Afficher le fichier Open project: paypal/sdk-core-dotnet Class Usage Examples

Méthodes publiques

Méthode 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

Méthode 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 méthode

Reurns instance of ICredential
public GetCredential ( ) : PayPal.Authentication.ICredential
Résultat PayPal.Authentication.ICredential

GetEndpoint() public méthode

Returns the endpoint url
public GetEndpoint ( ) : string
Résultat string

GetHeaderMap() public méthode

Returns the Header
public GetHeaderMap ( ) : string>.Dictionary
Résultat string>.Dictionary

GetPayload() public méthode

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

PlatformAPICallPreHandler() public méthode

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
Résultat System

PlatformAPICallPreHandler() public méthode

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
Résultat System