Class: AuthorizeNet::API::CustomerAddressType

Inherits:
Object
  • Object
show all
Includes:
ROXML
Defined in:
lib/authorize_net/api/schema.rb

Overview

AnetApi/xml/v1/schema/AnetApiSchema.xsdcustomerAddressType

firstName - SOAP::SOAPString
lastName - SOAP::SOAPString
company - SOAP::SOAPString
address - SOAP::SOAPString
city - SOAP::SOAPString
state - SOAP::SOAPString
zip - SOAP::SOAPString
country - SOAP::SOAPString
phoneNumber - SOAP::SOAPString
faxNumber - SOAP::SOAPString

Instance Method Summary collapse

Constructor Details

#initialize(firstName = nil, lastName = nil, company = nil, address = nil, city = nil, state = nil, zip = nil, country = nil, phoneNumber = nil, faxNumber = nil) ⇒ CustomerAddressType

Returns a new instance of CustomerAddressType.



155
156
157
158
159
160
161
162
163
164
165
166
# File 'lib/authorize_net/api/schema.rb', line 155

def initialize(firstName = nil, lastName = nil, company = nil, address = nil, city = nil, state = nil, zip = nil, country = nil, phoneNumber = nil, faxNumber = nil)
  @firstName = firstName
  @lastName = lastName
  @company = company
  @address = address
  @city = city
  @state = state
  @zip = zip
  @country = country
  @phoneNumber = phoneNumber
  @faxNumber = faxNumber
end