public function getPromotionIds($i = 0, $j = null){
        if (isset($this->itemList[$i]['PromotionIds'])){
            if (isset($this->itemList[$i]['PromotionIds'][$j])){
                return $this->itemList[$i]['PromotionIds'][$j];
            } else {
                return $this->itemList[$i]['PromotionIds'];
            }
        } else {
            return false;
        }
    }
public function getPromotionIds($i = 0, $j = null){
        if (isset($this->itemList[$i]['PromotionIds'])){
            if (isset($this->itemList[$i]['PromotionIds'][$j])){
                return $this->itemList[$i]['PromotionIds'][$j];
            } else {
                return $this->itemList[$i]['PromotionIds'];
            }
        } else {
            return false;
        }
    }
public function getPromotionIds ( $ i = 0 , $ j = null ) { if ( isset ( $ this -> itemList [ $ i ] [ 'PromotionIds' ] ) ) { if ( isset ( $ this -> itemList [ $ i ] [ 'PromotionIds' ] [ $ j ] ) ) { return $ this -> itemList [ $ i ] [ 'PromotionIds' ] [ $ j ] ; } else { return $ this -> itemList [ $ i ] [ 'PromotionIds' ] ; } } else { return false ; } }
Returns specified promotion ID for the specified item.

This method will return the entire list of Promotion IDs if <i>$j</i> is not set.
@param int $i [optional] <p>List index to retrieve the value from. Defaults to 0.</p>
@param int $j [optional] <p>Second list index to retrieve the value from. Defaults to NULL.</p>
@return array|string|boolean array, single value, or <b>FALSE</b> if incorrect index
Returns specified promotion ID for the specified item .