Webiant Logo Webiant Logo
  1. No results found.

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

PayPal.cs

using Newtonsoft.Json;

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

/// 
/// Represents the PayPal Wallet to use to fund a payment
/// 
public class PayPal : Payer
{
    #region Properties

    /// 
    /// Gets or sets the account identifier for a PayPal account.
    /// 
    [JsonProperty(PropertyName = "account_id")]
    public string AccountId { get; set; }

    /// 
    /// Gets or sets the payer experience during the approval process for payment with PayPal.
    /// 
    [JsonProperty(PropertyName = "experience_context")]
    public ExperienceContext ExperienceContext { get; set; }

    /// 
    /// Gets or sets the PayPal billing agreement ID. References an approved recurring payment for goods or services.
    /// 
    [JsonProperty(PropertyName = "billing_agreement_id")]
    public string BillingAgreementId { get; set; }

    /// 
    /// Gets or sets the PayPal-generated ID for the saved payment source. Typically stored on the merchant's server.
    /// 
    [JsonProperty(PropertyName = "vault_id")]
    public string VaultId { get; set; }

    /// 
    /// Gets or sets the additional attributes associated with the use of this wallet.
    /// 
    [JsonProperty(PropertyName = "attributes")]
    public Attributes Attributes { get; set; }

    /// 
    /// Gets or sets the additional details to process a payment using the PayPal wallet billing agreement or a vaulted payment method that has been stored or is intended to be stored.
    /// 
    [JsonProperty(PropertyName = "stored_credential")]
    public StoredCredential StoredCredential { get; set; }

    #endregion
}