C# Class PayPal.Api.CreateFromAuthorizationCodeParameters

Parameters for getting an access token using a authorization code.
Inheritance: ClientCredentials
显示文件 Open project: paypal/PayPal-NET-SDK Class Usage Examples

Public Methods

Method Description
CreateFromAuthorizationCodeParameters ( ) : System.Collections.Generic

Initializes a new CreateFromAuthorizationCodeParameters object and sets the grant type to 'authorization_code'.

SetCode ( string code ) : void

Set the code

SetGrantType ( string grantType ) : void

Set the Grant Type

SetRedirectUri ( string redirectUri ) : void

Set the Redirect URI

Method Details

CreateFromAuthorizationCodeParameters() public method

Initializes a new CreateFromAuthorizationCodeParameters object and sets the grant type to 'authorization_code'.
public CreateFromAuthorizationCodeParameters ( ) : System.Collections.Generic
return System.Collections.Generic

SetCode() public method

Set the code
public SetCode ( string code ) : void
code string
return void

SetGrantType() public method

Set the Grant Type
public SetGrantType ( string grantType ) : void
grantType string
return void

SetRedirectUri() public method

Set the Redirect URI
public SetRedirectUri ( string redirectUri ) : void
redirectUri string
return void