/**
  * Perform the authorization for the shipment at the given index
  * 
  * @param int $shipmentNumber order item index to authorize
  * 
  * @return string amazonAuthorizationId for the single auth call
  */
 private function _performAuthorizationForShipment($shipmentNumber)
 {
     $response = $this->callStepAndCheckForException('performAuthorizationForShipment', array($shipmentNumber));
     printAuthorizeResponse($response);
     return $response->getAuthorizeResult()->getAuthorizationDetails()->getAmazonAuthorizationId();
 }
 /**
  * Perform the authorize call for the order
  *
  * @return string amazonAuthorizationId amazon generated authorization id reference
  */
 private function _performAuthorization()
 {
     $response = $this->callStepAndCheckForException('performAuthorization');
     printAuthorizeResponse($response);
     return $response->getAuthorizeResult()->getAuthorizationDetails()->getAmazonAuthorizationId();
 }
 /**
  * Perform the authorize call for the order
  * 
  * @param float $authorizationAmount amount to authorize from the buyer
  * 
  * @return string amazonAuthorizationId amazon generated authorization id reference
  */
 private function _authorizeOrderAmount($authorizationAmount, $authOption = 1)
 {
     $response = $this->callStepAndCheckForException('authorizeOrderAmount', array($authorizationAmount, $authOption));
     printAuthorizeResponse($response);
     return $response->getAuthorizeResult()->getAuthorizationDetails()->getAmazonAuthorizationId();
 }