# File lib/active_merchant/billing/gateways/netaxept.rb, line 53 def capture(money, authorization, options = {}) post = {} add_credentials(post, options) add_authorization(post, authorization, money) commit('Capture', post, false) end
# File lib/active_merchant/billing/gateways/netaxept.rb, line 67 def credit(money, authorization, options = {}) deprecated CREDIT_DEPRECATION_MESSAGE refund(money, authorization, options) end
# File lib/active_merchant/billing/gateways/netaxept.rb, line 31 def purchase(money, creditcard, options = {}) requires!(options, :order_id) post = {} add_credentials(post, options) add_transaction(post, options) add_order(post, money, options) add_creditcard(post, creditcard) commit('Sale', post) end
# File lib/active_merchant/billing/gateways/netaxept.rb, line 60 def refund(money, authorization, options = {}) post = {} add_credentials(post, options) add_authorization(post, authorization, money) commit('Credit', post, false) end
Generated with the Darkfish Rdoc Generator 2.