class Dhl::Bcs::V2::Address

Constants

ADD_PROPS
PROPERTIES

Public Instance Methods

to_soap_hash() click to toggle source
Calls superclass method
# File lib/dhl/bcs/v2/address.rb, line 8
def to_soap_hash
  h = {}
  h['cis:name2'] = company if company
  h['cis:name3'] = company_addition if company_addition
  h['cis:streetName'] = street_name
  h['cis:streetNumber'] = street_number
  h['cis:addressAddition'] = address_addition if address_addition
  h['cis:dispatchingInformation'] = dispatching_information if dispatching_information
  h.merge(super)
end