-
public interface PaymentComponent.ListenerA listener for the PaymentComponent. It exposes the user interactions with all of the PaymentComponentViews.
-
-
Method Summary
Modifier and Type Method Description abstract UnitonMoreInformationClicked()Called when the user taps the "more information" link or the info icon in the PaymentComponentView. abstract UnitonBankPickerClicked()Called when the user taps the bank picker button in the PaymentComponentView. abstract UnitonPayInvoiceClicked(String documentId)Called when the user taps the "pay invoice" button in the PaymentComponentView. -
-
Method Detail
-
onMoreInformationClicked
abstract Unit onMoreInformationClicked()
Called when the user taps the "more information" link or the info icon in the PaymentComponentView.
You should show the MoreInformationFragment in this method.
-
onBankPickerClicked
abstract Unit onBankPickerClicked()
Called when the user taps the bank picker button in the PaymentComponentView.
You should show the BankSelectionBottomSheet in this method.
-
onPayInvoiceClicked
abstract Unit onPayInvoiceClicked(String documentId)
Called when the user taps the "pay invoice" button in the PaymentComponentView. The document id will be taken from the clicked PaymentComponentView's PaymentComponentView.documentId property.
- Parameters:
documentId- The value in the clicked PaymentComponentView's PaymentComponentView.documentId property
-
-
-
-