Class: TencentCloud::Youmall::V20180228::ModifyPersonTagInfoRequest

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

Overview

ModifyPersonTagInfo请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(companyid = nil, shopid = nil, tags = nil) ⇒ ModifyPersonTagInfoRequest

Returns a new instance of ModifyPersonTagInfoRequest.



2096
2097
2098
2099
2100
# File 'lib/v20180228/models.rb', line 2096

def initialize(companyid=nil, shopid=nil, tags=nil)
  @CompanyId = companyid
  @ShopId = shopid
  @Tags = tags
end

Instance Attribute Details

#CompanyIdObject

Parameters:

  • CompanyId:

    优mall集团id,通过“指定身份标识获取客户门店列表”接口获取

  • ShopId:

    优mall店铺id,通过“指定身份标识获取客户门店列表”接口获取,为0则拉取集团全部店铺当前

  • Tags:

    需要设置的顾客信息,批量设置最大为10个



2094
2095
2096
# File 'lib/v20180228/models.rb', line 2094

def CompanyId
  @CompanyId
end

#ShopIdObject

Parameters:

  • CompanyId:

    优mall集团id,通过“指定身份标识获取客户门店列表”接口获取

  • ShopId:

    优mall店铺id,通过“指定身份标识获取客户门店列表”接口获取,为0则拉取集团全部店铺当前

  • Tags:

    需要设置的顾客信息,批量设置最大为10个



2094
2095
2096
# File 'lib/v20180228/models.rb', line 2094

def ShopId
  @ShopId
end

#TagsObject

Parameters:

  • CompanyId:

    优mall集团id,通过“指定身份标识获取客户门店列表”接口获取

  • ShopId:

    优mall店铺id,通过“指定身份标识获取客户门店列表”接口获取,为0则拉取集团全部店铺当前

  • Tags:

    需要设置的顾客信息,批量设置最大为10个



2094
2095
2096
# File 'lib/v20180228/models.rb', line 2094

def Tags
  @Tags
end

Instance Method Details

#deserialize(params) ⇒ Object



2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
# File 'lib/v20180228/models.rb', line 2102

def deserialize(params)
  @CompanyId = params['CompanyId']
  @ShopId = params['ShopId']
  unless params['Tags'].nil?
    @Tags = []
    params['Tags'].each do |i|
      persontaginfo_tmp = PersonTagInfo.new
      persontaginfo_tmp.deserialize(i)
      @Tags << persontaginfo_tmp
    end
  end
end