Class: Google::Apis::ContentV2_1::PosStore
- Inherits:
-
Object
- Object
- Google::Apis::ContentV2_1::PosStore
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/content_v2_1/classes.rb,
lib/google/apis/content_v2_1/representations.rb,
lib/google/apis/content_v2_1/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.
-
#matching_status ⇒ String
Output only.
-
#matching_status_hint ⇒ String
Output only.
-
#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.
8423 8424 8425 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 8423 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
8353 8354 8355 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 8353 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
8359 8360 8361 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 8359 def kind @kind end |
#matching_status ⇒ String
Output only. The matching status of POS store and Google Business Profile
store. Possible values are: - "matched": The POS store is successfully
matched with the Google Business Profile store. - "failed": The POS store is
not matched with the Google Business Profile store. See matching_status_hint
for further details. Note that there is up to 48 hours propagation delay for
changes in Merchant Center (e.g. creation of new account, accounts linking)
and Google Business Profile (e.g. store address update) which may affect the
matching status. In such cases, after a delay call pos.list to
retrieve the updated matching status.
Corresponds to the JSON property matchingStatus
8373 8374 8375 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 8373 def matching_status @matching_status end |
#matching_status_hint ⇒ String
Output only. The hint of why the matching has failed. This is only set when
matching_status=failed. Possible values are: - "linked-store-not-found":
There aren't any Google Business Profile stores available for matching.
Connect your Merchant Center account with the Google Business Profile account.
Or add a new Google Business Profile store corresponding to the POS store. - "
store-match-not-found": The provided POS store couldn't be matched to any of
the connected Google Business Profile stores. Merchant Center account is
connected correctly and stores are available on Google Business Profile, but
POS store location address does not match with Google Business Profile stores'
addresses. Update POS store address or Google Business Profile store address
to match correctly. - "store-match-unverified": The provided POS store
couldn't be matched to any of the connected Google Business Profile stores, as
the matched Google Business Profile store is unverified. Go through the Google
Business Profile verification process to match correctly.
Corresponds to the JSON property matchingStatusHint
8391 8392 8393 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 8391 def matching_status_hint @matching_status_hint end |
#phone_number ⇒ String
The store phone number.
Corresponds to the JSON property phoneNumber
8396 8397 8398 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 8396 def phone_number @phone_number end |
#place_id ⇒ String
The Google Place Id of the store location.
Corresponds to the JSON property placeId
8401 8402 8403 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 8401 def place_id @place_id end |
#store_address ⇒ String
Required. The street address of the store.
Corresponds to the JSON property storeAddress
8406 8407 8408 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 8406 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
8411 8412 8413 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 8411 def store_code @store_code end |
#store_name ⇒ String
The merchant or store name.
Corresponds to the JSON property storeName
8416 8417 8418 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 8416 def store_name @store_name end |
#website_url ⇒ String
The website url for the store or merchant.
Corresponds to the JSON property websiteUrl
8421 8422 8423 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 8421 def website_url @website_url end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
8428 8429 8430 8431 8432 8433 8434 8435 8436 8437 8438 8439 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 8428 def update!(**args) @gcid_category = args[:gcid_category] if args.key?(:gcid_category) @kind = args[:kind] if args.key?(:kind) @matching_status = args[:matching_status] if args.key?(:matching_status) @matching_status_hint = args[:matching_status_hint] if args.key?(:matching_status_hint) @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 |