Webiant Logo Webiant Logo
  1. No results found.

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

StoredCredential.cs

using Newtonsoft.Json;

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

/// 
/// Represents the additional details to process a payment using a card that has been stored
/// 
public class StoredCredential
{
    #region Properties

    /// 
    /// Gets or sets the person or party who initiated or triggered the payment.
    /// 
    [JsonProperty(PropertyName = "payment_initiator")]
    public string PaymentInitiator { get; set; }

    /// 
    /// Gets or sets the type of the stored payment_source payment.
    /// 
    [JsonProperty(PropertyName = "payment_type")]
    public string PaymentType { get; set; }

    /// 
    /// Gets or sets the value if this is a first or subsequent payment using a stored payment source (also referred to as stored credential or card on file).
    /// 
    [JsonProperty(PropertyName = "usage")]
    public string Usage { get; set; }

    /// 
    /// Gets or sets the value if this is a first or subsequent payment using a stored payment source (also referred to as stored credential or card on file).
    /// 
    [JsonProperty(PropertyName = "usage_pattern")]
    public string UsagePattern { get; set; }

    /// 
    /// Gets or sets the reference values used by the card network to identify a transaction.
    /// 
    [JsonProperty(PropertyName = "previous_network_transaction_reference")]
    public NetworkTransactionReference PreviousNetworkTransactionReference { get; set; }

    #endregion
}