Class: Google::Apis::ContentV2_1::OrderPickupDetailsCollector
- Inherits:
-
Object
- Object
- Google::Apis::ContentV2_1::OrderPickupDetailsCollector
- 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
-
#name ⇒ String
Name of the person picking up the shipment.
-
#phone_number ⇒ String
Phone number of the person picking up the shipment.
Instance Method Summary collapse
-
#initialize(**args) ⇒ OrderPickupDetailsCollector
constructor
A new instance of OrderPickupDetailsCollector.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ OrderPickupDetailsCollector
Returns a new instance of OrderPickupDetailsCollector.
6157 6158 6159 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 6157 def initialize(**args) update!(**args) end |
Instance Attribute Details
#name ⇒ String
Name of the person picking up the shipment.
Corresponds to the JSON property name
6150 6151 6152 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 6150 def name @name end |
#phone_number ⇒ String
Phone number of the person picking up the shipment.
Corresponds to the JSON property phoneNumber
6155 6156 6157 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 6155 def phone_number @phone_number end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6162 6163 6164 6165 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 6162 def update!(**args) @name = args[:name] if args.key?(:name) @phone_number = args[:phone_number] if args.key?(:phone_number) end |