(self)
This goes through all credit lines that:
        - specify the related feature or product rate that generated this line item
This goes through all credit lines that:
        - specify the related feature or product rate that generated this line item
This goes through all credit lines that : - specify the related feature or product rate that generated this line item
def calculate_credit_adjustments(self):
        """
        This goes through all credit lines that:
        - specify the related feature or product rate that generated this line item
        """
        current_total = self.total
        credit_lines = CreditLine.get_credits_for_line_item(self)
        CreditLine.apply_credits_toward_balance(credit_lines, current_total, line_item=self)
def calculate_credit_adjustments ( self ) : current_total = self . total credit_lines = CreditLine . get_credits_for_line_item ( self ) CreditLine . apply_credits_toward_balance ( credit_lines , current_total , line_item = self )