| Safe Haskell | Safe-Inferred |
|---|---|
| Language | Haskell2010 |
RecurlyClient.Types.ItemCreate
Description
Contains the types generated from the schema ItemCreate
Synopsis
- data ItemCreate = ItemCreate {
- itemCreateAccounting_code :: Maybe Text
- itemCreateAvalara_service_type :: Maybe Int
- itemCreateAvalara_transaction_type :: Maybe Int
- itemCreateCode :: Text
- itemCreateCurrencies :: Maybe [Pricing]
- itemCreateCustom_fields :: Maybe CustomFields
- itemCreateDescription :: Maybe Text
- itemCreateExternal_sku :: Maybe Text
- itemCreateLiability_gl_account_id :: Maybe Text
- itemCreateName :: Text
- itemCreatePerformance_obligation_id :: Maybe Text
- itemCreateRevenue_gl_account_id :: Maybe Text
- itemCreateRevenue_schedule_type :: Maybe ItemCreateRevenue_schedule_type
- itemCreateTax_code :: Maybe Text
- itemCreateTax_exempt :: Maybe Bool
- mkItemCreate :: Text -> Text -> ItemCreate
- data ItemCreateRevenue_schedule_type
Documentation
data ItemCreate Source #
Defines the object schema located at components.schemas.ItemCreate in the specification.
Constructors
| ItemCreate | |
Fields
| |
Instances
| FromJSON ItemCreate Source # | |
Defined in RecurlyClient.Types.ItemCreate | |
| ToJSON ItemCreate Source # | |
Defined in RecurlyClient.Types.ItemCreate Methods toJSON :: ItemCreate -> Value # toEncoding :: ItemCreate -> Encoding # toJSONList :: [ItemCreate] -> Value # toEncodingList :: [ItemCreate] -> Encoding # | |
| Show ItemCreate Source # | |
Defined in RecurlyClient.Types.ItemCreate Methods showsPrec :: Int -> ItemCreate -> ShowS # show :: ItemCreate -> String # showList :: [ItemCreate] -> ShowS # | |
| Eq ItemCreate Source # | |
Defined in RecurlyClient.Types.ItemCreate | |
Arguments
| :: Text | |
| -> Text | |
| -> ItemCreate |
Create a new ItemCreate with all required fields.
data ItemCreateRevenue_schedule_type Source #
Defines the enum schema located at components.schemas.ItemCreate.properties.revenue_schedule_type in the specification.
Constructors
| ItemCreateRevenue_schedule_typeOther Value | This case is used if the value encountered during decoding does not match any of the provided cases in the specification. |
| ItemCreateRevenue_schedule_typeTyped Text | This constructor can be used to send values to the server which are not present in the specification yet. |
| ItemCreateRevenue_schedule_typeEnumAt_range_end | Represents the JSON value |
| ItemCreateRevenue_schedule_typeEnumAt_range_start | Represents the JSON value |
| ItemCreateRevenue_schedule_typeEnumEvenly | Represents the JSON value |
| ItemCreateRevenue_schedule_typeEnumNever | Represents the JSON value |
Instances
| FromJSON ItemCreateRevenue_schedule_type Source # | |
Defined in RecurlyClient.Types.ItemCreate Methods parseJSON :: Value -> Parser ItemCreateRevenue_schedule_type # parseJSONList :: Value -> Parser [ItemCreateRevenue_schedule_type] # | |
| ToJSON ItemCreateRevenue_schedule_type Source # | |
Defined in RecurlyClient.Types.ItemCreate | |
| Show ItemCreateRevenue_schedule_type Source # | |
Defined in RecurlyClient.Types.ItemCreate Methods showsPrec :: Int -> ItemCreateRevenue_schedule_type -> ShowS # | |
| Eq ItemCreateRevenue_schedule_type Source # | |
Defined in RecurlyClient.Types.ItemCreate | |