Sha256: 3ab32981ae29d13f1dc2aad6ce15a0e124b61288d851369c57ef1a484e09ad6e

Contents?: true

Size: 1.29 KB

Versions: 1

Compression:

Stored size: 1.29 KB

Contents

require 'killbill/plugin'

module Killbill
  module Plugin
    class Payment < PluginBase

      class OperationUnsupportedByGatewayError < NotImplementedError
      end

      def charge(external_account_key, killbill_payment_id, amount_in_cents, options = {})
        raise OperationUnsupportedByGatewayError
      end

      def refund(external_account_key, killbill_payment_id, amount_in_cents, options = {})
        raise OperationUnsupportedByGatewayError
      end

      def get_payment_info(killbill_payment_id, options = {})
        raise OperationUnsupportedByGatewayError
      end

      def add_payment_method(external_account_key, payment_method, options = {})
        raise OperationUnsupportedByGatewayError
      end

      def delete_payment_method(external_account_key, external_payment_method_id, options = {})
        raise OperationUnsupportedByGatewayError
      end

      def update_payment_method(external_account_key, payment_method, options = {})
        raise OperationUnsupportedByGatewayError
      end

      def set_default_payment_method(external_account_key, payment_method, options = {})
        raise OperationUnsupportedByGatewayError
      end

      def create_account(killbill_account, options = {})
        raise OperationUnsupportedByGatewayError
      end

    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
killbill-1.0.0 lib/killbill/payment.rb