src/TransactionBuilder.php
/**
     * Set if discount is applicable for the current line
     *
     * @param   boolean             discounted
     * @return  TransactionBuilder
     */
Set if discount is applicable for the current line
@param   boolean             discounted
@return  TransactionBuilder
Set if discount is applicable for the current line @param boolean discounted @return TransactionBuilder
public function withItemDiscount($discounted)
    {
        $l = GetMostRecentLine("WithItemDiscount");
        $l['discounted'] = $discounted;
        return $this;
    }
public function withItemDiscount ( $ discounted ) { $ l = GetMostRecentLine ( " WithItemDiscount " ) ; $ l [ 'discounted' ] = $ discounted ; return $ this ; }
Set if discount is applicable for the current line
 @param   boolean             discounted
 @return  TransactionBuilder
Set if discount is applicable for the current line @param boolean discounted @return TransactionBuilder