Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Synopsis
- data InputCredentials
- = InputCredentialsSaved { }
- | InputCredentialsNew { }
- | InputCredentialsApplePay { }
- | InputCredentialsGooglePay { }
Documentation
data InputCredentials Source #
Contains information about the payment method chosen by the user
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 |
| |
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 parseJSON :: Value -> Parser InputCredentials # parseJSONList :: Value -> Parser [InputCredentials] # | |
ToJSON InputCredentials Source # | |
Defined in TD.Data.InputCredentials toJSON :: InputCredentials -> Value # toEncoding :: InputCredentials -> Encoding # toJSONList :: [InputCredentials] -> Value # toEncodingList :: [InputCredentials] -> Encoding # | |
Show InputCredentials Source # | |
Defined in TD.Data.InputCredentials showsPrec :: Int -> InputCredentials -> ShowS # show :: InputCredentials -> String # showList :: [InputCredentials] -> ShowS # | |
Eq InputCredentials Source # | |
Defined in TD.Data.InputCredentials (==) :: InputCredentials -> InputCredentials -> Bool # (/=) :: InputCredentials -> InputCredentials -> Bool # | |
ShortShow InputCredentials Source # | |
Defined in TD.Data.InputCredentials shortShow :: InputCredentials -> String Source # |