Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Synopsis
- data StorePaymentPurpose
Documentation
data StorePaymentPurpose Source #
Describes a purpose of an in-store payment
StorePaymentPurposePremiumSubscription | The user subscribing to Telegram Premium |
| |
StorePaymentPurposePremiumGiftCodes | The user creating Telegram Premium gift codes for other users |
| |
StorePaymentPurposePremiumGiveaway | The user creating a Telegram Premium giveaway |
| |
StorePaymentPurposeStarGiveaway | The user creating a Telegram Star giveaway |
| |
StorePaymentPurposeStars | The user buying Telegram Stars |
StorePaymentPurposeGiftedStars | The user buying Telegram Stars for other users |
|
Instances
FromJSON StorePaymentPurpose Source # | |
Defined in TD.Data.StorePaymentPurpose parseJSON :: Value -> Parser StorePaymentPurpose # parseJSONList :: Value -> Parser [StorePaymentPurpose] # | |
ToJSON StorePaymentPurpose Source # | |
Defined in TD.Data.StorePaymentPurpose toJSON :: StorePaymentPurpose -> Value # toEncoding :: StorePaymentPurpose -> Encoding # toJSONList :: [StorePaymentPurpose] -> Value # toEncodingList :: [StorePaymentPurpose] -> Encoding # | |
Show StorePaymentPurpose Source # | |
Defined in TD.Data.StorePaymentPurpose showsPrec :: Int -> StorePaymentPurpose -> ShowS # show :: StorePaymentPurpose -> String # showList :: [StorePaymentPurpose] -> ShowS # | |
Eq StorePaymentPurpose Source # | |
Defined in TD.Data.StorePaymentPurpose (==) :: StorePaymentPurpose -> StorePaymentPurpose -> Bool # (/=) :: StorePaymentPurpose -> StorePaymentPurpose -> Bool # | |
ShortShow StorePaymentPurpose Source # | |
Defined in TD.Data.StorePaymentPurpose |