src/AmazonPaymentBundle/lib/amazon/OffAmazonPaymentsNotifications/Impl/Message.php
public function getField($fieldName)
    {
        if (array_key_exists($fieldName, $this->_message)) {
            return $this->_message[$fieldName];
        } else {
            return null;
        }
    }
public function getField($fieldName)
    {
        if (array_key_exists($fieldName, $this->_message)) {
            return $this->_message[$fieldName];
        } else {
            return null;
        }
    }
public function getField ( $ fieldName ) { if ( array_key_exists ( $ fieldName , $ this -> _message ) ) { return $ this -> _message [ $ fieldName ] ; } else { return null ; } }
Extract the field if present, return null if not defined

@param string $fieldName name of the field to extract

@return string field contents if found, null otherwise
Extract the field if present return null if not defined