class AuthorizeNet::Transaction
Constants
- ATTRIBUTES
Public Instance Methods
parse(xml)
click to toggle source
Calls superclass method
AuthorizeNet::DataObject#parse
# File lib/authorize_net/transaction.rb, line 39 def parse(xml) super merchant_id = AuthorizeNet::Util.getXmlValue(xml, 'customer id') if !merchant_id.nil? @customer_profile ||= AuthorizeNet::CustomerProfile.new @customer_profile.merchant_id = merchant_id end end