stripeapi-0.1.0.2: Stripe-Library

Safe HaskellNone
LanguageHaskell2010

StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId

Description

Contains the different functions to run the operation postCustomersCustomerSubscriptionsSubscriptionExposedId

Synopsis

Documentation

postCustomersCustomerSubscriptionsSubscriptionExposedId Source #

Arguments

:: (MonadHTTP m, SecurityScheme s) 
=> Configuration s

The configuration to use in the request

-> Text

customer | Constraints: Maximum length of 5000

-> Text

subscription_exposed_id | Constraints: Maximum length of 5000

-> Maybe PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBody

The request body to send

-> m (Either HttpException (Response PostCustomersCustomerSubscriptionsSubscriptionExposedIdResponse))

Monad containing the result of the operation

POST /v1/customers/{customer}/subscriptions/{subscription_exposed_id}

<p>Updates an existing subscription on a customer to match the specified parameters. When changing plans or quantities, we will optionally prorate the price we charge next month to make up for any price changes. To preview how the proration will be calculated, use the <a href="#upcoming_invoice">upcoming invoice</a> endpoint.</p>

data PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBody Source #

Defines the data type for the schema postCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBody

Constructors

PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBody 

Fields

Instances
Eq PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBody Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId

Show PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBody Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId

ToJSON PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBody Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId

FromJSON PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBody Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId

data PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyBillingCycleAnchor' Source #

Defines the enum schema postCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyBilling_cycle_anchor'

Either `now` or `unchanged`. Setting the value to `now` resets the subscription's billing cycle anchor to the current time. For more information, see the billing cycle documentation.

Instances
Eq PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyBillingCycleAnchor' Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId

Show PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyBillingCycleAnchor' Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId

ToJSON PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyBillingCycleAnchor' Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId

FromJSON PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyBillingCycleAnchor' Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId

data PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyBillingThresholds'OneOf1 Source #

Defines the enum schema postCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyBilling_thresholds'OneOf1

Instances
Eq PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyBillingThresholds'OneOf1 Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId

Show PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyBillingThresholds'OneOf1 Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId

ToJSON PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyBillingThresholds'OneOf1 Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId

FromJSON PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyBillingThresholds'OneOf1 Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId

data PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyBillingThresholds'OneOf2 Source #

Defines the data type for the schema postCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyBilling_thresholds'OneOf2

Instances
Eq PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyBillingThresholds'OneOf2 Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId

Show PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyBillingThresholds'OneOf2 Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId

ToJSON PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyBillingThresholds'OneOf2 Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId

FromJSON PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyBillingThresholds'OneOf2 Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId

data PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyBillingThresholds'Variants Source #

Define the one-of schema postCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyBilling_thresholds'

Define thresholds at which an invoice will be sent, and the subscription advanced to a new billing period. Pass an empty string to remove previously-defined thresholds.

Instances
Eq PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyBillingThresholds'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId

Show PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyBillingThresholds'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId

Generic PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyBillingThresholds'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId

ToJSON PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyBillingThresholds'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId

FromJSON PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyBillingThresholds'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId

type Rep PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyBillingThresholds'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId

type Rep PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyBillingThresholds'Variants = D1 (MetaData "PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyBillingThresholds'Variants" "StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId" "stripeapi-0.1.0.2-D0ebvtj6l9B4TLqRwmHKaP" False) (C1 (MetaCons "PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyBillingThresholds'PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyBillingThresholds'OneOf1" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyBillingThresholds'OneOf1)) :+: C1 (MetaCons "PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyBillingThresholds'PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyBillingThresholds'OneOf2" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyBillingThresholds'OneOf2)))

data PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyCancelAt'OneOf1 Source #

Defines the enum schema postCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyCancel_at'OneOf1

Instances
Eq PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyCancelAt'OneOf1 Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId

Show PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyCancelAt'OneOf1 Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId

ToJSON PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyCancelAt'OneOf1 Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId

FromJSON PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyCancelAt'OneOf1 Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId

data PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyCancelAt'Variants Source #

Define the one-of schema postCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyCancel_at'

A timestamp at which the subscription should cancel. If set to a date before the current period ends, this will cause a proration if prorations have been enabled using `proration_behavior`. If set during a future period, this will always cause a proration for that period.

Instances
Eq PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyCancelAt'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId

Show PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyCancelAt'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId

Generic PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyCancelAt'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId

ToJSON PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyCancelAt'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId

FromJSON PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyCancelAt'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId

type Rep PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyCancelAt'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId

