public function getOriginalTotal($i = 0, $only = false) {
        if (isset($this->list[$i]['OriginalTotal'])) {
            if ($only) {
                return $this->list[$i]['OriginalTotal']['Amount'];
            } else {
                return $this->list[$i]['OriginalTotal'];
            }
        } else {
            return false;
        }
    }
public function getOriginalTotal($i = 0, $only = false) {
        if (isset($this->list[$i]['OriginalTotal'])) {
            if ($only) {
                return $this->list[$i]['OriginalTotal']['Amount'];
            } else {
                return $this->list[$i]['OriginalTotal'];
            }
        } else {
            return false;
        }
    }
public function getOriginalTotal ( $ i = 0 , $ only = false ) { if ( isset ( $ this -> list [ $ i ] [ 'OriginalTotal' ] ) ) { if ( $ only ) { return $ this -> list [ $ i ] [ 'OriginalTotal' ] [ 'Amount' ] ; } else { return $ this -> list [ $ i ] [ 'OriginalTotal' ] ; } } else { return false ; } }
Returns the original total for the specified entry.

This method will return <b>FALSE</b> if the list has not yet been filled.
If an array is returned, it will have the fields <b>Amount</b> and <b>CurrencyCode</b>.
@param int $i [optional] <p>List index to retrieve the value from. Defaults to 0.</p>
@param boolean $only [optional] <p>set to <b>TRUE</b> to get only the amount</p>
@return array|string|boolean array, single value, or <b>FALSE</b> if Non-numeric index
Returns the original total for the specified entry .