#credit(money, creditcard, options = {}) ⇒ Object

97
98
99
100
101
102
103
104
105
106
107
108
109

# File 'lib/active_merchant/billing/gateways/elavon.rb', line 97defcredit(money,creditcard,options={})ifcreditcard.is_a?(String)raiseArgumentError,"Reference credits are not supported. Please supply the original credit card or use the #refund method."endform={}add_invoice(form,options)add_creditcard(form,creditcard)add_address(form,options)add_customer_data(form,options)add_test_mode(form,options)commit(:credit,money,form,options)end