using System; using System.Collections.Generic; using Top.Api.Util; namespace Top.Api.Request { /// /// TOP API: taobao.trade.confirmfee.get /// public class TradeConfirmfeeGetRequest : BaseTopRequest { /// /// 交易主订单或子订单ID /// public Nullable Tid { get; set; } #region ITopRequest Members public override string GetApiName() { return "taobao.trade.confirmfee.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 } }