using Newtonsoft.Json; namespace PepperDash.Essentials { /// /// Represents a AuthorizationResponse /// public class AuthorizationResponse { /// /// Gets or sets the Authorized /// [JsonProperty("authorized")] public bool Authorized { get; set; } /// /// Gets or sets the Reason /// [JsonProperty("reason", NullValueHandling = NullValueHandling.Ignore)] public string Reason { get; set; } = null; } /// /// Represents a AuthorizationRequest /// public class AuthorizationRequest { /// /// Gets or sets the GrantCode /// [JsonProperty("grantCode")] public string GrantCode { get; set; } } }