moosyl library
Classes
- ConfigurationListDataInner
- ConfigurationListDataInner
- MasriviView
- A view that displays Masrivi payment in a WebView.
- Moosyl
- Moosyl provides a widget that handles the payment process. It allows you to customize the payment methods, icons, and success callbacks.
- MoosylFlutter
- Convenience class to open the payment flow.
- MoosylLocalization
- A class that provides localization support for the Moosyl package.
- MoosylPaymentMethodRenderData
- Data passed to MoosylPaymentMethodBuilder for each payment method row.
- MoosylPaymentMethods
- Standalone payment method picker that can be embedded in custom checkout UI.
- MoosylPaymentMethodsController
- Controller for MoosylPaymentMethods.
- MoosylPaymentMethodsLoadingData
- Data passed to MoosylPaymentMethodsLoadingBuilder.
- MoosylPaymentSummaryItem
- A summary row shown in the Moosyl payment flow.
Enums
- MasriviWebViewPresentation
- How the Masrivi WebView should be presented.
- PaymentMethodTypes
- Enum representing the different types of payment methods available.
Functions
-
normalizeMasriviPhoneNumberForPrefill(
String? phoneNumber) → String - Returns an 8-digit local Masrivi phone number, or an empty string if invalid.
Typedefs
- MoosylPaymentMethodBuilder = Widget Function(BuildContext context, MoosylPaymentMethodRenderData data)
- Builds a custom payment method row.
- MoosylPaymentMethodsLoadingBuilder = Widget Function(BuildContext context, MoosylPaymentMethodsLoadingData data)
- Builds custom loading content for MoosylPaymentMethods.