lib/v20180321/models.rb in tencentcloud-sdk-partners-3.0.617 vs lib/v20180321/models.rb in tencentcloud-sdk-partners-3.0.618

- old
+ new

@@ -305,14 +305,17 @@ # 注意:此字段可能返回 null,表示取不到有效值。 # @type UpdateTime: String # @param ResourceIds: 资源id # 注意:此字段可能返回 null,表示取不到有效值。 # @type ResourceIds: Array + # @param RefundMap: 退款单的原订单信息。当前仅 DescribeClientDealsByCache 接口会返回该字段 + # 注意:此字段可能返回 null,表示取不到有效值。 + # @type RefundMap: Array - attr_accessor :DealId, :DealName, :GoodsCategoryId, :OwnerUin, :AppId, :GoodsNum, :GoodsPrice, :Creater, :CreatTime, :PayEndTime, :BillId, :Payer, :DealStatus, :Status, :GoodsName, :ClientRemark, :ActionType, :VoucherDecline, :BigDealId, :ClientType, :ProjectType, :SalesUin, :PayerMode, :ActivityId, :OverdueTime, :ProductInfo, :PaymentMethod, :UpdateTime, :ResourceIds + attr_accessor :DealId, :DealName, :GoodsCategoryId, :OwnerUin, :AppId, :GoodsNum, :GoodsPrice, :Creater, :CreatTime, :PayEndTime, :BillId, :Payer, :DealStatus, :Status, :GoodsName, :ClientRemark, :ActionType, :VoucherDecline, :BigDealId, :ClientType, :ProjectType, :SalesUin, :PayerMode, :ActivityId, :OverdueTime, :ProductInfo, :PaymentMethod, :UpdateTime, :ResourceIds, :RefundMap - def initialize(dealid=nil, dealname=nil, goodscategoryid=nil, owneruin=nil, appid=nil, goodsnum=nil, goodsprice=nil, creater=nil, creattime=nil, payendtime=nil, billid=nil, payer=nil, dealstatus=nil, status=nil, goodsname=nil, clientremark=nil, actiontype=nil, voucherdecline=nil, bigdealid=nil, clienttype=nil, projecttype=nil, salesuin=nil, payermode=nil, activityid=nil, overduetime=nil, productinfo=nil, paymentmethod=nil, updatetime=nil, resourceids=nil) + def initialize(dealid=nil, dealname=nil, goodscategoryid=nil, owneruin=nil, appid=nil, goodsnum=nil, goodsprice=nil, creater=nil, creattime=nil, payendtime=nil, billid=nil, payer=nil, dealstatus=nil, status=nil, goodsname=nil, clientremark=nil, actiontype=nil, voucherdecline=nil, bigdealid=nil, clienttype=nil, projecttype=nil, salesuin=nil, payermode=nil, activityid=nil, overduetime=nil, productinfo=nil, paymentmethod=nil, updatetime=nil, resourceids=nil, refundmap=nil) @DealId = dealid @DealName = dealname @GoodsCategoryId = goodscategoryid @OwnerUin = owneruin @AppId = appid @@ -338,10 +341,11 @@ @OverdueTime = overduetime @ProductInfo = productinfo @PaymentMethod = paymentmethod @UpdateTime = updatetime @ResourceIds = resourceids + @RefundMap = refundmap end def deserialize(params) @DealId = params['DealId'] @DealName = params['DealName'] @@ -380,10 +384,18 @@ end end @PaymentMethod = params['PaymentMethod'] @UpdateTime = params['UpdateTime'] @ResourceIds = params['ResourceIds'] + unless params['RefundMap'].nil? + @RefundMap = [] + params['RefundMap'].each do |i| + refundmap_tmp = RefundMap.new + refundmap_tmp.deserialize(i) + @RefundMap << refundmap_tmp + end + end end end # AgentPayDeals请求参数结构体 class AgentPayDealsRequest < TencentCloud::Common::AbstractModel @@ -1589,9 +1601,31 @@ @RebateMonth = params['RebateMonth'] @Amt = params['Amt'] @MonthSales = params['MonthSales'] @QuarterSales = params['QuarterSales'] @ExceptionFlag = params['ExceptionFlag'] + end + end + + # 退款单关联的原始订单信息 + class RefundMap < TencentCloud::Common::AbstractModel + # @param DealName: 退款单关联的原始子订单号 + # 注意:此字段可能返回 null,表示取不到有效值。 + # @type DealName: String + # @param RefundAmount: 退款金额,单位分 + # 注意:此字段可能返回 null,表示取不到有效值。 + # @type RefundAmount: Integer + + attr_accessor :DealName, :RefundAmount + + def initialize(dealname=nil, refundamount=nil) + @DealName = dealname + @RefundAmount = refundamount + end + + def deserialize(params) + @DealName = params['DealName'] + @RefundAmount = params['RefundAmount'] end end # RemovePayRelationForClient请求参数结构体 class RemovePayRelationForClientRequest < TencentCloud::Common::AbstractModel