Class: TencentCloud::Cpdp::V20190820::ViewShopRequest

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

Overview

ViewShop请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(openid = nil, openkey = nil, outshopid = nil, shopno = nil, profile = nil) ⇒ ViewShopRequest

Returns a new instance of ViewShopRequest.



28589
28590
28591
28592
28593
28594
28595
# File 'lib/v20190820/models.rb', line 28589

def initialize(openid=nil, openkey=nil, outshopid=nil, shopno=nil, profile=nil)
  @OpenId = openid
  @OpenKey = openkey
  @OutShopId = outshopid
  @ShopNo = shopno
  @Profile = profile
end

Instance Attribute Details

#OpenIdObject

Parameters:

  • OpenId:

    收单系统分配的开放ID

  • OpenKey:

    收单系统分配的密钥

  • OutShopId:

    外部商户主键编号(ShopNo或OutShopId必须传一个)

  • ShopNo:

    门店编号(ShopNo或OutShopId必须传一个)

  • Profile:

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



28587
28588
28589
# File 'lib/v20190820/models.rb', line 28587

def OpenId
  @OpenId
end

#OpenKeyObject

Parameters:

  • OpenId:

    收单系统分配的开放ID

  • OpenKey:

    收单系统分配的密钥

  • OutShopId:

    外部商户主键编号(ShopNo或OutShopId必须传一个)

  • ShopNo:

    门店编号(ShopNo或OutShopId必须传一个)

  • Profile:

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



28587
28588
28589
# File 'lib/v20190820/models.rb', line 28587

def OpenKey
  @OpenKey
end

#OutShopIdObject

Parameters:

  • OpenId:

    收单系统分配的开放ID

  • OpenKey:

    收单系统分配的密钥

  • OutShopId:

    外部商户主键编号(ShopNo或OutShopId必须传一个)

  • ShopNo:

    门店编号(ShopNo或OutShopId必须传一个)

  • Profile:

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



28587
28588
28589
# File 'lib/v20190820/models.rb', line 28587

def OutShopId
  @OutShopId
end

#ProfileObject

Parameters:

  • OpenId:

    收单系统分配的开放ID

  • OpenKey:

    收单系统分配的密钥

  • OutShopId:

    外部商户主键编号(ShopNo或OutShopId必须传一个)

  • ShopNo:

    门店编号(ShopNo或OutShopId必须传一个)

  • Profile:

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



28587
28588
28589
# File 'lib/v20190820/models.rb', line 28587

def Profile
  @Profile
end

#ShopNoObject

Parameters:

  • OpenId:

    收单系统分配的开放ID

  • OpenKey:

    收单系统分配的密钥

  • OutShopId:

    外部商户主键编号(ShopNo或OutShopId必须传一个)

  • ShopNo:

    门店编号(ShopNo或OutShopId必须传一个)

  • Profile:

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



28587
28588
28589
# File 'lib/v20190820/models.rb', line 28587

def ShopNo
  @ShopNo
end

Instance Method Details

#deserialize(params) ⇒ Object



28597
28598
28599
28600
28601
28602
28603
# File 'lib/v20190820/models.rb', line 28597

def deserialize(params)
  @OpenId = params['OpenId']
  @OpenKey = params['OpenKey']
  @OutShopId = params['OutShopId']
  @ShopNo = params['ShopNo']
  @Profile = params['Profile']
end