Class: Google::Apis::DfareportingV4::OrderContact
- Inherits:
-
Object
- Object
- Google::Apis::DfareportingV4::OrderContact
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dfareporting_v4/classes.rb,
lib/google/apis/dfareporting_v4/representations.rb,
lib/google/apis/dfareporting_v4/representations.rb
Overview
Contact of an order.
Instance Attribute Summary collapse
-
#contact_info ⇒ String
Free-form information about this contact.
-
#contact_name ⇒ String
Name of this contact.
-
#contact_title ⇒ String
Title of this contact.
-
#contact_type ⇒ String
Type of this contact.
-
#signature_user_profile_id ⇒ Fixnum
ID of the user profile containing the signature that will be embedded into order documents.
Instance Method Summary collapse
-
#initialize(**args) ⇒ OrderContact
constructor
A new instance of OrderContact.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ OrderContact
Returns a new instance of OrderContact.
8607 8608 8609 |
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 8607 def initialize(**args) update!(**args) end |
Instance Attribute Details
#contact_info ⇒ String
Free-form information about this contact. It could be any information related
to this contact in addition to type, title, name, and signature user profile
ID.
Corresponds to the JSON property contactInfo
8584 8585 8586 |
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 8584 def contact_info @contact_info end |
#contact_name ⇒ String
Name of this contact.
Corresponds to the JSON property contactName
8589 8590 8591 |
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 8589 def contact_name @contact_name end |
#contact_title ⇒ String
Title of this contact.
Corresponds to the JSON property contactTitle
8594 8595 8596 |
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 8594 def contact_title @contact_title end |
#contact_type ⇒ String
Type of this contact.
Corresponds to the JSON property contactType
8599 8600 8601 |
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 8599 def contact_type @contact_type end |
#signature_user_profile_id ⇒ Fixnum
ID of the user profile containing the signature that will be embedded into
order documents.
Corresponds to the JSON property signatureUserProfileId
8605 8606 8607 |
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 8605 def signature_user_profile_id @signature_user_profile_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
8612 8613 8614 8615 8616 8617 8618 |
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 8612 def update!(**args) @contact_info = args[:contact_info] if args.key?(:contact_info) @contact_name = args[:contact_name] if args.key?(:contact_name) @contact_title = args[:contact_title] if args.key?(:contact_title) @contact_type = args[:contact_type] if args.key?(:contact_type) @signature_user_profile_id = args[:signature_user_profile_id] if args.key?(:signature_user_profile_id) end |