Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
RecurlyClient.Types.AccountReadOnly
Description
Contains the types generated from the schema AccountReadOnly
Synopsis
- data AccountReadOnly = AccountReadOnly {
- accountReadOnlyCreated_at :: Maybe JsonDateTime
- accountReadOnlyDeleted_at :: Maybe JsonDateTime
- accountReadOnlyHas_active_subscription :: Maybe Bool
- accountReadOnlyHas_canceled_subscription :: Maybe Bool
- accountReadOnlyHas_future_subscription :: Maybe Bool
- accountReadOnlyHas_live_subscription :: Maybe Bool
- accountReadOnlyHas_past_due_invoice :: Maybe Bool
- accountReadOnlyHas_paused_subscription :: Maybe Bool
- accountReadOnlyHosted_login_token :: Maybe Text
- accountReadOnlyId :: Maybe Text
- accountReadOnlyObject :: Maybe Text
- accountReadOnlyShipping_addresses :: Maybe [ShippingAddress]
- accountReadOnlyState :: Maybe AccountReadOnlyState
- accountReadOnlyUpdated_at :: Maybe JsonDateTime
- mkAccountReadOnly :: AccountReadOnly
- data AccountReadOnlyState
Documentation
data AccountReadOnly Source #
Defines the object schema located at components.schemas.AccountReadOnly
in the specification.
Constructors
AccountReadOnly | |
Fields
|
Instances
FromJSON AccountReadOnly Source # | |
Defined in RecurlyClient.Types.AccountReadOnly Methods parseJSON :: Value -> Parser AccountReadOnly # parseJSONList :: Value -> Parser [AccountReadOnly] # | |
ToJSON AccountReadOnly Source # | |
Defined in RecurlyClient.Types.AccountReadOnly Methods toJSON :: AccountReadOnly -> Value # toEncoding :: AccountReadOnly -> Encoding # toJSONList :: [AccountReadOnly] -> Value # toEncodingList :: [AccountReadOnly] -> Encoding # | |
Show AccountReadOnly Source # | |
Defined in RecurlyClient.Types.AccountReadOnly Methods showsPrec :: Int -> AccountReadOnly -> ShowS # show :: AccountReadOnly -> String # showList :: [AccountReadOnly] -> ShowS # | |
Eq AccountReadOnly Source # | |
Defined in RecurlyClient.Types.AccountReadOnly Methods (==) :: AccountReadOnly -> AccountReadOnly -> Bool # (/=) :: AccountReadOnly -> AccountReadOnly -> Bool # |
mkAccountReadOnly :: AccountReadOnly Source #
Create a new AccountReadOnly
with all required fields.
data AccountReadOnlyState Source #
Defines the enum schema located at components.schemas.AccountReadOnly.properties.state
in the specification.
Accounts can be either active or inactive.
Constructors
AccountReadOnlyStateOther Value | This case is used if the value encountered during decoding does not match any of the provided cases in the specification. |
AccountReadOnlyStateTyped Text | This constructor can be used to send values to the server which are not present in the specification yet. |
AccountReadOnlyStateEnumActive | Represents the JSON value |
AccountReadOnlyStateEnumInactive | Represents the JSON value |
Instances
FromJSON AccountReadOnlyState Source # | |
Defined in RecurlyClient.Types.AccountReadOnly Methods parseJSON :: Value -> Parser AccountReadOnlyState # parseJSONList :: Value -> Parser [AccountReadOnlyState] # | |
ToJSON AccountReadOnlyState Source # | |
Defined in RecurlyClient.Types.AccountReadOnly Methods toJSON :: AccountReadOnlyState -> Value # toEncoding :: AccountReadOnlyState -> Encoding # toJSONList :: [AccountReadOnlyState] -> Value # toEncodingList :: [AccountReadOnlyState] -> Encoding # | |
Show AccountReadOnlyState Source # | |
Defined in RecurlyClient.Types.AccountReadOnly Methods showsPrec :: Int -> AccountReadOnlyState -> ShowS # show :: AccountReadOnlyState -> String # showList :: [AccountReadOnlyState] -> ShowS # | |
Eq AccountReadOnlyState Source # | |
Defined in RecurlyClient.Types.AccountReadOnly Methods (==) :: AccountReadOnlyState -> AccountReadOnlyState -> Bool # (/=) :: AccountReadOnlyState -> AccountReadOnlyState -> Bool # |