PaymentCategory enum

A payment method category enabled for this merchant, from mobileappinit's categoryList.

Inheritance
Available extensions

Values

paymentSession → const PaymentCategory

Local-only - opens the hosted checkout page full-screen.

paymentSessionSheet → const PaymentCategory

Local-only - opens the hosted checkout page in the SDK's bottom sheet.

sdkCheckout → const PaymentCategory

Local-only - opens the SDK's native card-form checkout sheet.

ewallet → const PaymentCategory
biller → const PaymentCategory
bankAccount → const PaymentCategory
visaMasterCardPayment → const PaymentCategory
unionPayCardPayment → const PaymentCategory
dqrcPayment → const PaymentCategory
sqrcPayment → const PaymentCategory
rtpNowPayment → const PaymentCategory
rtpLaterPayment → const PaymentCategory
tokenization → const PaymentCategory
rtpEwalletPayment → const PaymentCategory
bnpl → const PaymentCategory
unknown → const PaymentCategory

An unrecognized category id, kept instead of dropped.

Properties

code → String
The raw category id the API uses; inverse of fromApiValue. Empty for local-only categories.
no setter
hashCode → int
The hash code for this object.
no setterinherited
index → int
A numeric identifier for the enumerated value.
no setterinherited
label → String
Human-readable label a host app can show on a button.
no setter
logoNames → List<String>
logos[].name values matching this category; inferred by name since the API doesn't link them.
no setter
name → String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

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

Static Methods

fromApiValue(String value) → PaymentCategory
Parses a raw category id from the API, falling back to unknown.

Constants

values → const List<PaymentCategory>
A constant List of the values in this enum, in order of their declaration.