public interface PaymentMethodListViewFactory
The payment method list allows to select by the user a payment method. The list is fetched dynamically from the wallee web service.
| Modifier and Type | Interface and Description |
|---|---|
static interface |
PaymentMethodListViewFactory.PaymentMethodListViewListener
This listener informs the implementor about events occurring within the payment method list
view.
|
| Modifier and Type | Method and Description |
|---|---|
android.view.View |
build(android.view.ViewGroup parent,
PaymentMethodListViewFactory.PaymentMethodListViewListener listener,
java.util.List<PaymentMethodConfiguration> paymentMethodConfigurations,
java.util.Map<PaymentMethodConfiguration,PaymentMethodIcon> icons)
This method is invoked to create a view which lists all the payment methods which the user
can use to pay with.
|
android.view.View build(android.view.ViewGroup parent,
PaymentMethodListViewFactory.PaymentMethodListViewListener listener,
java.util.List<PaymentMethodConfiguration> paymentMethodConfigurations,
java.util.Map<PaymentMethodConfiguration,PaymentMethodIcon> icons)
The implementor does not need to add the view into the parent view. This is done
by the caller of the method.
parent - the parent view into which the created view is inserted
into.listener - the listener which allows to listen to events within the
view.paymentMethodConfigurations - the payment methods from which the user can select from.icons - the payment method icons which can be displayed along the
payment method name.