Example
Validations
Validates that the customer has enough membership credits to complete the rental.
Validates that a specific variant (e.g. a deposit) is present in the cart alongside this line item.
Validates that the quantity of this line item does not exceed available inventory.
Validates that all rental line items in the cart share the same value for a given property. Used to prevent mixing incompatible options (e.g. different rental start dates).