Safe Haskell | None |
---|---|
Language | Haskell2010 |
Contains the types generated from the schema FileLink
Synopsis
- data FileLink = FileLink {}
- mkFileLink :: Int -> Bool -> FileLinkFile'Variants -> Text -> Bool -> Object -> FileLink
- data FileLinkFile'Variants
Documentation
Defines the object schema located at components.schemas.file_link
in the specification.
To share the contents of a `File` object with non-Stripe users, you can create a `FileLink`. `FileLink`s contain a URL that can be used to retrieve the contents of the file without authentication.
FileLink | |
|
Create a new FileLink
with all required fields.
data FileLinkFile'Variants Source #
Defines the oneOf schema located at components.schemas.file_link.properties.file.anyOf
in the specification.
The file object this link points to.
Instances
Eq FileLinkFile'Variants Source # | |
Defined in StripeAPI.Types.FileLink (==) :: FileLinkFile'Variants -> FileLinkFile'Variants -> Bool # (/=) :: FileLinkFile'Variants -> FileLinkFile'Variants -> Bool # | |
Show FileLinkFile'Variants Source # | |
Defined in StripeAPI.Types.FileLink showsPrec :: Int -> FileLinkFile'Variants -> ShowS # show :: FileLinkFile'Variants -> String # showList :: [FileLinkFile'Variants] -> ShowS # | |
ToJSON FileLinkFile'Variants Source # | |
Defined in StripeAPI.Types.FileLink toJSON :: FileLinkFile'Variants -> Value # toEncoding :: FileLinkFile'Variants -> Encoding # toJSONList :: [FileLinkFile'Variants] -> Value # toEncodingList :: [FileLinkFile'Variants] -> Encoding # | |
FromJSON FileLinkFile'Variants Source # | |
Defined in StripeAPI.Types.FileLink parseJSON :: Value -> Parser FileLinkFile'Variants # parseJSONList :: Value -> Parser [FileLinkFile'Variants] # |