stripeapi-2.0.0.1: Stripe-Library
Safe HaskellNone
LanguageHaskell2010

StripeAPI.Operations.PostSubscriptionSchedules

Description

Contains the different functions to run the operation postSubscriptionSchedules

Synopsis

Documentation

postSubscriptionSchedules Source #

Arguments

:: forall m. MonadHTTP m 
=> Maybe PostSubscriptionSchedulesRequestBody

The request body to send

-> ClientT m (Response PostSubscriptionSchedulesResponse)

Monadic computation which returns the result of the operation

POST /v1/subscription_schedules

<p>Creates a new subscription schedule object. Each customer can have up to 500 active or scheduled subscriptions.</p>

data PostSubscriptionSchedulesRequestBody Source #

Defines the object schema located at paths./v1/subscription_schedules.POST.requestBody.content.application/x-www-form-urlencoded.schema in the specification.

Constructors

PostSubscriptionSchedulesRequestBody 

Fields

data PostSubscriptionSchedulesRequestBodyDefaultSettings' Source #

Defines the object schema located at paths./v1/subscription_schedules.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.default_settings in the specification.

Object representing the subscription schedule's default settings.

Instances

Instances details
Eq PostSubscriptionSchedulesRequestBodyDefaultSettings' Source # 
Instance details

Defined in StripeAPI.Operations.PostSubscriptionSchedules

Show PostSubscriptionSchedulesRequestBodyDefaultSettings' Source # 
Instance details

Defined in StripeAPI.Operations.PostSubscriptionSchedules

ToJSON PostSubscriptionSchedulesRequestBodyDefaultSettings' Source # 
Instance details

Defined in StripeAPI.Operations.PostSubscriptionSchedules

FromJSON PostSubscriptionSchedulesRequestBodyDefaultSettings' Source # 
Instance details

Defined in StripeAPI.Operations.PostSubscriptionSchedules

data PostSubscriptionSchedulesRequestBodyDefaultSettings'AutomaticTax' Source #

Defines the object schema located at paths./v1/subscription_schedules.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.default_settings.properties.automatic_tax in the specification.

Instances

Instances details
Eq PostSubscriptionSchedulesRequestBodyDefaultSettings'AutomaticTax' Source # 
Instance details

Defined in StripeAPI.Operations.PostSubscriptionSchedules

Show PostSubscriptionSchedulesRequestBodyDefaultSettings'AutomaticTax' Source # 
Instance details

Defined in StripeAPI.Operations.PostSubscriptionSchedules

ToJSON PostSubscriptionSchedulesRequestBodyDefaultSettings'AutomaticTax' Source # 
Instance details

Defined in StripeAPI.Operations.PostSubscriptionSchedules

FromJSON PostSubscriptionSchedulesRequestBodyDefaultSettings'AutomaticTax' Source # 
Instance details

Defined in StripeAPI.Operations.PostSubscriptionSchedules

data PostSubscriptionSchedulesRequestBodyDefaultSettings'BillingCycleAnchor' Source #

Defines the enum schema located at paths./v1/subscription_schedules.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.default_settings.properties.billing_cycle_anchor in the specification.

Constructors

PostSubscriptionSchedulesRequestBodyDefaultSettings'BillingCycleAnchor'Other Value

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

PostSubscriptionSchedulesRequestBodyDefaultSettings'BillingCycleAnchor'Typed Text

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

PostSubscriptionSchedulesRequestBodyDefaultSettings'BillingCycleAnchor'EnumAutomatic

Represents the JSON value "automatic"

PostSubscriptionSchedulesRequestBodyDefaultSettings'BillingCycleAnchor'EnumPhaseStart

Represents the JSON value "phase_start"

Instances

Instances details
Eq PostSubscriptionSchedulesRequestBodyDefaultSettings'BillingCycleAnchor' Source # 
Instance details

Defined in StripeAPI.Operations.PostSubscriptionSchedules

Show PostSubscriptionSchedulesRequestBodyDefaultSettings'BillingCycleAnchor' Source # 
Instance details

Defined in StripeAPI.Operations.PostSubscriptionSchedules

ToJSON PostSubscriptionSchedulesRequestBodyDefaultSettings'BillingCycleAnchor' Source # 
Instance details

Defined in StripeAPI.Operations.PostSubscriptionSchedules

FromJSON PostSubscriptionSchedulesRequestBodyDefaultSettings'BillingCycleAnchor' Source # 
Instance details

Defined in StripeAPI.Operations.PostSubscriptionSchedules

data PostSubscriptionSchedulesRequestBodyDefaultSettings'BillingThresholds'OneOf1 Source #

Defines the object schema located at paths./v1/subscription_schedules.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.default_settings.properties.billing_thresholds.anyOf in the specification.

Instances

Instances details
Eq PostSubscriptionSchedulesRequestBodyDefaultSettings'BillingThresholds'OneOf1 Source # 
Instance details

