/** * @param \Vespolina\Entity\Billing\BillingAgreementInterface $ba */ public function deactivateBillingAgreement(BillingAgreementInterface $ba) { $ba->setActive(0); $this->gateway->updateBillingAgreement($ba); }