Class: FedexWebServices::Soap::Ship::Contact

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

Overview

http://fedex.com/ws/ship/v12Contact

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.



645
646
647
648
649
650
651
652
653
654
655
656
# File 'lib/fedex_web_services/soap/ShipServiceDefinitions.rb', line 645

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

#companyNameObject

Returns the value of attribute companyName.



637
638
639
# File 'lib/fedex_web_services/soap/ShipServiceDefinitions.rb', line 637

def companyName
  @companyName
end

#contactIdObject

Returns the value of attribute contactId.



634
635
636
# File 'lib/fedex_web_services/soap/ShipServiceDefinitions.rb', line 634

def contactId
  @contactId
end

#eMailAddressObject

Returns the value of attribute eMailAddress.



643
644
645
# File 'lib/fedex_web_services/soap/ShipServiceDefinitions.rb', line 643

def eMailAddress
  @eMailAddress
end

#faxNumberObject

Returns the value of attribute faxNumber.



642
643
644
# File 'lib/fedex_web_services/soap/ShipServiceDefinitions.rb', line 642

def faxNumber
  @faxNumber
end

#pagerNumberObject

Returns the value of attribute pagerNumber.



641
642
643
# File 'lib/fedex_web_services/soap/ShipServiceDefinitions.rb', line 641

def pagerNumber
  @pagerNumber
end

#personNameObject

Returns the value of attribute personName.



635
636
637
# File 'lib/fedex_web_services/soap/ShipServiceDefinitions.rb', line 635

def personName
  @personName
end

#phoneExtensionObject

Returns the value of attribute phoneExtension.



639
640
641
# File 'lib/fedex_web_services/soap/ShipServiceDefinitions.rb', line 639

def phoneExtension
  @phoneExtension
end

#phoneNumberObject

Returns the value of attribute phoneNumber.



638
639
640
# File 'lib/fedex_web_services/soap/ShipServiceDefinitions.rb', line 638

def phoneNumber
  @phoneNumber
end

#titleObject

Returns the value of attribute title.



636
637
638
# File 'lib/fedex_web_services/soap/ShipServiceDefinitions.rb', line 636

def title
  @title
end

#tollFreePhoneNumberObject

Returns the value of attribute tollFreePhoneNumber.



640
641
642
# File 'lib/fedex_web_services/soap/ShipServiceDefinitions.rb', line 640

def tollFreePhoneNumber
  @tollFreePhoneNumber
end