LokotroPaymentMethodFlag enum
PR-3.0 — Payment-method-level discriminator.
Mirrors ELokotroPaymentMethodFlag in the gateway. The SDK uses this to
detect which provider backs a card payment method:
• rawbankCreditCard — Mastercard MPGS via Rawbank acquirer (legacy)
• onafriqCreditCard — Onafriq Card Collections (hosted page redirect)
Both ultimately route the user to a hosted checkout URL the gateway returns; the flag mainly drives branding/copy ("You'll be redirected to Onafriq…" vs "…to your bank").
- Inheritance
- Available extensions
Values
- none → const LokotroPaymentMethodFlag
- all → const LokotroPaymentMethodFlag
- onafriqMobileMoney → const LokotroPaymentMethodFlag
- onafriqCreditCard → const LokotroPaymentMethodFlag
- rawbankCreditCard → const LokotroPaymentMethodFlag
- lokotroWallet → const LokotroPaymentMethodFlag
- lokotroEflash → const LokotroPaymentMethodFlag
- cash → const LokotroPaymentMethodFlag
- bankTransfer → const LokotroPaymentMethodFlag
- googlePay → const LokotroPaymentMethodFlag
- applePay → const LokotroPaymentMethodFlag
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- isCardProvider → bool
-
Available on LokotroPaymentMethodFlag, provided by the LokotroPaymentMethodFlagExtension extension
Convenience: is this a card-channel provider?no setter - name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - requiresEmbeddedCardForm → bool
-
Available on LokotroPaymentMethodFlag, provided by the LokotroPaymentMethodFlagExtension extension
Convenience: does this provider require the SDK to host its own card form (DIRECT_CAPTURE-style)? Currently always false — both card providers use a hosted-page redirect. Kept as a forward-compat hook.no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- wireValue → String
-
Available on LokotroPaymentMethodFlag, provided by the LokotroPaymentMethodFlagExtension extension
Wire format — must match the snake_case values inapp/modules/enums/lokotro_enum.py:ELokotroPaymentMethodFlag.no setter
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
-
values
→ const List<
LokotroPaymentMethodFlag> - A constant List of the values in this enum, in order of their declaration.