Method: AuthorizeNet::Transaction#parse
- Defined in:
- lib/authorize_net/transaction.rb
#parse(xml) ⇒ Object
39 40 41 42 43 44 45 46 47 |
# 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 |