Sha256: a030a46cce64753e53dacef9582d27a8c5d9a57d1554c529795d092a8103244c

Contents?: true

Size: 694 Bytes

Versions: 4

Compression:

Stored size: 694 Bytes

Contents

module Solidus
  module Returnly
    module RefundsConfiguration
      def return_item_amount_calculator_class
        Solidus::Returnly.return_item_amount_calculator || Solidus::Returnly::Refund::AmountCalculator
      end

      # return item qualifies to be restocked (after refund)
      def return_item_restock_policy_class
        Solidus::Returnly.return_item_restock_policy || Solidus::Returnly::Refund::ReturnItemRestockPolicy
      end

      def refunder_class
        Solidus::Returnly.refunder || Solidus::Returnly::Refunder
      end

      def refund_calculator_class
        Solidus::Returnly.refund_calculator || Solidus::Returnly::RefundCalculator
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
solidus-returnly-0.4.3 lib/solidus/returnly/refunds_configuration.rb
solidus-returnly-0.4.2 lib/solidus/returnly/refunds_configuration.rb
solidus-returnly-0.4.1 lib/solidus/returnly/refunds_configuration.rb
solidus-returnly-0.4.0 lib/solidus/returnly/refunds_configuration.rb