Defined in StripeAPI.Operations.PostSubscriptionSchedules

Show PostSubscriptionSchedulesRequestBodyDefaultSettings'BillingThresholds'OneOf1 Source # 
Instance details

Defined in StripeAPI.Operations.PostSubscriptionSchedules

ToJSON PostSubscriptionSchedulesRequestBodyDefaultSettings'BillingThresholds'OneOf1 Source # 
Instance details

Defined in StripeAPI.Operations.PostSubscriptionSchedules

FromJSON PostSubscriptionSchedulesRequestBodyDefaultSettings'BillingThresholds'OneOf1 Source # 
Instance details

Defined in StripeAPI.Operations.PostSubscriptionSchedules

data PostSubscriptionSchedulesRequestBodyDefaultSettings'BillingThresholds'Variants Source #

Defines the oneOf schema located at paths./v1/subscription_schedules.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.default_settings.properties.billing_thresholds.anyOf in the specification.

Instances

Instances details
Eq PostSubscriptionSchedulesRequestBodyDefaultSettings'BillingThresholds'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostSubscriptionSchedules

Show PostSubscriptionSchedulesRequestBodyDefaultSettings'BillingThresholds'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostSubscriptionSchedules

ToJSON PostSubscriptionSchedulesRequestBodyDefaultSettings'BillingThresholds'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostSubscriptionSchedules

FromJSON PostSubscriptionSchedulesRequestBodyDefaultSettings'BillingThresholds'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostSubscriptionSchedules

data PostSubscriptionSchedulesRequestBodyDefaultSettings'CollectionMethod' Source #

Defines the enum schema located at paths./v1/subscription_schedules.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.default_settings.properties.collection_method in the specification.

Constructors

PostSubscriptionSchedulesRequestBodyDefaultSettings'CollectionMethod'Other Value

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

PostSubscriptionSchedulesRequestBodyDefaultSettings'CollectionMethod'Typed Text

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

PostSubscriptionSchedulesRequestBodyDefaultSettings'CollectionMethod'EnumChargeAutomatically

Represents the JSON value "charge_automatically"

PostSubscriptionSchedulesRequestBodyDefaultSettings'CollectionMethod'EnumSendInvoice

Represents the JSON value "send_invoice"

Instances

Instances details
Eq PostSubscriptionSchedulesRequestBodyDefaultSettings'CollectionMethod' Source # 
Instance details

Defined in StripeAPI.Operations.PostSubscriptionSchedules

Show PostSubscriptionSchedulesRequestBodyDefaultSettings'CollectionMethod' Source # 
Instance details

Defined in StripeAPI.Operations.PostSubscriptionSchedules

ToJSON PostSubscriptionSchedulesRequestBodyDefaultSettings'CollectionMethod' Source # 
Instance details

Defined in StripeAPI.Operations.PostSubscriptionSchedules

FromJSON PostSubscriptionSchedulesRequestBodyDefaultSettings'CollectionMethod' Source # 
Instance details

Defined in StripeAPI.Operations.PostSubscriptionSchedules

data PostSubscriptionSchedulesRequestBodyDefaultSettings'InvoiceSettings' Source #

Defines the object schema located at paths./v1/subscription_schedules.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.default_settings.properties.invoice_settings in the specification.

Instances

Instances details
Eq PostSubscriptionSchedulesRequestBodyDefaultSettings'InvoiceSettings' Source # 
Instance details

Defined in StripeAPI.Operations.PostSubscriptionSchedules

Show PostSubscriptionSchedulesRequestBodyDefaultSettings'InvoiceSettings' Source # 
Instance details

Defined in StripeAPI.Operations.PostSubscriptionSchedules

ToJSON PostSubscriptionSchedulesRequestBodyDefaultSettings'InvoiceSettings' Source # 
Instance details

Defined in StripeAPI.Operations.PostSubscriptionSchedules

FromJSON PostSubscriptionSchedulesRequestBodyDefaultSettings'InvoiceSettings' Source # 
Instance details

Defined in StripeAPI.Operations.PostSubscriptionSchedules

data PostSubscriptionSchedulesRequestBodyDefaultSettings'TransferData'OneOf1 Source #

Defines the object schema located at paths./v1/subscription_schedules.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.default_settings.properties.transfer_data.anyOf in the specification.

Instances

Instances details
Eq PostSubscriptionSchedulesRequestBodyDefaultSettings'TransferData'OneOf1 Source # 
Instance details

Defined in StripeAPI.Operations.PostSubscriptionSchedules

Show PostSubscriptionSchedulesRequestBodyDefaultSettings'TransferData'OneOf1 Source # 
Instance details

Defined in StripeAPI.Operations.PostSubscriptionSchedules

ToJSON PostSubscriptionSchedulesRequestBodyDefaultSettings'TransferData'OneOf1 Source # 
Instance details