type Rep PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyCancelAt'Variants = D1 (MetaData "PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyCancelAt'Variants" "StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId" "stripeapi-0.1.0.2-D0ebvtj6l9B4TLqRwmHKaP" False) (C1 (MetaCons "PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyCancelAt'PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyCancelAt'OneOf1" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyCancelAt'OneOf1)) :+: C1 (MetaCons "PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyCancelAt'Integer" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Integer)))

data PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyCollectionMethod' Source #

Defines the enum schema postCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyCollection_method'

Either `charge_automatically`, or `send_invoice`. When charging automatically, Stripe will attempt to pay this subscription at the end of the cycle using the default source attached to the customer. When sending an invoice, Stripe will email your customer an invoice with payment instructions. Defaults to `charge_automatically`.

Instances
Eq PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyCollectionMethod' Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId

Show PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyCollectionMethod' Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId

ToJSON PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyCollectionMethod' Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId

FromJSON PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyCollectionMethod' Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId

data PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyDefaultTaxRates'OneOf1 Source #

Defines the enum schema postCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyDefault_tax_rates'OneOf1

Instances
Eq PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyDefaultTaxRates'OneOf1 Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId

Show PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyDefaultTaxRates'OneOf1 Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId

ToJSON PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyDefaultTaxRates'OneOf1 Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId

FromJSON PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyDefaultTaxRates'OneOf1 Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId

data PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyDefaultTaxRates'Variants Source #

Define the one-of schema postCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyDefault_tax_rates'

The tax rates that will apply to any subscription item that does not have `tax_rates` set. Invoices created will have their `default_tax_rates` populated from the subscription. Pass an empty string to remove previously-defined tax rates.

Instances
Eq PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyDefaultTaxRates'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId

Show PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyDefaultTaxRates'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId

Generic PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyDefaultTaxRates'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId

ToJSON PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyDefaultTaxRates'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId

FromJSON PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyDefaultTaxRates'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId

type Rep PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyDefaultTaxRates'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId

type Rep PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyDefaultTaxRates'Variants = D1 (MetaData "PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyDefaultTaxRates'Variants" "StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId" "stripeapi-0.1.0.2-D0ebvtj6l9B4TLqRwmHKaP" False) (C1 (MetaCons "PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyDefaultTaxRates'PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyDefaultTaxRates'OneOf1" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyDefaultTaxRates'OneOf1)) :+: C1 (MetaCons "PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyDefaultTaxRates'ListText" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 [Text])))

data PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems' Source #

Defines the data type for the schema postCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems'

Instances
Eq PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems' Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId

Show PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems' Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId

ToJSON PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems' Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId

FromJSON PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems' Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId

data PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems'BillingThresholds'OneOf1 Source #

Defines the enum schema postCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems'Billing_thresholds'OneOf1

Instances
Eq PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems'BillingThresholds'OneOf1 Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId

Show PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems'BillingThresholds'OneOf1 Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId

ToJSON PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems'BillingThresholds'OneOf1 Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId

FromJSON PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems'BillingThresholds'OneOf1 Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId

data PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems'BillingThresholds'OneOf2 Source #

Defines the data type for the schema postCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems'Billing_thresholds'OneOf2

Instances
Eq PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems'BillingThresholds'OneOf2 Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId

Show PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems'BillingThresholds'OneOf2 Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId

ToJSON PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems'BillingThresholds'OneOf2 Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId

FromJSON PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems'BillingThresholds'OneOf2 Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId

data PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems'BillingThresholds'Variants Source #

Define the one-of schema postCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems'Billing_thresholds'

Instances
Eq PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems'BillingThresholds'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId

Show PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems'BillingThresholds'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId

Generic PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems'BillingThresholds'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId

ToJSON PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems'BillingThresholds'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId

FromJSON PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems'BillingThresholds'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId

type Rep PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems'BillingThresholds'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId

type Rep PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems'BillingThresholds'Variants = D1 (MetaData "PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems'BillingThresholds'Variants" "StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId" "stripeapi-0.1.0.2-D0ebvtj6l9B4TLqRwmHKaP" False) (C1 (MetaCons "PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems'BillingThresholds'PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems'BillingThresholds'OneOf1" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems'BillingThresholds'OneOf1)) :+: C1 (MetaCons "PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems'BillingThresholds'PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems'BillingThresholds'OneOf2" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems'BillingThresholds'OneOf2)))

data PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems'Metadata' Source #

Defines the data type for the schema postCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems'Metadata'

Instances
Eq PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems'Metadata' Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId

Show PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems'Metadata' Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId

ToJSON PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems'Metadata' Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId

FromJSON PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems'Metadata' Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId

data PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems'TaxRates'OneOf1 Source #

