Try your search with a different keyword or use * as a wildcard.
using Microsoft.AspNetCore.Http;
using Newtonsoft.Json;
namespace Nop.Plugin.Payments.PayPalCommerce.Services.Api.Authentication;
///
/// Represents the request to get an access token
///
public class GetAccessTokenRequest : IApiRequest
{
#region Properties
///
/// Gets or sets the client ID
///
[JsonIgnore]
public string ClientId { get; set; }
///
/// Gets or sets the client secret
///
[JsonIgnore]
public string Secret { get; set; }
///
/// Gets or sets the grant type
///
[JsonProperty(PropertyName = "grant_type")]
public string GrantType { get; set; }
///
/// Gets or sets the code
///
[JsonProperty(PropertyName = "code")]
public string Code { get; set; }
///
/// Gets or sets the code verifier
///
[JsonProperty(PropertyName = "code_verifier")]
public string CodeVerifier { get; set; }
///
/// Gets or sets the response type
///
[JsonProperty(PropertyName = "response_type")]
public string ResponseType { get; set; }
///
/// Gets or sets the target customer id
///
[JsonProperty(PropertyName = "target_customer_id")]
public string TargetCustomerId { get; set; }
///
/// Gets the request path
///
[JsonIgnore]
public string Path => "v1/oauth2/token";
///
/// Gets the request method
///
[JsonIgnore]
public string Method => HttpMethods.Post;
#endregion
}