JSON - CALCULATOR CLASS -<PAYMENT CALCULATOR> -<Calculator Class> -<JavaScript for Calculator> -<Calculator PHPUnit Test>

$obj = new PenaltyCalculation();
$obj->init();

$mFailureToFilePenalty = $obj->mFailureToFilePenalty;
$mFailureToPayPenalty = $obj->mFailureToPayPenalty;
$mInterestPenalty = $obj->mInterestPenalty;
$mAmountOwed = $obj->mAmountOwed;
        
$test_json = array(
                      "failureToFilePenalty" => $mFailureToFilePenalty,
                      "failureToPayPenalty"  => $mFailureToPayPenalty,
                      "interestPenalty"      => $mInterestPenalty,
                      "amountOwed"           => $mAmountOwed
                   );
echo json_encode( $test_json );