# File lib/active_merchant/billing/gateways/jetpay.rb, line 79 def capture(money, reference, options = {}) commit(money, build_capture_request('CAPT', reference.split(";").first)) end
# File lib/active_merchant/billing/gateways/jetpay.rb, line 88 def credit(money, transaction_id_or_card, options = {}) if transaction_id_or_card.is_a?(String) deprecated CREDIT_DEPRECATION_MESSAGE refund(money, transaction_id_or_card, options) else commit(money, build_credit_request('CREDIT', money, nil, transaction_id_or_card)) end end
# File lib/active_merchant/billing/gateways/jetpay.rb, line 71 def purchase(money, credit_card, options = {}) commit(money, build_sale_request(money, credit_card, options)) end
# File lib/active_merchant/billing/gateways/jetpay.rb, line 97 def refund(money, reference, options = {}) transaction_id = reference.split(";").first credit_card = options[:credit_card] commit(money, build_credit_request('CREDIT', money, transaction_id, credit_card)) end
Generated with the Darkfish Rdoc Generator 2.