src/AmazonPaymentBundle/lib/amazon/OffAmazonPaymentsService/Samples/RefundExampleCLI.php
private function _getRefundAmount()
    {
        print PHP_EOL . "----------------------------------------------------------------------------" . PHP_EOL;
        
        print "Enter the amount to refund the customer (to 2 decimal places): ";
        do {
            $refundAmount = trim(fgets(STDIN));
        } while (!is_numeric($refundAmount));
        
        return $refundAmount;
    }
private function _getRefundAmount()
    {
        print PHP_EOL . "----------------------------------------------------------------------------" . PHP_EOL;
        
        print "Enter the amount to refund the customer (to 2 decimal places): ";
        do {
            $refundAmount = trim(fgets(STDIN));
        } while (!is_numeric($refundAmount));
        
        return $refundAmount;
    }
private function _getRefundAmount ( ) { print PHP_EOL . "----------------------------------------------------------------------------" . PHP_EOL ; print "Enter the amount to refund the customer (to 2 decimal places): " ; do { $ refundAmount = trim ( fgets ( STDIN ) ) ; } while ( ! is_numeric ( $ refundAmount ) ) ; return $ refundAmount ; }
Get the amount to refund

@return string refund amount, as a numeric string`
Get the amount to refund