Class: Google::Apis::DfareportingV2_8::OrderContact

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/dfareporting_v2_8/classes.rb,
generated/google/apis/dfareporting_v2_8/representations.rb,
generated/google/apis/dfareporting_v2_8/representations.rb

Overview

Contact of an order.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ OrderContact

Returns a new instance of OrderContact



7758
7759
7760
# File 'generated/google/apis/dfareporting_v2_8/classes.rb', line 7758

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#contact_infoString

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

Returns:

  • (String)


7735
7736
7737
# File 'generated/google/apis/dfareporting_v2_8/classes.rb', line 7735

def contact_info
  @contact_info
end

#contact_nameString

Name of this contact. Corresponds to the JSON property contactName

Returns:

  • (String)


7740
7741
7742
# File 'generated/google/apis/dfareporting_v2_8/classes.rb', line 7740

def contact_name
  @contact_name
end

#contact_titleString

Title of this contact. Corresponds to the JSON property contactTitle

Returns:

  • (String)


7745
7746
7747
# File 'generated/google/apis/dfareporting_v2_8/classes.rb', line 7745

def contact_title
  @contact_title
end

#contact_typeString

Type of this contact. Corresponds to the JSON property contactType

Returns:

  • (String)


7750
7751
7752
# File 'generated/google/apis/dfareporting_v2_8/classes.rb', line 7750

def contact_type
  @contact_type
end

#signature_user_profile_idFixnum

ID of the user profile containing the signature that will be embedded into order documents. Corresponds to the JSON property signatureUserProfileId

Returns:

  • (Fixnum)


7756
7757
7758
# File 'generated/google/apis/dfareporting_v2_8/classes.rb', line 7756

def 
  @signature_user_profile_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7763
7764
7765
7766
7767
7768
7769
# File 'generated/google/apis/dfareporting_v2_8/classes.rb', line 7763

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