Class: Google::Apis::ContentV2::LiaCountrySettings

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
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

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



2639
2640
2641
# File 'generated/google/apis/content_v2/classes.rb', line 2639

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

Instance Attribute Details

#aboutGoogle::Apis::ContentV2::LiaAboutPageSettings

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



2610
2611
2612
# File 'generated/google/apis/content_v2/classes.rb', line 2610

def about
  @about
end

#countryString

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

Returns:

  • (String)


2615
2616
2617
# File 'generated/google/apis/content_v2/classes.rb', line 2615

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)


2620
2621
2622
# File 'generated/google/apis/content_v2/classes.rb', line 2620

def hosted_local_storefront_active
  @hosted_local_storefront_active
end

#inventoryGoogle::Apis::ContentV2::LiaInventorySettings

LIA inventory verification settings. Corresponds to the JSON property inventory



2626
2627
2628
# File 'generated/google/apis/content_v2/classes.rb', line 2626

def inventory
  @inventory
end

#on_display_to_orderGoogle::Apis::ContentV2::LiaOnDisplayToOrderSettings

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



2631
2632
2633
# File 'generated/google/apis/content_v2/classes.rb', line 2631

def on_display_to_order
  @on_display_to_order
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)


2636
2637
2638
# File 'generated/google/apis/content_v2/classes.rb', line 2636

def store_pickup_active
  @store_pickup_active
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2644
2645
2646
2647
2648
2649
2650
2651
# File 'generated/google/apis/content_v2/classes.rb', line 2644

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)
  @store_pickup_active = args[:store_pickup_active] if args.key?(:store_pickup_active)
end