/** * Print the CloseBillingAgreement response to the console * * @param OffAmazonPaymentsService_Model_CloseBillingAgreementResponse $response * response object * * @return void */ function printCloseBillingAgreementResponse($response) { echo "Service Response\n"; echo "=============================================================================\n"; echo " CloseBillingAgreementResponse\n"; if ($response->isSetResponseMetadata()) { echo " ResponseMetadata\n"; $responseMetadata = $response->getResponseMetadata(); if ($responseMetadata->isSetRequestId()) { echo " RequestId\n"; echo " " . $responseMetadata->getRequestId() . "\n"; } } echo " ResponseHeaderMetadata: " . $response->getResponseHeaderMetadata() . "\n"; }