Interface PaymentComponentState
-
- All Implemented Interfaces:
public interface PaymentComponentState<PaymentMethodDetailsT extends PaymentMethodDetails>The current state of a PaymentComponent.
-
-
Method Summary
Modifier and Type Method Description abstract PaymentComponentData<PaymentMethodDetailsT>getData()abstract BooleanisInputValid()abstract BooleanisReady()BooleanisValid()-
-
Method Detail
-
getData
abstract PaymentComponentData<PaymentMethodDetailsT> getData()
- Returns:
The data that was collected by the component.
-
isInputValid
abstract Boolean isInputValid()
- Returns:
If the component UI data is valid.
-
isReady
abstract Boolean isReady()
- Returns:
If the component initialisation is done and data can be sent to the backend when valid.
-
-
-
-