Class: Google::Apis::ContentV2::LiaCountrySettings
- Inherits:
-
Object
- Object
- Google::Apis::ContentV2::LiaCountrySettings
- Defined in:
- generated/google/apis/content_v2/classes.rb,
generated/google/apis/content_v2/representations.rb,
generated/google/apis/content_v2/representations.rb
Instance Attribute Summary collapse
-
#about ⇒ Google::Apis::ContentV2::LiaAboutPageSettings
The settings for the About page.
-
#country ⇒ String
CLDR country code (e.g. "US").
-
#hosted_local_storefront_active ⇒ Boolean
(also: #hosted_local_storefront_active?)
The status of the "Merchant hosted local storefront" feature.
-
#inventory ⇒ Google::Apis::ContentV2::LiaInventorySettings
LIA inventory verification settings.
-
#on_display_to_order ⇒ Google::Apis::ContentV2::LiaOnDisplayToOrderSettings
LIA "On Display To Order" settings.
-
#pos_data_provider ⇒ Google::Apis::ContentV2::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.
Methods included from Google::Apis::Core::JsonObjectSupport
Methods included from Google::Apis::Core::Hashable
Constructor Details
#initialize(**args) ⇒ LiaCountrySettings
Returns a new instance of LiaCountrySettings
2807 2808 2809 |
# File 'generated/google/apis/content_v2/classes.rb', line 2807 def initialize(**args) update!(**args) end |
Instance Attribute Details
#about ⇒ Google::Apis::ContentV2::LiaAboutPageSettings
The settings for the About page.
Corresponds to the JSON property about
2773 2774 2775 |
# File 'generated/google/apis/content_v2/classes.rb', line 2773 def about @about end |
#country ⇒ String
CLDR country code (e.g. "US").
Corresponds to the JSON property country
2778 2779 2780 |
# File 'generated/google/apis/content_v2/classes.rb', line 2778 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
2783 2784 2785 |
# File 'generated/google/apis/content_v2/classes.rb', line 2783 def hosted_local_storefront_active @hosted_local_storefront_active end |
#inventory ⇒ Google::Apis::ContentV2::LiaInventorySettings
LIA inventory verification settings.
Corresponds to the JSON property inventory
2789 2790 2791 |
# File 'generated/google/apis/content_v2/classes.rb', line 2789 def inventory @inventory end |
#on_display_to_order ⇒ Google::Apis::ContentV2::LiaOnDisplayToOrderSettings
LIA "On Display To Order" settings.
Corresponds to the JSON property onDisplayToOrder
2794 2795 2796 |
# File 'generated/google/apis/content_v2/classes.rb', line 2794 def on_display_to_order @on_display_to_order end |
#pos_data_provider ⇒ Google::Apis::ContentV2::LiaPosDataProvider
The POS data provider linked with this country.
Corresponds to the JSON property posDataProvider
2799 2800 2801 |
# File 'generated/google/apis/content_v2/classes.rb', line 2799 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
2804 2805 2806 |
# File 'generated/google/apis/content_v2/classes.rb', line 2804 def store_pickup_active @store_pickup_active end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2812 2813 2814 2815 2816 2817 2818 2819 2820 |
# File 'generated/google/apis/content_v2/classes.rb', line 2812 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) @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 |