Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
TD.Data.TonTransactionType
Documentation
data TonTransactionType Source #
Describes type of transaction with Toncoins
Constructors
TonTransactionTypeFragmentDeposit | The transaction is a deposit of Toncoins from Fragment |
TonTransactionTypeSuggestedPostPayment | The transaction is a payment for a suggested post |
TonTransactionTypeUpgradedGiftPurchase | The transaction is a purchase of an upgraded gift for some user or channel; for regular users only |
TonTransactionTypeUpgradedGiftSale | The transaction is a sale of an upgraded gift; for regular users only |
Fields
| |
TonTransactionTypeUnsupported | The transaction is a transaction of an unsupported type |
Instances
FromJSON TonTransactionType Source # | |
Defined in TD.Data.TonTransactionType Methods parseJSON :: Value -> Parser TonTransactionType # parseJSONList :: Value -> Parser [TonTransactionType] # | |
Show TonTransactionType Source # | |
Defined in TD.Data.TonTransactionType Methods showsPrec :: Int -> TonTransactionType -> ShowS # show :: TonTransactionType -> String # showList :: [TonTransactionType] -> ShowS # | |
Eq TonTransactionType Source # | |
Defined in TD.Data.TonTransactionType Methods (==) :: TonTransactionType -> TonTransactionType -> Bool # (/=) :: TonTransactionType -> TonTransactionType -> Bool # | |
ShortShow TonTransactionType Source # | |
Defined in TD.Data.TonTransactionType Methods shortShow :: TonTransactionType -> String Source # |