Class SaveCreditCardCallback.Action

java.lang.Object
com.teamdev.jxbrowser.callback.AsyncCallbackAction<com.teamdev.jxbrowser.card.internal.rpc.SaveCreditCard.Response>
com.teamdev.jxbrowser.browser.callback.SaveCreditCardCallback.Action
Enclosing interface:
SaveCreditCardCallback

public static final class SaveCreditCardCallback.Action extends AsyncCallbackAction<com.teamdev.jxbrowser.card.internal.rpc.SaveCreditCard.Response>
An action providing a response to the SaveCreditCardCallback.
  • Constructor Details

    • Action

      public Action(Consumer<com.teamdev.jxbrowser.card.internal.rpc.SaveCreditCard.Response> consumer)
  • Method Details

    • save

      public void save()
      Tells the browser to save the credit card to the credit card store.
    • decline

      public void decline()
      Tells the browser to decline to save the credit card.