application/models/bestitamazonpay4oxidclient.php
public function saveCapture($oOrder = null)
    {
        if ((string)$oOrder->getFieldData('bestitAmazonCaptureId') !== '') {
            return $this->getCaptureDetails($oOrder);
        } elseif ((string)$oOrder->getFieldData('bestitAmazonAuthorizationId') !== '') {
            return $this->capture($oOrder);
        }

        return false;
    }
public function saveCapture($oOrder = null)
    {
        if ((string)$oOrder->getFieldData('bestitAmazonCaptureId') !== '') {
            return $this->getCaptureDetails($oOrder);
        } elseif ((string)$oOrder->getFieldData('bestitAmazonAuthorizationId') !== '') {
            return $this->capture($oOrder);
        }

        return false;
    }
public function saveCapture ( $ oOrder = null ) { if ( ( string ) $ oOrder -> getFieldData ( 'bestitAmazonCaptureId' ) !== '' ) { return $ this -> getCaptureDetails ( $ oOrder ) ; } elseif ( ( string ) $ oOrder -> getFieldData ( 'bestitAmazonAuthorizationId' ) !== '' ) { return $ this -> capture ( $ oOrder ) ; } return false ; }
Save capture call.

@param oxOrder $oOrder

@return stdClass|bool
@throws Exception
Save capture call .