NewGaoKaoApi/PaymentSDK/AliPay/Domain/KoubeiMemberDataOauthQueryM...

31 lines
1.2 KiB
C#
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

using System;
using System.Xml.Serialization;
namespace Aop.Api.Domain
{
/// <summary>
/// KoubeiMemberDataOauthQueryModel Data Structure.
/// </summary>
[Serializable]
public class KoubeiMemberDataOauthQueryModel : AopObject
{
/// <summary>
/// 授权业务类型目前统一只有pay_member
/// </summary>
[XmlElement("auth_type")]
public string AuthType { get; set; }
/// <summary>
/// 授权码用于换取授权信息如操作人id等.获取方式:跳转isv地址中会带有此code参数。auth_code一次有效auth_code有效期为3分钟到24小时开放平台规则会根据具体的业务场景动态调整auth_code的有效期但是不会低于3分钟同时也不会超过24小时超过有效期的auth_code即使未使用也将无法使用。用户的每次授权动作都会生成一个新的auth_code。
/// </summary>
[XmlElement("code")]
public string Code { get; set; }
/// <summary>
/// 扩展参数,目前保留未用,开发者请忽略此参数
/// </summary>
[XmlElement("ext_info")]
public string ExtInfo { get; set; }
}
}