Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
RecurlyClient.Types.ItemUpdate
Description
Contains the types generated from the schema ItemUpdate
Synopsis
- data ItemUpdate = ItemUpdate {
- itemUpdateAccounting_code :: Maybe Text
- itemUpdateAvalara_service_type :: Maybe Int
- itemUpdateAvalara_transaction_type :: Maybe Int
- itemUpdateCode :: Maybe Text
- itemUpdateCurrencies :: Maybe [Pricing]
- itemUpdateCustom_fields :: Maybe CustomFields
- itemUpdateDescription :: Maybe Text
- itemUpdateExternal_sku :: Maybe Text
- itemUpdateLiability_gl_account_id :: Maybe Text
- itemUpdateName :: Maybe Text
- itemUpdatePerformance_obligation_id :: Maybe Text
- itemUpdateRevenue_gl_account_id :: Maybe Text
- itemUpdateRevenue_schedule_type :: Maybe ItemUpdateRevenue_schedule_type
- itemUpdateTax_code :: Maybe Text
- itemUpdateTax_exempt :: Maybe Bool
- mkItemUpdate :: ItemUpdate
- data ItemUpdateRevenue_schedule_type
Documentation
data ItemUpdate Source #
Defines the object schema located at components.schemas.ItemUpdate
in the specification.
Constructors
ItemUpdate | |
Fields
|
Instances
FromJSON ItemUpdate Source # | |
Defined in RecurlyClient.Types.ItemUpdate | |
ToJSON ItemUpdate Source # | |
Defined in RecurlyClient.Types.ItemUpdate Methods toJSON :: ItemUpdate -> Value # toEncoding :: ItemUpdate -> Encoding # toJSONList :: [ItemUpdate] -> Value # toEncodingList :: [ItemUpdate] -> Encoding # | |
Show ItemUpdate Source # | |
Defined in RecurlyClient.Types.ItemUpdate Methods showsPrec :: Int -> ItemUpdate -> ShowS # show :: ItemUpdate -> String # showList :: [ItemUpdate] -> ShowS # | |
Eq ItemUpdate Source # | |
Defined in RecurlyClient.Types.ItemUpdate |
mkItemUpdate :: ItemUpdate Source #
Create a new ItemUpdate
with all required fields.
data ItemUpdateRevenue_schedule_type Source #
Defines the enum schema located at components.schemas.ItemUpdate.properties.revenue_schedule_type
in the specification.
Constructors
ItemUpdateRevenue_schedule_typeOther Value | This case is used if the value encountered during decoding does not match any of the provided cases in the specification. |
ItemUpdateRevenue_schedule_typeTyped Text | This constructor can be used to send values to the server which are not present in the specification yet. |
ItemUpdateRevenue_schedule_typeEnumAt_range_end | Represents the JSON value |
ItemUpdateRevenue_schedule_typeEnumAt_range_start | Represents the JSON value |
ItemUpdateRevenue_schedule_typeEnumEvenly | Represents the JSON value |
ItemUpdateRevenue_schedule_typeEnumNever | Represents the JSON value |
Instances
FromJSON ItemUpdateRevenue_schedule_type Source # | |
Defined in RecurlyClient.Types.ItemUpdate Methods parseJSON :: Value -> Parser ItemUpdateRevenue_schedule_type # parseJSONList :: Value -> Parser [ItemUpdateRevenue_schedule_type] # | |
ToJSON ItemUpdateRevenue_schedule_type Source # | |
Defined in RecurlyClient.Types.ItemUpdate | |
Show ItemUpdateRevenue_schedule_type Source # | |
Defined in RecurlyClient.Types.ItemUpdate Methods showsPrec :: Int -> ItemUpdateRevenue_schedule_type -> ShowS # | |
Eq ItemUpdateRevenue_schedule_type Source # | |
Defined in RecurlyClient.Types.ItemUpdate |