Safe Haskell | None |
---|---|
Language | Haskell2010 |
Contains the types generated from the schema TransformQuantity
Synopsis
Documentation
data TransformQuantity Source #
Defines the object schema located at components.schemas.transform_quantity
in the specification.
TransformQuantity | |
|
Instances
Eq TransformQuantity Source # | |
Defined in StripeAPI.Types.TransformQuantity (==) :: TransformQuantity -> TransformQuantity -> Bool # (/=) :: TransformQuantity -> TransformQuantity -> Bool # | |
Show TransformQuantity Source # | |
Defined in StripeAPI.Types.TransformQuantity showsPrec :: Int -> TransformQuantity -> ShowS # show :: TransformQuantity -> String # showList :: [TransformQuantity] -> ShowS # | |
ToJSON TransformQuantity Source # | |
Defined in StripeAPI.Types.TransformQuantity toJSON :: TransformQuantity -> Value # toEncoding :: TransformQuantity -> Encoding # toJSONList :: [TransformQuantity] -> Value # toEncodingList :: [TransformQuantity] -> Encoding # | |
FromJSON TransformQuantity Source # | |
Defined in StripeAPI.Types.TransformQuantity parseJSON :: Value -> Parser TransformQuantity # parseJSONList :: Value -> Parser [TransformQuantity] # |
Create a new TransformQuantity
with all required fields.
data TransformQuantityRound' Source #
Defines the enum schema located at components.schemas.transform_quantity.properties.round
in the specification.
After division, either round the result `up` or `down`.
TransformQuantityRound'Other Value | This case is used if the value encountered during decoding does not match any of the provided cases in the specification. |
TransformQuantityRound'Typed Text | This constructor can be used to send values to the server which are not present in the specification yet. |
TransformQuantityRound'EnumDown | Represents the JSON value |
TransformQuantityRound'EnumUp | Represents the JSON value |
Instances
Eq TransformQuantityRound' Source # | |
Defined in StripeAPI.Types.TransformQuantity | |
Show TransformQuantityRound' Source # | |
Defined in StripeAPI.Types.TransformQuantity showsPrec :: Int -> TransformQuantityRound' -> ShowS # show :: TransformQuantityRound' -> String # showList :: [TransformQuantityRound'] -> ShowS # | |
ToJSON TransformQuantityRound' Source # | |
Defined in StripeAPI.Types.TransformQuantity | |
FromJSON TransformQuantityRound' Source # | |
Defined in StripeAPI.Types.TransformQuantity |