using Newtonsoft.Json; namespace Nop.Plugin.Payments.PayPalCommerce.Services.Api.Models; /// /// Represents the payments history /// public class Payments { #region Properties /// /// Gets or sets the array of authorized payments for a purchase unit. A purchase unit can have zero or more authorized payments. /// [JsonProperty(PropertyName = "authorizations")] public List Authorizations { get; set; } /// /// Gets or sets the array of captured payments for a purchase unit. A purchase unit can have zero or more captured payments. /// [JsonProperty(PropertyName = "captures")] public List Captures { get; set; } /// /// Gets or sets the array of refunds for a purchase unit. A purchase unit can have zero or more refunds. /// [JsonProperty(PropertyName = "refunds")] public List Refunds { get; set; } #endregion }