src/AmazonPaymentBundle/pkgShop/AmazonPaymentHandler.php
public function isCaptureOnShipment()
    {
        $isPaymentOnShipmentStored = $this->GetUserPaymentDataItem(self::PARAMETER_IS_PAYMENT_ON_SHIPMENT);
        if (false !== $isPaymentOnShipmentStored) {
            return '1' === $isPaymentOnShipmentStored;
        }

        $config = $this->getAmazonPaymentGroupConfig($this->getActivePortalId());

        return $config->isCaptureOnShipment();
    }
public function isCaptureOnShipment()
    {
        $isPaymentOnShipmentStored = $this->GetUserPaymentDataItem(self::PARAMETER_IS_PAYMENT_ON_SHIPMENT);
        if (false !== $isPaymentOnShipmentStored) {
            return '1' === $isPaymentOnShipmentStored;
        }

        $config = $this->getAmazonPaymentGroupConfig($this->getActivePortalId());

        return $config->isCaptureOnShipment();
    }
public function isCaptureOnShipment ( ) { $ isPaymentOnShipmentStored = $ this -> GetUserPaymentDataItem ( self :: PARAMETER_IS_PAYMENT_ON_SHIPMENT ) ; if ( false !== $ isPaymentOnShipmentStored ) { return '1' === $ isPaymentOnShipmentStored ; } $ config = $ this -> getAmazonPaymentGroupConfig ( $ this -> getActivePortalId ( ) ) ; return $ config -> isCaptureOnShipment ( ) ; }
return true if capture on shipment is active.

@return bool
return true if capture on shipment is active .