Class: TencentCloud::Ckafka::V20190819::Price

Inherits:
TencentCloud::Common::AbstractModel
  • Object
show all
Defined in:
lib/v20190819/models.rb

Overview

消息价格实体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(realtotalcost = nil, totalcost = nil) ⇒ Price

Returns a new instance of Price.



10518
10519
10520
10521
# File 'lib/v20190819/models.rb', line 10518

def initialize(realtotalcost=nil, totalcost=nil)
  @RealTotalCost = realtotalcost
  @TotalCost = totalcost
end

Instance Attribute Details

#RealTotalCostObject

Parameters:

  • RealTotalCost:

    折扣价

  • TotalCost:

    原价



10516
10517
10518
# File 'lib/v20190819/models.rb', line 10516

def RealTotalCost
  @RealTotalCost
end

#TotalCostObject

Parameters:

  • RealTotalCost:

    折扣价

  • TotalCost:

    原价



10516
10517
10518
# File 'lib/v20190819/models.rb', line 10516

def TotalCost
  @TotalCost
end

Instance Method Details

#deserialize(params) ⇒ Object



10523
10524
10525
10526
# File 'lib/v20190819/models.rb', line 10523

def deserialize(params)
  @RealTotalCost = params['RealTotalCost']
  @TotalCost = params['TotalCost']
end