/*
* 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.Mongodb.V20190725.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class DescribeDBInstanceDealResponse : AbstractModel
{
///
/// 订单状态,1:未支付,2:已支付,3:发货中,4:发货成功,5:发货失败,6:退款,7:订单关闭,8:超时未支付关闭。
///
[JsonProperty("Status")]
public long? Status{ get; set; }
///
/// 订单原价。
///
[JsonProperty("OriginalPrice")]
public float? OriginalPrice{ get; set; }
///
/// 订单折扣价格。
///
[JsonProperty("DiscountPrice")]
public float? DiscountPrice{ get; set; }
///
/// 订单行为,purchase:新购,renew:续费,upgrade:升配,downgrade:降配,refund:退货退款。
///
[JsonProperty("Action")]
public string Action{ get; set; }
///
/// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
///
[JsonProperty("RequestId")]
public string RequestId{ get; set; }
///
/// For internal usage only. DO NOT USE IT.
///
internal override void ToMap(Dictionary map, string prefix)
{
this.SetParamSimple(map, prefix + "Status", this.Status);
this.SetParamSimple(map, prefix + "OriginalPrice", this.OriginalPrice);
this.SetParamSimple(map, prefix + "DiscountPrice", this.DiscountPrice);
this.SetParamSimple(map, prefix + "Action", this.Action);
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
}
}
}