Class: AdWords::V13::AccountService::Address

Inherits:
Object
  • Object
show all
Defined in:
lib/adwords4r/v13/AccountService.rb

Overview

Address

  • addressLine1 - SOAP::SOAPString

  • addressLine2 - SOAP::SOAPString

  • city - SOAP::SOAPString

  • companyName - SOAP::SOAPString

  • countryCode - SOAP::SOAPString

  • emailAddress - SOAP::SOAPString

  • faxNumber - SOAP::SOAPString

  • name - SOAP::SOAPString

  • phoneNumber - SOAP::SOAPString

  • postalCode - SOAP::SOAPString

  • state - SOAP::SOAPString

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(addressLine1 = nil, addressLine2 = nil, city = nil, companyName = nil, countryCode = nil, emailAddress = nil, faxNumber = nil, name = nil, phoneNumber = nil, postalCode = nil, state = nil) ⇒ Address

Returns a new instance of Address.



71
72
73
74
75
76
77
78
79
80
81
82
83
# File 'lib/adwords4r/v13/AccountService.rb', line 71

def initialize(addressLine1 = nil, addressLine2 = nil, city = nil, companyName = nil, countryCode = nil, emailAddress = nil, faxNumber = nil, name = nil, phoneNumber = nil, postalCode = nil, state = nil)
  @addressLine1 = addressLine1
  @addressLine2 = addressLine2
  @city = city
  @companyName = companyName
  @countryCode = countryCode
  @emailAddress = emailAddress
  @faxNumber = faxNumber
  @name = name
  @phoneNumber = phoneNumber
  @postalCode = postalCode
  @state = state
end

Instance Attribute Details

#addressLine1Object

Returns the value of attribute addressLine1.



59
60
61
# File 'lib/adwords4r/v13/AccountService.rb', line 59

def addressLine1
  @addressLine1
end

#addressLine2Object

Returns the value of attribute addressLine2.



60
61
62
# File 'lib/adwords4r/v13/AccountService.rb', line 60

def addressLine2
  @addressLine2
end

#cityObject

Returns the value of attribute city.



61
62
63
# File 'lib/adwords4r/v13/AccountService.rb', line 61

def city
  @city
end

#companyNameObject

Returns the value of attribute companyName.



62
63
64
# File 'lib/adwords4r/v13/AccountService.rb', line 62

def companyName
  @companyName
end

#countryCodeObject

Returns the value of attribute countryCode.



63
64
65
# File 'lib/adwords4r/v13/AccountService.rb', line 63

def countryCode
  @countryCode
end

#emailAddressObject

Returns the value of attribute emailAddress.



64
65
66
# File 'lib/adwords4r/v13/AccountService.rb', line 64

def emailAddress
  @emailAddress
end

#faxNumberObject

Returns the value of attribute faxNumber.



65
66
67
# File 'lib/adwords4r/v13/AccountService.rb', line 65

def faxNumber
  @faxNumber
end

#nameObject

Returns the value of attribute name.



66
67
68
# File 'lib/adwords4r/v13/AccountService.rb', line 66

def name
  @name
end

#phoneNumberObject

Returns the value of attribute phoneNumber.



67
68
69
# File 'lib/adwords4r/v13/AccountService.rb', line 67

def phoneNumber
  @phoneNumber
end

#postalCodeObject

Returns the value of attribute postalCode.



68
69
70
# File 'lib/adwords4r/v13/AccountService.rb', line 68

def postalCode
  @postalCode
end

#stateObject

Returns the value of attribute state.



69
70
71
# File 'lib/adwords4r/v13/AccountService.rb', line 69

def state
  @state
end