Class: Google::Apis::ContentV2_1::TestOrderPickupDetailsPickupPerson
- Inherits:
-
Object
- Object
- Google::Apis::ContentV2_1::TestOrderPickupDetailsPickupPerson
- 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
Required.
-
#phone_number ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ TestOrderPickupDetailsPickupPerson
constructor
A new instance of TestOrderPickupDetailsPickupPerson.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ TestOrderPickupDetailsPickupPerson
Returns a new instance of TestOrderPickupDetailsPickupPerson.
15572 15573 15574 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 15572 def initialize(**args) update!(**args) end |
Instance Attribute Details
#name ⇒ String
Required. Full name of the pickup person.
Corresponds to the JSON property name
15565 15566 15567 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 15565 def name @name end |
#phone_number ⇒ String
Required. The phone number of the person picking up the items.
Corresponds to the JSON property phoneNumber
15570 15571 15572 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 15570 def phone_number @phone_number end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
15577 15578 15579 15580 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 15577 def update!(**args) @name = args[:name] if args.key?(:name) @phone_number = args[:phone_number] if args.key?(:phone_number) end |