Class: Google::Apis::MerchantapiAccountsV1beta::ListOmnichannelSettingsResponse

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/merchantapi_accounts_v1beta/classes.rb,
lib/google/apis/merchantapi_accounts_v1beta/representations.rb,
lib/google/apis/merchantapi_accounts_v1beta/representations.rb

Overview

Response message for the ListOmnichannelSettings method.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListOmnichannelSettingsResponse

Returns a new instance of ListOmnichannelSettingsResponse.



2377
2378
2379
# File 'lib/google/apis/merchantapi_accounts_v1beta/classes.rb', line 2377

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

Instance Attribute Details

#next_page_tokenString

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


2370
2371
2372
# File 'lib/google/apis/merchantapi_accounts_v1beta/classes.rb', line 2370

def next_page_token
  @next_page_token
end

#omnichannel_settingsArray<Google::Apis::MerchantapiAccountsV1beta::OmnichannelSetting>

The omnichannel settings from the specified merchant. Corresponds to the JSON property omnichannelSettings



2375
2376
2377
# File 'lib/google/apis/merchantapi_accounts_v1beta/classes.rb', line 2375

def omnichannel_settings
  @omnichannel_settings
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2382
2383
2384
2385
# File 'lib/google/apis/merchantapi_accounts_v1beta/classes.rb', line 2382

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