suspendSubscription() public method

Use this call to suspend an agreement.
public suspendSubscription ( array $parameters = [] ) : Omnipay\PayPal\Message\RestSuspendSubscriptionRequest
$parameters array
return Omnipay\PayPal\Message\RestSuspendSubscriptionRequest
コード例 #1
0
ファイル: RestGatewayTest.php プロジェクト: omnipay/paypal
 public function testSuspendSubscription()
 {
     $this->setMockHttpResponse('RestGenericSubscriptionSuccess.txt');
     $response = $this->gateway->suspendSubscription($this->subscription_options)->send();
     $this->assertTrue($response->isSuccessful());
     $this->assertNull($response->getMessage());
 }