Webiant Logo Webiant Logo
  1. No results found.

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

Token.cs

using Newtonsoft.Json;

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

/// 
/// Represents the tokenized payment source to fund a payment
/// 
public class Token
{
    #region Properties

    /// 
    /// Gets or sets the PayPal-generated ID for the token.
    /// 
    [JsonProperty(PropertyName = "id")]
    public string Id { get; set; }

    /// 
    /// Gets or sets the tokenization method that generated the ID.
    /// 
    [JsonProperty(PropertyName = "type")]
    public string Type { get; set; }

    #endregion
}