public interface SuccessViewFactory
A transaction succeeds when at least the authorization of the transaction is successful. This factory creates a view which is shown in this situation.
Implementing a dedicated factory allows to override the view shown to the user.
| Modifier and Type | Method and Description |
|---|---|
android.view.View |
build(android.view.ViewGroup parent,
Transaction transaction)
This method is responsible to create the view which is shown to the customer when the
transaction is succeeding.
|
android.view.View build(android.view.ViewGroup parent,
Transaction transaction)
The implementor does not have to add the created view into the parent.
parent - the parent view into which the created view is integrated into.transaction - the transaction which is succeeding.