Class: Google::Apis::ContentV2_1::ShippingsettingsGetSupportedPickupServicesResponse

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

Returns a new instance of ShippingsettingsGetSupportedPickupServicesResponse.



13789
13790
13791
# File 'lib/google/apis/content_v2_1/classes.rb', line 13789

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)


13782
13783
13784
# File 'lib/google/apis/content_v2_1/classes.rb', line 13782

def kind
  @kind
end

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

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



13787
13788
13789
# File 'lib/google/apis/content_v2_1/classes.rb', line 13787

def pickup_services
  @pickup_services
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



13794
13795
13796
13797
# File 'lib/google/apis/content_v2_1/classes.rb', line 13794

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