ext/bestitamazonpay4oxid_oxdeliverysetlist.php
protected function _getShippingAvailableForPayment($sShipSet)
    {
        $oDatabase = $this->_getContainer()->getDatabase();

        $sSql = "SELECT OXOBJECTID
            FROM oxobject2payment
            WHERE OXOBJECTID = {$oDatabase->quote($sShipSet)}
                AND OXPAYMENTID = {$oDatabase->quote('bestitamazon')}
                AND OXTYPE = 'oxdelset'
                AND OXTYPE = 'oxdelset' LIMIT 1";

        $sShippingId = $oDatabase->getOne($sSql);
        return ($sShippingId) ? true : false;
    }
protected function _getShippingAvailableForPayment($sShipSet)
    {
        $oDatabase = $this->_getContainer()->getDatabase();

        $sSql = "SELECT OXOBJECTID
            FROM oxobject2payment
            WHERE OXOBJECTID = {$oDatabase->quote($sShipSet)}
                AND OXPAYMENTID = {$oDatabase->quote('bestitamazon')}
                AND OXTYPE = 'oxdelset'
                AND OXTYPE = 'oxdelset' LIMIT 1";

        $sShippingId = $oDatabase->getOne($sSql);
        return ($sShippingId) ? true : false;
    }
protected function _getShippingAvailableForPayment ( $ sShipSet ) { $ oDatabase = $ this -> _getContainer ( ) -> getDatabase ( ) ; $ sSql = "SELECT OXOBJECTID
            FROM oxobject2payment
            WHERE OXOBJECTID = {$oDatabase->quote($sShipSet)}
                AND OXPAYMENTID = {$oDatabase->quote('bestitamazon')}
                AND OXTYPE = 'oxdelset'
                AND OXTYPE = 'oxdelset' LIMIT 1" ; $ sShippingId = $ oDatabase -> getOne ( $ sSql ) ; return ( $ sShippingId ) ? true : false ; }
Returns if Amazon pay is assigned available shipping ways

@param string $sShipSet the string to quote

@return boolean
@throws oxConnectionException
@throws oxSystemComponentException
Returns if Amazon pay is assigned available shipping ways