Class: Opensteam::Payment::DirectDebitPayment

Inherits:
Base
  • Object
show all
Defined in:
lib/opensteam/payment/direct_debit_payment.rb

Instance Method Summary collapse

Methods inherited from Base

[], inherited, new_with_type

Methods included from StateMachine

included

Instance Method Details

#authorize(amount = nil, options = {}) ⇒ Object

authorize amount and credit_card at payment gateway



33
34
# File 'lib/opensteam/payment/direct_debit_payment.rb', line 33

def authorize( amount = nil, options = {} )
end

#capture(amount, authorization, options = {}) ⇒ Object

capture amount from authorization



38
39
# File 'lib/opensteam/payment/direct_debit_payment.rb', line 38

def capture( amount, authorization, options = {} )
end

#gatewayObject



27
28
29
# File 'lib/opensteam/payment/direct_debit_payment.rb', line 27

def gateway
  nil
end

#purchase(amount = nil, options = {}) ⇒ Object

purchase amount from credit_card



43
44
# File 'lib/opensteam/payment/direct_debit_payment.rb', line 43

def purchase( amount = nil, options = {} )
end