module Returnly::RefundsConfiguration

Public Instance Methods

gift_card_class() click to toggle source
# File lib/returnly/refunds_configuration.rb, line 28
def gift_card_class
  Returnly.gift_card || Returnly::NilGiftCard
end
gift_card_estimate_class() click to toggle source
# File lib/returnly/refunds_configuration.rb, line 32
def gift_card_estimate_class
  Returnly.git_card_estimate || Returnly::NilGiftCardEstimate
end
refund_calculator_class() click to toggle source
# File lib/returnly/refunds_configuration.rb, line 20
def refund_calculator_class
  Returnly.refund_calculator || Returnly::RefundCalculator
end
refund_presenter_class() click to toggle source
# File lib/returnly/refunds_configuration.rb, line 24
def refund_presenter_class
  Returnly.refund_presenter || Returnly::RefundPresenter
end
refunder_class() click to toggle source
# File lib/returnly/refunds_configuration.rb, line 16
def refunder_class
  Returnly.refunder || Returnly::Refunder
end
return_item_amount_calculator_class() click to toggle source
# File lib/returnly/refunds_configuration.rb, line 3
def return_item_amount_calculator_class
  Returnly.return_item_amount_calculator || Returnly::Refund::AmountCalculator
end
return_item_builder_class() click to toggle source
# File lib/returnly/refunds_configuration.rb, line 7
def return_item_builder_class
  Returnly.return_item_builder || Returnly::Builders::ReturnItem
end
return_item_restock_policy_class() click to toggle source

return item qualifies to be restocked (after refund)

# File lib/returnly/refunds_configuration.rb, line 12
def return_item_restock_policy_class
  Returnly.return_item_restock_policy || Returnly::Refund::ReturnItemRestockPolicy
end