C# Class PayPal.Api.CreateFromAuthorizationCodeParameters

Parameters for getting an access token using a authorization code.
Inheritance: ClientCredentials
Afficher le fichier Open project: paypal/PayPal-NET-SDK Class Usage Examples

Méthodes publiques

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

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

SetCode() public méthode

Set the code
public SetCode ( string code ) : void
code string
Résultat void

SetGrantType() public méthode

Set the Grant Type
public SetGrantType ( string grantType ) : void
grantType string
Résultat void

SetRedirectUri() public méthode

Set the Redirect URI
public SetRedirectUri ( string redirectUri ) : void
redirectUri string
Résultat void