C# 클래스 PayPal.RESTAPICallPreHandler

RESTApiCallPreHandler requires a configuration system to function properly. Pass a config Dictionary for dynamic configuration.
상속: IAPICallPreHandler
파일 보기 프로젝트 열기: paypal/sdk-core-dotnet 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
pLoad string

공개 메소드들

메소드 설명
GetCredential ( ) : PayPal.Authentication.ICredential
GetEndpoint ( ) : string
GetHeaderMap ( ) : string>.Dictionary
GetPayload ( ) : string
RESTAPICallPreHandler ( string>.Dictionary config ) : System

RESTAPICallPreHandler taking dynamic configuration Dictionary

RESTAPICallPreHandler ( string>.Dictionary config, string>.Dictionary headersMap ) : System

RESTAPICallPreHandler taking dynamic configuration Dictionary and HTTP Headers Dictionary

보호된 메소드들

메소드 설명
FormUserAgentHeader ( ) : string>.Dictionary

Override this method to customize User-Agent header value

GetProcessedEndPoint ( ) : string

Override this method to return default behavior for endpoint fetching

GetProcessedHeadersMap ( ) : string>.Dictionary

Overrided this method to return HTTP headers

GetProcessedPayload ( ) : string

Override this method to post process the payload. The payload is returned unaltered as a default behaviour

비공개 메소드들

메소드 설명
EncodeToBase64 ( string clientID, string clientSecret ) : String
GetClientID ( ) : String
GetClientSecret ( ) : String

메소드 상세

FormUserAgentHeader() 보호된 메소드

Override this method to customize User-Agent header value
protected FormUserAgentHeader ( ) : string>.Dictionary
리턴 string>.Dictionary

GetCredential() 공개 메소드

public GetCredential ( ) : PayPal.Authentication.ICredential
리턴 PayPal.Authentication.ICredential

GetEndpoint() 공개 메소드

public GetEndpoint ( ) : string
리턴 string

GetHeaderMap() 공개 메소드

public GetHeaderMap ( ) : string>.Dictionary
리턴 string>.Dictionary

GetPayload() 공개 메소드

public GetPayload ( ) : string
리턴 string

GetProcessedEndPoint() 보호된 메소드

Override this method to return default behavior for endpoint fetching
protected GetProcessedEndPoint ( ) : string
리턴 string

GetProcessedHeadersMap() 보호된 메소드

Overrided this method to return HTTP headers
protected GetProcessedHeadersMap ( ) : string>.Dictionary
리턴 string>.Dictionary

GetProcessedPayload() 보호된 메소드

Override this method to post process the payload. The payload is returned unaltered as a default behaviour
protected GetProcessedPayload ( ) : string
리턴 string

RESTAPICallPreHandler() 공개 메소드

RESTAPICallPreHandler taking dynamic configuration Dictionary
public RESTAPICallPreHandler ( string>.Dictionary config ) : System
config string>.Dictionary Dictionary for dynamic configuration
리턴 System

RESTAPICallPreHandler() 공개 메소드

RESTAPICallPreHandler taking dynamic configuration Dictionary and HTTP Headers Dictionary
public RESTAPICallPreHandler ( string>.Dictionary config, string>.Dictionary headersMap ) : System
config string>.Dictionary Dictionary for dynamic configuration
headersMap string>.Dictionary Dictionary for HTTP Headers
리턴 System

프로퍼티 상세

pLoad 공개적으로 프로퍼티

public string pLoad
리턴 string