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

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
generated/google/apis/content_v2_1/classes.rb,
generated/google/apis/content_v2_1/representations.rb,
generated/google/apis/content_v2_1/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Google::Apis::Core::JsonObjectSupport

#to_json

Methods included from Google::Apis::Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ LiaCountrySettings

Returns a new instance of LiaCountrySettings.



2825
2826
2827
# File 'generated/google/apis/content_v2_1/classes.rb', line 2825

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



2791
2792
2793
# File 'generated/google/apis/content_v2_1/classes.rb', line 2791

def about
  @about
end

#countryString

CLDR country code (e.g. "US"). Corresponds to the JSON property country

Returns:

  • (String)


2796
2797
2798
# File 'generated/google/apis/content_v2_1/classes.rb', line 2796

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)


2801
2802
2803
# File 'generated/google/apis/content_v2_1/classes.rb', line 2801

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



2807
2808
2809
# File 'generated/google/apis/content_v2_1/classes.rb', line 2807

def inventory
  @inventory
end

#on_display_to_orderGoogle::Apis::ContentV2_1::LiaOnDisplayToOrderSettings

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



2812
2813
2814
# File 'generated/google/apis/content_v2_1/classes.rb', line 2812

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



2817
2818
2819
# File 'generated/google/apis/content_v2_1/classes.rb', line 2817

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)


2822
2823
2824
# File 'generated/google/apis/content_v2_1/classes.rb', line 2822

def store_pickup_active
  @store_pickup_active
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2830
2831
2832
2833
2834
2835
2836
2837
2838
# File 'generated/google/apis/content_v2_1/classes.rb', line 2830

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