Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
TD.Data.PaymentReceiptType
Synopsis
- data PaymentReceiptType
Documentation
data PaymentReceiptType Source #
Describes type of successful payment
Constructors
PaymentReceiptTypeRegular | The payment was done using a third-party payment provider |
Fields
| |
PaymentReceiptTypeStars | The payment was done using Telegram Stars |
Fields
|
Instances
FromJSON PaymentReceiptType Source # | |
Defined in TD.Data.PaymentReceiptType Methods parseJSON :: Value -> Parser PaymentReceiptType # parseJSONList :: Value -> Parser [PaymentReceiptType] # | |
Show PaymentReceiptType Source # | |
Defined in TD.Data.PaymentReceiptType Methods showsPrec :: Int -> PaymentReceiptType -> ShowS # show :: PaymentReceiptType -> String # showList :: [PaymentReceiptType] -> ShowS # | |
Eq PaymentReceiptType Source # | |
Defined in TD.Data.PaymentReceiptType Methods (==) :: PaymentReceiptType -> PaymentReceiptType -> Bool # (/=) :: PaymentReceiptType -> PaymentReceiptType -> Bool # | |
ShortShow PaymentReceiptType Source # | |
Defined in TD.Data.PaymentReceiptType Methods shortShow :: PaymentReceiptType -> String Source # |