Defined in StripeAPI.Operations.PostSubscriptionSchedules

FromJSON PostSubscriptionSchedulesRequestBodyDefaultSettings'TransferData'OneOf1 Source # 
Instance details

Defined in StripeAPI.Operations.PostSubscriptionSchedules

data PostSubscriptionSchedulesRequestBodyDefaultSettings'TransferData'Variants Source #

Defines the oneOf schema located at paths./v1/subscription_schedules.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.default_settings.properties.transfer_data.anyOf in the specification.

Instances

Instances details
Eq PostSubscriptionSchedulesRequestBodyDefaultSettings'TransferData'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostSubscriptionSchedules

Show PostSubscriptionSchedulesRequestBodyDefaultSettings'TransferData'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostSubscriptionSchedules

ToJSON PostSubscriptionSchedulesRequestBodyDefaultSettings'TransferData'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostSubscriptionSchedules

FromJSON PostSubscriptionSchedulesRequestBodyDefaultSettings'TransferData'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostSubscriptionSchedules

data PostSubscriptionSchedulesRequestBodyEndBehavior' Source #

Defines the enum schema located at paths./v1/subscription_schedules.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.end_behavior in the specification.

Configures how the subscription schedule behaves when it ends. Possible values are `release` or `cancel` with the default being `release`. `release` will end the subscription schedule and keep the underlying subscription running.`cancel` will end the subscription schedule and cancel the underlying subscription.

Constructors

PostSubscriptionSchedulesRequestBodyEndBehavior'Other Value

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

PostSubscriptionSchedulesRequestBodyEndBehavior'Typed Text

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

PostSubscriptionSchedulesRequestBodyEndBehavior'EnumCancel

Represents the JSON value "cancel"

PostSubscriptionSchedulesRequestBodyEndBehavior'EnumNone

Represents the JSON value "none"

PostSubscriptionSchedulesRequestBodyEndBehavior'EnumRelease

Represents the JSON value "release"

PostSubscriptionSchedulesRequestBodyEndBehavior'EnumRenew

Represents the JSON value "renew"

Instances

Instances details
Eq PostSubscriptionSchedulesRequestBodyEndBehavior' Source # 
Instance details

Defined in StripeAPI.Operations.PostSubscriptionSchedules

Show PostSubscriptionSchedulesRequestBodyEndBehavior' Source # 
Instance details

Defined in StripeAPI.Operations.PostSubscriptionSchedules

ToJSON PostSubscriptionSchedulesRequestBodyEndBehavior' Source # 
Instance details

Defined in StripeAPI.Operations.PostSubscriptionSchedules

FromJSON PostSubscriptionSchedulesRequestBodyEndBehavior' Source # 
Instance details

Defined in StripeAPI.Operations.PostSubscriptionSchedules

data PostSubscriptionSchedulesRequestBodyMetadata'Variants Source #

Defines the oneOf schema located at paths./v1/subscription_schedules.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.metadata.anyOf in the specification.

Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.

Instances

Instances details
Eq PostSubscriptionSchedulesRequestBodyMetadata'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostSubscriptionSchedules

Show PostSubscriptionSchedulesRequestBodyMetadata'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostSubscriptionSchedules

ToJSON PostSubscriptionSchedulesRequestBodyMetadata'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostSubscriptionSchedules

FromJSON PostSubscriptionSchedulesRequestBodyMetadata'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostSubscriptionSchedules

data PostSubscriptionSchedulesRequestBodyPhases' Source #

Defines the object schema located at paths./v1/subscription_schedules.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.phases.items in the specification.

Constructors

PostSubscriptionSchedulesRequestBodyPhases' 

Fields

data PostSubscriptionSchedulesRequestBodyPhases'AddInvoiceItems' Source #

Defines the object schema located at paths./v1/subscription_schedules.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.phases.items.properties.add_invoice_items.items in the specification.

Instances

Instances details
Eq PostSubscriptionSchedulesRequestBodyPhases'AddInvoiceItems' Source # 
Instance details

Defined in StripeAPI.Operations.PostSubscriptionSchedules

Show PostSubscriptionSchedulesRequestBodyPhases'AddInvoiceItems' Source # 
Instance details

Defined in StripeAPI.Operations.PostSubscriptionSchedules

ToJSON PostSubscriptionSchedulesRequestBodyPhases'AddInvoiceItems' Source # 
Instance details

Defined in StripeAPI.Operations.PostSubscriptionSchedules

FromJSON PostSubscriptionSchedulesRequestBodyPhases'AddInvoiceItems' Source # 
Instance details

Defined in StripeAPI.Operations.PostSubscriptionSchedules

data PostSubscriptionSchedulesRequestBodyPhases'AddInvoiceItems'PriceData' Source #

Defines the object schema located at paths./v1/subscription_schedules.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.phases.items.properties.add_invoice_items.items.properties.price_data in the specification.

