Class: Google::Apis::ContentV2::PosStore
- Inherits:
-
Object
- Object
- Google::Apis::ContentV2::PosStore
- 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
-
#gcid_category ⇒ Array<String>
The business type of the store.
-
#kind ⇒ String
Identifies what kind of resource this is.
-
#phone_number ⇒ String
The store phone number.
-
#place_id ⇒ String
The Google Place Id of the store location.
-
#store_address ⇒ String
Required.
-
#store_code ⇒ String
Required.
-
#store_name ⇒ String
The merchant or store name.
-
#website_url ⇒ String
The website url for the store or merchant.
Instance Method Summary collapse
-
#initialize(**args) ⇒ PosStore
constructor
A new instance of PosStore.
-
#update!(**args) ⇒ Object
Update properties of this object.
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_category ⇒ Array<String>
The business type of the store.
Corresponds to the JSON property gcidCategory
8330 8331 8332 |
# File 'lib/google/apis/content_v2/classes.rb', line 8330 def gcid_category @gcid_category end |
#kind ⇒ String
Identifies what kind of resource this is. Value: the fixed string "content#
posStore
"
Corresponds to the JSON property kind
8336 8337 8338 |
# File 'lib/google/apis/content_v2/classes.rb', line 8336 def kind @kind end |
#phone_number ⇒ String
The store phone number.
Corresponds to the JSON property phoneNumber
8341 8342 8343 |
# File 'lib/google/apis/content_v2/classes.rb', line 8341 def phone_number @phone_number end |
#place_id ⇒ String
The Google Place Id of the store location.
Corresponds to the JSON property placeId
8346 8347 8348 |
# File 'lib/google/apis/content_v2/classes.rb', line 8346 def place_id @place_id end |
#store_address ⇒ String
Required. The street address of the store.
Corresponds to the JSON property storeAddress
8351 8352 8353 |
# File 'lib/google/apis/content_v2/classes.rb', line 8351 def store_address @store_address end |
#store_code ⇒ String
Required. A store identifier that is unique for the given merchant.
Corresponds to the JSON property storeCode
8356 8357 8358 |
# File 'lib/google/apis/content_v2/classes.rb', line 8356 def store_code @store_code end |
#store_name ⇒ String
The merchant or store name.
Corresponds to the JSON property storeName
8361 8362 8363 |
# File 'lib/google/apis/content_v2/classes.rb', line 8361 def store_name @store_name end |
#website_url ⇒ String
The website url for the store or merchant.
Corresponds to the JSON property websiteUrl
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 |