Class: Google::Apis::ContentV2::ShippingsettingsGetSupportedPickupServicesResponse

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

Returns a new instance of ShippingsettingsGetSupportedPickupServicesResponse.



10484
10485
10486
# File 'generated/google/apis/content_v2/classes.rb', line 10484

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

Instance Attribute Details

#kindString

Identifies what kind of resource this is. Value: the fixed string "content# shippingsettingsGetSupportedPickupServicesResponse". Corresponds to the JSON property kind

Returns:

  • (String)


10477
10478
10479
# File 'generated/google/apis/content_v2/classes.rb', line 10477

def kind
  @kind
end

#pickup_servicesArray<Google::Apis::ContentV2::PickupServicesPickupService>

A list of supported pickup services. May be empty. Corresponds to the JSON property pickupServices



10482
10483
10484
# File 'generated/google/apis/content_v2/classes.rb', line 10482

def pickup_services
  @pickup_services
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



10489
10490
10491
10492
# File 'generated/google/apis/content_v2/classes.rb', line 10489

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