src/AmazonPaymentBundle/lib/amazon/OffAmazonPaymentsService/Samples/AddressConsentSample.php
public function getOrderReferenceDetails($addressConsentToken = null)
	{
		$getOrderReferenceDetailsRequest = new OffAmazonPaymentsService_Model_GetOrderReferenceDetailsRequest();
		$getOrderReferenceDetailsRequest->setSellerId($this->_sellerId);
		$getOrderReferenceDetailsRequest->setAmazonOrderReferenceId($this->_amazonOrderReferenceId);
		
		if (is_null($addressConsentToken) == FALSE) {
			$decodedToken = urldecode($addressConsentToken);
			$getOrderReferenceDetailsRequest->setAddressConsentToken($decodedToken);
		}
	
		return $this->_service->getOrderReferenceDetails($getOrderReferenceDetailsRequest);
	}
public function getOrderReferenceDetails($addressConsentToken = null)
	{
		$getOrderReferenceDetailsRequest = new OffAmazonPaymentsService_Model_GetOrderReferenceDetailsRequest();
		$getOrderReferenceDetailsRequest->setSellerId($this->_sellerId);
		$getOrderReferenceDetailsRequest->setAmazonOrderReferenceId($this->_amazonOrderReferenceId);
		
		if (is_null($addressConsentToken) == FALSE) {
			$decodedToken = urldecode($addressConsentToken);
			$getOrderReferenceDetailsRequest->setAddressConsentToken($decodedToken);
		}
	
		return $this->_service->getOrderReferenceDetails($getOrderReferenceDetailsRequest);
	}
public function getOrderReferenceDetails ( $ addressConsentToken = null ) { $ getOrderReferenceDetailsRequest = new OffAmazonPaymentsService_Model_GetOrderReferenceDetailsRequest ( ) ; $ getOrderReferenceDetailsRequest -> setSellerId ( $ this -> _sellerId ) ; $ getOrderReferenceDetailsRequest -> setAmazonOrderReferenceId ( $ this -> _amazonOrderReferenceId ) ; if ( is_null ( $ addressConsentToken ) == FALSE ) { $ decodedToken = urldecode ( $ addressConsentToken ) ; $ getOrderReferenceDetailsRequest -> setAddressConsentToken ( $ decodedToken ) ; } return $ this -> _service -> getOrderReferenceDetails ( $ getOrderReferenceDetailsRequest ) ; }
Use the order reference object to query the order information, including
the current physical delivery address as selected by the buyer

@return OffAmazonPaymentsService_Model_GetOrderReferenceDetailsResponse service response
Use the order reference object to query the order information including the current physical delivery address as selected by the buyer