Defines the enum schema postCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems'Tax_rates'OneOf1

Instances
Eq PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems'TaxRates'OneOf1 Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId

Show PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems'TaxRates'OneOf1 Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId

ToJSON PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems'TaxRates'OneOf1 Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId

FromJSON PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems'TaxRates'OneOf1 Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId

data PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems'TaxRates'Variants Source #

Define the one-of schema postCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems'Tax_rates'

Instances
Eq PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems'TaxRates'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId

Show PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems'TaxRates'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId

Generic PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems'TaxRates'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId

ToJSON PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems'TaxRates'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId

FromJSON PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems'TaxRates'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId

type Rep PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems'TaxRates'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId

type Rep PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems'TaxRates'Variants = D1 (MetaData "PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems'TaxRates'Variants" "StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId" "stripeapi-0.1.0.2-D0ebvtj6l9B4TLqRwmHKaP" False) (C1 (MetaCons "PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems'TaxRates'PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems'TaxRates'OneOf1" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems'TaxRates'OneOf1)) :+: C1 (MetaCons "PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems'TaxRates'ListText" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 [Text])))

data PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyMetadata' Source #

Defines the data type for the schema postCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyMetadata'

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
Eq PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyMetadata' Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId

Show PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyMetadata' Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId

ToJSON PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyMetadata' Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId

FromJSON PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyMetadata' Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId

data PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyPaymentBehavior' Source #

Defines the enum schema postCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyPayment_behavior'

Use `allow_incomplete` to transition the subscription to `status=past_due` if a payment is required but cannot be paid. This allows you to manage scenarios where additional user actions are needed to pay a subscription's invoice. For example, SCA regulation may require 3DS authentication to complete payment. See the SCA Migration Guide for Billing to learn more. This is the default behavior.

Use `pending_if_incomplete` to update the subscription using pending updates. When you use `pending_if_incomplete` you can only pass the parameters supported by pending updates.

Use `error_if_incomplete` if you want Stripe to return an HTTP 402 status code if a subscription's first invoice cannot be paid. For example, if a payment method requires 3DS authentication due to SCA regulation and further user action is needed, this parameter does not create a subscription and returns an error instead. This was the default behavior for API versions prior to 2019-03-14. See the changelog to learn more.

Instances
Eq PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyPaymentBehavior' Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId

Show PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyPaymentBehavior' Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId

ToJSON PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyPaymentBehavior' Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId

FromJSON PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyPaymentBehavior' Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId

data PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyPendingInvoiceItemInterval'OneOf1 Source #

Defines the enum schema postCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyPending_invoice_item_interval'OneOf1

Instances
Eq PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyPendingInvoiceItemInterval'OneOf1 Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId

Show PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyPendingInvoiceItemInterval'OneOf1 Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId

ToJSON PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyPendingInvoiceItemInterval'OneOf1 Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId

FromJSON PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyPendingInvoiceItemInterval'OneOf1 Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId

data PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyPendingInvoiceItemInterval'OneOf2 Source #

Defines the data type for the schema postCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyPending_invoice_item_interval'OneOf2

Instances
Eq PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyPendingInvoiceItemInterval'OneOf2 Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId

Show PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyPendingInvoiceItemInterval'OneOf2 Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId

ToJSON PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyPendingInvoiceItemInterval'OneOf2 Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId

FromJSON PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyPendingInvoiceItemInterval'OneOf2 Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId

data PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyPendingInvoiceItemInterval'OneOf2Interval' Source #

Defines the enum schema postCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyPending_invoice_item_interval'OneOf2Interval'

Instances
Eq PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyPendingInvoiceItemInterval'OneOf2Interval' Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId

Show PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyPendingInvoiceItemInterval'OneOf2Interval' Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId

ToJSON PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyPendingInvoiceItemInterval'OneOf2Interval' Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId

FromJSON PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyPendingInvoiceItemInterval'OneOf2Interval' Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId

data PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyPendingInvoiceItemInterval'Variants Source #

Define the one-of schema postCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyPending_invoice_item_interval'

Specifies an interval for how often to bill for any pending invoice items. It is analogous to calling Create an invoice for the given subscription at the specified interval.

Instances
Eq PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyPendingInvoiceItemInterval'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId

Show PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyPendingInvoiceItemInterval'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId

Generic PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyPendingInvoiceItemInterval'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId

ToJSON PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyPendingInvoiceItemInterval'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId

FromJSON PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyPendingInvoiceItemInterval'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId

type Rep PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyPendingInvoiceItemInterval'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId

