using Newtonsoft.Json; namespace Nop.Plugin.Payments.PayPalCommerce.Services.Api.Models; /// /// Represents the details about a saved payment source /// public class Vault { #region Properties /// /// Gets or sets the PayPal-generated ID for the saved payment source. /// [JsonProperty(PropertyName = "id")] public string Id { get; set; } /// /// Gets or sets the vault status. /// [JsonProperty(PropertyName = "status")] public string Status { get; set; } /// /// Gets or sets the array of request-related [HATEOAS links](/docs/api/reference/api-responses/#hateoas-links). To complete payer approval, use the `approve` link with the `GET` method. /// [JsonProperty(PropertyName = "links")] public List Links { get; set; } /// /// Gets or sets the customer in merchant's system of records. /// [JsonProperty(PropertyName = "customer")] public Payer Customer { get; set; } #endregion }