public function getChildSkuSelectionMapping($childSku)
    {

        // query whether or not a child SKU selection ID mapping is available
        if (isset($this->childSkuSelectionIdMapping[$childSku])) {
            return $this->childSkuSelectionIdMapping[$childSku];
        }

        // throw an exception if the SKU has not been mapped yet
        throw new \Exception(
            $this->appendExceptionSuffix(
                sprintf('Found not mapped selection ID mapping for SKU %s', $childSku)
            )
        );
    }
public function getChildSkuSelectionMapping($childSku)
    {

        // query whether or not a child SKU selection ID mapping is available
        if (isset($this->childSkuSelectionIdMapping[$childSku])) {
            return $this->childSkuSelectionIdMapping[$childSku];
        }

        // throw an exception if the SKU has not been mapped yet
        throw new \Exception(
            $this->appendExceptionSuffix(
                sprintf('Found not mapped selection ID mapping for SKU %s', $childSku)
            )
        );
    }
public function getChildSkuSelectionMapping ( $ childSku ) { // query whether or not a child SKU selection ID mapping is available if ( isset ( $ this -> childSkuSelectionIdMapping [ $ childSku ] ) ) { return $ this -> childSkuSelectionIdMapping [ $ childSku ] ; } // throw an exception if the SKU has not been mapped yet throw new \ Exception ( $ this -> appendExceptionSuffix ( sprintf ( 'Found not mapped selection ID mapping for SKU %s' , $ childSku ) ) ) ; }
Return's the selection ID for the passed child SKU.

@param string $childSku The child SKU to return the selection ID for

@return integer The last created selection ID
@throws \Exception Is thrown if the SKU is not mapped yet
Return s the selection ID for the passed child SKU .