cancelSubscription() 공개 메소드

Use this call to cancel an agreement.
public cancelSubscription ( array $parameters = [] ) : Omnipay\PayPal\Message\RestCancelSubscriptionRequest
$parameters array
리턴 Omnipay\PayPal\Message\RestCancelSubscriptionRequest
예제 #1
0
 public function testCancelSubscription()
 {
     $this->setMockHttpResponse('RestGenericSubscriptionSuccess.txt');
     $response = $this->gateway->cancelSubscription($this->subscription_options)->send();
     $this->assertTrue($response->isSuccessful());
     $this->assertNull($response->getMessage());
 }