Instances

Instances details
Eq PostSubscriptionSchedulesRequestBodyPhases'AddInvoiceItems'PriceData' Source # 
Instance details

Defined in StripeAPI.Operations.PostSubscriptionSchedules

Show PostSubscriptionSchedulesRequestBodyPhases'AddInvoiceItems'PriceData' Source # 
Instance details

Defined in StripeAPI.Operations.PostSubscriptionSchedules

ToJSON PostSubscriptionSchedulesRequestBodyPhases'AddInvoiceItems'PriceData' Source # 
Instance details

Defined in StripeAPI.Operations.PostSubscriptionSchedules

FromJSON PostSubscriptionSchedulesRequestBodyPhases'AddInvoiceItems'PriceData' Source # 
Instance details

Defined in StripeAPI.Operations.PostSubscriptionSchedules

data PostSubscriptionSchedulesRequestBodyPhases'AddInvoiceItems'PriceData'TaxBehavior' Source #

Defines the enum schema located at paths./v1/subscription_schedules.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.phases.items.properties.add_invoice_items.items.properties.price_data.properties.tax_behavior in the specification.

Constructors

PostSubscriptionSchedulesRequestBodyPhases'AddInvoiceItems'PriceData'TaxBehavior'Other Value

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

PostSubscriptionSchedulesRequestBodyPhases'AddInvoiceItems'PriceData'TaxBehavior'Typed Text

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

PostSubscriptionSchedulesRequestBodyPhases'AddInvoiceItems'PriceData'TaxBehavior'EnumExclusive

Represents the JSON value "exclusive"

PostSubscriptionSchedulesRequestBodyPhases'AddInvoiceItems'PriceData'TaxBehavior'EnumInclusive

Represents the JSON value "inclusive"

PostSubscriptionSchedulesRequestBodyPhases'AddInvoiceItems'PriceData'TaxBehavior'EnumUnspecified

Represents the JSON value "unspecified"

Instances

Instances details
Eq PostSubscriptionSchedulesRequestBodyPhases'AddInvoiceItems'PriceData'TaxBehavior' Source # 
Instance details

Defined in StripeAPI.Operations.PostSubscriptionSchedules

Show PostSubscriptionSchedulesRequestBodyPhases'AddInvoiceItems'PriceData'TaxBehavior' Source # 
Instance details

Defined in StripeAPI.Operations.PostSubscriptionSchedules

ToJSON PostSubscriptionSchedulesRequestBodyPhases'AddInvoiceItems'PriceData'TaxBehavior' Source # 
Instance details

Defined in StripeAPI.Operations.PostSubscriptionSchedules

FromJSON PostSubscriptionSchedulesRequestBodyPhases'AddInvoiceItems'PriceData'TaxBehavior' Source # 
Instance details

Defined in StripeAPI.Operations.PostSubscriptionSchedules

data PostSubscriptionSchedulesRequestBodyPhases'AddInvoiceItems'TaxRates'Variants Source #

Defines the oneOf schema located at paths./v1/subscription_schedules.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.phases.items.properties.add_invoice_items.items.properties.tax_rates.anyOf in the specification.

Instances

Instances details
Eq PostSubscriptionSchedulesRequestBodyPhases'AddInvoiceItems'TaxRates'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostSubscriptionSchedules

Show PostSubscriptionSchedulesRequestBodyPhases'AddInvoiceItems'TaxRates'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostSubscriptionSchedules

ToJSON PostSubscriptionSchedulesRequestBodyPhases'AddInvoiceItems'TaxRates'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostSubscriptionSchedules

FromJSON PostSubscriptionSchedulesRequestBodyPhases'AddInvoiceItems'TaxRates'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostSubscriptionSchedules

data PostSubscriptionSchedulesRequestBodyPhases'AutomaticTax' Source #

Defines the object schema located at paths./v1/subscription_schedules.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.phases.items.properties.automatic_tax in the specification.

Instances

Instances details
Eq PostSubscriptionSchedulesRequestBodyPhases'AutomaticTax' Source # 
Instance details

Defined in StripeAPI.Operations.PostSubscriptionSchedules

Show PostSubscriptionSchedulesRequestBodyPhases'AutomaticTax' Source # 
Instance details

Defined in StripeAPI.Operations.PostSubscriptionSchedules

ToJSON PostSubscriptionSchedulesRequestBodyPhases'AutomaticTax' Source # 
Instance details

Defined in StripeAPI.Operations.PostSubscriptionSchedules

FromJSON PostSubscriptionSchedulesRequestBodyPhases'AutomaticTax' Source # 
Instance details

Defined in StripeAPI.Operations.PostSubscriptionSchedules

data PostSubscriptionSchedulesRequestBodyPhases'BillingCycleAnchor' Source #

Defines the enum schema located at paths./v1/subscription_schedules.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.phases.items.properties.billing_cycle_anchor in the specification.