type Rep PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyPendingInvoiceItemInterval'Variants = D1 (MetaData "PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyPendingInvoiceItemInterval'Variants" "StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId" "stripeapi-0.1.0.2-D0ebvtj6l9B4TLqRwmHKaP" False) (C1 (MetaCons "PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyPendingInvoiceItemInterval'PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyPendingInvoiceItemInterval'OneOf1" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyPendingInvoiceItemInterval'OneOf1)) :+: C1 (MetaCons "PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyPendingInvoiceItemInterval'PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyPendingInvoiceItemInterval'OneOf2" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyPendingInvoiceItemInterval'OneOf2)))

data PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyProrationBehavior' Source #

Defines the enum schema postCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyProration_behavior'

Determines how to handle prorations when the billing cycle changes (e.g., when switching plans, resetting `billing_cycle_anchor=now`, or starting a trial), or if an item's `quantity` changes. Valid values are `create_prorations`, `none`, or `always_invoice`.

Passing `create_prorations` will cause proration invoice items to be created when applicable. These proration items will only be invoiced immediately under certain conditions. In order to always invoice immediately for prorations, pass `always_invoice`.

Prorations can be disabled by passing `none`.

Instances
Eq PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyProrationBehavior' Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId

Show PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyProrationBehavior' Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId

ToJSON PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyProrationBehavior' Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId

FromJSON PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyProrationBehavior' Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId

data PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyTaxPercent'OneOf1 Source #

Defines the enum schema postCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyTax_percent'OneOf1

Instances
Eq PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyTaxPercent'OneOf1 Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId

Show PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyTaxPercent'OneOf1 Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId

ToJSON PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyTaxPercent'OneOf1 Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId

FromJSON PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyTaxPercent'OneOf1 Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId

data PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyTaxPercent'Variants Source #

Define the one-of schema postCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyTax_percent'

A non-negative decimal (with at most four decimal places) between 0 and 100. This represents the percentage of the subscription invoice subtotal that will be calculated and added as tax to the final amount in each billing period. For example, a plan which charges $10/month with a `tax_percent` of `20.0` will charge $12 per invoice. To unset a previously-set value, pass an empty string. This field has been deprecated and will be removed in a future API version, for further information view the migration docs for `tax_rates`.

Instances
Eq PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyTaxPercent'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId

Show PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyTaxPercent'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId

Generic PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyTaxPercent'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId

ToJSON PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyTaxPercent'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId

FromJSON PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyTaxPercent'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId

type Rep PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyTaxPercent'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId

type Rep PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyTaxPercent'Variants = D1 (MetaData "PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyTaxPercent'Variants" "StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId" "stripeapi-0.1.0.2-D0ebvtj6l9B4TLqRwmHKaP" False) (C1 (MetaCons "PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyTaxPercent'PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyTaxPercent'OneOf1" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyTaxPercent'OneOf1)) :+: C1 (MetaCons "PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyTaxPercent'Double" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Double)))

data PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyTrialEnd'OneOf1 Source #

Defines the enum schema postCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyTrial_end'OneOf1

Instances
Eq PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyTrialEnd'OneOf1 Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId

Show PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyTrialEnd'OneOf1 Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId

ToJSON PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyTrialEnd'OneOf1 Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId

FromJSON PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyTrialEnd'OneOf1 Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId

data PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyTrialEnd'Variants Source #

Define the one-of schema postCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyTrial_end'

Unix timestamp representing the end of the trial period the customer will get before being charged for the first time. This will always overwrite any trials that might apply via a subscribed plan. If set, trial_end will override the default trial period of the plan the customer is being subscribed to. The special value `now` can be provided to end the customer's trial immediately. Can be at most two years from `billing_cycle_anchor`.

Instances
Eq PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyTrialEnd'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId

Show PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyTrialEnd'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId

Generic PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyTrialEnd'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId

ToJSON PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyTrialEnd'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId

FromJSON PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyTrialEnd'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId

type Rep PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyTrialEnd'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId

type Rep PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyTrialEnd'Variants = D1 (MetaData "PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyTrialEnd'Variants" "StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId" "stripeapi-0.1.0.2-D0ebvtj6l9B4TLqRwmHKaP" False) (C1 (MetaCons "PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyTrialEnd'PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyTrialEnd'OneOf1" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyTrialEnd'OneOf1)) :+: C1 (MetaCons "PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyTrialEnd'Integer" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Integer)))

data PostCustomersCustomerSubscriptionsSubscriptionExposedIdResponse Source #

Represents a response of the operation postCustomersCustomerSubscriptionsSubscriptionExposedId.

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), PostCustomersCustomerSubscriptionsSubscriptionExposedIdResponseError is used.