Method: AuthorizeNet::Transaction#set_shipping_address
- Defined in:
- lib/authorize_net/transaction.rb
#set_shipping_address(address) ⇒ Object
Takes an instance of AuthorizeNet::ShippingAddress and adds it to the transaction.
42 43 44 |
# File 'lib/authorize_net/transaction.rb', line 42 def set_shipping_address(address) @fields.merge!(address.to_hash) end |