NewGaoKaoApi/PaymentSDK/AliPay/Domain/KoubeiItemStateModel.cs

49 lines
1.7 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>
/// KoubeiItemStateModel Data Structure.
/// </summary>
[Serializable]
public class KoubeiItemStateModel : AopObject
{
/// <summary>
/// 服务商、服务商员工、商户、商户员工等口碑角色操作时必填对应为《koubei.member.data.oauth.query》中的auth_code有效期24小时
/// </summary>
[XmlElement("auth_code")]
public string AuthCode { get; set; }
/// <summary>
/// 口碑体系内部商品的唯一标识后续的增删改查接口都使用该ID作为主键
/// </summary>
[XmlElement("item_id")]
public string ItemId { get; set; }
/// <summary>
/// 备注
/// </summary>
[XmlElement("memo")]
public string Memo { get; set; }
/// <summary>
/// 操作上下文 ISV角色操作时必填其他角色不需填写
/// </summary>
[XmlElement("operation_context")]
public KoubeiOperationContext OperationContext { get; set; }
/// <summary>
/// 支持英文字母和数字由开发者自行定义不允许重复在商品notify消息中也会带有该参数以此标明本次notify消息是对哪个请求的回应
/// </summary>
[XmlElement("request_id")]
public string RequestId { get; set; }
/// <summary>
/// 控制商品的售卖状态RESUME恢复售卖PAUSE暂停售卖,C端不可见;
/// </summary>
[XmlElement("state_type")]
public string StateType { get; set; }
}
}