GiftOnChainPurchaseOfferStateCanceled class

The offer was canceled

Inheritance
Available extensions
Annotations
  • @immutable

Constructors

GiftOnChainPurchaseOfferStateCanceled({required int refundAmount, required int fineAmount})
const

Properties

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
refundAmount → int
refundAmount The amount returned to the buyer, in the smallest units of TON Grams; -1 if unknown
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

copyWith({int? refundAmount, int? fineAmount}) → GiftOnChainPurchaseOfferStateCanceled

Available on GiftOnChainPurchaseOfferStateCanceled, provided by the GiftOnChainPurchaseOfferStateCanceledExtensions extension

getConstructor() → String
override
map<TResult extends Object?>({required TResult pending(GiftOnChainPurchaseOfferStatePending value), required TResult settled(GiftOnChainPurchaseOfferStateSettled value), required TResult accepted(GiftOnChainPurchaseOfferStateAccepted value), required TResult canceling(GiftOnChainPurchaseOfferStateCanceling value), required TResult declined(GiftOnChainPurchaseOfferStateDeclined value), required TResult canceled(GiftOnChainPurchaseOfferStateCanceled value), required TResult expired(GiftOnChainPurchaseOfferStateExpired value)}) → TResult

Available on GiftOnChainPurchaseOfferState, provided by the GiftOnChainPurchaseOfferStateExtensions extension

maybeMap<TResult extends Object?>({TResult pending(GiftOnChainPurchaseOfferStatePending value)?, TResult settled(GiftOnChainPurchaseOfferStateSettled value)?, TResult accepted(GiftOnChainPurchaseOfferStateAccepted value)?, TResult canceling(GiftOnChainPurchaseOfferStateCanceling value)?, TResult declined(GiftOnChainPurchaseOfferStateDeclined value)?, TResult canceled(GiftOnChainPurchaseOfferStateCanceled value)?, TResult expired(GiftOnChainPurchaseOfferStateExpired value)?, required TResult orElse()}) → TResult

Available on GiftOnChainPurchaseOfferState, provided by the GiftOnChainPurchaseOfferStateExtensions 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

Constants

constructor → const String