Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
RecurlyClient.Types.PlanUpdate
Description
Contains the types generated from the schema PlanUpdate
Synopsis
- data PlanUpdate = PlanUpdate {
- planUpdateAccounting_code :: Maybe Text
- planUpdateAllow_any_item_on_subscriptions :: Maybe Bool
- planUpdateAuto_renew :: Maybe Bool
- planUpdateAvalara_service_type :: Maybe Int
- planUpdateAvalara_transaction_type :: Maybe Int
- planUpdateCode :: Maybe Text
- planUpdateCurrencies :: Maybe (NonEmpty PlanPricing)
- planUpdateCustom_fields :: Maybe CustomFields
- planUpdateDescription :: Maybe Text
- planUpdateDunning_campaign_id :: Maybe Text
- planUpdateHosted_pages :: Maybe PlanHostedPages
- planUpdateId :: Maybe Text
- planUpdateLiability_gl_account_id :: Maybe Text
- planUpdateName :: Maybe Text
- planUpdatePerformance_obligation_id :: Maybe Text
- planUpdateRamp_intervals :: Maybe [PlanRampInterval]
- planUpdateRevenue_gl_account_id :: Maybe Text
- planUpdateRevenue_schedule_type :: Maybe PlanUpdateRevenue_schedule_type
- planUpdateSetup_fee_accounting_code :: Maybe Text
- planUpdateSetup_fee_liability_gl_account_id :: Maybe Text
- planUpdateSetup_fee_performance_obligation_id :: Maybe Text
- planUpdateSetup_fee_revenue_gl_account_id :: Maybe Text
- planUpdateSetup_fee_revenue_schedule_type :: Maybe PlanUpdateSetup_fee_revenue_schedule_type
- planUpdateTax_code :: Maybe Text
- planUpdateTax_exempt :: Maybe Bool
- planUpdateTotal_billing_cycles :: Maybe Int
- planUpdateTrial_length :: Maybe Int
- planUpdateTrial_requires_billing_info :: Maybe Bool
- planUpdateTrial_unit :: Maybe PlanUpdateTrial_unit
- planUpdateVertex_transaction_type :: Maybe Text
- mkPlanUpdate :: PlanUpdate
- data PlanUpdateRevenue_schedule_type
- data PlanUpdateSetup_fee_revenue_schedule_type
- = PlanUpdateSetup_fee_revenue_schedule_typeOther Value
- | PlanUpdateSetup_fee_revenue_schedule_typeTyped Text
- | PlanUpdateSetup_fee_revenue_schedule_typeEnumAt_range_end
- | PlanUpdateSetup_fee_revenue_schedule_typeEnumAt_range_start
- | PlanUpdateSetup_fee_revenue_schedule_typeEnumEvenly
- | PlanUpdateSetup_fee_revenue_schedule_typeEnumNever
- data PlanUpdateTrial_unit
Documentation
data PlanUpdate Source #
Defines the object schema located at components.schemas.PlanUpdate
in the specification.
Constructors
PlanUpdate | |
Fields
|
Instances
FromJSON PlanUpdate Source # | |
Defined in RecurlyClient.Types.PlanUpdate | |
ToJSON PlanUpdate Source # | |
Defined in RecurlyClient.Types.PlanUpdate Methods toJSON :: PlanUpdate -> Value # toEncoding :: PlanUpdate -> Encoding # toJSONList :: [PlanUpdate] -> Value # toEncodingList :: [PlanUpdate] -> Encoding # | |
Show PlanUpdate Source # | |
Defined in RecurlyClient.Types.PlanUpdate Methods showsPrec :: Int -> PlanUpdate -> ShowS # show :: PlanUpdate -> String # showList :: [PlanUpdate] -> ShowS # | |
Eq PlanUpdate Source # | |
Defined in RecurlyClient.Types.PlanUpdate |
mkPlanUpdate :: PlanUpdate Source #
Create a new PlanUpdate
with all required fields.
data PlanUpdateRevenue_schedule_type Source #
Defines the enum schema located at components.schemas.PlanUpdate.properties.revenue_schedule_type
in the specification.
Constructors
PlanUpdateRevenue_schedule_typeOther Value | This case is used if the value encountered during decoding does not match any of the provided cases in the specification. |
PlanUpdateRevenue_schedule_typeTyped Text | This constructor can be used to send values to the server which are not present in the specification yet. |
PlanUpdateRevenue_schedule_typeEnumAt_range_end | Represents the JSON value |
PlanUpdateRevenue_schedule_typeEnumAt_range_start | Represents the JSON value |
PlanUpdateRevenue_schedule_typeEnumEvenly | Represents the JSON value |
PlanUpdateRevenue_schedule_typeEnumNever | Represents the JSON value |
Instances
FromJSON PlanUpdateRevenue_schedule_type Source # | |
Defined in RecurlyClient.Types.PlanUpdate Methods parseJSON :: Value -> Parser PlanUpdateRevenue_schedule_type # parseJSONList :: Value -> Parser [PlanUpdateRevenue_schedule_type] # | |
ToJSON PlanUpdateRevenue_schedule_type Source # | |
Defined in RecurlyClient.Types.PlanUpdate | |
Show PlanUpdateRevenue_schedule_type Source # | |
Defined in RecurlyClient.Types.PlanUpdate Methods showsPrec :: Int -> PlanUpdateRevenue_schedule_type -> ShowS # | |
Eq PlanUpdateRevenue_schedule_type Source # | |
Defined in RecurlyClient.Types.PlanUpdate |
data PlanUpdateSetup_fee_revenue_schedule_type Source #
Defines the enum schema located at components.schemas.PlanUpdate.properties.setup_fee_revenue_schedule_type
in the specification.
Constructors
PlanUpdateSetup_fee_revenue_schedule_typeOther Value | This case is used if the value encountered during decoding does not match any of the provided cases in the specification. |
PlanUpdateSetup_fee_revenue_schedule_typeTyped Text | This constructor can be used to send values to the server which are not present in the specification yet. |
PlanUpdateSetup_fee_revenue_schedule_typeEnumAt_range_end | Represents the JSON value |
PlanUpdateSetup_fee_revenue_schedule_typeEnumAt_range_start | Represents the JSON value |
PlanUpdateSetup_fee_revenue_schedule_typeEnumEvenly | Represents the JSON value |
PlanUpdateSetup_fee_revenue_schedule_typeEnumNever | Represents the JSON value |
Instances
data PlanUpdateTrial_unit Source #
Defines the enum schema located at components.schemas.PlanUpdate.properties.trial_unit
in the specification.
Units for the plan's trial period.
Constructors
PlanUpdateTrial_unitOther Value | This case is used if the value encountered during decoding does not match any of the provided cases in the specification. |
PlanUpdateTrial_unitTyped Text | This constructor can be used to send values to the server which are not present in the specification yet. |
PlanUpdateTrial_unitEnumDays | Represents the JSON value |
PlanUpdateTrial_unitEnumMonths | Represents the JSON value |
Instances
FromJSON PlanUpdateTrial_unit Source # | |
Defined in RecurlyClient.Types.PlanUpdate Methods parseJSON :: Value -> Parser PlanUpdateTrial_unit # parseJSONList :: Value -> Parser [PlanUpdateTrial_unit] # | |
ToJSON PlanUpdateTrial_unit Source # | |
Defined in RecurlyClient.Types.PlanUpdate Methods toJSON :: PlanUpdateTrial_unit -> Value # toEncoding :: PlanUpdateTrial_unit -> Encoding # toJSONList :: [PlanUpdateTrial_unit] -> Value # toEncodingList :: [PlanUpdateTrial_unit] -> Encoding # | |
Show PlanUpdateTrial_unit Source # | |
Defined in RecurlyClient.Types.PlanUpdate Methods showsPrec :: Int -> PlanUpdateTrial_unit -> ShowS # show :: PlanUpdateTrial_unit -> String # showList :: [PlanUpdateTrial_unit] -> ShowS # | |
Eq PlanUpdateTrial_unit Source # | |
Defined in RecurlyClient.Types.PlanUpdate Methods (==) :: PlanUpdateTrial_unit -> PlanUpdateTrial_unit -> Bool # (/=) :: PlanUpdateTrial_unit -> PlanUpdateTrial_unit -> Bool # |