Class: Google::Apis::ContentV2_1::PickupServicesPickupService
- Inherits:
-
Object
- Object
- Google::Apis::ContentV2_1::PickupServicesPickupService
- 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
-
#carrier_name ⇒ String
The name of the carrier (for example,
"UPS"). -
#country ⇒ String
The CLDR country code of the carrier (for example, "US").
-
#service_name ⇒ String
The name of the pickup service (for example,
"Access point").
Instance Method Summary collapse
-
#initialize(**args) ⇒ PickupServicesPickupService
constructor
A new instance of PickupServicesPickupService.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ PickupServicesPickupService
Returns a new instance of PickupServicesPickupService.
7620 7621 7622 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 7620 def initialize(**args) update!(**args) end |
Instance Attribute Details
#carrier_name ⇒ String
The name of the carrier (for example, "UPS"). Always present.
Corresponds to the JSON property carrierName
7608 7609 7610 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 7608 def carrier_name @carrier_name end |
#country ⇒ String
The CLDR country code of the carrier (for example, "US"). Always present.
Corresponds to the JSON property country
7613 7614 7615 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 7613 def country @country end |
#service_name ⇒ String
The name of the pickup service (for example, "Access point"). Always present.
Corresponds to the JSON property serviceName
7618 7619 7620 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 7618 def service_name @service_name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
7625 7626 7627 7628 7629 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 7625 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 |