Class: Google::Apis::ContentV2_1::LiaCountrySettings

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ LiaCountrySettings

Returns a new instance of LiaCountrySettings.



5700
5701
5702
# File 'lib/google/apis/content_v2_1/classes.rb', line 5700

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

Instance Attribute Details

#aboutGoogle::Apis::ContentV2_1::LiaAboutPageSettings

The settings for the About page. Corresponds to the JSON property about



5661
5662
5663
# File 'lib/google/apis/content_v2_1/classes.rb', line 5661

def about
  @about
end

#countryString

Required. CLDR country code (for example, "US"). Corresponds to the JSON property country

Returns:

  • (String)


5666
5667
5668
# File 'lib/google/apis/content_v2_1/classes.rb', line 5666

def country
  @country
end

#hosted_local_storefront_activeBoolean Also known as: hosted_local_storefront_active?

The status of the "Merchant hosted local storefront" feature. Corresponds to the JSON property hostedLocalStorefrontActive

Returns:

  • (Boolean)


5671
5672
5673
# File 'lib/google/apis/content_v2_1/classes.rb', line 5671

def hosted_local_storefront_active
  @hosted_local_storefront_active
end

#inventoryGoogle::Apis::ContentV2_1::LiaInventorySettings

LIA inventory verification settings. Corresponds to the JSON property inventory



5677
5678
5679
# File 'lib/google/apis/content_v2_1/classes.rb', line 5677

def inventory
  @inventory
end

#omnichannel_experienceGoogle::Apis::ContentV2_1::LiaOmnichannelExperience

Omnichannel experience details. Corresponds to the JSON property omnichannelExperience



5682
5683
5684
# File 'lib/google/apis/content_v2_1/classes.rb', line 5682

def omnichannel_experience
  @omnichannel_experience
end

#on_display_to_orderGoogle::Apis::ContentV2_1::LiaOnDisplayToOrderSettings

LIA "On Display To Order" settings. Corresponds to the JSON property onDisplayToOrder



5687
5688
5689
# File 'lib/google/apis/content_v2_1/classes.rb', line 5687

def on_display_to_order
  @on_display_to_order
end

#pos_data_providerGoogle::Apis::ContentV2_1::LiaPosDataProvider

The POS data provider linked with this country. Corresponds to the JSON property posDataProvider



5692
5693
5694
# File 'lib/google/apis/content_v2_1/classes.rb', line 5692

def pos_data_provider
  @pos_data_provider
end

#store_pickup_activeBoolean Also known as: store_pickup_active?

The status of the "Store pickup" feature. Corresponds to the JSON property storePickupActive

Returns:

  • (Boolean)


5697
5698
5699
# File 'lib/google/apis/content_v2_1/classes.rb', line 5697

def store_pickup_active
  @store_pickup_active
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5705
5706
5707
5708
5709
5710
5711
5712
5713
5714
# File 'lib/google/apis/content_v2_1/classes.rb', line 5705

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