Webiant Logo Webiant Logo
  1. No results found.

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

EventType.cs

using Newtonsoft.Json;

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

/// 
/// Represents the event type
/// 
public class EventType
{
    #region Properties

    /// 
    /// Gets or sets the unique event name.
    /// 
    [JsonProperty(PropertyName = "name")]
    public string Name { get; set; }

    /// 
    /// Gets or sets the human-readable description of the event.
    /// 
    [JsonProperty(PropertyName = "description")]
    public string Description { get; set; }

    /// 
    /// Gets or sets the status of a webhook event.
    /// 
    [JsonProperty(PropertyName = "status")]
    public string Status { get; set; }

    /// 
    /// Gets or sets the identifier for the event type example: 1.0/2.0 etc.
    /// 
    [JsonProperty(PropertyName = "resource_versions")]
    public List ResourceVersions { get; set; }

    #endregion
}