def METHOD_NAME(
    order: Order,
) -> Iterable[FulfillmentLine]:
    return (
        line
        for line in FulfillmentLine.objects.select_related(
            "order_line", "fulfillment"
        ).filter(
            fulfillment__order_id=order.pk,
            fulfillment__status__in=[
                FulfillmentStatus.REFUNDED,
                FulfillmentStatus.REFUNDED_AND_RETURNED,
            ],
        )
        if _is_refunded_with_automatic_amount(line)
    )