Molybden API
Loading...
Searching...
No Matches
molybden::CreditCards Class Referenceabstract

The credit card store. More...

#include <credit_cards.hpp>

Public Member Functions

virtual std::vector< CreditCardlist ()=0
 Returns all saved credit cards in this store.
 
virtual void remove (const CreditCard &credit_card)=0
 Removes the credit card from the store.
 
virtual void clear ()=0
 Clears all records in the store.
 
virtual std::shared_ptr< Profileprofile ()=0
 The profile of this credit card store.
 

Detailed Description

The credit card store.

Member Function Documentation

◆ list()

virtual std::vector< CreditCard > molybden::CreditCards::list ( )
pure virtual

Returns all saved credit cards in this store.

Credit card records are saved to the store via the BrowserDelegate::OnSaveCreditCard method.

◆ remove()

virtual void molybden::CreditCards::remove ( const CreditCard credit_card)
pure virtual

Removes the credit card from the store.

Removed credit cards are not displayed in the autofill suggestion pop-up.

Parameters
credit_cardthe credit card to remove.

The documentation for this class was generated from the following file: