Class: Killbill::Plugin::Payment
Defined Under Namespace
Classes: OperationUnsupportedByGatewayError
Instance Attribute Summary
Attributes inherited from PluginBase
#active, #clock, #conf_dir, #kb_apis, #logger, #plugin_name, #root
Instance Method Summary
collapse
-
#add_payment_method(kb_account_id, kb_payment_method_id, payment_method_props, set_default, properties, context) ⇒ Object
-
#authorize_payment(kb_account_id, kb_payment_id, kb_payment_transaction_id, kb_payment_method_id, amount, currency, properties, context) ⇒ Object
-
#build_form_descriptor(kb_account_id, descriptor_fields, properties, context) ⇒ Object
-
#capture_payment(kb_account_id, kb_payment_id, kb_payment_transaction_id, kb_payment_method_id, amount, currency, properties, context) ⇒ Object
-
#credit_payment(kb_account_id, kb_payment_id, kb_payment_transaction_id, kb_payment_method_id, amount, currency, properties, context) ⇒ Object
-
#delete_payment_method(kb_account_id, kb_payment_method_id, properties, context) ⇒ Object
-
#get_payment_info(kb_account_id, kb_payment_id, properties, context) ⇒ Object
-
#get_payment_method_detail(kb_account_id, kb_payment_method_id, properties, context) ⇒ Object
-
#get_payment_methods(kb_account_id, refresh_from_gateway, properties, context) ⇒ Object
-
#process_notification(notification, properties, context) ⇒ Object
-
#purchase_payment(kb_account_id, kb_payment_id, kb_payment_transaction_id, kb_payment_method_id, amount, currency, properties, context) ⇒ Object
-
#refund_payment(kb_account_id, kb_payment_id, kb_payment_transaction_id, kb_payment_method_id, amount, currency, properties, context) ⇒ Object
-
#reset_payment_methods(kb_account_id, payment_methods, properties, context) ⇒ Object
-
#search_payment_methods(search_key, offset, limit, properties, context) ⇒ Object
-
#search_payments(search_key, offset, limit, properties, context) ⇒ Object
-
#set_default_payment_method(kb_account_id, kb_payment_method_id, properties, context) ⇒ Object
-
#void_payment(kb_account_id, kb_payment_id, kb_payment_transaction_id, kb_payment_method_id, properties, context) ⇒ Object
#on_event
Methods inherited from PluginBase
#after_request, #initialize, #start_plugin, #stop_plugin
Instance Method Details
#add_payment_method(kb_account_id, kb_payment_method_id, payment_method_props, set_default, properties, context) ⇒ Object
42
43
44
|
# File 'lib/killbill/payment.rb', line 42
def add_payment_method(kb_account_id, kb_payment_method_id, payment_method_props, set_default, properties, context)
raise OperationUnsupportedByGatewayError
end
|
#authorize_payment(kb_account_id, kb_payment_id, kb_payment_transaction_id, kb_payment_method_id, amount, currency, properties, context) ⇒ Object
10
11
12
|
# File 'lib/killbill/payment.rb', line 10
def authorize_payment(kb_account_id, kb_payment_id, kb_payment_transaction_id, kb_payment_method_id, amount, currency, properties, context)
raise OperationUnsupportedByGatewayError
end
|
70
71
72
|
# File 'lib/killbill/payment.rb', line 70
def build_form_descriptor(kb_account_id, descriptor_fields, properties, context)
raise OperationUnsupportedByGatewayError
end
|
#capture_payment(kb_account_id, kb_payment_id, kb_payment_transaction_id, kb_payment_method_id, amount, currency, properties, context) ⇒ Object
14
15
16
|
# File 'lib/killbill/payment.rb', line 14
def capture_payment(kb_account_id, kb_payment_id, kb_payment_transaction_id, kb_payment_method_id, amount, currency, properties, context)
raise OperationUnsupportedByGatewayError
end
|
#credit_payment(kb_account_id, kb_payment_id, kb_payment_transaction_id, kb_payment_method_id, amount, currency, properties, context) ⇒ Object
26
27
28
|
# File 'lib/killbill/payment.rb', line 26
def credit_payment(kb_account_id, kb_payment_id, kb_payment_transaction_id, kb_payment_method_id, amount, currency, properties, context)
raise OperationUnsupportedByGatewayError
end
|
#delete_payment_method(kb_account_id, kb_payment_method_id, properties, context) ⇒ Object
46
47
48
|
# File 'lib/killbill/payment.rb', line 46
def delete_payment_method(kb_account_id, kb_payment_method_id, properties, context)
raise OperationUnsupportedByGatewayError
end
|
#get_payment_info(kb_account_id, kb_payment_id, properties, context) ⇒ Object
34
35
36
|
# File 'lib/killbill/payment.rb', line 34
def get_payment_info(kb_account_id, kb_payment_id, properties, context)
raise OperationUnsupportedByGatewayError
end
|
#get_payment_method_detail(kb_account_id, kb_payment_method_id, properties, context) ⇒ Object
50
51
52
|
# File 'lib/killbill/payment.rb', line 50
def get_payment_method_detail(kb_account_id, kb_payment_method_id, properties, context)
raise OperationUnsupportedByGatewayError
end
|
#get_payment_methods(kb_account_id, refresh_from_gateway, properties, context) ⇒ Object
58
59
60
|
# File 'lib/killbill/payment.rb', line 58
def get_payment_methods(kb_account_id, refresh_from_gateway, properties, context)
raise OperationUnsupportedByGatewayError
end
|
#process_notification(notification, properties, context) ⇒ Object
74
75
76
|
# File 'lib/killbill/payment.rb', line 74
def process_notification(notification, properties, context)
raise OperationUnsupportedByGatewayError
end
|
#purchase_payment(kb_account_id, kb_payment_id, kb_payment_transaction_id, kb_payment_method_id, amount, currency, properties, context) ⇒ Object
18
19
20
|
# File 'lib/killbill/payment.rb', line 18
def purchase_payment(kb_account_id, kb_payment_id, kb_payment_transaction_id, kb_payment_method_id, amount, currency, properties, context)
raise OperationUnsupportedByGatewayError
end
|
#refund_payment(kb_account_id, kb_payment_id, kb_payment_transaction_id, kb_payment_method_id, amount, currency, properties, context) ⇒ Object
30
31
32
|
# File 'lib/killbill/payment.rb', line 30
def refund_payment(kb_account_id, kb_payment_id, kb_payment_transaction_id, kb_payment_method_id, amount, currency, properties, context)
raise OperationUnsupportedByGatewayError
end
|
#reset_payment_methods(kb_account_id, payment_methods, properties, context) ⇒ Object
66
67
68
|
# File 'lib/killbill/payment.rb', line 66
def reset_payment_methods(kb_account_id, payment_methods, properties, context)
raise OperationUnsupportedByGatewayError
end
|
#search_payment_methods(search_key, offset, limit, properties, context) ⇒ Object
62
63
64
|
# File 'lib/killbill/payment.rb', line 62
def search_payment_methods(search_key, offset, limit, properties, context)
raise OperationUnsupportedByGatewayError
end
|
#search_payments(search_key, offset, limit, properties, context) ⇒ Object
38
39
40
|
# File 'lib/killbill/payment.rb', line 38
def search_payments(search_key, offset, limit, properties, context)
raise OperationUnsupportedByGatewayError
end
|
#set_default_payment_method(kb_account_id, kb_payment_method_id, properties, context) ⇒ Object
54
55
56
|
# File 'lib/killbill/payment.rb', line 54
def set_default_payment_method(kb_account_id, kb_payment_method_id, properties, context)
raise OperationUnsupportedByGatewayError
end
|
#void_payment(kb_account_id, kb_payment_id, kb_payment_transaction_id, kb_payment_method_id, properties, context) ⇒ Object
22
23
24
|
# File 'lib/killbill/payment.rb', line 22
def void_payment(kb_account_id, kb_payment_id, kb_payment_transaction_id, kb_payment_method_id, properties, context)
raise OperationUnsupportedByGatewayError
end
|