public interface SaveCreditCardCallback extends BrowserAsyncCallback<SaveCreditCardCallback.Params,SaveCreditCardCallback.Action>
The callback is invoked when the user submits a form with credit card information (a cardholder name, number, expiration date, CVV/CVC).
This callback is equivalent to the "Save Card?" bubble in Chromium.
Use the SaveCreditCardCallback.Action.save() method to save the credit card to the credit card store. All saved credit cards are shown in the suggestion pop-up when focusing the web form control.
Use the SaveCreditCardCallback.Action.decline() method to decline to save the credit card. If the current credit card is declined then the callback will be invoked again when submitting a web form with the same credit card.
The callback is not invoked if autofill is disabled.
Modifier and Type | Interface and Description |
---|---|
static class |
SaveCreditCardCallback.Action
An action providing a response to the
SaveCreditCardCallback . |
static interface |
SaveCreditCardCallback.Params
The parameters of the
SaveCreditCardCallback . |
on