Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Contains the types generated from the schema AddOnUpdate
Synopsis
- data AddOnUpdate = AddOnUpdate {
- addOnUpdateAccounting_code :: Maybe Text
- addOnUpdateAvalara_service_type :: Maybe Int
- addOnUpdateAvalara_transaction_type :: Maybe Int
- addOnUpdateCode :: Maybe Text
- addOnUpdateCurrencies :: Maybe (NonEmpty AddOnPricing)
- addOnUpdateDefault_quantity :: Maybe Int
- addOnUpdateDisplay_quantity :: Maybe Bool
- addOnUpdateId :: Maybe Text
- addOnUpdateLiability_gl_account_id :: Maybe Text
- addOnUpdateMeasured_unit_id :: Maybe Text
- addOnUpdateMeasured_unit_name :: Maybe Text
- addOnUpdateName :: Maybe Text
- addOnUpdateOptional :: Maybe Bool
- addOnUpdatePercentage_tiers :: Maybe [PercentageTiersByCurrency]
- addOnUpdatePerformance_obligation_id :: Maybe Text
- addOnUpdateRevenue_gl_account_id :: Maybe Text
- addOnUpdateRevenue_schedule_type :: Maybe AddOnUpdateRevenue_schedule_type
- addOnUpdateTax_code :: Maybe Text
- addOnUpdateTiers :: Maybe [Tier]
- addOnUpdateUsage_calculation_type :: Maybe AddOnUpdateUsage_calculation_type
- addOnUpdateUsage_percentage :: Maybe Float
- mkAddOnUpdate :: AddOnUpdate
- data AddOnUpdateRevenue_schedule_type
- data AddOnUpdateUsage_calculation_type
Documentation
data AddOnUpdate Source #
Defines the object schema located at components.schemas.AddOnUpdate
in the specification.
Full add-on details.
AddOnUpdate | |
|
Instances
FromJSON AddOnUpdate Source # | |
Defined in RecurlyClient.Types.AddOnUpdate parseJSON :: Value -> Parser AddOnUpdate # parseJSONList :: Value -> Parser [AddOnUpdate] # | |
ToJSON AddOnUpdate Source # | |
Defined in RecurlyClient.Types.AddOnUpdate toJSON :: AddOnUpdate -> Value # toEncoding :: AddOnUpdate -> Encoding # toJSONList :: [AddOnUpdate] -> Value # toEncodingList :: [AddOnUpdate] -> Encoding # | |
Show AddOnUpdate Source # | |
Defined in RecurlyClient.Types.AddOnUpdate showsPrec :: Int -> AddOnUpdate -> ShowS # show :: AddOnUpdate -> String # showList :: [AddOnUpdate] -> ShowS # | |
Eq AddOnUpdate Source # | |
Defined in RecurlyClient.Types.AddOnUpdate (==) :: AddOnUpdate -> AddOnUpdate -> Bool # (/=) :: AddOnUpdate -> AddOnUpdate -> Bool # |
mkAddOnUpdate :: AddOnUpdate Source #
Create a new AddOnUpdate
with all required fields.
data AddOnUpdateRevenue_schedule_type Source #
Defines the enum schema located at components.schemas.AddOnUpdate.properties.revenue_schedule_type
in the specification.
When this add-on is invoiced, the line item will use this revenue schedule. If `item_code`/`item_id` is part of the request then `revenue_schedule_type` must be absent in the request as the value will be set from the item.
AddOnUpdateRevenue_schedule_typeOther Value | This case is used if the value encountered during decoding does not match any of the provided cases in the specification. |
AddOnUpdateRevenue_schedule_typeTyped Text | This constructor can be used to send values to the server which are not present in the specification yet. |
AddOnUpdateRevenue_schedule_typeEnumAt_range_end | Represents the JSON value |
AddOnUpdateRevenue_schedule_typeEnumAt_range_start | Represents the JSON value |
AddOnUpdateRevenue_schedule_typeEnumEvenly | Represents the JSON value |
AddOnUpdateRevenue_schedule_typeEnumNever | Represents the JSON value |
data AddOnUpdateUsage_calculation_type Source #
Defines the enum schema located at components.schemas.AddOnUpdate.properties.usage_calculation_type
in the specification.
The type of calculation to be employed for an add-on. Cumulative billing will sum all usage records created in the current billing cycle. Last-in-period billing will apply only the most recent usage record in the billing period. If no value is specified, cumulative billing will be used.
AddOnUpdateUsage_calculation_typeOther Value | This case is used if the value encountered during decoding does not match any of the provided cases in the specification. |
AddOnUpdateUsage_calculation_typeTyped Text | This constructor can be used to send values to the server which are not present in the specification yet. |
AddOnUpdateUsage_calculation_typeEnumCumulative | Represents the JSON value |
AddOnUpdateUsage_calculation_typeEnumLast_in_period | Represents the JSON value |