Package com.teamdev.jxbrowser.card
Interface CreditCards
public interface CreditCards
A data store for credit cards.
-
Method Summary
Modifier and TypeMethodDescriptionadd(CreditCard creditCard) Adds a new record to the credit card store.all()Returns all credit cards.voidclear()Clears all records in the store.voidremove(CreditCard creditCard) Removes the credit from the store.
-
Method Details
-
add
Adds a new record to the credit card store.- Parameters:
creditCard- a new credit card record- Returns:
- a string indicating the reason for validation failure, or an empty one if the operation succeeds
- Throws:
ObjectClosedException- when the profile is deleted or its engine is closed- Since:
- 8.0.0
-
all
List<CreditCard> all()Returns all credit cards.Credit card records are saved to the store via
SaveCreditCardCallback.- Throws:
ObjectClosedException- when the profile is deleted or its engine is closed
-
remove
Removes the credit from the store.Removed credit cards are not displayed in the autofill suggestion pop-up.
- Throws:
ObjectClosedException- when the profile is deleted or its engine is closed
-
clear
void clear()Clears all records in the store.- Throws:
ObjectClosedException- when the profile is deleted or its engine is closed
-