Class: Google::Apis::ContentV2_1::LiaPosDataProvider

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

Returns a new instance of LiaPosDataProvider.



5831
5832
5833
# File 'lib/google/apis/content_v2_1/classes.rb', line 5831

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

Instance Attribute Details

#pos_data_provider_idFixnum

The ID of the POS data provider. Corresponds to the JSON property posDataProviderId

Returns:

  • (Fixnum)


5824
5825
5826
# File 'lib/google/apis/content_v2_1/classes.rb', line 5824

def pos_data_provider_id
  @pos_data_provider_id
end

#pos_external_account_idString

The account ID by which this merchant is known to the POS data provider. Corresponds to the JSON property posExternalAccountId

Returns:

  • (String)


5829
5830
5831
# File 'lib/google/apis/content_v2_1/classes.rb', line 5829

def 
  @pos_external_account_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5836
5837
5838
5839
# File 'lib/google/apis/content_v2_1/classes.rb', line 5836

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