Webiant Logo Webiant Logo
  1. No results found.

    Try your search with a different keyword or use * as a wildcard.

Credentials.cs

using Newtonsoft.Json;

namespace Nop.Plugin.Payments.PayPalCommerce.Services.Api.Models;

/// 
/// Represents the REST API application credentials
/// 
public class Credentials
{
    #region Properties

    /// 
    /// Gets or sets the REST API client id.
    /// 
    [JsonProperty(PropertyName = "client_id")]
    public string ClientId { get; set; }

    /// 
    /// Gets or sets the REST API client secret.
    /// 
    [JsonProperty(PropertyName = "client_secret")]
    public string ClientSecret { get; set; }

    /// 
    /// Gets or sets the PayPal-assigned ID for the payer.
    /// 
    [JsonProperty(PropertyName = "payer_id")]
    public string PayerId { get; set; }

    #endregion
}