Class: TencentCloud::Cpdp::V20190820::QueryInvoiceResponse

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

Overview

QueryInvoice返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(result = nil, requestid = nil) ⇒ QueryInvoiceResponse

Returns a new instance of QueryInvoiceResponse.



18207
18208
18209
18210
# File 'lib/v20190820/models.rb', line 18207

def initialize(result=nil, requestid=nil)
  @Result = result
  @RequestId = requestid
end

Instance Attribute Details

#RequestIdObject

Parameters:

  • Result:

    发票查询结果

  • RequestId:

    唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。



18205
18206
18207
# File 'lib/v20190820/models.rb', line 18205

def RequestId
  @RequestId
end

#ResultObject

Parameters:

  • Result:

    发票查询结果

  • RequestId:

    唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。



18205
18206
18207
# File 'lib/v20190820/models.rb', line 18205

def Result
  @Result
end

Instance Method Details

#deserialize(params) ⇒ Object



18212
18213
18214
18215
18216
18217
18218
# File 'lib/v20190820/models.rb', line 18212

def deserialize(params)
  unless params['Result'].nil?
    @Result = QueryInvoiceResult.new
    @Result.deserialize(params['Result'])
  end
  @RequestId = params['RequestId']
end