NewGaoKaoApi/PaymentSDK/AliPay/Domain/StockTaskResult.cs

57 lines
1.5 KiB
C#
Raw Permalink 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;
using System.Collections.Generic;
namespace Aop.Api.Domain
{
/// <summary>
/// StockTaskResult Data Structure.
/// </summary>
[Serializable]
public class StockTaskResult : AopObject
{
/// <summary>
/// 售价方式CPP按人次保量、CPT按时长售卖
/// </summary>
[XmlElement("charge_type")]
public long ChargeType { get; set; }
/// <summary>
/// 库存任务创建时间
/// </summary>
[XmlElement("query_time")]
public string QueryTime { get; set; }
/// <summary>
/// 售卖方式枚举值1:GD保量、2:RTB竞价
/// </summary>
[XmlElement("sell_mode")]
public long SellMode { get; set; }
/// <summary>
/// 库存查询量
/// </summary>
[XmlArray("stock_quantity")]
[XmlArrayItem("stock_quantity")]
public List<StockQuantity> StockQuantity { get; set; }
/// <summary>
/// 库存任务查询条件
/// </summary>
[XmlElement("stock_query_condition")]
public StockQueryCondition StockQueryCondition { get; set; }
/// <summary>
/// 任务id
/// </summary>
[XmlElement("task_id")]
public long TaskId { get; set; }
/// <summary>
/// 单价CPP模式下 分/千人次, CPT模式下 分/秒)
/// </summary>
[XmlElement("unit_price")]
public long UnitPrice { get; set; }
}
}