Constructors

PostSubscriptionSchedulesRequestBodyPhases'BillingCycleAnchor'Other Value

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

PostSubscriptionSchedulesRequestBodyPhases'BillingCycleAnchor'Typed Text

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

PostSubscriptionSchedulesRequestBodyPhases'BillingCycleAnchor'EnumAutomatic

Represents the JSON value "automatic"

PostSubscriptionSchedulesRequestBodyPhases'BillingCycleAnchor'EnumPhaseStart

Represents the JSON value "phase_start"

Instances

Instances details
Eq PostSubscriptionSchedulesRequestBodyPhases'BillingCycleAnchor' Source # 
Instance details

Defined in StripeAPI.Operations.PostSubscriptionSchedules

Show PostSubscriptionSchedulesRequestBodyPhases'BillingCycleAnchor' Source # 
Instance details

Defined in StripeAPI.Operations.PostSubscriptionSchedules

ToJSON PostSubscriptionSchedulesRequestBodyPhases'BillingCycleAnchor' Source # 
Instance details

Defined in StripeAPI.Operations.PostSubscriptionSchedules

FromJSON PostSubscriptionSchedulesRequestBodyPhases'BillingCycleAnchor' Source # 
Instance details

Defined in StripeAPI.Operations.PostSubscriptionSchedules

data PostSubscriptionSchedulesRequestBodyPhases'BillingThresholds'OneOf1 Source #

Defines the object schema located at paths./v1/subscription_schedules.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.phases.items.properties.billing_thresholds.anyOf in the specification.

Instances

Instances details
Eq PostSubscriptionSchedulesRequestBodyPhases'BillingThresholds'OneOf1 Source # 
Instance details

Defined in StripeAPI.Operations.PostSubscriptionSchedules

Show PostSubscriptionSchedulesRequestBodyPhases'BillingThresholds'OneOf1 Source # 
Instance details

Defined in StripeAPI.Operations.PostSubscriptionSchedules

ToJSON PostSubscriptionSchedulesRequestBodyPhases'BillingThresholds'OneOf1 Source # 
Instance details

Defined in StripeAPI.Operations.PostSubscriptionSchedules

FromJSON PostSubscriptionSchedulesRequestBodyPhases'BillingThresholds'OneOf1 Source # 
Instance details

Defined in StripeAPI.Operations.PostSubscriptionSchedules

data PostSubscriptionSchedulesRequestBodyPhases'BillingThresholds'Variants Source #

Defines the oneOf schema located at paths./v1/subscription_schedules.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.phases.items.properties.billing_thresholds.anyOf in the specification.

Instances

Instances details
Eq PostSubscriptionSchedulesRequestBodyPhases'BillingThresholds'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostSubscriptionSchedules

Show PostSubscriptionSchedulesRequestBodyPhases'BillingThresholds'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostSubscriptionSchedules

ToJSON PostSubscriptionSchedulesRequestBodyPhases'BillingThresholds'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostSubscriptionSchedules

FromJSON PostSubscriptionSchedulesRequestBodyPhases'BillingThresholds'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostSubscriptionSchedules

data PostSubscriptionSchedulesRequestBodyPhases'CollectionMethod' Source #

Defines the enum schema located at paths./v1/subscription_schedules.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.phases.items.properties.collection_method in the specification.

Constructors

PostSubscriptionSchedulesRequestBodyPhases'CollectionMethod'Other Value

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

PostSubscriptionSchedulesRequestBodyPhases'CollectionMethod'Typed Text

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

PostSubscriptionSchedulesRequestBodyPhases'CollectionMethod'EnumChargeAutomatically

Represents the JSON value "charge_automatically"

PostSubscriptionSchedulesRequestBodyPhases'CollectionMethod'EnumSendInvoice

Represents the JSON value "send_invoice"

Instances

Instances details
Eq PostSubscriptionSchedulesRequestBodyPhases'CollectionMethod' Source # 
Instance details

Defined in StripeAPI.Operations.PostSubscriptionSchedules

Show PostSubscriptionSchedulesRequestBodyPhases'CollectionMethod' Source # 
Instance details

Defined in StripeAPI.Operations.PostSubscriptionSchedules

ToJSON PostSubscriptionSchedulesRequestBodyPhases'CollectionMethod' Source # 
Instance details

Defined in StripeAPI.Operations.PostSubscriptionSchedules

FromJSON PostSubscriptionSchedulesRequestBodyPhases'CollectionMethod' Source # 
Instance details

Defined in StripeAPI.Operations.PostSubscriptionSchedules

data PostSubscriptionSchedulesRequestBodyPhases'DefaultTaxRates'Variants Source #

Defines the oneOf schema located at paths./v1/subscription_schedules.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.phases.items.properties.default_tax_rates.anyOf in the specification.

Instances

Instances details
Eq PostSubscriptionSchedulesRequestBodyPhases'DefaultTaxRates'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostSubscriptionSchedules

