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.



5779
5780
5781
# File 'lib/google/apis/content_v2_1/classes.rb', line 5779

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)


5763
5764
5765
# File 'lib/google/apis/content_v2_1/classes.rb', line 5763

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)


5771
5772
5773
# File 'lib/google/apis/content_v2_1/classes.rb', line 5771

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>)


5777
5778
5779
# File 'lib/google/apis/content_v2_1/classes.rb', line 5777

def pickup_types
  @pickup_types
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5784
5785
5786
5787
5788
# File 'lib/google/apis/content_v2_1/classes.rb', line 5784

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