module Returnly module RefundsConfiguration def return_item_amount_calculator_class Returnly.return_item_amount_calculator || Returnly::Refund::AmountCalculator end # return item qualifies to be restocked (after refund) def return_item_restock_policy_class Returnly.return_item_restock_policy || Returnly::Refund::ReturnItemRestockPolicy end def refunder_class Returnly.refunder || Returnly::Refunder end def refund_calculator_class Returnly.refund_calculator || Returnly::RefundCalculator end end end