using Newtonsoft.Json; namespace Nop.Plugin.Misc.Zettle.Domain.Api.OAuth; /// /// Represents authentication details /// public class Authentication : ApiResponse { /// /// Gets or sets the access token that is exchanged with the authorisation code /// [JsonProperty(PropertyName = "access_token")] public string AccessToken { get; set; } /// /// Gets or sets the remaining lifetime of an access token in seconds /// [JsonProperty(PropertyName = "expires_in")] public int? ExpiresIn { get; set; } }