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

RecurlyClient.Types.SubscriptionChangeCreate

Description

Contains the types generated from the schema SubscriptionChangeCreate

Synopsis

Documentation

data SubscriptionChangeCreate Source #

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

Constructors

SubscriptionChangeCreate 

Fields

data SubscriptionChangeCreateCollection_method Source #

Defines the enum schema located at components.schemas.SubscriptionChangeCreate.properties.collection_method in the specification.

Constructors

SubscriptionChangeCreateCollection_methodOther Value

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

SubscriptionChangeCreateCollection_methodTyped Text

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

SubscriptionChangeCreateCollection_methodEnumAutomatic

Represents the JSON value "automatic"

SubscriptionChangeCreateCollection_methodEnumManual

Represents the JSON value "manual"

data SubscriptionChangeCreateNet_terms_type Source #

Defines the enum schema located at components.schemas.SubscriptionChangeCreate.properties.net_terms_type in the specification.

Optionally supplied string that may be either `net` or `eom` (end-of-month). When `net`, an invoice becomes past due the specified number of `Net Terms` days from the current date. When `eom` an invoice becomes past due the specified number of `Net Terms` days from the last day of the current month.

Constructors

SubscriptionChangeCreateNet_terms_typeOther Value

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

SubscriptionChangeCreateNet_terms_typeTyped Text

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

SubscriptionChangeCreateNet_terms_typeEnumNet

Represents the JSON value "net"

SubscriptionChangeCreateNet_terms_typeEnumEom

Represents the JSON value "eom"

data SubscriptionChangeCreateRevenue_schedule_type Source #

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

Constructors

SubscriptionChangeCreateRevenue_schedule_typeOther Value

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

SubscriptionChangeCreateRevenue_schedule_typeTyped Text

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

SubscriptionChangeCreateRevenue_schedule_typeEnumAt_range_end

Represents the JSON value "at_range_end"

SubscriptionChangeCreateRevenue_schedule_typeEnumAt_range_start

Represents the JSON value "at_range_start"

SubscriptionChangeCreateRevenue_schedule_typeEnumEvenly

Represents the JSON value "evenly"

SubscriptionChangeCreateRevenue_schedule_typeEnumNever

Represents the JSON value "never"

data SubscriptionChangeCreateTimeframe Source #

Defines the enum schema located at components.schemas.SubscriptionChangeCreate.properties.timeframe in the specification.

The timeframe parameter controls when the upgrade or downgrade takes place. The subscription change can occur now, when the subscription is next billed, or when the subscription term ends. Generally, if you're performing an upgrade, you will want the change to occur immediately (now). If you're performing a downgrade, you should set the timeframe to `term_end` or `bill_date` so the change takes effect at a scheduled billing date. The `renewal` timeframe option is accepted as an alias for `term_end`.

Constructors

SubscriptionChangeCreateTimeframeOther Value

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

SubscriptionChangeCreateTimeframeTyped Text

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

SubscriptionChangeCreateTimeframeEnumBill_date

Represents the JSON value "bill_date"

SubscriptionChangeCreateTimeframeEnumNow

Represents the JSON value "now"

SubscriptionChangeCreateTimeframeEnumRenewal

Represents the JSON value "renewal"

SubscriptionChangeCreateTimeframeEnumTerm_end

Represents the JSON value "term_end"

data SubscriptionChangeCreateTransaction_type Source #

Defines the enum schema located at components.schemas.SubscriptionChangeCreate.properties.transaction_type in the specification.

An optional type designation for the payment gateway transaction created by this request. Supports 'moto' value, which is the acronym for mail order and telephone transactions.

Constructors

SubscriptionChangeCreateTransaction_typeOther Value

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

SubscriptionChangeCreateTransaction_typeTyped Text

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

SubscriptionChangeCreateTransaction_typeEnumMoto

Represents the JSON value "moto"