Module: VaultedBilling::Gateway
- Included in:
- VaultedBilling::Gateways::AuthorizeNetCim, VaultedBilling::Gateways::Bogus, VaultedBilling::Gateways::Ipcommerce, VaultedBilling::Gateways::NmiCustomerVault
- Defined in:
- lib/vaulted_billing/gateway.rb
Defined Under Namespace
Modules: Response
Instance Method Summary collapse
- #add_customer(customer) ⇒ Object
- #add_customer_credit_card(customer, credit_card, options = {}) ⇒ Object
- #authorize(customer, credit_card, amount, options = {}) ⇒ Object
- #capture(transaction_id, amount, options = {}) ⇒ Object
- #purchase(customer, credit_card, amount, options = {}) ⇒ Object
- #refund(transaction_id, amount, options = {}) ⇒ Object
- #remove_customer(customer) ⇒ Object
- #remove_customer_credit_card(customer, credit_card) ⇒ Object
- #update_customer(customer) ⇒ Object
- #update_customer_credit_card(customer, credit_card, options = {}) ⇒ Object
- #void(transaction_id, options = {}) ⇒ Object
Instance Method Details
#add_customer(customer) ⇒ Object
15 16 17 |
# File 'lib/vaulted_billing/gateway.rb', line 15 def add_customer(customer) raise NotImplementedError end |
#add_customer_credit_card(customer, credit_card, options = {}) ⇒ Object
27 28 29 |
# File 'lib/vaulted_billing/gateway.rb', line 27 def add_customer_credit_card(customer, credit_card, = {}) raise NotImplementedError end |
#authorize(customer, credit_card, amount, options = {}) ⇒ Object
39 40 41 |
# File 'lib/vaulted_billing/gateway.rb', line 39 def (customer, credit_card, amount, = {}) raise NotImplementedError end |
#capture(transaction_id, amount, options = {}) ⇒ Object
43 44 45 |
# File 'lib/vaulted_billing/gateway.rb', line 43 def capture(transaction_id, amount, = {}) raise NotImplementedError end |
#purchase(customer, credit_card, amount, options = {}) ⇒ Object
47 48 49 |
# File 'lib/vaulted_billing/gateway.rb', line 47 def purchase(customer, credit_card, amount, = {}) raise NotImplementedError end |
#refund(transaction_id, amount, options = {}) ⇒ Object
51 52 53 |
# File 'lib/vaulted_billing/gateway.rb', line 51 def refund(transaction_id, amount, = {}) raise NotImplementedError end |
#remove_customer(customer) ⇒ Object
23 24 25 |
# File 'lib/vaulted_billing/gateway.rb', line 23 def remove_customer(customer) raise NotImplementedError end |
#remove_customer_credit_card(customer, credit_card) ⇒ Object
35 36 37 |
# File 'lib/vaulted_billing/gateway.rb', line 35 def remove_customer_credit_card(customer, credit_card) raise NotImplementedError end |
#update_customer(customer) ⇒ Object
19 20 21 |
# File 'lib/vaulted_billing/gateway.rb', line 19 def update_customer(customer) raise NotImplementedError end |
#update_customer_credit_card(customer, credit_card, options = {}) ⇒ Object
31 32 33 |
# File 'lib/vaulted_billing/gateway.rb', line 31 def update_customer_credit_card(customer, credit_card, = {}) raise NotImplementedError end |
#void(transaction_id, options = {}) ⇒ Object
55 56 57 |
# File 'lib/vaulted_billing/gateway.rb', line 55 def void(transaction_id, = {}) raise NotImplementedError end |