Show PostSubscriptionSchedulesRequestBodyPhases'DefaultTaxRates'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostSubscriptionSchedules

ToJSON PostSubscriptionSchedulesRequestBodyPhases'DefaultTaxRates'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostSubscriptionSchedules

FromJSON PostSubscriptionSchedulesRequestBodyPhases'DefaultTaxRates'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostSubscriptionSchedules

data PostSubscriptionSchedulesRequestBodyPhases'InvoiceSettings' Source #

Defines the object schema located at paths./v1/subscription_schedules.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.phases.items.properties.invoice_settings in the specification.

Instances

Instances details
Eq PostSubscriptionSchedulesRequestBodyPhases'InvoiceSettings' Source # 
Instance details

Defined in StripeAPI.Operations.PostSubscriptionSchedules

Show PostSubscriptionSchedulesRequestBodyPhases'InvoiceSettings' Source # 
Instance details

Defined in StripeAPI.Operations.PostSubscriptionSchedules

ToJSON PostSubscriptionSchedulesRequestBodyPhases'InvoiceSettings' Source # 
Instance details

Defined in StripeAPI.Operations.PostSubscriptionSchedules

FromJSON PostSubscriptionSchedulesRequestBodyPhases'InvoiceSettings' Source # 
Instance details

Defined in StripeAPI.Operations.PostSubscriptionSchedules

data PostSubscriptionSchedulesRequestBodyPhases'Items' Source #

Defines the object schema located at paths./v1/subscription_schedules.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.phases.items.properties.items.items in the specification.

Instances

Instances details
Eq PostSubscriptionSchedulesRequestBodyPhases'Items' Source # 
Instance details

Defined in StripeAPI.Operations.PostSubscriptionSchedules

Show PostSubscriptionSchedulesRequestBodyPhases'Items' Source # 
Instance details

Defined in StripeAPI.Operations.PostSubscriptionSchedules

ToJSON PostSubscriptionSchedulesRequestBodyPhases'Items' Source # 
Instance details

Defined in StripeAPI.Operations.PostSubscriptionSchedules

FromJSON PostSubscriptionSchedulesRequestBodyPhases'Items' Source # 
Instance details

Defined in StripeAPI.Operations.PostSubscriptionSchedules

data PostSubscriptionSchedulesRequestBodyPhases'Items'BillingThresholds'OneOf1 Source #

Defines the object schema located at paths./v1/subscription_schedules.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.phases.items.properties.items.items.properties.billing_thresholds.anyOf in the specification.

Instances

Instances details
Eq PostSubscriptionSchedulesRequestBodyPhases'Items'BillingThresholds'OneOf1 Source # 
Instance details

Defined in StripeAPI.Operations.PostSubscriptionSchedules

Show PostSubscriptionSchedulesRequestBodyPhases'Items'BillingThresholds'OneOf1 Source # 
Instance details

Defined in StripeAPI.Operations.PostSubscriptionSchedules

ToJSON PostSubscriptionSchedulesRequestBodyPhases'Items'BillingThresholds'OneOf1 Source # 
Instance details

Defined in StripeAPI.Operations.PostSubscriptionSchedules

FromJSON PostSubscriptionSchedulesRequestBodyPhases'Items'BillingThresholds'OneOf1 Source # 
Instance details

Defined in StripeAPI.Operations.PostSubscriptionSchedules

data PostSubscriptionSchedulesRequestBodyPhases'Items'BillingThresholds'Variants Source #

Defines the oneOf schema located at paths./v1/subscription_schedules.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.phases.items.properties.items.items.properties.billing_thresholds.anyOf in the specification.

Instances

Instances details
Eq PostSubscriptionSchedulesRequestBodyPhases'Items'BillingThresholds'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostSubscriptionSchedules

Show PostSubscriptionSchedulesRequestBodyPhases'Items'BillingThresholds'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostSubscriptionSchedules

ToJSON PostSubscriptionSchedulesRequestBodyPhases'Items'BillingThresholds'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostSubscriptionSchedules

FromJSON PostSubscriptionSchedulesRequestBodyPhases'Items'BillingThresholds'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostSubscriptionSchedules

data PostSubscriptionSchedulesRequestBodyPhases'Items'PriceData' Source #

Defines the object schema located at paths./v1/subscription_schedules.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.phases.items.properties.items.items.properties.price_data in the specification.

Instances

Instances details
Eq PostSubscriptionSchedulesRequestBodyPhases'Items'PriceData' Source # 
Instance details

Defined in StripeAPI.Operations.PostSubscriptionSchedules

Show PostSubscriptionSchedulesRequestBodyPhases'Items'PriceData' Source # 
Instance details

Defined in StripeAPI.Operations.PostSubscriptionSchedules

ToJSON PostSubscriptionSchedulesRequestBodyPhases'Items'PriceData' Source # 
Instance details

