TonWalletTransactionTypeTelegramGiftOfferCancellation class
An offer to buy a Telegram gift was canceled by the buyer on the TON blockchain
- Inheritance
-
- Object
- TdObject
- TonWalletTransactionType
- TonWalletTransactionTypeTelegramGiftOfferCancellation
- Available extensions
- Annotations
-
- @immutable
Constructors
Properties
- counterpartyAddress → String
-
counterpartyAddress Address of the seller on the TON blockchain; may be
empty if unknown
final
- fineAmount → int
-
fineAmount The fine for the cancellation of the offer, in the smallest
units of TON Grams; -1 if unknown
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- nft → TonNft?
-
nft The NFT for which the offer was created; may be null if unknown
final
- offerAddress → String
-
offerAddress Address of the smart contract of the offer on the TON
blockchain; the same for all transactions related to the offer
final
- price → int
-
price The offered price for the NFT without the service fee and
blockchain fees, in the smallest units of TON Grams; 0 if unknown
final
- refundAmount → int
-
refundAmount The amount returned to the buyer, in the smallest units of
TON Grams
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
copyWith(
{TonNft? nft, String? offerAddress, String? counterpartyAddress, int? price, int? refundAmount, int? fineAmount}) → TonWalletTransactionTypeTelegramGiftOfferCancellation -
Available on TonWalletTransactionTypeTelegramGiftOfferCancellation, provided by the TonWalletTransactionTypeTelegramGiftOfferCancellationExtensions extension
-
getConstructor(
) → String -
override
-
map<
TResult extends Object?> ({required TResult onRampDeposit(TonWalletTransactionTypeOnRampDeposit value), required TResult transfer(TonWalletTransactionTypeTransfer value), required TResult nftTransfer(TonWalletTransactionTypeNftTransfer value), required TResult telegramGiftTransfer(TonWalletTransactionTypeTelegramGiftTransfer value), required TResult telegramGiftPurchase(TonWalletTransactionTypeTelegramGiftPurchase value), required TResult telegramGiftSale(TonWalletTransactionTypeTelegramGiftSale value), required TResult telegramGiftListing(TonWalletTransactionTypeTelegramGiftListing value), required TResult telegramGiftDelisting(TonWalletTransactionTypeTelegramGiftDelisting value), required TResult telegramGiftOfferCreation(TonWalletTransactionTypeTelegramGiftOfferCreation value), required TResult telegramGiftOfferAcceptance(TonWalletTransactionTypeTelegramGiftOfferAcceptance value), required TResult telegramGiftOfferCancellation(TonWalletTransactionTypeTelegramGiftOfferCancellation value), required TResult telegramGiftOfferDecline(TonWalletTransactionTypeTelegramGiftOfferDecline value), required TResult telegramGiftOfferExpiration(TonWalletTransactionTypeTelegramGiftOfferExpiration value), required TResult keyChange(TonWalletTransactionTypeKeyChange value)}) → TResult -
Available on TonWalletTransactionType, provided by the TonWalletTransactionTypeExtensions extension
-
maybeMap<
TResult extends Object?> ({TResult onRampDeposit(TonWalletTransactionTypeOnRampDeposit value)?, TResult transfer(TonWalletTransactionTypeTransfer value)?, TResult nftTransfer(TonWalletTransactionTypeNftTransfer value)?, TResult telegramGiftTransfer(TonWalletTransactionTypeTelegramGiftTransfer value)?, TResult telegramGiftPurchase(TonWalletTransactionTypeTelegramGiftPurchase value)?, TResult telegramGiftSale(TonWalletTransactionTypeTelegramGiftSale value)?, TResult telegramGiftListing(TonWalletTransactionTypeTelegramGiftListing value)?, TResult telegramGiftDelisting(TonWalletTransactionTypeTelegramGiftDelisting value)?, TResult telegramGiftOfferCreation(TonWalletTransactionTypeTelegramGiftOfferCreation value)?, TResult telegramGiftOfferAcceptance(TonWalletTransactionTypeTelegramGiftOfferAcceptance value)?, TResult telegramGiftOfferCancellation(TonWalletTransactionTypeTelegramGiftOfferCancellation value)?, TResult telegramGiftOfferDecline(TonWalletTransactionTypeTelegramGiftOfferDecline value)?, TResult telegramGiftOfferExpiration(TonWalletTransactionTypeTelegramGiftOfferExpiration value)?, TResult keyChange(TonWalletTransactionTypeKeyChange value)?, required TResult orElse()}) → TResult -
Available on TonWalletTransactionType, provided by the TonWalletTransactionTypeExtensions extension
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override
Static Methods
-
fromJson(
Map< String, dynamic> ? json) → TonWalletTransactionTypeTelegramGiftOfferCancellation? -
Inherited by:
TonWalletTransactionTypeKeyChange
TonWalletTransactionTypeNftTransfer
TonWalletTransactionTypeOnRampDeposit
TonWalletTransactionTypeTelegramGiftDelisting
TonWalletTransactionTypeTelegramGiftListing
TonWalletTransactionTypeTelegramGiftOfferAcceptance
TonWalletTransactionTypeTelegramGiftOfferCancellation
TonWalletTransactionTypeTelegramGiftOfferCreation
TonWalletTransactionTypeTelegramGiftOfferDecline
TonWalletTransactionTypeTelegramGiftOfferExpiration
TonWalletTransactionTypeTelegramGiftPurchase
TonWalletTransactionTypeTelegramGiftSale
TonWalletTransactionTypeTelegramGiftTransfer
TonWalletTransactionTypeTransfer
override
Constants
- constructor → const String