Sha256: 51b5acf8edd10697639e7266c8d24b93d64ce63804b8b56d80aa4ee48e646916

Contents?: true

Size: 1.75 KB

Versions: 21

Compression:

Stored size: 1.75 KB

Contents

require 'killbill/plugin'

module Killbill
  module Plugin
    class Payment < PluginBase

      class OperationUnsupportedByGatewayError < NotImplementedError
      end

      def process_payment(kb_account_id, kb_payment_id, kb_payment_method_id, amount_in_cents, currency, call_context, options = {})
        raise OperationUnsupportedByGatewayError
      end

      def get_payment_info(kb_account_id, kb_payment_id, tenant_context, options = {})
        raise OperationUnsupportedByGatewayError
      end

      def process_refund(kb_account_id, kb_payment_id, amount_in_cents, currency, call_context, options = {})
        raise OperationUnsupportedByGatewayError
      end

      def get_refund_info(kb_account_id, kb_payment_id, tenant_context, options = {})
        raise OperationUnsupportedByGatewayError
      end

      def add_payment_method(kb_account_id, kb_payment_method_id, payment_method_props, set_default, call_context, options = {})
        raise OperationUnsupportedByGatewayError
      end

      def delete_payment_method(kb_account_id, kb_payment_method_id, call_context, options = {})
        raise OperationUnsupportedByGatewayError
      end

      def get_payment_method_detail(kb_account_id, kb_payment_method_id, tenant_context, options = {})
        raise OperationUnsupportedByGatewayError
      end

      def set_default_payment_method(kb_account_id, kb_payment_method_id, call_context, options = {})
        raise OperationUnsupportedByGatewayError
      end

      def get_payment_methods(kb_account_id, refresh_from_gateway, call_context, options = {})
        raise OperationUnsupportedByGatewayError
      end

      def reset_payment_methods(kb_account_id, payment_methods)
        raise OperationUnsupportedByGatewayError
      end
    end
  end
end

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
killbill-3.0.0 lib/killbill/payment.rb
killbill-2.0.1 lib/killbill/payment.rb
killbill-2.0.0 lib/killbill/payment.rb
killbill-1.9.0 lib/killbill/payment.rb
killbill-1.8.4 lib/killbill/payment.rb
killbill-1.8.3 lib/killbill/payment.rb
killbill-1.8.2 lib/killbill/payment.rb
killbill-1.8.1 lib/killbill/payment.rb
killbill-1.8.0 lib/killbill/payment.rb
killbill-1.7.1 lib/killbill/payment.rb
killbill-1.7.0 lib/killbill/payment.rb
killbill-1.6.0 lib/killbill/payment.rb
killbill-1.5.0 lib/killbill/payment.rb
killbill-1.4.0 lib/killbill/payment.rb
killbill-1.3.0 lib/killbill/payment.rb
killbill-1.2.0 lib/killbill/payment.rb
killbill-1.1.2 lib/killbill/payment.rb
killbill-1.1.1 lib/killbill/payment.rb
killbill-1.0.19 lib/killbill/payment.rb
killbill-1.0.18 lib/killbill/payment.rb