Class: FedexWebServices::Soap::Rate::Contact

Inherits:
Object
  • Object
show all
Defined in:
lib/fedex_web_services/soap/RateServiceDefinitions.rb

Overview

http://fedex.com/ws/rate/v13Contact contactId - SOAP::SOAPString personName - SOAP::SOAPString title - SOAP::SOAPString companyName - SOAP::SOAPString phoneNumber - SOAP::SOAPString phoneExtension - SOAP::SOAPString tollFreePhoneNumber - SOAP::SOAPString pagerNumber - SOAP::SOAPString faxNumber - SOAP::SOAPString eMailAddress - SOAP::SOAPString

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(contactId = nil, personName = nil, title = nil, companyName = nil, phoneNumber = nil, phoneExtension = nil, tollFreePhoneNumber = nil, pagerNumber = nil, faxNumber = nil, eMailAddress = nil) ⇒ Contact

Returns a new instance of Contact.



376
377
378
379
380
381
382
383
384
385
386
387
# File 'lib/fedex_web_services/soap/RateServiceDefinitions.rb', line 376

def initialize(contactId = nil, personName = nil, title = nil, companyName = nil, phoneNumber = nil, phoneExtension = nil, tollFreePhoneNumber = nil, pagerNumber = nil, faxNumber = nil, eMailAddress = nil)
  @contactId = contactId
  @personName = personName
  @title = title
  @companyName = companyName
  @phoneNumber = phoneNumber
  @phoneExtension = phoneExtension
  @tollFreePhoneNumber = tollFreePhoneNumber
  @pagerNumber = pagerNumber
  @faxNumber = faxNumber
  @eMailAddress = eMailAddress
end

Instance Attribute Details

#companyName ⇒ Object

Returns the value of attribute companyName.



368
369
370
# File 'lib/fedex_web_services/soap/RateServiceDefinitions.rb', line 368

def companyName
  @companyName
end

#contactId ⇒ Object

Returns the value of attribute contactId.



365
366
367
# File 'lib/fedex_web_services/soap/RateServiceDefinitions.rb', line 365

def contactId
  @contactId
end

#eMailAddress ⇒ Object

Returns the value of attribute eMailAddress.



374
375
376
# File 'lib/fedex_web_services/soap/RateServiceDefinitions.rb', line 374

def eMailAddress
  @eMailAddress
end

#faxNumber ⇒ Object

Returns the value of attribute faxNumber.



373
374
375
# File 'lib/fedex_web_services/soap/RateServiceDefinitions.rb', line 373

def faxNumber
  @faxNumber
end

#pagerNumber ⇒ Object

Returns the value of attribute pagerNumber.



372
373
374
# File 'lib/fedex_web_services/soap/RateServiceDefinitions.rb', line 372

def pagerNumber
  @pagerNumber
end

#personName ⇒ Object

Returns the value of attribute personName.



366
367
368
# File 'lib/fedex_web_services/soap/RateServiceDefinitions.rb', line 366

def personName
  @personName
end

#phoneExtension ⇒ Object

Returns the value of attribute phoneExtension.



370
371
372
# File 'lib/fedex_web_services/soap/RateServiceDefinitions.rb', line 370

def phoneExtension
  @phoneExtension
end

#phoneNumber ⇒ Object

Returns the value of attribute phoneNumber.



369
370
371
# File 'lib/fedex_web_services/soap/RateServiceDefinitions.rb', line 369

def phoneNumber
  @phoneNumber
end

#title ⇒ Object

Returns the value of attribute title.



367
368
369
# File 'lib/fedex_web_services/soap/RateServiceDefinitions.rb', line 367

def title
  @title
end

#tollFreePhoneNumber ⇒ Object

Returns the value of attribute tollFreePhoneNumber.



371
372
373
# File 'lib/fedex_web_services/soap/RateServiceDefinitions.rb', line 371

def tollFreePhoneNumber
  @tollFreePhoneNumber
end