private function checkAndCreateMopDetailedData($fopType)
    {
        if (is_null($this->paymentModule->mopDetailedData)) {
            $this->paymentModule->mopDetailedData = new MopDetailedData($fopType);
        }
    }
private function checkAndCreateMopDetailedData($fopType)
    {
        if (is_null($this->paymentModule->mopDetailedData)) {
            $this->paymentModule->mopDetailedData = new MopDetailedData($fopType);
        }
    }
private function checkAndCreateMopDetailedData ( $ fopType ) { if ( is_null ( $ this -> paymentModule -> mopDetailedData ) ) { $ this -> paymentModule -> mopDetailedData = new MopDetailedData ( $ fopType ) ; } }
Create MopDetailedData node if needed

@param string $fopType
Create MopDetailedData node if needed