-
- All Implemented Interfaces:
-
android.os.Parcelable
public interface OnBeforeSubmitCallback implements Parcelable
The OnBeforeSubmitCallback interface is designed to review and modify the PaymentDetails before submitting transaction. It can be used to request a new checkout id if payment brand requires additional parameters. Or cancel the checkout if payment details are not correct.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public interface
OnBeforeSubmitCallback.Listener
The listener interface for receiving completion events.
-
Method Summary
Modifier and Type Method Description abstract void
onBeforeSubmit(@NonNull() PaymentDetails paymentDetails, @NonNull() OnBeforeSubmitCallback.Listener listener)
The onBeforeSubmit method is called once payment details are collected and before submitting transaction. -
-
Method Detail
-
onBeforeSubmit
abstract void onBeforeSubmit(@NonNull() PaymentDetails paymentDetails, @NonNull() OnBeforeSubmitCallback.Listener listener)
The onBeforeSubmit method is called once payment details are collected and before submitting transaction. NOTE: This method is called on the main thread.
- Parameters:
paymentDetails
- The PaymentDetails for review.listener
- The Listener to notify the mSDK that payment details are reviewed.
-
-
-
-