| Safe Haskell | Safe-Inferred |
|---|---|
| Language | Haskell2010 |
RecurlyClient.Types.DunningCycle
Description
Contains the types generated from the schema DunningCycle
Synopsis
- data DunningCycle = DunningCycle {
- dunningCycleApplies_to_manual_trial :: Maybe Bool
- dunningCycleCreated_at :: Maybe JsonDateTime
- dunningCycleExpire_subscription :: Maybe Bool
- dunningCycleFail_invoice :: Maybe Bool
- dunningCycleFirst_communication_interval :: Maybe Int
- dunningCycleIntervals :: Maybe [DunningInterval]
- dunningCycleSend_immediately_on_hard_decline :: Maybe Bool
- dunningCycleTotal_dunning_days :: Maybe Int
- dunningCycleTotal_recycling_days :: Maybe Int
- dunningCycleType :: Maybe DunningCycleType
- dunningCycleUpdated_at :: Maybe JsonDateTime
- dunningCycleVersion :: Maybe Int
- mkDunningCycle :: DunningCycle
- data DunningCycleType
Documentation
data DunningCycle Source #
Defines the object schema located at components.schemas.DunningCycle in the specification.
Constructors
| DunningCycle | |
Fields
| |
Instances
| FromJSON DunningCycle Source # | |
Defined in RecurlyClient.Types.DunningCycle | |
| ToJSON DunningCycle Source # | |
Defined in RecurlyClient.Types.DunningCycle Methods toJSON :: DunningCycle -> Value # toEncoding :: DunningCycle -> Encoding # toJSONList :: [DunningCycle] -> Value # toEncodingList :: [DunningCycle] -> Encoding # | |
| Show DunningCycle Source # | |
Defined in RecurlyClient.Types.DunningCycle Methods showsPrec :: Int -> DunningCycle -> ShowS # show :: DunningCycle -> String # showList :: [DunningCycle] -> ShowS # | |
| Eq DunningCycle Source # | |
Defined in RecurlyClient.Types.DunningCycle | |
mkDunningCycle :: DunningCycle Source #
Create a new DunningCycle with all required fields.
data DunningCycleType Source #
Defines the enum schema located at components.schemas.DunningCycle.properties.type in the specification.
The type of invoice this cycle applies to.
Constructors
| DunningCycleTypeOther Value | This case is used if the value encountered during decoding does not match any of the provided cases in the specification. |
| DunningCycleTypeTyped Text | This constructor can be used to send values to the server which are not present in the specification yet. |
| DunningCycleTypeEnumAutomatic | Represents the JSON value |
| DunningCycleTypeEnumManual | Represents the JSON value |
| DunningCycleTypeEnumTrial | Represents the JSON value |
Instances
| FromJSON DunningCycleType Source # | |
Defined in RecurlyClient.Types.DunningCycle Methods parseJSON :: Value -> Parser DunningCycleType # parseJSONList :: Value -> Parser [DunningCycleType] # | |
| ToJSON DunningCycleType Source # | |
Defined in RecurlyClient.Types.DunningCycle Methods toJSON :: DunningCycleType -> Value # toEncoding :: DunningCycleType -> Encoding # toJSONList :: [DunningCycleType] -> Value # toEncodingList :: [DunningCycleType] -> Encoding # | |
| Show DunningCycleType Source # | |
Defined in RecurlyClient.Types.DunningCycle Methods showsPrec :: Int -> DunningCycleType -> ShowS # show :: DunningCycleType -> String # showList :: [DunningCycleType] -> ShowS # | |
| Eq DunningCycleType Source # | |
Defined in RecurlyClient.Types.DunningCycle Methods (==) :: DunningCycleType -> DunningCycleType -> Bool # (/=) :: DunningCycleType -> DunningCycleType -> Bool # | |