コード例 #1
0
ファイル: Client.php プロジェクト: mark-orussa/Adrlist
 /**
  * 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)));
 }
コード例 #2
0
ファイル: Mock.php プロジェクト: poseidonjm/invoice-ninja
 /**
  * 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'));
 }