Class: TencentCloud::Cpdp::V20190820::ViewContractRequest

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

Overview

ViewContract请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(openid = nil, openkey = nil, outcontractid = nil, contractid = nil, profile = nil) ⇒ ViewContractRequest

Returns a new instance of ViewContractRequest.



27795
27796
27797
27798
27799
27800
27801
# File 'lib/v20190820/models.rb', line 27795

def initialize(openid=nil, openkey=nil, outcontractid=nil, contractid=nil, profile=nil)
  @OpenId = openid
  @OpenKey = openkey
  @OutContractId = outcontractid
  @ContractId = contractid
  @Profile = profile
end

Instance Attribute Details

#ContractIdObject

Parameters:

  • OpenId:

    收单系统分配的开放ID

  • OpenKey:

    收单系统分配的密钥

  • OutContractId:

    外部合同主键编号(ContractId或OutContractId必须传一个)

  • ContractId:

    合同主键(ContractId或OutContractId必须传一个)

  • Profile:

    沙箱环境填sandbox,正式环境不填



27793
27794
27795
# File 'lib/v20190820/models.rb', line 27793

def ContractId
  @ContractId
end

#OpenIdObject

Parameters:

  • OpenId:

    收单系统分配的开放ID

  • OpenKey:

    收单系统分配的密钥

  • OutContractId:

    外部合同主键编号(ContractId或OutContractId必须传一个)

  • ContractId:

    合同主键(ContractId或OutContractId必须传一个)

  • Profile:

    沙箱环境填sandbox,正式环境不填



27793
27794
27795
# File 'lib/v20190820/models.rb', line 27793

def OpenId
  @OpenId
end

#OpenKeyObject

Parameters:

  • OpenId:

    收单系统分配的开放ID

  • OpenKey:

    收单系统分配的密钥

  • OutContractId:

    外部合同主键编号(ContractId或OutContractId必须传一个)

  • ContractId:

    合同主键(ContractId或OutContractId必须传一个)

  • Profile:

    沙箱环境填sandbox,正式环境不填



27793
27794
27795
# File 'lib/v20190820/models.rb', line 27793

def OpenKey
  @OpenKey
end

#OutContractIdObject

Parameters:

  • OpenId:

    收单系统分配的开放ID

  • OpenKey:

    收单系统分配的密钥

  • OutContractId:

    外部合同主键编号(ContractId或OutContractId必须传一个)

  • ContractId:

    合同主键(ContractId或OutContractId必须传一个)

  • Profile:

    沙箱环境填sandbox,正式环境不填



27793
27794
27795
# File 'lib/v20190820/models.rb', line 27793

def OutContractId
  @OutContractId
end

#ProfileObject

Parameters:

  • OpenId:

    收单系统分配的开放ID

  • OpenKey:

    收单系统分配的密钥

  • OutContractId:

    外部合同主键编号(ContractId或OutContractId必须传一个)

  • ContractId:

    合同主键(ContractId或OutContractId必须传一个)

  • Profile:

    沙箱环境填sandbox,正式环境不填



27793
27794
27795
# File 'lib/v20190820/models.rb', line 27793

def Profile
  @Profile
end

Instance Method Details

#deserialize(params) ⇒ Object



27803
27804
27805
27806
27807
27808
27809
# File 'lib/v20190820/models.rb', line 27803

def deserialize(params)
  @OpenId = params['OpenId']
  @OpenKey = params['OpenKey']
  @OutContractId = params['OutContractId']
  @ContractId = params['ContractId']
  @Profile = params['Profile']
end