| Safe Haskell | Safe-Inferred |
|---|---|
| Language | GHC2021 |
TD.Data.PaymentFormType
Synopsis
- data PaymentFormType
- = PaymentFormTypeRegular { }
- | PaymentFormTypeStars {
- star_count :: Maybe Int
- | PaymentFormTypeStarSubscription { }
Documentation
data PaymentFormType Source #
Describes type of payment form
Constructors
| PaymentFormTypeRegular | The payment form is for a regular payment |
Fields
| |
| PaymentFormTypeStars | The payment form is for a payment in Telegram Stars |
Fields
| |
| PaymentFormTypeStarSubscription | The payment form is for a payment in Telegram Stars for subscription |
Fields
| |
Instances
| FromJSON PaymentFormType Source # | |
Defined in TD.Data.PaymentFormType Methods parseJSON :: Value -> Parser PaymentFormType # parseJSONList :: Value -> Parser [PaymentFormType] # | |
| Show PaymentFormType Source # | |
Defined in TD.Data.PaymentFormType Methods showsPrec :: Int -> PaymentFormType -> ShowS # show :: PaymentFormType -> String # showList :: [PaymentFormType] -> ShowS # | |
| Eq PaymentFormType Source # | |
Defined in TD.Data.PaymentFormType Methods (==) :: PaymentFormType -> PaymentFormType -> Bool # (/=) :: PaymentFormType -> PaymentFormType -> Bool # | |
| ShortShow PaymentFormType Source # | |
Defined in TD.Data.PaymentFormType Methods shortShow :: PaymentFormType -> String Source # | |