Webiant Logo Webiant Logo
  1. No results found.

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

PayPalToken.cs

using Nop.Core;

namespace Nop.Plugin.Payments.PayPalCommerce.Domain;

/// 
/// Represents the PayPal payment token
/// 
public class PayPalToken : BaseEntity
{
    /// 
    /// Gets or sets the customer identifier
    /// 
    public int CustomerId { get; set; }

    /// 
    /// Gets or sets the Vault identifier
    /// 
    public string VaultId { get; set; }

    /// 
    /// Gets or sets the unique ID for a customer in PayPal Vault
    /// 
    public string VaultCustomerId { get; set; }

    /// 
    /// Gets or sets the related transaction identifier
    /// 
    public string TransactionId { get; set; }

    /// 
    /// Gets or sets a value indicating whether the token is a primary customer's payment method
    /// 
    public bool IsPrimaryMethod { get; set; }

    /// 
    /// Gets or sets the token type
    /// 
    public string Type { get; set; }

    /// 
    /// Gets or sets the merchant client id
    /// 
    public string ClientId { get; set; }

    /// 
    /// Gets or sets the payment method title
    /// 
    public string Title { get; set; }

    /// 
    /// Gets or sets the payment method expiration
    /// 
    public string Expiration { get; set; }
}