| Safe Haskell | Safe-Inferred |
|---|---|
| Language | GHC2021 |
TD.Data.InputCredentials
Synopsis
- data InputCredentials
- = InputCredentialsSaved { }
- | InputCredentialsNew { }
- | InputCredentialsApplePay { }
- | InputCredentialsGooglePay { }
Documentation
data InputCredentials Source #
Contains information about the payment method chosen by the user
Constructors
| InputCredentialsSaved | Applies if a user chooses some previously saved payment credentials. To use their previously saved credentials, the user must have a valid temporary password |
Fields
| |
| InputCredentialsNew | Applies if a user enters new credentials on a payment provider website |
| InputCredentialsApplePay | Applies if a user enters new credentials using Apple Pay |
| InputCredentialsGooglePay | Applies if a user enters new credentials using Google Pay |
Instances
| FromJSON InputCredentials Source # | |
Defined in TD.Data.InputCredentials Methods parseJSON :: Value -> Parser InputCredentials # parseJSONList :: Value -> Parser [InputCredentials] # | |
| ToJSON InputCredentials Source # | |
Defined in TD.Data.InputCredentials Methods toJSON :: InputCredentials -> Value # toEncoding :: InputCredentials -> Encoding # toJSONList :: [InputCredentials] -> Value # toEncodingList :: [InputCredentials] -> Encoding # | |
| Show InputCredentials Source # | |
Defined in TD.Data.InputCredentials Methods showsPrec :: Int -> InputCredentials -> ShowS # show :: InputCredentials -> String # showList :: [InputCredentials] -> ShowS # | |
| Eq InputCredentials Source # | |
Defined in TD.Data.InputCredentials Methods (==) :: InputCredentials -> InputCredentials -> Bool # (/=) :: InputCredentials -> InputCredentials -> Bool # | |
| ShortShow InputCredentials Source # | |
Defined in TD.Data.InputCredentials Methods shortShow :: InputCredentials -> String Source # | |