Pantheon\Terminus\Commands\PaymentMethod\RemoveCommand::remove PHP Method

remove() public method

Remove the applied paynment method to the given site
public remove ( string $site_name )
$site_name string The name or UUID of the site to remove the payment method from
    public function remove($site_name)
    {
        $site = $this->getSite($site_name);
        $site->removePaymentMethod()->wait();
        $this->log()->notice('The payment method for the {site} site has been removed.', ['site' => $site->get('name')]);
    }
RemoveCommand