Class: Google::Apis::DfareportingV2_7::OrderContact
- Inherits:
-
Object
- Object
- Google::Apis::DfareportingV2_7::OrderContact
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/dfareporting_v2_7/classes.rb,
generated/google/apis/dfareporting_v2_7/representations.rb,
generated/google/apis/dfareporting_v2_7/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.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ OrderContact
Returns a new instance of OrderContact
7649 7650 7651 |
# File 'generated/google/apis/dfareporting_v2_7/classes.rb', line 7649 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
7626 7627 7628 |
# File 'generated/google/apis/dfareporting_v2_7/classes.rb', line 7626 def contact_info @contact_info end |
#contact_name ⇒ String
Name of this contact.
Corresponds to the JSON property contactName
7631 7632 7633 |
# File 'generated/google/apis/dfareporting_v2_7/classes.rb', line 7631 def contact_name @contact_name end |
#contact_title ⇒ String
Title of this contact.
Corresponds to the JSON property contactTitle
7636 7637 7638 |
# File 'generated/google/apis/dfareporting_v2_7/classes.rb', line 7636 def contact_title @contact_title end |
#contact_type ⇒ String
Type of this contact.
Corresponds to the JSON property contactType
7641 7642 7643 |
# File 'generated/google/apis/dfareporting_v2_7/classes.rb', line 7641 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
7647 7648 7649 |
# File 'generated/google/apis/dfareporting_v2_7/classes.rb', line 7647 def signature_user_profile_id @signature_user_profile_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
7654 7655 7656 7657 7658 7659 7660 |
# File 'generated/google/apis/dfareporting_v2_7/classes.rb', line 7654 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 |