recurly-client-0.1.0.0: Client for Recurly subscription management
Safe HaskellSafe-Inferred
LanguageHaskell2010

RecurlyClient.Types.PlanCreate

Description

Contains the types generated from the schema PlanCreate

Synopsis

Documentation

data PlanCreate Source #

Defines the object schema located at components.schemas.PlanCreate in the specification.

Constructors

PlanCreate 

Fields

data PlanCreateInterval_unit Source #

Defines the enum schema located at components.schemas.PlanCreate.properties.interval_unit in the specification.

Unit for the plan's billing interval.

Constructors

PlanCreateInterval_unitOther Value

This case is used if the value encountered during decoding does not match any of the provided cases in the specification.

PlanCreateInterval_unitTyped Text

This constructor can be used to send values to the server which are not present in the specification yet.

PlanCreateInterval_unitEnumDays

Represents the JSON value "days"

PlanCreateInterval_unitEnumMonths

Represents the JSON value "months"

data PlanCreatePricing_model Source #

Defines the enum schema located at components.schemas.PlanCreate.properties.pricing_model in the specification.

A fixed pricing model has the same price for each billing period. A ramp pricing model defines a set of Ramp Intervals, where a subscription changes price on a specified cadence of billing periods. The price change could be an increase or decrease.

Constructors

PlanCreatePricing_modelOther Value

This case is used if the value encountered during decoding does not match any of the provided cases in the specification.

PlanCreatePricing_modelTyped Text

This constructor can be used to send values to the server which are not present in the specification yet.

PlanCreatePricing_modelEnumFixed

Represents the JSON value "fixed"

PlanCreatePricing_modelEnumRamp

Represents the JSON value "ramp"

data PlanCreateRevenue_schedule_type Source #

Defines the enum schema located at components.schemas.PlanCreate.properties.revenue_schedule_type in the specification.

Constructors

PlanCreateRevenue_schedule_typeOther Value

This case is used if the value encountered during decoding does not match any of the provided cases in the specification.

PlanCreateRevenue_schedule_typeTyped Text

This constructor can be used to send values to the server which are not present in the specification yet.

PlanCreateRevenue_schedule_typeEnumAt_range_end

Represents the JSON value "at_range_end"

PlanCreateRevenue_schedule_typeEnumAt_range_start

Represents the JSON value "at_range_start"

PlanCreateRevenue_schedule_typeEnumEvenly

Represents the JSON value "evenly"

PlanCreateRevenue_schedule_typeEnumNever

Represents the JSON value "never"

data PlanCreateSetup_fee_revenue_schedule_type Source #

Defines the enum schema located at components.schemas.PlanCreate.properties.setup_fee_revenue_schedule_type in the specification.

Constructors

PlanCreateSetup_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.

PlanCreateSetup_fee_revenue_schedule_typeTyped Text

This constructor can be used to send values to the server which are not present in the specification yet.

PlanCreateSetup_fee_revenue_schedule_typeEnumAt_range_end

Represents the JSON value "at_range_end"

PlanCreateSetup_fee_revenue_schedule_typeEnumAt_range_start

Represents the JSON value "at_range_start"

PlanCreateSetup_fee_revenue_schedule_typeEnumEvenly

Represents the JSON value "evenly"

PlanCreateSetup_fee_revenue_schedule_typeEnumNever

Represents the JSON value "never"

data PlanCreateTrial_unit Source #

Defines the enum schema located at components.schemas.PlanCreate.properties.trial_unit in the specification.

Units for the plan's trial period.

Constructors

PlanCreateTrial_unitOther Value

This case is used if the value encountered during decoding does not match any of the provided cases in the specification.

PlanCreateTrial_unitTyped Text

This constructor can be used to send values to the server which are not present in the specification yet.

PlanCreateTrial_unitEnumDays

Represents the JSON value "days"

PlanCreateTrial_unitEnumMonths

Represents the JSON value "months"