Webiant Logo Webiant Logo
  1. No results found.

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

RecurringPaymentSource.cs

using Newtonsoft.Json;
using Nop.Plugin.Payments.PayPalCommerce.Services.Api.Models.PaymentSources;

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

/// 
/// Represents the recurring payment source
/// 
public class RecurringPaymentSource
{
    #region Properties

    /// 
    /// Gets or sets the vaulted PayPal Wallet payment source.
    /// 
    [JsonProperty(PropertyName = "paypal")]
    public VaultPayPal PayPal { get; set; }

    /// 
    /// Gets or sets the Resource representing a request to vault a Card.
    /// 
    [JsonProperty(PropertyName = "card")]
    public Card Card { get; set; }

    /// 
    /// Gets or sets the tokenized Payment Source representing a Request to Vault a Token.
    /// 
    [JsonProperty(PropertyName = "token")]
    public Token Token { get; set; }

    #endregion
}