Files
juipnet/Infrastructure/ServiceClient/Alipay.AopSdk.Core/Domain/AlipayTradeCustomsDeclareModel.cs
wanyongkang d318014316 初始提交
2020-10-07 20:25:03 +08:00

66 lines
2.2 KiB
C#
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
using System;
using Newtonsoft.Json;
namespace Alipay.AopSdk.Core.Domain
{
/// <summary>
/// AlipayTradeCustomsDeclareModel Data Structure.
/// </summary>
[Serializable]
public class AlipayTradeCustomsDeclareModel : AopObject
{
/// <summary>
/// 报关金额单位为人民币“元”精确到小数点后2位。
/// </summary>
[JsonProperty("amount")]
public string Amount { get; set; }
/// <summary>
/// 订购人身份信息
/// </summary>
[JsonProperty("buyer_info")]
public CustomsDeclareBuyerInfo BuyerInfo { get; set; }
/// <summary>
/// 海关编号(大小写皆可)。参见“ <a href="https://doc.open.alipay.com/docs/doc.htm?treeId=267&articleId=105883&docType=1">海关编号</a>”。
/// </summary>
[JsonProperty("customs_place")]
public string CustomsPlace { get; set; }
/// <summary>
/// 商户控制本单是否拆单的报关参数。 仅当该参数传值为T或者t时才会触发拆单。
/// </summary>
[JsonProperty("is_split")]
public string IsSplit { get; set; }
/// <summary>
/// 商户在海关备案的编号。
/// </summary>
[JsonProperty("merchant_customs_code")]
public string MerchantCustomsCode { get; set; }
/// <summary>
/// 商户海关备案名称。
/// </summary>
[JsonProperty("merchant_customs_name")]
public string MerchantCustomsName { get; set; }
/// <summary>
/// 报关流水号。商户生成的用于唯一标识一次报关操作的业务编号。 建议生成规则yyyymmdd型8位日期拼接4位序列号。每个报关请求号仅允许传入数字、英文字母、下划线”_”、短横线”” 。长度6-32位前后不能有空格
/// </summary>
[JsonProperty("out_request_no")]
public string OutRequestNo { get; set; }
/// <summary>
/// 拆单报关的商户子订单号。 用于区别拆单时不同子单。拆单时必须传入否则会报INVALID_PARAMETER错误码。
/// </summary>
[JsonProperty("sub_out_biz_no")]
public string SubOutBizNo { get; set; }
/// <summary>
/// 支付宝交易号。该交易在支付宝系统中的交易流水号最长64位。
/// </summary>
[JsonProperty("trade_no")]
public string TradeNo { get; set; }
}
}