Files
g.hnyhua.cn/TencentCloud/Redis/V20180412/Models/TradeDealDetail.cs

121 lines
4.0 KiB
C#
Raw Normal View History

/*
* 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
{
/// <summary>
/// 订单号ID调用云API时使用此ID
/// </summary>
[JsonProperty("DealId")]
public string DealId{ get; set; }
/// <summary>
/// 长订单ID反馈订单问题给官方客服使用此ID
/// </summary>
[JsonProperty("DealName")]
public string DealName{ get; set; }
/// <summary>
/// 可用区id
/// </summary>
[JsonProperty("ZoneId")]
public long? ZoneId{ get; set; }
/// <summary>
/// 订单关联的实例数
/// </summary>
[JsonProperty("GoodsNum")]
public long? GoodsNum{ get; set; }
/// <summary>
/// 创建用户uin
/// </summary>
[JsonProperty("Creater")]
public string Creater{ get; set; }
/// <summary>
/// 订单创建时间
/// </summary>
[JsonProperty("CreatTime")]
public string CreatTime{ get; set; }
/// <summary>
/// 订单超时时间
/// </summary>
[JsonProperty("OverdueTime")]
public string OverdueTime{ get; set; }
/// <summary>
/// 订单完成时间
/// </summary>
[JsonProperty("EndTime")]
public string EndTime{ get; set; }
/// <summary>
/// 订单状态 1未支付 2:已支付,未发货 3:发货中 4:发货成功 5:发货失败 6:已退款 7:已关闭订单 8:订单过期 9:订单已失效 10:产品已失效 11:代付拒绝 12:支付中
/// </summary>
[JsonProperty("Status")]
public long? Status{ get; set; }
/// <summary>
/// 订单状态描述
/// </summary>
[JsonProperty("Description")]
public string Description{ get; set; }
/// <summary>
/// 订单实际总价,单位:分
/// </summary>
[JsonProperty("Price")]
public long? Price{ get; set; }
/// <summary>
/// 实例ID
/// </summary>
[JsonProperty("InstanceIds")]
public string[] InstanceIds{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> 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);
}
}
}