{@inheritdoc}

If you want to unstore a credit card you should also keep card token from
response `$response->card->token`
Then pass it as option in unstore method below.
193234
public function store(CreditCard $creditcard, $options = array())
    {
        Options::required('email', $options);

        $this->post = array();
        $options = new Options($options);
        $this->addCreditcard($creditcard);
        $this->addAddress($options);
        $this->post['email'] = $options['email'];

        return $this->commit(self::STORE);
    }
747889
public function unRegister()
    {
        $moduleObject = $this->getObject();

        if ($this->isRegistered()) {
            /**
             * It's important to check if module class defines UnInstallDB method (it should unregister module)
             * Thus absent UnInstallDB indicates that the module does not support automatic uninstallation
             */
            if ((new \ReflectionClass($moduleObject))->getMethod('UnInstallDB')->class !== get_class($moduleObject)) {
                throw new Exception\ModuleUninstallException(
                    'Missing UnInstallDB method. This module does not support automatic uninstallation',
                    $this->name
                );
            }

            /** @noinspection PhpVoidFunctionResultUsedInspection */
            if (!$moduleObject->UnInstallFiles() && BitrixException::hasException()) {
                throw new Exception\ModuleUninstallException(
                    get_class($moduleObject) . '::UnInstallFiles() returned false',
                    $this->name
                );
            }

            $moduleObject->UnInstallEvents();

            /** @noinspection PhpVoidFunctionResultUsedInspection */
            if (!$moduleObject->UnInstallDB() && BitrixException::hasException()) {
                throw new Exception\ModuleUninstallException(
                    get_class($moduleObject) . '::UnInstallFiles() returned false',
                    $this->name
                );
            }

            if ($this->isRegistered()) {
                throw new Exception\ModuleUninstallException('Module was not unregistered', $this->name);
            }
        }

        return $this;
    }
1343232
public function deleteAccount()
    {
        $this->accountDeletionStatus = false;
        $user = $this->getUser();

        /**
         * Setting derived to false allows mall users to delete their account being in a different shop as the shop
         * the account was originally created in.
         */
        if (\OxidEsales\Eshop\Core\Registry::getConfig()->getConfigParam('blMallUsers')) {
            $user->setIsDerived(false);
        }

        if ($this->canUserAccountBeDeleted() && $user->delete()) {
            $this->accountDeletionStatus = true;
            $user->logout();
            $session = $this->getSession();
            $session->destroy();
        }
    }
1370961
public function cleanAmazonPay()
    {
        //Delete our created user for Amazon checkout
        $oUser = $this->getActiveUser();
        $sAmazonUserName = $this->getSession()->getVariable('amazonOrderReferenceId') . '@amazon.com';

        if ($oUser !== false && $oUser->getFieldData('oxusername') === $sAmazonUserName) {
            $oUser->delete();
        }

        //Delete several session variables to clean up Amazon data in session
        $this->getSession()->deleteVariable('amazonOrderReferenceId');
        $this->getSession()->deleteVariable('sAmazonSyncResponseState');
        $this->getSession()->deleteVariable('sAmazonSyncResponseAuthorizationId');
        $this->getSession()->deleteVariable('blAmazonSyncChangePayment');
        $this->getSession()->deleteVariable('sAmazonBasketHash');

        //General cleanup of user accounts that has been created for orders and wos not used
        $this->cleanUpUnusedAccounts();
    }
745339
private void unmarkRemovedDefaultSessionToken(String site, String token) {
		if (removedDefaultTokens == null)
			return;
		HashSet<String> removed = removedDefaultTokens.get(site);
		if (removed == null)
			return;
		removed.remove(token);
	}
171618
public function unsetRefreshToken($refresh_token)
	{
		// create refresh token
		$token = \Components\Developer\Models\RefreshToken::oneByToken($refresh_token);

		// make sure we have a token
		if (!$token->get('id'))
		{
			return false;
		}

		// delete token
		return $token->destroy();
	}
3950
private base_response unset_request(nitro_service service, options option, String args[])  throws Exception
	{
		String sessionid = service.get_sessionid();
		String request = unset_string(service, sessionid, option, args);
		return post_data(service,request);
	}
784852
def remove
            raise "Not all necessary api methods are defined to process this action!" unless api_methods[:remove]
            self.class.in_transaction(true) do |token|
                self.class.make_call(api_methods[:remove],name,token)
            end
        end
