UniPayPaymentMethods enum

Inheritance
Available extensions

Values

applepay → const UniPayPaymentMethods
card → const UniPayPaymentMethods
stcpay → const UniPayPaymentMethods
tamara → const UniPayPaymentMethods
tabby → const UniPayPaymentMethods
notSpecified → const UniPayPaymentMethods

Properties

hashCode int
The hash code for this object.
no setterinherited
icon String
Get the icon asset by the payment method
no setter
index int
A numeric identifier for the enumerated value.
no setterinherited
isApplePay bool
Check if the payment method is ApplePay
no setter
isBNPL bool
IS BNPL
no setter
isCard bool
Check if the payment method is Card
no setter
isMoyasar bool
Check if the payment method is Moyasar gateway
no setter
isNotSpecified bool
Check if the payment method is NotSpecified
no setter
isStcPay bool
Check if the payment method is STC Pay
no setter
isTabby bool
Check if the payment method is Tabby
no setter
isTamara bool
Check if the payment method is Tamara
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
tabbyPaymentMethod → OrderHistoryItemPaymentMethod
Get the tabby payment method
no setter
title String
Get the title by the payment method
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
payNowAmount(num totalAmount) String
Get the pay now amount by the type of payment method is selected
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

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