TransactionPartnerType enum

This object represents the type of the transaction partner.

Inheritance
Available extensions

Values

fragment → const TransactionPartnerType

Represents a withdrawal transaction with Fragment.

const TransactionPartnerType("fragment")
user → const TransactionPartnerType

Represents a transaction with a user.

const TransactionPartnerType("user")
telegramAds → const TransactionPartnerType

Represents a withdrawal transaction to the Telegram Ads platform.

const TransactionPartnerType("telegram_ads")
telegramApi → const TransactionPartnerType

Represents transaction with payment for paid broadcasting.

const TransactionPartnerType("telegram_api")
other → const TransactionPartnerType

Represents a transaction with an unknown source or recipient.

const TransactionPartnerType("other")
affiliateProgram → const TransactionPartnerType

Describes the affiliate program that issued the affiliate commission received via this transaction

const TransactionPartnerType("affiliate_program")

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
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
value String
The value of this enum.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() String
Converts this TransactionPartnerType to a String.
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

fromJson(String value) TransactionPartnerType
Constructs a new TransactionPartnerType from a String.

Constants

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