-
- All Implemented Interfaces:
public class UiComponentsConfig.Builder
-
-
Method Summary
Modifier and Type Method Description <T extends Fragment, ProcessingUiComponent> UiComponentsConfig.Builder
setProcessingUiComponentClass(@NonNull() Class<T> uiComponentClass)
Sets the UI Component class for processing screen. <T extends Fragment, PaymentMethodSelectionUiComponent> UiComponentsConfig.Builder
setPaymentMethodSelectionUiComponentClass(@NonNull() Class<T> uiComponentClass)
Sets the UI Component class for payment method selection screen. <T extends Fragment, CardUiComponent> UiComponentsConfig.Builder
setCardUiComponentClass(@NonNull() Class<T> uiComponentClass)
Sets the UI Component class for card payment method. <T extends Fragment, CardTokenUiComponent> UiComponentsConfig.Builder
setCardTokenUiComponentClass(@NonNull() Class<T> uiComponentClass)
Sets the class for card token payment method. <T extends Fragment, BankAccountTokenUiComponent> UiComponentsConfig.Builder
setBankAccountTokenUiComponentClass(@NonNull() Class<T> uiComponentClass)
Sets the class for bank account token payment method. <T extends Fragment, DirectDebitSepaUiComponent> UiComponentsConfig.Builder
setDirectDebitSepaUiComponentClass(@NonNull() Class<T> uiComponentClass)
Sets the UI Component class for DirectDebit SEPA payment method. <T extends Fragment, AciInstantPayUiComponent> UiComponentsConfig.Builder
setAciInstantPayUiComponentClass(@NonNull() Class<T> uiComponentClass)
Sets the UI Component class for ACI INSTANT PAY payment method. UiComponentsConfig
build()
Constructs a UI Components configuration. -
-
Method Detail
-
setProcessingUiComponentClass
@NonNull() <T extends Fragment, ProcessingUiComponent> UiComponentsConfig.Builder setProcessingUiComponentClass(@NonNull() Class<T> uiComponentClass)
Sets the UI Component class for processing screen.
- Parameters:
uiComponentClass
- The Fragment class implements ProcessingUiComponent.
-
setPaymentMethodSelectionUiComponentClass
@NonNull() <T extends Fragment, PaymentMethodSelectionUiComponent> UiComponentsConfig.Builder setPaymentMethodSelectionUiComponentClass(@NonNull() Class<T> uiComponentClass)
Sets the UI Component class for payment method selection screen.
- Parameters:
uiComponentClass
- The Fragment class implements PaymentMethodSelectionUiComponent.
-
setCardUiComponentClass
@NonNull() <T extends Fragment, CardUiComponent> UiComponentsConfig.Builder setCardUiComponentClass(@NonNull() Class<T> uiComponentClass)
Sets the UI Component class for card payment method.
- Parameters:
uiComponentClass
- The Fragment class implements CardUiComponent.
-
setCardTokenUiComponentClass
@NonNull() <T extends Fragment, CardTokenUiComponent> UiComponentsConfig.Builder setCardTokenUiComponentClass(@NonNull() Class<T> uiComponentClass)
Sets the class for card token payment method.
- Parameters:
uiComponentClass
- The Fragment class implements CardTokenUiComponent.
-
setBankAccountTokenUiComponentClass
@NonNull() <T extends Fragment, BankAccountTokenUiComponent> UiComponentsConfig.Builder setBankAccountTokenUiComponentClass(@NonNull() Class<T> uiComponentClass)
Sets the class for bank account token payment method.
- Parameters:
uiComponentClass
- The Fragment class implements BankAccountTokenUiComponent.
-
setDirectDebitSepaUiComponentClass
@NonNull() <T extends Fragment, DirectDebitSepaUiComponent> UiComponentsConfig.Builder setDirectDebitSepaUiComponentClass(@NonNull() Class<T> uiComponentClass)
Sets the UI Component class for DirectDebit SEPA payment method.
- Parameters:
uiComponentClass
- The Fragment class implements DirectDebitSepaUiComponent.
-
setAciInstantPayUiComponentClass
@NonNull() <T extends Fragment, AciInstantPayUiComponent> UiComponentsConfig.Builder setAciInstantPayUiComponentClass(@NonNull() Class<T> uiComponentClass)
Sets the UI Component class for ACI INSTANT PAY payment method.
- Parameters:
uiComponentClass
- The fragment class implements AciInstantPayUiComponent.
-
build
@NonNull() UiComponentsConfig build()
Constructs a UI Components configuration.
-
-
-
-