Class: Google::Apis::DfareportingV2_1::OrderContact

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

Overview

Contact of an order.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ OrderContact

Returns a new instance of OrderContact.



6938
6939
6940
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 6938

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)


6915
6916
6917
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 6915

def contact_info
  @contact_info
end

#contact_nameString

Name of this contact. Corresponds to the JSON property contactName

Returns:

  • (String)


6920
6921
6922
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 6920

def contact_name
  @contact_name
end

#contact_titleString

Title of this contact. Corresponds to the JSON property contactTitle

Returns:

  • (String)


6925
6926
6927
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 6925

def contact_title
  @contact_title
end

#contact_typeString

Type of this contact. Corresponds to the JSON property contactType

Returns:

  • (String)


6930
6931
6932
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 6930

def contact_type
  @contact_type
end

#signature_user_profile_idString

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

Returns:

  • (String)


6936
6937
6938
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 6936

def 
  @signature_user_profile_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6943
6944
6945
6946
6947
6948
6949
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 6943

def update!(**args)
  @contact_info = args[:contact_info] unless args[:contact_info].nil?
  @contact_name = args[:contact_name] unless args[:contact_name].nil?
  @contact_title = args[:contact_title] unless args[:contact_title].nil?
  @contact_type = args[:contact_type] unless args[:contact_type].nil?
  @signature_user_profile_id = args[:signature_user_profile_id] unless args[:signature_user_profile_id].nil?
end