Sha256: e5957731dcaabe5581e1c8b130cb1c8fe8508038470ab48aefe84346a8c55a5c
Contents?: true
Size: 848 Bytes
Versions: 33
Compression:
Stored size: 848 Bytes
Contents
module Killbill #:nodoc: module Cybersource #:nodoc: class CybersourcePaymentMethod < ::Killbill::Plugin::ActiveMerchant::ActiveRecord::PaymentMethod self.table_name = 'cybersource_payment_methods' def self.from_response(kb_account_id, kb_payment_method_id, kb_tenant_id, cc_or_token, response, options, extra_params = {}, model = ::Killbill::Cybersource::CybersourcePaymentMethod) super(kb_account_id, kb_payment_method_id, kb_tenant_id, cc_or_token, response, options, { # Pass custom key/values here #:params_id => extract(response, 'id'), #:params_card_id => extract(response, 'card', 'id') }.merge!(extra_params), model) end end end end
Version data entries
33 entries across 33 versions & 1 rubygems