Class: Google::Apis::ContentV2_1::LiaOmnichannelExperience

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

Overview

Omnichannel experience details.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ LiaOmnichannelExperience

Returns a new instance of LiaOmnichannelExperience.



5731
5732
5733
# File 'lib/google/apis/content_v2_1/classes.rb', line 5731

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

Instance Attribute Details

#countryString

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

Returns:

  • (String)


5715
5716
5717
# File 'lib/google/apis/content_v2_1/classes.rb', line 5715

def country
  @country
end

#lsf_typeString

The Local Store Front (LSF) type for this country. Acceptable values are: - " ghlsf" (Google-Hosted Local Store Front) - "mhlsfBasic" (Merchant-Hosted Local Store Front Basic) - "mhlsfFull" (Merchant-Hosted Local Store Front Full) More details about these types can be found here. Corresponds to the JSON property lsfType

Returns:

  • (String)


5723
5724
5725
# File 'lib/google/apis/content_v2_1/classes.rb', line 5723

def lsf_type
  @lsf_type
end

#pickup_typesArray<String>

The Pickup types for this country. Acceptable values are: - "pickupToday" - " pickupLater" Corresponds to the JSON property pickupTypes

Returns:

  • (Array<String>)


5729
5730
5731
# File 'lib/google/apis/content_v2_1/classes.rb', line 5729

def pickup_types
  @pickup_types
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5736
5737
5738
5739
5740
# File 'lib/google/apis/content_v2_1/classes.rb', line 5736

def update!(**args)
  @country = args[:country] if args.key?(:country)
  @lsf_type = args[:lsf_type] if args.key?(:lsf_type)
  @pickup_types = args[:pickup_types] if args.key?(:pickup_types)
end