/* * Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, * software distributed under the License is distributed on an * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY * KIND, either express or implied. See the License for the * specific language governing permissions and limitations * under the License. */ namespace TencentCloud.Redis.V20180412.Models { using Newtonsoft.Json; using System.Collections.Generic; using TencentCloud.Common; public class TradeDealDetail : AbstractModel { /// /// 订单号ID,调用云API时使用此ID /// [JsonProperty("DealId")] public string DealId{ get; set; } /// /// 长订单ID,反馈订单问题给官方客服使用此ID /// [JsonProperty("DealName")] public string DealName{ get; set; } /// /// 可用区id /// [JsonProperty("ZoneId")] public long? ZoneId{ get; set; } /// /// 订单关联的实例数 /// [JsonProperty("GoodsNum")] public long? GoodsNum{ get; set; } /// /// 创建用户uin /// [JsonProperty("Creater")] public string Creater{ get; set; } /// /// 订单创建时间 /// [JsonProperty("CreatTime")] public string CreatTime{ get; set; } /// /// 订单超时时间 /// [JsonProperty("OverdueTime")] public string OverdueTime{ get; set; } /// /// 订单完成时间 /// [JsonProperty("EndTime")] public string EndTime{ get; set; } /// /// 订单状态 1:未支付 2:已支付,未发货 3:发货中 4:发货成功 5:发货失败 6:已退款 7:已关闭订单 8:订单过期 9:订单已失效 10:产品已失效 11:代付拒绝 12:支付中 /// [JsonProperty("Status")] public long? Status{ get; set; } /// /// 订单状态描述 /// [JsonProperty("Description")] public string Description{ get; set; } /// /// 订单实际总价,单位:分 /// [JsonProperty("Price")] public long? Price{ get; set; } /// /// 实例ID /// [JsonProperty("InstanceIds")] public string[] InstanceIds{ get; set; } /// /// For internal usage only. DO NOT USE IT. /// internal override void ToMap(Dictionary map, string prefix) { this.SetParamSimple(map, prefix + "DealId", this.DealId); this.SetParamSimple(map, prefix + "DealName", this.DealName); this.SetParamSimple(map, prefix + "ZoneId", this.ZoneId); this.SetParamSimple(map, prefix + "GoodsNum", this.GoodsNum); this.SetParamSimple(map, prefix + "Creater", this.Creater); this.SetParamSimple(map, prefix + "CreatTime", this.CreatTime); this.SetParamSimple(map, prefix + "OverdueTime", this.OverdueTime); this.SetParamSimple(map, prefix + "EndTime", this.EndTime); this.SetParamSimple(map, prefix + "Status", this.Status); this.SetParamSimple(map, prefix + "Description", this.Description); this.SetParamSimple(map, prefix + "Price", this.Price); this.SetParamArraySimple(map, prefix + "InstanceIds.", this.InstanceIds); } } }