Class: Google::Apis::ContentV2::PosStore

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/content_v2/classes.rb,
lib/google/apis/content_v2/representations.rb,
lib/google/apis/content_v2/representations.rb

Overview

Store resource.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ PosStore

Returns a new instance of PosStore.



8368
8369
8370
# File 'lib/google/apis/content_v2/classes.rb', line 8368

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#gcid_categoryArray<String>

The business type of the store. Corresponds to the JSON property gcidCategory

Returns:

  • (Array<String>)


8330
8331
8332
# File 'lib/google/apis/content_v2/classes.rb', line 8330

def gcid_category
  @gcid_category
end

#kindString

Identifies what kind of resource this is. Value: the fixed string "content# posStore" Corresponds to the JSON property kind

Returns:

  • (String)


8336
8337
8338
# File 'lib/google/apis/content_v2/classes.rb', line 8336

def kind
  @kind
end

#phone_numberString

The store phone number. Corresponds to the JSON property phoneNumber

Returns:

  • (String)


8341
8342
8343
# File 'lib/google/apis/content_v2/classes.rb', line 8341

def phone_number
  @phone_number
end

#place_idString

The Google Place Id of the store location. Corresponds to the JSON property placeId

Returns:

  • (String)


8346
8347
8348
# File 'lib/google/apis/content_v2/classes.rb', line 8346

def place_id
  @place_id
end

#store_addressString

Required. The street address of the store. Corresponds to the JSON property storeAddress

Returns:

  • (String)


8351
8352
8353
# File 'lib/google/apis/content_v2/classes.rb', line 8351

def store_address
  @store_address
end

#store_codeString

Required. A store identifier that is unique for the given merchant. Corresponds to the JSON property storeCode

Returns:

  • (String)


8356
8357
8358
# File 'lib/google/apis/content_v2/classes.rb', line 8356

def store_code
  @store_code
end

#store_nameString

The merchant or store name. Corresponds to the JSON property storeName

Returns:

  • (String)


8361
8362
8363
# File 'lib/google/apis/content_v2/classes.rb', line 8361

def store_name
  @store_name
end

#website_urlString

The website url for the store or merchant. Corresponds to the JSON property websiteUrl

Returns:

  • (String)


8366
8367
8368
# File 'lib/google/apis/content_v2/classes.rb', line 8366

def website_url
  @website_url
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8373
8374
8375
8376
8377
8378
8379
8380
8381
8382
# File 'lib/google/apis/content_v2/classes.rb', line 8373

def update!(**args)
  @gcid_category = args[:gcid_category] if args.key?(:gcid_category)
  @kind = args[:kind] if args.key?(:kind)
  @phone_number = args[:phone_number] if args.key?(:phone_number)
  @place_id = args[:place_id] if args.key?(:place_id)
  @store_address = args[:store_address] if args.key?(:store_address)
  @store_code = args[:store_code] if args.key?(:store_code)
  @store_name = args[:store_name] if args.key?(:store_name)
  @website_url = args[:website_url] if args.key?(:website_url)
end