Class: Google::Apis::ContentV2_1::LiaCountrySettings
- Inherits:
-
Object
- Object
- Google::Apis::ContentV2_1::LiaCountrySettings
- 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
Instance Attribute Summary collapse
-
#about ⇒ Google::Apis::ContentV2_1::LiaAboutPageSettings
The settings for the About page.
-
#country ⇒ String
Required.
-
#hosted_local_storefront_active ⇒ Boolean
(also: #hosted_local_storefront_active?)
The status of the "Merchant hosted local storefront" feature.
-
#inventory ⇒ Google::Apis::ContentV2_1::LiaInventorySettings
LIA inventory verification settings.
-
#omnichannel_experience ⇒ Google::Apis::ContentV2_1::LiaOmnichannelExperience
Omnichannel experience details.
-
#on_display_to_order ⇒ Google::Apis::ContentV2_1::LiaOnDisplayToOrderSettings
LIA "On Display To Order" settings.
-
#pos_data_provider ⇒ Google::Apis::ContentV2_1::LiaPosDataProvider
The POS data provider linked with this country.
-
#store_pickup_active ⇒ Boolean
(also: #store_pickup_active?)
The status of the "Store pickup" feature.
Instance Method Summary collapse
-
#initialize(**args) ⇒ LiaCountrySettings
constructor
A new instance of LiaCountrySettings.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ LiaCountrySettings
Returns a new instance of LiaCountrySettings.
5652 5653 5654 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 5652 def initialize(**args) update!(**args) end |
Instance Attribute Details
#about ⇒ Google::Apis::ContentV2_1::LiaAboutPageSettings
The settings for the About page.
Corresponds to the JSON property about
5613 5614 5615 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 5613 def about @about end |
#country ⇒ String
Required. CLDR country code (for example, "US").
Corresponds to the JSON property country
5618 5619 5620 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 5618 def country @country end |
#hosted_local_storefront_active ⇒ Boolean Also known as: hosted_local_storefront_active?
The status of the "Merchant hosted local storefront" feature.
Corresponds to the JSON property hostedLocalStorefrontActive
5623 5624 5625 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 5623 def hosted_local_storefront_active @hosted_local_storefront_active end |
#inventory ⇒ Google::Apis::ContentV2_1::LiaInventorySettings
LIA inventory verification settings.
Corresponds to the JSON property inventory
5629 5630 5631 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 5629 def inventory @inventory end |
#omnichannel_experience ⇒ Google::Apis::ContentV2_1::LiaOmnichannelExperience
Omnichannel experience details.
Corresponds to the JSON property omnichannelExperience
5634 5635 5636 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 5634 def omnichannel_experience @omnichannel_experience end |
#on_display_to_order ⇒ Google::Apis::ContentV2_1::LiaOnDisplayToOrderSettings
LIA "On Display To Order" settings.
Corresponds to the JSON property onDisplayToOrder
5639 5640 5641 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 5639 def on_display_to_order @on_display_to_order end |
#pos_data_provider ⇒ Google::Apis::ContentV2_1::LiaPosDataProvider
The POS data provider linked with this country.
Corresponds to the JSON property posDataProvider
5644 5645 5646 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 5644 def pos_data_provider @pos_data_provider end |
#store_pickup_active ⇒ Boolean Also known as: store_pickup_active?
The status of the "Store pickup" feature.
Corresponds to the JSON property storePickupActive
5649 5650 5651 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 5649 def store_pickup_active @store_pickup_active end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5657 5658 5659 5660 5661 5662 5663 5664 5665 5666 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 5657 def update!(**args) @about = args[:about] if args.key?(:about) @country = args[:country] if args.key?(:country) @hosted_local_storefront_active = args[:hosted_local_storefront_active] if args.key?(:hosted_local_storefront_active) @inventory = args[:inventory] if args.key?(:inventory) @omnichannel_experience = args[:omnichannel_experience] if args.key?(:omnichannel_experience) @on_display_to_order = args[:on_display_to_order] if args.key?(:on_display_to_order) @pos_data_provider = args[:pos_data_provider] if args.key?(:pos_data_provider) @store_pickup_active = args[:store_pickup_active] if args.key?(:store_pickup_active) end |