Module: Spree::Returns::ReturnableQuantity

Extended by:
ActiveSupport::Concern
Included in:
Exchanges::Create, Create
Defined in:
app/workflows/spree/returns/returnable_quantity.rb

Overview

How many units of a shipped item can still go back.

A return and an exchange both take the same units off the customer, so each counts the other: without that, the units a customer returned could be exchanged again, and the credit for the exchange paid out a second time. Units named twice in one request count twice too.