Class: TencentCloud::Youmall::V20180228::CreateAccountRequest

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

Overview

CreateAccount请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(companyid = nil, name = nil, password = nil, shopcode = nil, remark = nil) ⇒ CreateAccountRequest

Returns a new instance of CreateAccountRequest.



110
111
112
113
114
115
116
# File 'lib/v20180228/models.rb', line 110

def initialize(companyid=nil, name=nil, password=nil, shopcode=nil, remark=nil)
  @CompanyId = companyid
  @Name = name
  @Password = password
  @ShopCode = shopcode
  @Remark = remark
end

Instance Attribute Details

#CompanyIdObject

Parameters:

  • CompanyId:

    集团ID

  • Name:

    账号名;需要是手机号

  • Password:

    密码;需要是(‘~!@#$%^&*()_+=-)中的至少两种且八位以上

  • ShopCode:

    客户门店编码

  • Remark:

    备注说明; 30个字符以内



108
109
110
# File 'lib/v20180228/models.rb', line 108

def CompanyId
  @CompanyId
end

#NameObject

Parameters:

  • CompanyId:

    集团ID

  • Name:

    账号名;需要是手机号

  • Password:

    密码;需要是(‘~!@#$%^&*()_+=-)中的至少两种且八位以上

  • ShopCode:

    客户门店编码

  • Remark:

    备注说明; 30个字符以内



108
109
110
# File 'lib/v20180228/models.rb', line 108

def Name
  @Name
end

#PasswordObject

Parameters:

  • CompanyId:

    集团ID

  • Name:

    账号名;需要是手机号

  • Password:

    密码;需要是(‘~!@#$%^&*()_+=-)中的至少两种且八位以上

  • ShopCode:

    客户门店编码

  • Remark:

    备注说明; 30个字符以内



108
109
110
# File 'lib/v20180228/models.rb', line 108

def Password
  @Password
end

#RemarkObject

Parameters:

  • CompanyId:

    集团ID

  • Name:

    账号名;需要是手机号

  • Password:

    密码;需要是(‘~!@#$%^&*()_+=-)中的至少两种且八位以上

  • ShopCode:

    客户门店编码

  • Remark:

    备注说明; 30个字符以内



108
109
110
# File 'lib/v20180228/models.rb', line 108

def Remark
  @Remark
end

#ShopCodeObject

Parameters:

  • CompanyId:

    集团ID

  • Name:

    账号名;需要是手机号

  • Password:

    密码;需要是(‘~!@#$%^&*()_+=-)中的至少两种且八位以上

  • ShopCode:

    客户门店编码

  • Remark:

    备注说明; 30个字符以内



108
109
110
# File 'lib/v20180228/models.rb', line 108

def ShopCode
  @ShopCode
end

Instance Method Details

#deserialize(params) ⇒ Object



118
119
120
121
122
123
124
# File 'lib/v20180228/models.rb', line 118

def deserialize(params)
  @CompanyId = params['CompanyId']
  @Name = params['Name']
  @Password = params['Password']
  @ShopCode = params['ShopCode']
  @Remark = params['Remark']
end