-
public final class ReviewComponent
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classReviewComponent.Companion
-
Field Summary
Fields Modifier and Type Field Description private final StateFlow<PaymentDetails>paymentDetailsprivate final StateFlow<List<ValidationMessage>>paymentValidationprivate final StateFlow<PaymentProviderApp>paymentProviderAppprivate final StateFlow<Boolean>loadingFlowprivate final Flow<Boolean>isPaymentButtonEnabledprivate final PaymentComponentpaymentComponentprivate final ReviewConfigurationreviewConfigprivate final GiniInternalPaymentModuleginiInternalPaymentModule
-
Constructor Summary
Constructors Constructor Description ReviewComponent(PaymentComponent paymentComponent, ReviewConfiguration reviewConfig, GiniInternalPaymentModule giniInternalPaymentModule, CoroutineScope coroutineScope)
-
Method Summary
Modifier and Type Method Description final StateFlow<PaymentDetails>getPaymentDetails()final StateFlow<List<ValidationMessage>>getPaymentValidation()final StateFlow<PaymentProviderApp>getPaymentProviderApp()final StateFlow<Boolean>getLoadingFlow()final Flow<Boolean>getIsPaymentButtonEnabled()final PaymentComponentgetPaymentComponent()final ReviewConfigurationgetReviewConfig()final GiniInternalPaymentModulegetGiniInternalPaymentModule()final UnitsetRecipient(String recipient)final UnitsetIban(String iban)final UnitsetAmount(String amount)final UnitsetPurpose(String purpose)final BooleanshouldShowBankSelectionButton()final BooleanvalidatePaymentDetails(PaymentDetails paymentDetails)-
-
Constructor Detail
-
ReviewComponent
ReviewComponent(PaymentComponent paymentComponent, ReviewConfiguration reviewConfig, GiniInternalPaymentModule giniInternalPaymentModule, CoroutineScope coroutineScope)
-
-
Method Detail
-
getPaymentDetails
final StateFlow<PaymentDetails> getPaymentDetails()
-
getPaymentValidation
final StateFlow<List<ValidationMessage>> getPaymentValidation()
-
getPaymentProviderApp
final StateFlow<PaymentProviderApp> getPaymentProviderApp()
-
getLoadingFlow
final StateFlow<Boolean> getLoadingFlow()
-
getIsPaymentButtonEnabled
final Flow<Boolean> getIsPaymentButtonEnabled()
-
getPaymentComponent
final PaymentComponent getPaymentComponent()
-
getReviewConfig
final ReviewConfiguration getReviewConfig()
-
getGiniInternalPaymentModule
final GiniInternalPaymentModule getGiniInternalPaymentModule()
-
setRecipient
final Unit setRecipient(String recipient)
-
setPurpose
final Unit setPurpose(String purpose)
-
shouldShowBankSelectionButton
final Boolean shouldShowBankSelectionButton()
-
validatePaymentDetails
final Boolean validatePaymentDetails(PaymentDetails paymentDetails)
-
-
-
-