Class: AuthorizeNet::API::NameAndAddressType

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

Overview

AnetApi/xml/v1/schema/AnetApiSchema.xsdnameAndAddressType

firstName - SOAP::SOAPString
lastName - SOAP::SOAPString
company - SOAP::SOAPString
address - SOAP::SOAPString
city - SOAP::SOAPString
state - SOAP::SOAPString
zip - SOAP::SOAPString
country - 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) ⇒ NameAndAddressType

Returns a new instance of NameAndAddressType.



128
129
130
131
132
133
134
135
136
137
# File 'lib/authorize_net/api/schema.rb', line 128

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