| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
StripeAPI.Types.TransformQuantity
Description
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.
Constructors
| TransformQuantity | |
Fields
| |
Instances
| Eq TransformQuantity Source # | |
Defined in StripeAPI.Types.TransformQuantity Methods (==) :: TransformQuantity -> TransformQuantity -> Bool # (/=) :: TransformQuantity -> TransformQuantity -> Bool # | |
| Show TransformQuantity Source # | |
Defined in StripeAPI.Types.TransformQuantity Methods showsPrec :: Int -> TransformQuantity -> ShowS # show :: TransformQuantity -> String # showList :: [TransformQuantity] -> ShowS # | |
| ToJSON TransformQuantity Source # | |
Defined in StripeAPI.Types.TransformQuantity Methods toJSON :: TransformQuantity -> Value # toEncoding :: TransformQuantity -> Encoding # toJSONList :: [TransformQuantity] -> Value # toEncodingList :: [TransformQuantity] -> Encoding # | |
| FromJSON TransformQuantity Source # | |
Defined in StripeAPI.Types.TransformQuantity Methods parseJSON :: Value -> Parser TransformQuantity # parseJSONList :: Value -> Parser [TransformQuantity] # | |
Arguments
| :: Int | |
| -> TransformQuantityRound' | |
| -> 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`.
Constructors
| 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 Methods (==) :: TransformQuantityRound' -> TransformQuantityRound' -> Bool # (/=) :: TransformQuantityRound' -> TransformQuantityRound' -> Bool # | |
| Show TransformQuantityRound' Source # | |
Defined in StripeAPI.Types.TransformQuantity Methods showsPrec :: Int -> TransformQuantityRound' -> ShowS # show :: TransformQuantityRound' -> String # showList :: [TransformQuantityRound'] -> ShowS # | |
| ToJSON TransformQuantityRound' Source # | |
Defined in StripeAPI.Types.TransformQuantity Methods toJSON :: TransformQuantityRound' -> Value # toEncoding :: TransformQuantityRound' -> Encoding # toJSONList :: [TransformQuantityRound'] -> Value # | |
| FromJSON TransformQuantityRound' Source # | |
Defined in StripeAPI.Types.TransformQuantity Methods parseJSON :: Value -> Parser TransformQuantityRound' # parseJSONList :: Value -> Parser [TransformQuantityRound'] # | |