src/AmazonPaymentBundle/lib/amazon/OffAmazonPaymentsService/Samples/SplitShipmentsCheckoutExampleCLI.php
private function _performAuthAndCaptureForOrderShipment($shipmentNumber)
    {
        $response = $amazonAuthorizationId = $this->_performAuthorizationForShipment($shipmentNumber);
        $this->_waitUntilAuthorizationProcessingIsCompleted($amazonAuthorizationId);
        $this->_performCaptureForShipment($shipmentNumber, $amazonAuthorizationId);
    }
private function _performAuthAndCaptureForOrderShipment($shipmentNumber)
    {
        $response = $amazonAuthorizationId = $this->_performAuthorizationForShipment($shipmentNumber);
        $this->_waitUntilAuthorizationProcessingIsCompleted($amazonAuthorizationId);
        $this->_performCaptureForShipment($shipmentNumber, $amazonAuthorizationId);
    }
private function _performAuthAndCaptureForOrderShipment ( $ shipmentNumber ) { $ response = $ amazonAuthorizationId = $ this -> _performAuthorizationForShipment ( $ shipmentNumber ) ; $ this -> _waitUntilAuthorizationProcessingIsCompleted ( $ amazonAuthorizationId ) ; $ this -> _performCaptureForShipment ( $ shipmentNumber , $ amazonAuthorizationId ) ; }
Perform the authorize and capture for a single shipment in the order

@param int $shipmentNumber the shipment to perform transactions on
Perform the authorize and capture for a single shipment in the order