NewGaoKaoApi/PaymentSDK/AliPay/Response/AlipayOpenAgentCreateRespon...

24 lines
1.4 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.Response
{
/// <summary>
/// AlipayOpenAgentCreateResponse.
/// </summary>
public class AlipayOpenAgentCreateResponse : AopResponse
{
/// <summary>
/// 本次代商户操作的全局唯一事务编号后续代商户创建小程序、代签约当面付等产品、提交事务等接口都需要传递该batch_no值且要确认只有 init 状态的batch_no才能发起调用。
/// </summary>
[XmlElement("batch_no")]
public string BatchNo { get; set; }
/// <summary>
/// ISV 代商户操作事务状态,事务状态包括: init=初始状态本接口alipay.open.agent.create返回 init 状态只有init状态允许进行各种业务接口调用 submit=提交状态事务已经到达终态调用alipay.open.agent.confirm接口可以提交init状态的事务 cancel=取消状态事务已经到达终态调用alipay.open.agent.cancel接口可以取消init状态的事务 timeout=超时状态事务已经到达终态init状态的事务在【1个小时】后会自动超时 注意:只有 init 状态才允许进行接口调用,其它状态都是终态,不允许继续进行接口调用。
/// </summary>
[XmlElement("batch_status")]
public string BatchStatus { get; set; }
}
}