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.



115
116
117
118
119
120
121
122
123
124
# File 'lib/authorize_net/api/schema.rb', line 115

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