Defined in StripeAPI.Operations.PostSubscriptionSchedules

FromJSON PostSubscriptionSchedulesRequestBodyPhases'Items'PriceData' Source # 
Instance details

Defined in StripeAPI.Operations.PostSubscriptionSchedules

data PostSubscriptionSchedulesRequestBodyPhases'Items'PriceData'Recurring' Source #

Defines the object schema located at paths./v1/subscription_schedules.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.phases.items.properties.items.items.properties.price_data.properties.recurring in the specification.

Instances

Instances details
Eq PostSubscriptionSchedulesRequestBodyPhases'Items'PriceData'Recurring' Source # 
Instance details

Defined in StripeAPI.Operations.PostSubscriptionSchedules

Show PostSubscriptionSchedulesRequestBodyPhases'Items'PriceData'Recurring' Source # 
Instance details

Defined in StripeAPI.Operations.PostSubscriptionSchedules

ToJSON PostSubscriptionSchedulesRequestBodyPhases'Items'PriceData'Recurring' Source # 
Instance details

Defined in StripeAPI.Operations.PostSubscriptionSchedules

FromJSON PostSubscriptionSchedulesRequestBodyPhases'Items'PriceData'Recurring' Source # 
Instance details

Defined in StripeAPI.Operations.PostSubscriptionSchedules

data PostSubscriptionSchedulesRequestBodyPhases'Items'PriceData'Recurring'Interval' Source #

Defines the enum schema located at paths./v1/subscription_schedules.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.phases.items.properties.items.items.properties.price_data.properties.recurring.properties.interval in the specification.

Constructors

PostSubscriptionSchedulesRequestBodyPhases'Items'PriceData'Recurring'Interval'Other Value

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

PostSubscriptionSchedulesRequestBodyPhases'Items'PriceData'Recurring'Interval'Typed Text

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

PostSubscriptionSchedulesRequestBodyPhases'Items'PriceData'Recurring'Interval'EnumDay

Represents the JSON value "day"

PostSubscriptionSchedulesRequestBodyPhases'Items'PriceData'Recurring'Interval'EnumMonth

Represents the JSON value "month"

PostSubscriptionSchedulesRequestBodyPhases'Items'PriceData'Recurring'Interval'EnumWeek

Represents the JSON value "week"

PostSubscriptionSchedulesRequestBodyPhases'Items'PriceData'Recurring'Interval'EnumYear

Represents the JSON value "year"

Instances

Instances details
Eq PostSubscriptionSchedulesRequestBodyPhases'Items'PriceData'Recurring'Interval' Source # 
Instance details

Defined in StripeAPI.Operations.PostSubscriptionSchedules

Show PostSubscriptionSchedulesRequestBodyPhases'Items'PriceData'Recurring'Interval' Source # 
Instance details

Defined in StripeAPI.Operations.PostSubscriptionSchedules

ToJSON PostSubscriptionSchedulesRequestBodyPhases'Items'PriceData'Recurring'Interval' Source # 
Instance details

Defined in StripeAPI.Operations.PostSubscriptionSchedules

FromJSON PostSubscriptionSchedulesRequestBodyPhases'Items'PriceData'Recurring'Interval' Source # 
Instance details

Defined in StripeAPI.Operations.PostSubscriptionSchedules

data PostSubscriptionSchedulesRequestBodyPhases'Items'PriceData'TaxBehavior' Source #

Defines the enum schema located at paths./v1/subscription_schedules.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.phases.items.properties.items.items.properties.price_data.properties.tax_behavior in the specification.

Constructors

PostSubscriptionSchedulesRequestBodyPhases'Items'PriceData'TaxBehavior'Other Value

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

PostSubscriptionSchedulesRequestBodyPhases'Items'PriceData'TaxBehavior'Typed Text

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

PostSubscriptionSchedulesRequestBodyPhases'Items'PriceData'TaxBehavior'EnumExclusive

Represents the JSON value "exclusive"

PostSubscriptionSchedulesRequestBodyPhases'Items'PriceData'TaxBehavior'EnumInclusive

Represents the JSON value "inclusive"

PostSubscriptionSchedulesRequestBodyPhases'Items'PriceData'TaxBehavior'EnumUnspecified

Represents the JSON value "unspecified"

Instances

Instances details
Eq PostSubscriptionSchedulesRequestBodyPhases'Items'PriceData'TaxBehavior' Source # 
Instance details

Defined in StripeAPI.Operations.PostSubscriptionSchedules

Show PostSubscriptionSchedulesRequestBodyPhases'Items'PriceData'TaxBehavior' Source # 
Instance details

Defined in StripeAPI.Operations.PostSubscriptionSchedules

ToJSON PostSubscriptionSchedulesRequestBodyPhases'Items'PriceData'TaxBehavior' Source # 
Instance details

