using System;
using System.Collections.Generic;
using Top.Api.Util;
namespace Top.Api.Request
{
///
/// TOP API: taobao.trade.invoice.amount.get
///
public class TradeInvoiceAmountGetRequest : BaseTopRequest
{
///
/// 业务订单ID
///
public Nullable Tid { get; set; }
#region ITopRequest Members
public override string GetApiName()
{
return "taobao.trade.invoice.amount.get";
}
public override IDictionary GetParameters()
{
TopDictionary parameters = new TopDictionary();
parameters.Add("tid", this.Tid);
if (this.otherParams != null)
{
parameters.AddAll(this.otherParams);
}
return parameters;
}
public override void Validate()
{
RequestValidator.ValidateRequired("tid", this.Tid);
}
#endregion
}
}