Lines Matching refs:CreditCard
195 const CreditCard** imported_credit_card) {
202 scoped_ptr<CreditCard> local_imported_credit_card(new CreditCard);
250 value = CreditCard::StripSeparators(value);
322 !CreditCard::IsValidCreditCardNumber(
329 for (std::vector<CreditCard*>::const_iterator iter = credit_cards_.begin();
412 std::vector<CreditCard>* credit_cards) {
422 std::mem_fun_ref(&CreditCard::IsEmpty)),
431 for (std::vector<CreditCard*>::const_iterator iter = credit_cards_.begin();
433 if (!FindByGUID<CreditCard>(*credit_cards, (*iter)->guid()))
438 for (std::vector<CreditCard>::iterator iter = credit_cards->begin();
440 if (FindByGUID<CreditCard>(credit_cards_, iter->guid()))
445 for (std::vector<CreditCard>::iterator iter = credit_cards->begin();
447 if (!FindByGUID<CreditCard>(credit_cards_, iter->guid()) &&
454 for (std::vector<CreditCard>::iterator iter = credit_cards->begin();
456 credit_cards_.push_back(new CreditCard(*iter));
533 void PersonalDataManager::AddCreditCard(const CreditCard& credit_card) {
534 std::vector<CreditCard> credit_cards(credit_cards_.size());
537 DereferenceFunctor<CreditCard>());
543 void PersonalDataManager::UpdateCreditCard(const CreditCard& credit_card) {
550 for (std::vector<CreditCard*>::iterator iter = credit_cards_->begin();
554 *iter = new CreditCard(credit_card);
566 std::vector<CreditCard> credit_cards(credit_cards_.size());
569 DereferenceFunctor<CreditCard>());
574 FormGroupMatchesByGUIDFunctor<CreditCard>(guid)),
580 CreditCard* PersonalDataManager::GetCreditCardByGUID(const std::string& guid) {
581 for (std::vector<CreditCard*>::iterator iter = credit_cards_.begin();
609 for (ScopedVector<CreditCard>::iterator iter = credit_cards_.begin();
662 const std::vector<CreditCard*>& PersonalDataManager::credit_cards() {
848 const WDResult<std::vector<CreditCard*> >* r =
849 static_cast<const WDResult<std::vector<CreditCard*> >*>(result);
851 std::vector<CreditCard*> credit_cards = r->GetValue();
852 for (std::vector<CreditCard*>::iterator iter = credit_cards.begin();
889 const CreditCard& imported_credit_card) {
896 std::vector<CreditCard> creditcards;
897 for (std::vector<CreditCard*>::const_iterator iter = credit_cards_.begin();