/src/main/java/com/tencentcloudapi/mongodb/v20190725/models/DescribeDBInstanceDealResponse.java

https://github.com/TencentCloud/tencentcloud-sdk-java · Java · 152 lines · 59 code · 20 blank · 73 comment · 0 complexity · c6b5593d1b2c24e3118ca9f4741dcc5d MD5 · raw file

  1. /*
  2. * Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved.
  3. *
  4. * Licensed under the Apache License, Version 2.0 (the "License");
  5. * you may not use this file except in compliance with the License.
  6. * You may obtain a copy of the License at
  7. *
  8. * http://www.apache.org/licenses/LICENSE-2.0
  9. *
  10. * Unless required by applicable law or agreed to in writing, software
  11. * distributed under the License is distributed on an "AS IS" BASIS,
  12. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  13. * See the License for the specific language governing permissions and
  14. * limitations under the License.
  15. */
  16. package com.tencentcloudapi.mongodb.v20190725.models;
  17. import com.tencentcloudapi.common.AbstractModel;
  18. import com.google.gson.annotations.SerializedName;
  19. import com.google.gson.annotations.Expose;
  20. import java.util.HashMap;
  21. public class DescribeDBInstanceDealResponse extends AbstractModel{
  22. /**
  23. * 订单状态,1:未支付,2:已支付,3:发货中,4:发货成功,5:发货失败,6:退款,7:订单关闭,8:超时未支付关闭。
  24. */
  25. @SerializedName("Status")
  26. @Expose
  27. private Long Status;
  28. /**
  29. * 订单原价。
  30. */
  31. @SerializedName("OriginalPrice")
  32. @Expose
  33. private Float OriginalPrice;
  34. /**
  35. * 订单折扣价格。
  36. */
  37. @SerializedName("DiscountPrice")
  38. @Expose
  39. private Float DiscountPrice;
  40. /**
  41. * 订单行为,purchase:新购,renew:续费,upgrade:升配,downgrade:降配,refund:退货退款。
  42. */
  43. @SerializedName("Action")
  44. @Expose
  45. private String Action;
  46. /**
  47. * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
  48. */
  49. @SerializedName("RequestId")
  50. @Expose
  51. private String RequestId;
  52. /**
  53. * Get 订单状态,1:未支付,2:已支付,3:发货中,4:发货成功,5:发货失败,6:退款,7:订单关闭,8:超时未支付关闭。
  54. * @return Status 订单状态,1:未支付,2:已支付,3:发货中,4:发货成功,5:发货失败,6:退款,7:订单关闭,8:超时未支付关闭。
  55. */
  56. public Long getStatus() {
  57. return this.Status;
  58. }
  59. /**
  60. * Set 订单状态,1:未支付,2:已支付,3:发货中,4:发货成功,5:发货失败,6:退款,7:订单关闭,8:超时未支付关闭。
  61. * @param Status 订单状态,1:未支付,2:已支付,3:发货中,4:发货成功,5:发货失败,6:退款,7:订单关闭,8:超时未支付关闭。
  62. */
  63. public void setStatus(Long Status) {
  64. this.Status = Status;
  65. }
  66. /**
  67. * Get 订单原价。
  68. * @return OriginalPrice 订单原价。
  69. */
  70. public Float getOriginalPrice() {
  71. return this.OriginalPrice;
  72. }
  73. /**
  74. * Set 订单原价。
  75. * @param OriginalPrice 订单原价。
  76. */
  77. public void setOriginalPrice(Float OriginalPrice) {
  78. this.OriginalPrice = OriginalPrice;
  79. }
  80. /**
  81. * Get 订单折扣价格。
  82. * @return DiscountPrice 订单折扣价格。
  83. */
  84. public Float getDiscountPrice() {
  85. return this.DiscountPrice;
  86. }
  87. /**
  88. * Set 订单折扣价格。
  89. * @param DiscountPrice 订单折扣价格。
  90. */
  91. public void setDiscountPrice(Float DiscountPrice) {
  92. this.DiscountPrice = DiscountPrice;
  93. }
  94. /**
  95. * Get 订单行为,purchase:新购,renew:续费,upgrade:升配,downgrade:降配,refund:退货退款。
  96. * @return Action 订单行为,purchase:新购,renew:续费,upgrade:升配,downgrade:降配,refund:退货退款。
  97. */
  98. public String getAction() {
  99. return this.Action;
  100. }
  101. /**
  102. * Set 订单行为,purchase:新购,renew:续费,upgrade:升配,downgrade:降配,refund:退货退款。
  103. * @param Action 订单行为,purchase:新购,renew:续费,upgrade:升配,downgrade:降配,refund:退货退款。
  104. */
  105. public void setAction(String Action) {
  106. this.Action = Action;
  107. }
  108. /**
  109. * Get 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
  110. * @return RequestId 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
  111. */
  112. public String getRequestId() {
  113. return this.RequestId;
  114. }
  115. /**
  116. * Set 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
  117. * @param RequestId 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
  118. */
  119. public void setRequestId(String RequestId) {
  120. this.RequestId = RequestId;
  121. }
  122. /**
  123. * Internal implementation, normal users should not use it.
  124. */
  125. public void toMap(HashMap<String, String> map, String prefix) {
  126. this.setParamSimple(map, prefix + "Status", this.Status);
  127. this.setParamSimple(map, prefix + "OriginalPrice", this.OriginalPrice);
  128. this.setParamSimple(map, prefix + "DiscountPrice", this.DiscountPrice);
  129. this.setParamSimple(map, prefix + "Action", this.Action);
  130. this.setParamSimple(map, prefix + "RequestId", this.RequestId);
  131. }
  132. }