using System; using System.Xml.Serialization; namespace Aop.Api.Response { /// /// AlipaySystemOauthTokenResponse. /// public class AlipaySystemOauthTokenResponse : AopResponse { /// /// 访问令牌 /// [XmlElement("access_token")] public string AccessToken { get; set; } /// /// 支付宝用户的id,默认不返回 /// [XmlElement("alipay_user_id")] public string AlipayUserId { get; set; } /// /// 访问令牌的有效时间,单位是秒。 /// [XmlElement("expires_in")] public string ExpiresIn { get; set; } /// /// 刷新令牌的有效时间,单位是秒。 /// [XmlElement("re_expires_in")] public string ReExpiresIn { get; set; } /// /// 刷新令牌 /// [XmlElement("refresh_token")] public string RefreshToken { get; set; } } }