Webiant Logo Webiant Logo
  1. No results found.

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

ExceptionDetails.cs

using Newtonsoft.Json;

namespace PayPalCheckoutSdk.Core;

/// 
/// Represents an exception details
/// 
public class ExceptionDetails
{
    #region Properties

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

    /// 
    /// Gets or sets the message
    /// 
    [JsonProperty(PropertyName = "message")]
    public string Message { get; set; }

    /// 
    /// Gets or sets the debug id
    /// 
    [JsonProperty(PropertyName = "debug_id")]
    public string DebugId { get; set; }

    /// 
    /// Gets or sets the details
    /// 
    [JsonProperty(PropertyName = "details")]
    public List Details { get; set; }

    /// 
    /// Gets or sets the links
    /// 
    [JsonProperty(PropertyName = "links")]
    public List Links { get; set; }

    #endregion

    #region Nested classes

    public class Detail
    {
        /// 
        /// Gets or sets the field
        /// 
        [JsonProperty(PropertyName = "field")]
        public string Field { get; set; }

        /// 
        /// Gets or sets the value
        /// 
        [JsonProperty(PropertyName = "value")]
        public string Value { get; set; }

        /// 
        /// Gets or sets the location
        /// 
        [JsonProperty(PropertyName = "location")]
        public string Location { get; set; }

        /// 
        /// Gets or sets the issue
        /// 
        [JsonProperty(PropertyName = "issue")]
        public string Issue { get; set; }

        /// 
        /// Gets or sets the description
        /// 
        [JsonProperty(PropertyName = "description")]
        public string Description { get; set; }
    }

    public class Link
    {
        /// 
        /// Gets or sets the href
        /// 
        [JsonProperty(PropertyName = "href")]
        public string Href { get; set; }

        /// 
        /// Gets or sets the rel
        /// 
        [JsonProperty(PropertyName = "rel")]
        public string Rel { get; set; }

        /// 
        /// Gets or sets the encryption type
        /// 
        [JsonProperty(PropertyName = "encType")]
        public string EncType { get; set; }
    }

    #endregion
}