Class: Killbill::Orbital::OrbitalPaymentMethod
- Inherits:
-
Plugin::ActiveMerchant::ActiveRecord::PaymentMethod
- Object
- Plugin::ActiveMerchant::ActiveRecord::PaymentMethod
- Killbill::Orbital::OrbitalPaymentMethod
- Defined in:
- lib/orbital/models/payment_method.rb
Class Method Summary collapse
Class Method Details
.from_response(kb_account_id, kb_payment_method_id, kb_tenant_id, cc_or_token, response, options, extra_params = {}, model = ::Killbill::Orbital::OrbitalPaymentMethod) ⇒ Object
7 8 9 10 11 12 13 14 15 16 17 18 |
# File 'lib/orbital/models/payment_method.rb', line 7 def self.from_response(kb_account_id, kb_payment_method_id, kb_tenant_id, cc_or_token, response, , extra_params = {}, model = ::Killbill::Orbital::OrbitalPaymentMethod) super(kb_account_id, kb_payment_method_id, kb_tenant_id, cc_or_token, response, , { :cc_number => extract(response, 'cc_account_num'), }.merge!(extra_params), model) end |