Class: Google::Apis::ContentV2_1::PosDataProviders

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

Returns a new instance of PosDataProviders.



9437
9438
9439
# File 'lib/google/apis/content_v2_1/classes.rb', line 9437

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

Instance Attribute Details

#countryString

Country code. Corresponds to the JSON property country

Returns:

  • (String)


9430
9431
9432
# File 'lib/google/apis/content_v2_1/classes.rb', line 9430

def country
  @country
end

#pos_data_providersArray<Google::Apis::ContentV2_1::PosDataProvidersPosDataProvider>

A list of POS data providers. Corresponds to the JSON property posDataProviders



9435
9436
9437
# File 'lib/google/apis/content_v2_1/classes.rb', line 9435

def pos_data_providers
  @pos_data_providers
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



9442
9443
9444
9445
# File 'lib/google/apis/content_v2_1/classes.rb', line 9442

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