402682
function pop()
    {
        $ret = \Swoole::$php->redis($this->redis_factory_key)->lPop($this->key);
        if ($ret)
        {
            return unserialize($ret);
        }
        else
        {
            return false;
        }
    }
456942
public function cancelCoupon($basketId, string $couponCode, $userId)  // !! DEPRECATED moved to basket
    {
        $params = [
          "basketId" => $basketId,
          "couponCode" => $couponCode,
          "userId" => $userId
        ];

        $response = $this->handler->handle('POST', $params, 'discard');

        //TODO: refactor to make method
        return $response;
        //        return $this->make($response, false);
    }
62863
def cache_card(self, card):
        
        code = card.code
        self.card_cache[code] = card
        if code in self.card_cache_list:
            self.card_cache_list.remove(code)
        self.card_cache_list.append(code)

        if len(self.card_cache_list) > self.cachelimit:
            del self.card_cache[self.card_cache_list.pop(0)]
986498
function del(uuid, callback) {
  if(!util.isFunction(callback)) {
    throw new Error('callback must be a function');
  }

  var resource = this.coinjar.personal.api_endpoint +
    '/v1/contacts/' +
    uuid +
    '.json';

  request.del(resource)
    .auth(this.coinjar.personal.auth_token)
    .end(function (response) {
      if(response.error) {
        return callback(new Error('Coinjar personal contacts api returned error: ' + response.error));
      }
      return callback(null, response.statusCode);
    });
}
1253528
@RequestMapping(path = "/{customerId}", method = RequestMethod.DELETE)
    public ResponseEntity removeCustomer(@PathVariable("customerId") Long customerId){
        boolean succeed = customerService.removeCustomer(customerId);
        if(succeed){
            return new ResponseEntity(HttpStatus.OK);
        }else{
            return new ResponseEntity(HttpStatus.NOT_FOUND);
        }
    }
530941
def OnRemoveCards(self, removedcards):
        """"""
        parentnode = self.root
        for cardtoremove in removedcards:
            (childCard, cookie) = self.GetFirstChild(parentnode)
            while childCard.IsOk():
                if self.GetItemText(childCard) == \
                        toHexString(cardtoremove.atr):
                    self.Delete(childCard)
                (childCard, cookie) = self.GetNextChild(parentnode, cookie)
        self.Expand(self.root)
        self.EnsureVisible(self.root)
        self.Repaint()
347884
protected static function deleteStoreCreditPaymentByIdAsyncWithHttpInfo($store_credit_payment_id) 
    {
        $returnType = '';  
        $request = self::deleteStoreCreditPaymentByIdRequest($store_credit_payment_id); 

        return self::getHttpClient()
            ->sendAsync($request, self::createHttpClientOption())
            ->then(
                function ($response) use ($returnType) {
                    return [null, $response->getStatusCode(), $response->getHeaders()];
                },
                function ($exception) {
                    $response = $exception->getResponse();
                    $statusCode = $response->getStatusCode();
                    throw new ApiException(
                        sprintf(
                            '[%d] Error connecting to the API (%s)',
                            $statusCode,
                            $exception->getRequest()->getUri()
                        ),
                        $statusCode,
                        $response->getHeaders(),
                        $response->getBody()
                    );
                }
            );
    }
648535
public function unregister($k)
	{
		if ( array_key_exists($k, $this->_items) )
		{
			$item = $this->_items[$k];
			unset($this->_items[$k]);
			return $item;
		}
		else
			return FALSE;
	}
491939
def OnRemoveCards(self, removedcards):
        """"""
        self.mutex.acquire()
        try:
            parentnode = self.root
            for cardtoremove in removedcards:
                (childReader, cookie) = self.GetFirstChild(parentnode)
                found = False
                while childReader.IsOk() and not found:
                    if self.GetItemText(childReader) == \
                            str(cardtoremove.reader):
                        (childCard, cookie2) = self.GetFirstChild(childReader)
                        self.SetItemText(childCard, 'no card inserted')
                        found = True
                    else:
                        (childReader, cookie) = \
                            self.GetNextChild(parentnode, cookie)
            self.Expand(self.root)
        finally:
            self.mutex.release()
        self.EnsureVisible(self.root)
        self.Repaint()