Defined in StripeAPI.Operations.PostSubscriptionSchedules

FromJSON PostSubscriptionSchedulesRequestBodyPhases'Items'PriceData'TaxBehavior' Source # 
Instance details

Defined in StripeAPI.Operations.PostSubscriptionSchedules

data PostSubscriptionSchedulesRequestBodyPhases'Items'TaxRates'Variants Source #

Defines the oneOf schema located at paths./v1/subscription_schedules.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.phases.items.properties.items.items.properties.tax_rates.anyOf in the specification.

Instances

Instances details
Eq PostSubscriptionSchedulesRequestBodyPhases'Items'TaxRates'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostSubscriptionSchedules

Show PostSubscriptionSchedulesRequestBodyPhases'Items'TaxRates'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostSubscriptionSchedules

ToJSON PostSubscriptionSchedulesRequestBodyPhases'Items'TaxRates'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostSubscriptionSchedules

FromJSON PostSubscriptionSchedulesRequestBodyPhases'Items'TaxRates'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostSubscriptionSchedules

data PostSubscriptionSchedulesRequestBodyPhases'ProrationBehavior' Source #

Defines the enum schema located at paths./v1/subscription_schedules.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.phases.items.properties.proration_behavior in the specification.

Constructors

PostSubscriptionSchedulesRequestBodyPhases'ProrationBehavior'Other Value

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

PostSubscriptionSchedulesRequestBodyPhases'ProrationBehavior'Typed Text

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

PostSubscriptionSchedulesRequestBodyPhases'ProrationBehavior'EnumAlwaysInvoice

Represents the JSON value "always_invoice"

PostSubscriptionSchedulesRequestBodyPhases'ProrationBehavior'EnumCreateProrations

Represents the JSON value "create_prorations"

PostSubscriptionSchedulesRequestBodyPhases'ProrationBehavior'EnumNone

Represents the JSON value "none"

Instances

Instances details
Eq PostSubscriptionSchedulesRequestBodyPhases'ProrationBehavior' Source # 
Instance details

Defined in StripeAPI.Operations.PostSubscriptionSchedules

Show PostSubscriptionSchedulesRequestBodyPhases'ProrationBehavior' Source # 
Instance details

Defined in StripeAPI.Operations.PostSubscriptionSchedules

ToJSON PostSubscriptionSchedulesRequestBodyPhases'ProrationBehavior' Source # 
Instance details

Defined in StripeAPI.Operations.PostSubscriptionSchedules

FromJSON PostSubscriptionSchedulesRequestBodyPhases'ProrationBehavior' Source # 
Instance details

Defined in StripeAPI.Operations.PostSubscriptionSchedules

data PostSubscriptionSchedulesRequestBodyPhases'TransferData' Source #

Defines the object schema located at paths./v1/subscription_schedules.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.phases.items.properties.transfer_data in the specification.

Instances

Instances details
Eq PostSubscriptionSchedulesRequestBodyPhases'TransferData' Source # 
Instance details

Defined in StripeAPI.Operations.PostSubscriptionSchedules

Show PostSubscriptionSchedulesRequestBodyPhases'TransferData' Source # 
Instance details

Defined in StripeAPI.Operations.PostSubscriptionSchedules

ToJSON PostSubscriptionSchedulesRequestBodyPhases'TransferData' Source # 
Instance details

Defined in StripeAPI.Operations.PostSubscriptionSchedules

FromJSON PostSubscriptionSchedulesRequestBodyPhases'TransferData' Source # 
Instance details

Defined in StripeAPI.Operations.PostSubscriptionSchedules

data PostSubscriptionSchedulesRequestBodyStartDate'Variants Source #

Defines the oneOf schema located at paths./v1/subscription_schedules.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.start_date.anyOf in the specification.

When the subscription schedule starts. We recommend using `now` so that it starts the subscription immediately. You can also use a Unix timestamp to backdate the subscription so that it starts on a past date, or set a future date for the subscription to start on.

Instances

Instances details
Eq PostSubscriptionSchedulesRequestBodyStartDate'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostSubscriptionSchedules

Show PostSubscriptionSchedulesRequestBodyStartDate'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostSubscriptionSchedules

ToJSON PostSubscriptionSchedulesRequestBodyStartDate'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostSubscriptionSchedules

FromJSON PostSubscriptionSchedulesRequestBodyStartDate'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostSubscriptionSchedules

data PostSubscriptionSchedulesResponse Source #

Represents a response of the operation postSubscriptionSchedules.

The response constructor is chosen by the status code of the response. If no case matches (no specific case for the response code, no range case, no default case), PostSubscriptionSchedulesResponseError is used.

Constructors

PostSubscriptionSchedulesResponseError String

Means either no matching case available or a parse error

PostSubscriptionSchedulesResponse200 SubscriptionSchedule

Successful response.

PostSubscriptionSchedulesResponseDefault Error

Error response.