using Newtonsoft.Json; using Nop.Plugin.Payments.PayPalCommerce.Services.Api.Models; namespace Nop.Plugin.Payments.PayPalCommerce.Services.Api.PaymentTokens; /// /// Represents the response to a request to get customers' payment tokens /// public class GetPaymentTokensResponse : IApiResponse { #region Properties /// /// Gets or sets the array of payment tokens. /// [JsonProperty(PropertyName = "payment_tokens")] public List PaymentTokens { 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; } /// /// Gets or sets the total number of items. /// [JsonProperty(PropertyName = "total_items")] public int? TotalItems { get; set; } /// /// Gets or sets the total number of pages. /// [JsonProperty(PropertyName = "total_pages")] public int? TotalPages { get; set; } #endregion }