Class: Google::Apis::DfareportingV4::OrderContact

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ OrderContact

Returns a new instance of OrderContact.



8536
8537
8538
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 8536

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)


8513
8514
8515
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 8513

def contact_info
  @contact_info
end

#contact_nameString

Name of this contact. Corresponds to the JSON property contactName

Returns:

  • (String)


8518
8519
8520
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 8518

def contact_name
  @contact_name
end

#contact_titleString

Title of this contact. Corresponds to the JSON property contactTitle

Returns:

  • (String)


8523
8524
8525
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 8523

def contact_title
  @contact_title
end

#contact_typeString

Type of this contact. Corresponds to the JSON property contactType

Returns:

  • (String)


8528
8529
8530
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 8528

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)


8534
8535
8536
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 8534

def 
  @signature_user_profile_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8541
8542
8543
8544
8545
8546
8547
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 8541

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