mixin common methods between online models that have line items