예제 #1
0
 /**
  * @param string $billingProfile
  * @param callable $success
  * @param callable $failure
  *
  * @return Response\RemoveCard
  */
 public final function removeCard($billingProfile, callable $success, callable $failure)
 {
     $this->apiCheck(__FUNCTION__);
     $response = new Response\RemoveCard($this->getApi());
     $response->setBillingProfile($billingProfile);
     $this->execute($response, __FUNCTION__, $success, $failure);
     return $response;
 }