Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
RecurlyClient.Types.Item
Description
Contains the types generated from the schema Item
Synopsis
- data Item = Item {
- itemAccounting_code :: Maybe Text
- itemAvalara_service_type :: Maybe Int
- itemAvalara_transaction_type :: Maybe Int
- itemCode :: Maybe Text
- itemCreated_at :: Maybe JsonDateTime
- itemCurrencies :: Maybe [Pricing]
- itemCustom_fields :: Maybe CustomFields
- itemDeleted_at :: Maybe JsonDateTime
- itemDescription :: Maybe Text
- itemExternal_sku :: Maybe Text
- itemId :: Maybe Text
- itemLiability_gl_account_id :: Maybe Text
- itemName :: Maybe Text
- itemObject :: Maybe Text
- itemPerformance_obligation_id :: Maybe Text
- itemRevenue_gl_account_id :: Maybe Text
- itemRevenue_schedule_type :: Maybe ItemRevenue_schedule_type
- itemState :: Maybe ItemState
- itemTax_code :: Maybe Text
- itemTax_exempt :: Maybe Bool
- itemUpdated_at :: Maybe JsonDateTime
- mkItem :: Item
- data ItemRevenue_schedule_type
- data ItemState
Documentation
Defines the object schema located at components.schemas.Item
in the specification.
Full item details.
Constructors
Item | |
Fields
|
data ItemRevenue_schedule_type Source #
Defines the enum schema located at components.schemas.Item.properties.revenue_schedule_type
in the specification.
Constructors
ItemRevenue_schedule_typeOther Value | This case is used if the value encountered during decoding does not match any of the provided cases in the specification. |
ItemRevenue_schedule_typeTyped Text | This constructor can be used to send values to the server which are not present in the specification yet. |
ItemRevenue_schedule_typeEnumAt_range_end | Represents the JSON value |
ItemRevenue_schedule_typeEnumAt_range_start | Represents the JSON value |
ItemRevenue_schedule_typeEnumEvenly | Represents the JSON value |
ItemRevenue_schedule_typeEnumNever | Represents the JSON value |
Instances
FromJSON ItemRevenue_schedule_type Source # | |
Defined in RecurlyClient.Types.Item Methods parseJSON :: Value -> Parser ItemRevenue_schedule_type # parseJSONList :: Value -> Parser [ItemRevenue_schedule_type] # | |
ToJSON ItemRevenue_schedule_type Source # | |
Defined in RecurlyClient.Types.Item Methods toJSON :: ItemRevenue_schedule_type -> Value # toEncoding :: ItemRevenue_schedule_type -> Encoding # toJSONList :: [ItemRevenue_schedule_type] -> Value # | |
Show ItemRevenue_schedule_type Source # | |
Defined in RecurlyClient.Types.Item Methods showsPrec :: Int -> ItemRevenue_schedule_type -> ShowS # show :: ItemRevenue_schedule_type -> String # showList :: [ItemRevenue_schedule_type] -> ShowS # | |
Eq ItemRevenue_schedule_type Source # | |
Defined in RecurlyClient.Types.Item Methods (==) :: ItemRevenue_schedule_type -> ItemRevenue_schedule_type -> Bool # (/=) :: ItemRevenue_schedule_type -> ItemRevenue_schedule_type -> Bool # |
Defines the enum schema located at components.schemas.Item.properties.state
in the specification.
The current state of the item.
Constructors
ItemStateOther Value | This case is used if the value encountered during decoding does not match any of the provided cases in the specification. |
ItemStateTyped Text | This constructor can be used to send values to the server which are not present in the specification yet. |
ItemStateEnumActive | Represents the JSON value |
ItemStateEnumInactive | Represents the JSON value |