Class: Google::Apis::ContentV2::LiaPosDataProvider

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

Returns a new instance of LiaPosDataProvider



3440
3441
3442
# File 'generated/google/apis/content_v2/classes.rb', line 3440

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)


3433
3434
3435
# File 'generated/google/apis/content_v2/classes.rb', line 3433

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)


3438
3439
3440
# File 'generated/google/apis/content_v2/classes.rb', line 3438

def 
  @pos_external_account_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3445
3446
3447
3448
# File 'generated/google/apis/content_v2/classes.rb', line 3445

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