/**
  * Retreive the current information about the order as indicated by the buyer
  * and calculate the total amount to charge, based on address destination state 
  * and country
  * 
  * @return string total amount for the order that the merchant will 
  *         charge the buyer
  */
 private function _calculateOrderTotalBasedOnBuyerDestinationAddress()
 {
     $response = $this->callStepAndCheckForException('getOrderReferenceDetails');
     printGetOrderReferenceDetailsResponse($response);
     $orderTotalPreTaxAndShipping = $this->_getPreTaxAndShippingOrderAmountFromStdIn();
     $shippingType = $this->_getShippingTypeFromStdIn();
     return $this->exampleClass->calculateOrderTotalBasedOnBuyerDetails($response->getGetOrderReferenceDetailsResult()->getOrderReferenceDetails(), $orderTotalPreTaxAndShipping, $shippingType);
 }
 /**
  * Get the status of the order reference request object to show that it
  * now cancelled
  * 
  */
 private function _getOrderReferenceDetails()
 {
     $response = $this->callStepAndCheckForException('getOrderReferenceDetails');
     printGetOrderReferenceDetailsResponse($response);
 }