/** * Cancel Subscription And Refund * * Cancels a subscription. * * @see http://docs.amazonwebservices.com/${docPath}CancelSubscriptionAndRefund.html * @param mixed $request array of parameters for Amazon_FPS_Model_CancelSubscriptionAndRefundRequest request * or Amazon_FPS_Model_CancelSubscriptionAndRefundRequest object itself * @see Amazon_FPS_Model_CancelSubscriptionAndRefund * @return Amazon_FPS_Model_CancelSubscriptionAndRefundResponse Amazon_FPS_Model_CancelSubscriptionAndRefundResponse * * @throws Amazon_FPS_Exception */ public function cancelSubscriptionAndRefund($request) { if (!$request instanceof Amazon_FPS_Model_CancelSubscriptionAndRefundRequest) { //require_once('Amazon/FPS/Model/CancelSubscriptionAndRefundRequest.php'); $request = new Amazon_FPS_Model_CancelSubscriptionAndRefundRequest($request); } //require_once('Amazon/FPS/Model/CancelSubscriptionAndRefundResponse.php'); return Amazon_FPS_Model_CancelSubscriptionAndRefundResponse::fromXML($this->_invoke($this->_convertCancelSubscriptionAndRefund($request))); }
/** * Cancel Subscription And Refund * * Cancels a subscription. * * @see http://docs.amazonwebservices.com/${docPath}CancelSubscriptionAndRefund.html * @param mixed $request array of parameters for Amazon_FPS_Model_CancelSubscriptionAndRefund request or Amazon_FPS_Model_CancelSubscriptionAndRefund object itself * @see Amazon_FPS_Model_CancelSubscriptionAndRefund * @return Amazon_FPS_Model_CancelSubscriptionAndRefundResponse Amazon_FPS_Model_CancelSubscriptionAndRefundResponse * * @throws Amazon_FPS_Exception */ public function cancelSubscriptionAndRefund($request) { require_once 'Amazon/FPS/Model/CancelSubscriptionAndRefundResponse.php'; return Amazon_FPS_Model_CancelSubscriptionAndRefundResponse::fromXML($this->_invoke('CancelSubscriptionAndRefund')); }