# File lib/active_merchant/billing/gateways/beanstream.rb, line 71 def purchase(money, source, options = {}) post = {} add_amount(post, money) add_invoice(post, options) add_source(post, source) add_address(post, options) add_transaction_type(post, purchase_action(source)) commit(post) end