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

RecurlyClient.Types.ProrationSettings

Description

Contains the types generated from the schema ProrationSettings

Synopsis

Documentation

data ProrationSettings Source #

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

Allows you to control how any resulting charges and credits will be calculated and prorated.

Constructors

ProrationSettings 

Fields

mkProrationSettings :: ProrationSettings Source #

Create a new ProrationSettings with all required fields.

data ProrationSettingsCharge Source #

Defines the enum schema located at components.schemas.ProrationSettings.properties.charge in the specification.

Determines how the amount charged is determined for this change

Constructors

ProrationSettingsChargeOther Value

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

ProrationSettingsChargeTyped Text

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

ProrationSettingsChargeEnumFull_amount

Represents the JSON value "full_amount"

ProrationSettingsChargeEnumProrated_amount

Represents the JSON value "prorated_amount"

ProrationSettingsChargeEnumNone

Represents the JSON value "none"

data ProrationSettingsCredit Source #

Defines the enum schema located at components.schemas.ProrationSettings.properties.credit in the specification.

Determines how the amount credited is determined for this change

Constructors

ProrationSettingsCreditOther Value

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

ProrationSettingsCreditTyped Text

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

ProrationSettingsCreditEnumFull_amount

Represents the JSON value "full_amount"

ProrationSettingsCreditEnumProrated_amount

Represents the JSON value "prorated_amount"

ProrationSettingsCreditEnumNone

Represents the JSON value "none"