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 card 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; } #endregion }