Class: TencentCloud::Mna::V20210119::OrderInfo

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

Overview

返回上报的订单信息

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(uin = nil, projectid = nil, packagetype = nil, orderid = nil, reportmonth = nil, updated = nil) ⇒ OrderInfo

Returns a new instance of OrderInfo.



2443
2444
2445
2446
2447
2448
2449
2450
# File 'lib/v20210119/models.rb', line 2443

def initialize(uin=nil, projectid=nil, packagetype=nil, orderid=nil, reportmonth=nil, updated=nil)
  @Uin = uin
  @ProjectId = projectid
  @PackageType = packagetype
  @OrderId = orderid
  @ReportMonth = reportmonth
  @Updated = updated
end

Instance Attribute Details

#OrderIdObject

Parameters:

  • Uin:

    父账号uin

  • ProjectId:

    项目id

  • PackageType:

    用量类型

  • OrderId:

    订单编号唯一标识符

  • ReportMonth:

    上报月份,默认当前月

  • Updated:

    数据更新时间



2441
2442
2443
# File 'lib/v20210119/models.rb', line 2441

def OrderId
  @OrderId
end

#PackageTypeObject

Parameters:

  • Uin:

    父账号uin

  • ProjectId:

    项目id

  • PackageType:

    用量类型

  • OrderId:

    订单编号唯一标识符

  • ReportMonth:

    上报月份,默认当前月

  • Updated:

    数据更新时间



2441
2442
2443
# File 'lib/v20210119/models.rb', line 2441

def PackageType
  @PackageType
end

#ProjectIdObject

Parameters:

  • Uin:

    父账号uin

  • ProjectId:

    项目id

  • PackageType:

    用量类型

  • OrderId:

    订单编号唯一标识符

  • ReportMonth:

    上报月份,默认当前月

  • Updated:

    数据更新时间



2441
2442
2443
# File 'lib/v20210119/models.rb', line 2441

def ProjectId
  @ProjectId
end

#ReportMonthObject

Parameters:

  • Uin:

    父账号uin

  • ProjectId:

    项目id

  • PackageType:

    用量类型

  • OrderId:

    订单编号唯一标识符

  • ReportMonth:

    上报月份,默认当前月

  • Updated:

    数据更新时间



2441
2442
2443
# File 'lib/v20210119/models.rb', line 2441

def ReportMonth
  @ReportMonth
end

#UinObject

Parameters:

  • Uin:

    父账号uin

  • ProjectId:

    项目id

  • PackageType:

    用量类型

  • OrderId:

    订单编号唯一标识符

  • ReportMonth:

    上报月份,默认当前月

  • Updated:

    数据更新时间



2441
2442
2443
# File 'lib/v20210119/models.rb', line 2441

def Uin
  @Uin
end

#UpdatedObject

Parameters:

  • Uin:

    父账号uin

  • ProjectId:

    项目id

  • PackageType:

    用量类型

  • OrderId:

    订单编号唯一标识符

  • ReportMonth:

    上报月份,默认当前月

  • Updated:

    数据更新时间



2441
2442
2443
# File 'lib/v20210119/models.rb', line 2441

def Updated
  @Updated
end

Instance Method Details

#deserialize(params) ⇒ Object



2452
2453
2454
2455
2456
2457
2458
2459
# File 'lib/v20210119/models.rb', line 2452

def deserialize(params)
  @Uin = params['Uin']
  @ProjectId = params['ProjectId']
  @PackageType = params['PackageType']
  @OrderId = params['OrderId']
  @ReportMonth = params['ReportMonth']
  @Updated = params['Updated']
end