Class: AdCenterWrapper::ContactInfo

Inherits:
Object
  • Object
show all
Defined in:
lib/CustomerManagementService.rb

Overview

https://adcenter.microsoft.com/api/customermanagement/EntitiesContactInfo

address - AdCenterWrapper::Address
contactByPhone - SOAP::SOAPBoolean
contactByPostalMail - SOAP::SOAPBoolean
email - SOAP::SOAPString
emailFormat - AdCenterWrapper::EmailFormat
fax - SOAP::SOAPString
homePhone - SOAP::SOAPString
id - SOAP::SOAPLong
mobile - SOAP::SOAPString
phone1 - SOAP::SOAPString
phone2 - SOAP::SOAPString

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(address = nil, contactByPhone = nil, contactByPostalMail = nil, email = nil, emailFormat = nil, fax = nil, homePhone = nil, id = nil, mobile = nil, phone1 = nil, phone2 = nil) ⇒ ContactInfo

Returns a new instance of ContactInfo.

[View source]

393
394
395
396
397
398
399
400
401
402
403
404
405
# File 'lib/CustomerManagementService.rb', line 393

def initialize(address = nil, contactByPhone = nil, contactByPostalMail = nil, email = nil, emailFormat = nil, fax = nil, homePhone = nil, id = nil, mobile = nil, phone1 = nil, phone2 = nil)
  @address = address
  @contactByPhone = contactByPhone
  @contactByPostalMail = contactByPostalMail
  @email = email
  @emailFormat = emailFormat
  @fax = fax
  @homePhone = homePhone
  @id = id
  @mobile = mobile
  @phone1 = phone1
  @phone2 = phone2
end

Instance Attribute Details

#addressObject

Returns the value of attribute address.


381
382
383
# File 'lib/CustomerManagementService.rb', line 381

def address
  @address
end

#contactByPhoneObject

Returns the value of attribute contactByPhone.


382
383
384
# File 'lib/CustomerManagementService.rb', line 382

def contactByPhone
  @contactByPhone
end

#contactByPostalMailObject

Returns the value of attribute contactByPostalMail.


383
384
385
# File 'lib/CustomerManagementService.rb', line 383

def contactByPostalMail
  @contactByPostalMail
end

#emailObject

Returns the value of attribute email.


384
385
386
# File 'lib/CustomerManagementService.rb', line 384

def email
  @email
end

#emailFormatObject

Returns the value of attribute emailFormat.


385
386
387
# File 'lib/CustomerManagementService.rb', line 385

def emailFormat
  @emailFormat
end

#faxObject

Returns the value of attribute fax.


386
387
388
# File 'lib/CustomerManagementService.rb', line 386

def fax
  @fax
end

#homePhoneObject

Returns the value of attribute homePhone.


387
388
389
# File 'lib/CustomerManagementService.rb', line 387

def homePhone
  @homePhone
end

#idObject

Returns the value of attribute id.


388
389
390
# File 'lib/CustomerManagementService.rb', line 388

def id
  @id
end

#mobileObject

Returns the value of attribute mobile.


389
390
391
# File 'lib/CustomerManagementService.rb', line 389

def mobile
  @mobile
end

#phone1Object

Returns the value of attribute phone1.


390
391
392
# File 'lib/CustomerManagementService.rb', line 390

def phone1
  @phone1
end

#phone2Object

Returns the value of attribute phone2.


391
392
393
# File 'lib/CustomerManagementService.rb', line 391

def phone2
  @phone2
end