Class: TencentCloud::Cpdp::V20190820::CreateRedInvoiceResponse

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

Overview

CreateRedInvoice返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of CreateRedInvoiceResponse.



8789
8790
8791
8792
# File 'lib/v20190820/models.rb', line 8789

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

Instance Attribute Details

#RequestIdObject

Parameters:

  • Result:

    红冲结果

  • RequestId:

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



8787
8788
8789
# File 'lib/v20190820/models.rb', line 8787

def RequestId
  @RequestId
end

#ResultObject

Parameters:

  • Result:

    红冲结果

  • RequestId:

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



8787
8788
8789
# File 'lib/v20190820/models.rb', line 8787

def Result
  @Result
end

Instance Method Details

#deserialize(params) ⇒ Object



8794
8795
8796
8797
8798
8799
8800
# File 'lib/v20190820/models.rb', line 8794

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