接口文件
This commit is contained in:
@@ -0,0 +1,72 @@
|
||||
using System;
|
||||
using Newtonsoft.Json;
|
||||
|
||||
namespace Alipay.AopSdk.Core.Domain
|
||||
{
|
||||
/// <summary>
|
||||
/// InvoiceItemContent Data Structure.
|
||||
/// </summary>
|
||||
[Serializable]
|
||||
public class InvoiceItemContent : AopObject
|
||||
{
|
||||
/// <summary>
|
||||
/// 价税合计。(等于sumPrice和tax之和)
|
||||
/// </summary>
|
||||
[JsonProperty("item_amount")]
|
||||
public string ItemAmount { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 发票项目名称(或商品名称)
|
||||
/// </summary>
|
||||
[JsonProperty("item_name")]
|
||||
public string ItemName { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 商品编号
|
||||
/// </summary>
|
||||
[JsonProperty("item_no")]
|
||||
public string ItemNo { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 单价,格式:100.00。新版电子发票,折扣行此参数不能传,非折扣行必传
|
||||
/// </summary>
|
||||
[JsonProperty("item_price")]
|
||||
public string ItemPrice { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 数量。新版电子发票,折扣行此参数不能传,非折扣行必传
|
||||
/// </summary>
|
||||
[JsonProperty("item_quantity")]
|
||||
public long ItemQuantity { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 单项总价,格式:100.00
|
||||
/// </summary>
|
||||
[JsonProperty("item_sum_price")]
|
||||
public string ItemSumPrice { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 税额
|
||||
/// </summary>
|
||||
[JsonProperty("item_tax_price")]
|
||||
public string ItemTaxPrice { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 税率
|
||||
/// </summary>
|
||||
[JsonProperty("item_tax_rate")]
|
||||
public string ItemTaxRate { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 台
|
||||
/// </summary>
|
||||
[JsonProperty("item_unit")]
|
||||
public string ItemUnit { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 发票行性质。0表示正常行,1表示折扣行,2表示被折扣行。比如充电器单价100元,折扣10元,则明细为2行,充电器行性质为2,折扣行性质为1。如果充电器没有折扣,则值应为0
|
||||
/// </summary>
|
||||
[JsonProperty("row_type")]
|
||||
public long RowType { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user