Class: TencentCloud::Cpdp::V20190820::WechatPreAuthResult

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

Overview

微工卡预核身结果

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(authno = nil, openid = nil, mchid = nil, submchid = nil, token = nil, expire = nil) ⇒ WechatPreAuthResult

Returns a new instance of WechatPreAuthResult.



28823
28824
28825
28826
28827
28828
28829
28830
# File 'lib/v20190820/models.rb', line 28823

def initialize(authno=nil, openid=nil, mchid=nil, submchid=nil, token=nil, expire=nil)
  @AuthNo = authno
  @OpenId = openid
  @MchId = mchid
  @SubMchId = submchid
  @Token = token
  @Expire = expire
end

Instance Attribute Details

#AuthNoObject

Parameters:

  • AuthNo:

    商户核身单号

  • OpenId:

    微信用户标识

  • MchId:

    商户号

  • SubMchId:

    子商户号

  • Token:

    预核身token值

  • Expire:

    token有效期时间,单位:秒



28821
28822
28823
# File 'lib/v20190820/models.rb', line 28821

def AuthNo
  @AuthNo
end

#ExpireObject

Parameters:

  • AuthNo:

    商户核身单号

  • OpenId:

    微信用户标识

  • MchId:

    商户号

  • SubMchId:

    子商户号

  • Token:

    预核身token值

  • Expire:

    token有效期时间,单位:秒



28821
28822
28823
# File 'lib/v20190820/models.rb', line 28821

def Expire
  @Expire
end

#MchIdObject

Parameters:

  • AuthNo:

    商户核身单号

  • OpenId:

    微信用户标识

  • MchId:

    商户号

  • SubMchId:

    子商户号

  • Token:

    预核身token值

  • Expire:

    token有效期时间,单位:秒



28821
28822
28823
# File 'lib/v20190820/models.rb', line 28821

def MchId
  @MchId
end

#OpenIdObject

Parameters:

  • AuthNo:

    商户核身单号

  • OpenId:

    微信用户标识

  • MchId:

    商户号

  • SubMchId:

    子商户号

  • Token:

    预核身token值

  • Expire:

    token有效期时间,单位:秒



28821
28822
28823
# File 'lib/v20190820/models.rb', line 28821

def OpenId
  @OpenId
end

#SubMchIdObject

Parameters:

  • AuthNo:

    商户核身单号

  • OpenId:

    微信用户标识

  • MchId:

    商户号

  • SubMchId:

    子商户号

  • Token:

    预核身token值

  • Expire:

    token有效期时间,单位:秒



28821
28822
28823
# File 'lib/v20190820/models.rb', line 28821

def SubMchId
  @SubMchId
end

#TokenObject

Parameters:

  • AuthNo:

    商户核身单号

  • OpenId:

    微信用户标识

  • MchId:

    商户号

  • SubMchId:

    子商户号

  • Token:

    预核身token值

  • Expire:

    token有效期时间,单位:秒



28821
28822
28823
# File 'lib/v20190820/models.rb', line 28821

def Token
  @Token
end

Instance Method Details

#deserialize(params) ⇒ Object



28832
28833
28834
28835
28836
28837
28838
28839
# File 'lib/v20190820/models.rb', line 28832

def deserialize(params)
  @AuthNo = params['AuthNo']
  @OpenId = params['OpenId']
  @MchId = params['MchId']
  @SubMchId = params['SubMchId']
  @Token = params['Token']
  @Expire = params['Expire']
end