public function fetchItems($token = false){
        if (!isset($this->data['AmazonOrderId'])){
            return false;
        }
        if (!is_bool($token)){
            $token = false;
        }
        $items = new AmazonOrderItemList($this->storeName,$this->data['AmazonOrderId'],$this->mockMode,$this->mockFiles,$this->config);
        $items->setLogPath($this->logpath);
        $items->mockIndex = $this->mockIndex;
        $items->setUseToken($token);
        $items->fetchItems();
        return $items;
    }
public function fetchItems($token = false){
        if (!isset($this->data['AmazonOrderId'])){
            return false;
        }
        if (!is_bool($token)){
            $token = false;
        }
        $items = new AmazonOrderItemList($this->storeName,$this->data['AmazonOrderId'],$this->mockMode,$this->mockFiles,$this->config);
        $items->setLogPath($this->logpath);
        $items->mockIndex = $this->mockIndex;
        $items->setUseToken($token);
        $items->fetchItems();
        return $items;
    }
public function fetchItems ( $ token = false ) { if ( ! isset ( $ this -> data [ 'AmazonOrderId' ] ) ) { return false ; } if ( ! is_bool ( $ token ) ) { $ token = false ; } $ items = new AmazonOrderItemList ( $ this -> storeName , $ this -> data [ 'AmazonOrderId' ] , $ this -> mockMode , $ this -> mockFiles , $ this -> config ) ; $ items -> setLogPath ( $ this -> logpath ) ; $ items -> mockIndex = $ this -> mockIndex ; $ items -> setUseToken ( $ token ) ; $ items -> fetchItems ( ) ; return $ items ; }
Fetches items for the order from Amazon.

See the <i>AmazonOrderItemList</i> class for more information on the returned object.
@param boolean $token [optional] <p>whether or not to automatically use item tokens in the request</p>
@return AmazonOrderItemList container for order's items
Fetches items for the order from Amazon .