Class: Google::Apis::ContentV2_1::PickupServicesPickupService
- Inherits:
-
Object
- Object
- Google::Apis::ContentV2_1::PickupServicesPickupService
- Defined in:
- generated/google/apis/content_v2_1/classes.rb,
generated/google/apis/content_v2_1/representations.rb,
generated/google/apis/content_v2_1/representations.rb
Instance Attribute Summary collapse
-
#carrier_name ⇒ String
The name of the carrier (e.g.,
"UPS"
). -
#country ⇒ String
The CLDR country code of the carrier (e.g., "US").
-
#service_name ⇒ String
The name of the pickup service (e.g.,
"Access point"
).
Instance Method Summary collapse
-
#initialize(**args) ⇒ PickupServicesPickupService
constructor
A new instance of PickupServicesPickupService.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Google::Apis::Core::JsonObjectSupport
Methods included from Google::Apis::Core::Hashable
Constructor Details
#initialize(**args) ⇒ PickupServicesPickupService
Returns a new instance of PickupServicesPickupService.
7373 7374 7375 |
# File 'generated/google/apis/content_v2_1/classes.rb', line 7373 def initialize(**args) update!(**args) end |
Instance Attribute Details
#carrier_name ⇒ String
The name of the carrier (e.g., "UPS"
). Always present.
Corresponds to the JSON property carrierName
7361 7362 7363 |
# File 'generated/google/apis/content_v2_1/classes.rb', line 7361 def carrier_name @carrier_name end |
#country ⇒ String
The CLDR country code of the carrier (e.g., "US"). Always present.
Corresponds to the JSON property country
7366 7367 7368 |
# File 'generated/google/apis/content_v2_1/classes.rb', line 7366 def country @country end |
#service_name ⇒ String
The name of the pickup service (e.g., "Access point"
). Always present.
Corresponds to the JSON property serviceName
7371 7372 7373 |
# File 'generated/google/apis/content_v2_1/classes.rb', line 7371 def service_name @service_name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
7378 7379 7380 7381 7382 |
# File 'generated/google/apis/content_v2_1/classes.rb', line 7378 def update!(**args) @carrier_name = args[:carrier_name] if args.key?(:carrier_name) @country = args[:country] if args.key?(:country) @service_name = args[:service_name] if args.key?(:service_name) end |