Class: TencentCloud::Cpdp::V20190820::DistributeQueryRequest

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

Overview

DistributeQuery请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(openid = nil, openkey = nil, type = nil, outdistributeno = nil, distributeno = nil, orderno = nil, profile = nil) ⇒ DistributeQueryRequest

Returns a new instance of DistributeQueryRequest.



10087
10088
10089
10090
10091
10092
10093
10094
10095
# File 'lib/v20190820/models.rb', line 10087

def initialize(openid=nil, openkey=nil, type=nil, outdistributeno=nil, distributeno=nil, orderno=nil, profile=nil)
  @OpenId = openid
  @OpenKey = openkey
  @Type = type
  @OutDistributeNo = outdistributeno
  @DistributeNo = distributeno
  @OrderNo = orderno
  @Profile = profile
end

Instance Attribute Details

#DistributeNoObject

Parameters:

  • OpenId:

    使用门店OpenId

  • OpenKey:

    使用门店OpenKey

  • Type:

    查询类型(1-全部,2-单笔)

  • OutDistributeNo:

    商户分账单号,type为2时,和DistributeNo二者传其一

  • DistributeNo:

    平台分账单号,type为2时,和OutDistributeNo二者传其一

  • OrderNo:

    平台交易订单号

  • Profile:

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



10085
10086
10087
# File 'lib/v20190820/models.rb', line 10085

def DistributeNo
  @DistributeNo
end

#OpenIdObject

Parameters:

  • OpenId:

    使用门店OpenId

  • OpenKey:

    使用门店OpenKey

  • Type:

    查询类型(1-全部,2-单笔)

  • OutDistributeNo:

    商户分账单号,type为2时,和DistributeNo二者传其一

  • DistributeNo:

    平台分账单号,type为2时,和OutDistributeNo二者传其一

  • OrderNo:

    平台交易订单号

  • Profile:

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



10085
10086
10087
# File 'lib/v20190820/models.rb', line 10085

def OpenId
  @OpenId
end

#OpenKeyObject

Parameters:

  • OpenId:

    使用门店OpenId

  • OpenKey:

    使用门店OpenKey

  • Type:

    查询类型(1-全部,2-单笔)

  • OutDistributeNo:

    商户分账单号,type为2时,和DistributeNo二者传其一

  • DistributeNo:

    平台分账单号,type为2时,和OutDistributeNo二者传其一

  • OrderNo:

    平台交易订单号

  • Profile:

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



10085
10086
10087
# File 'lib/v20190820/models.rb', line 10085

def OpenKey
  @OpenKey
end

#OrderNoObject

Parameters:

  • OpenId:

    使用门店OpenId

  • OpenKey:

    使用门店OpenKey

  • Type:

    查询类型(1-全部,2-单笔)

  • OutDistributeNo:

    商户分账单号,type为2时,和DistributeNo二者传其一

  • DistributeNo:

    平台分账单号,type为2时,和OutDistributeNo二者传其一

  • OrderNo:

    平台交易订单号

  • Profile:

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



10085
10086
10087
# File 'lib/v20190820/models.rb', line 10085

def OrderNo
  @OrderNo
end

#OutDistributeNoObject

Parameters:

  • OpenId:

    使用门店OpenId

  • OpenKey:

    使用门店OpenKey

  • Type:

    查询类型(1-全部,2-单笔)

  • OutDistributeNo:

    商户分账单号,type为2时,和DistributeNo二者传其一

  • DistributeNo:

    平台分账单号,type为2时,和OutDistributeNo二者传其一

  • OrderNo:

    平台交易订单号

  • Profile:

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



10085
10086
10087
# File 'lib/v20190820/models.rb', line 10085

def OutDistributeNo
  @OutDistributeNo
end

#ProfileObject

Parameters:

  • OpenId:

    使用门店OpenId

  • OpenKey:

    使用门店OpenKey

  • Type:

    查询类型(1-全部,2-单笔)

  • OutDistributeNo:

    商户分账单号,type为2时,和DistributeNo二者传其一

  • DistributeNo:

    平台分账单号,type为2时,和OutDistributeNo二者传其一

  • OrderNo:

    平台交易订单号

  • Profile:

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



10085
10086
10087
# File 'lib/v20190820/models.rb', line 10085

def Profile
  @Profile
end

#TypeObject

Parameters:

  • OpenId:

    使用门店OpenId

  • OpenKey:

    使用门店OpenKey

  • Type:

    查询类型(1-全部,2-单笔)

  • OutDistributeNo:

    商户分账单号,type为2时,和DistributeNo二者传其一

  • DistributeNo:

    平台分账单号,type为2时,和OutDistributeNo二者传其一

  • OrderNo:

    平台交易订单号

  • Profile:

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



10085
10086
10087
# File 'lib/v20190820/models.rb', line 10085

def Type
  @Type
end

Instance Method Details

#deserialize(params) ⇒ Object



10097
10098
10099
10100
10101
10102
10103
10104
10105
# File 'lib/v20190820/models.rb', line 10097

def deserialize(params)
  @OpenId = params['OpenId']
  @OpenKey = params['OpenKey']
  @Type = params['Type']
  @OutDistributeNo = params['OutDistributeNo']
  @DistributeNo = params['DistributeNo']
  @OrderNo = params['OrderNo']
  @Profile = params['Profile']
end