stripeapi-2.0.0.1: Stripe-Library
Safe HaskellNone
LanguageHaskell2010

StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId

Description

Contains the different functions to run the operation postCustomersCustomerSubscriptionsSubscriptionExposedId

Synopsis

Documentation

postCustomersCustomerSubscriptionsSubscriptionExposedId Source #

Arguments

:: forall m. MonadHTTP m 
=> PostCustomersCustomerSubscriptionsSubscriptionExposedIdParameters

Contains all available parameters of this operation (query and path parameters)

-> Maybe PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBody

The request body to send

-> ClientT m (Response PostCustomersCustomerSubscriptionsSubscriptionExposedIdResponse)

Monadic computation which returns 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 PostCustomersCustomerSubscriptionsSubscriptionExposedIdParameters Source #

Defines the object schema located at paths./v1/customers/{customer}/subscriptions/{subscription_exposed_id}.POST.parameters in the specification.

Constructors

PostCustomersCustomerSubscriptionsSubscriptionExposedIdParameters 

Fields

Instances

Instances details
Eq PostCustomersCustomerSubscriptionsSubscriptionExposedIdParameters Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId

Show PostCustomersCustomerSubscriptionsSubscriptionExposedIdParameters Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId

ToJSON PostCustomersCustomerSubscriptionsSubscriptionExposedIdParameters Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId

FromJSON PostCustomersCustomerSubscriptionsSubscriptionExposedIdParameters Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId

data PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBody Source #

Defines the object schema located at paths./v1/customers/{customer}/subscriptions/{subscription_exposed_id}.POST.requestBody.content.application/x-www-form-urlencoded.schema in the specification.

Constructors

PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBody 

Fields

Instances

Instances details
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 PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyAddInvoiceItems' Source #

Defines the object schema located at paths./v1/customers/{customer}/subscriptions/{subscription_exposed_id}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.add_invoice_items.items in the specification.

Instances

Instances details
Eq PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyAddInvoiceItems' Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId

Show PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyAddInvoiceItems' Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId

ToJSON PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyAddInvoiceItems' Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId

FromJSON PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyAddInvoiceItems' Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId

data PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyAddInvoiceItems'PriceData' Source #

Defines the object schema located at paths./v1/customers/{customer}/subscriptions/{subscription_exposed_id}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.add_invoice_items.items.properties.price_data in the specification.

Instances

Instances details
Eq PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyAddInvoiceItems'PriceData' Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId

Show PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyAddInvoiceItems'PriceData' Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId

ToJSON PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyAddInvoiceItems'PriceData' Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId

FromJSON PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyAddInvoiceItems'PriceData' Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId

data PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyAddInvoiceItems'PriceData'TaxBehavior' Source #

Defines the enum schema located at paths./v1/customers/{customer}/subscriptions/{subscription_exposed_id}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.add_invoice_items.items.properties.price_data.properties.tax_behavior in the specification.

Instances

Instances details
Eq PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyAddInvoiceItems'PriceData'TaxBehavior' Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId

Show PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyAddInvoiceItems'PriceData'TaxBehavior' Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId

ToJSON PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyAddInvoiceItems'PriceData'TaxBehavior' Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId

FromJSON PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyAddInvoiceItems'PriceData'TaxBehavior' Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId

data PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyAddInvoiceItems'TaxRates'Variants Source #

Defines the oneOf schema located at paths./v1/customers/{customer}/subscriptions/{subscription_exposed_id}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.add_invoice_items.items.properties.tax_rates.anyOf in the specification.

Instances

Instances details
Eq PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyAddInvoiceItems'TaxRates'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId

Show PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyAddInvoiceItems'TaxRates'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId

ToJSON PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyAddInvoiceItems'TaxRates'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId

FromJSON PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyAddInvoiceItems'TaxRates'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId

data PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyAutomaticTax' Source #

Defines the object schema located at paths./v1/customers/{customer}/subscriptions/{subscription_exposed_id}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.automatic_tax in the specification.

Automatic tax settings for this subscription.

Instances

Instances details
Eq PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyAutomaticTax' Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId

Show PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyAutomaticTax' Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId

ToJSON PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyAutomaticTax' Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId

FromJSON PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyAutomaticTax' Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId

data PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyBillingCycleAnchor' Source #

Defines the enum schema located at paths./v1/customers/{customer}/subscriptions/{subscription_exposed_id}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.billing_cycle_anchor in the specification.

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.

Constructors

PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyBillingCycleAnchor'Other Value

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

PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyBillingCycleAnchor'Typed Text

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

PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyBillingCycleAnchor'EnumNow

Represents the JSON value "now"

PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyBillingCycleAnchor'EnumUnchanged

Represents the JSON value "unchanged"

Instances

Instances details
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 object schema located at paths./v1/customers/{customer}/subscriptions/{subscription_exposed_id}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.billing_thresholds.anyOf in the specification.

Instances

Instances details
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'Variants Source #

Defines the oneOf schema located at paths./v1/customers/{customer}/subscriptions/{subscription_exposed_id}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.billing_thresholds.anyOf in the specification.

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

Instances details
Eq PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyBillingThresholds'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId

Show 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

data PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyCancelAt'Variants Source #

Defines the oneOf schema located at paths./v1/customers/{customer}/subscriptions/{subscription_exposed_id}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.cancel_at.anyOf in the specification.

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

Instances details
Eq PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyCancelAt'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId

Show 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

data PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyCollectionMethod' Source #

Defines the enum schema located at paths./v1/customers/{customer}/subscriptions/{subscription_exposed_id}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.collection_method in the specification.

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

Constructors

PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyCollectionMethod'Other Value

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

PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyCollectionMethod'Typed Text

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

PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyCollectionMethod'EnumChargeAutomatically

Represents the JSON value "charge_automatically"

PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyCollectionMethod'EnumSendInvoice

Represents the JSON value "send_invoice"

Instances

Instances details
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'Variants Source #

Defines the oneOf schema located at paths./v1/customers/{customer}/subscriptions/{subscription_exposed_id}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.default_tax_rates.anyOf in the specification.

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

Instances details
Eq PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyDefaultTaxRates'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId

Show 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

data PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems' Source #

Defines the object schema located at paths./v1/customers/{customer}/subscriptions/{subscription_exposed_id}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.items.items in the specification.

Instances

Instances details
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 object schema located at paths./v1/customers/{customer}/subscriptions/{subscription_exposed_id}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.items.items.properties.billing_thresholds.anyOf in the specification.

Instances

Instances details
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'Variants Source #

Defines the oneOf schema located at paths./v1/customers/{customer}/subscriptions/{subscription_exposed_id}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.items.items.properties.billing_thresholds.anyOf in the specification.

Instances

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

Defined in StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId

Show 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

data PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems'Metadata'Variants Source #

Defines the oneOf schema located at paths./v1/customers/{customer}/subscriptions/{subscription_exposed_id}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.items.items.properties.metadata.anyOf in the specification.

Instances

Instances details
Eq PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems'Metadata'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId

Show PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems'Metadata'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId

ToJSON PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems'Metadata'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId

FromJSON PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems'Metadata'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId

data PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems'PriceData' Source #

Defines the object schema located at paths./v1/customers/{customer}/subscriptions/{subscription_exposed_id}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.items.items.properties.price_data in the specification.

Instances

Instances details
Eq PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems'PriceData' Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId

Show PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems'PriceData' Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId

ToJSON PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems'PriceData' Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId

FromJSON PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems'PriceData' Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId

data PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems'PriceData'Recurring' Source #

Defines the object schema located at paths./v1/customers/{customer}/subscriptions/{subscription_exposed_id}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.items.items.properties.price_data.properties.recurring in the specification.

Instances

Instances details
Eq PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems'PriceData'Recurring' Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId

Show PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems'PriceData'Recurring' Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId

ToJSON PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems'PriceData'Recurring' Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId

FromJSON PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems'PriceData'Recurring' Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId

data PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems'PriceData'Recurring'Interval' Source #

Defines the enum schema located at paths./v1/customers/{customer}/subscriptions/{subscription_exposed_id}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.items.items.properties.price_data.properties.recurring.properties.interval in the specification.

Instances

Instances details
Eq PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems'PriceData'Recurring'Interval' Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId

Show PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems'PriceData'Recurring'Interval' Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId

ToJSON PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems'PriceData'Recurring'Interval' Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId

FromJSON PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems'PriceData'Recurring'Interval' Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId

data PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems'PriceData'TaxBehavior' Source #

Defines the enum schema located at paths./v1/customers/{customer}/subscriptions/{subscription_exposed_id}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.items.items.properties.price_data.properties.tax_behavior in the specification.

Instances

Instances details
Eq PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems'PriceData'TaxBehavior' Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId

Show PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems'PriceData'TaxBehavior' Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId

ToJSON PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems'PriceData'TaxBehavior' Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId

FromJSON PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems'PriceData'TaxBehavior' Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId

data PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems'TaxRates'Variants Source #

Defines the oneOf schema located at paths./v1/customers/{customer}/subscriptions/{subscription_exposed_id}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.items.items.properties.tax_rates.anyOf in the specification.

Instances

Instances details
Eq PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyItems'TaxRates'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId

Show 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

data PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyMetadata'Variants Source #

Defines the oneOf schema located at paths./v1/customers/{customer}/subscriptions/{subscription_exposed_id}.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 PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyMetadata'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId

Show PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyMetadata'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId

ToJSON PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyMetadata'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId

FromJSON PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyMetadata'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId

data PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyPauseCollection'OneOf1 Source #

Defines the object schema located at paths./v1/customers/{customer}/subscriptions/{subscription_exposed_id}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.pause_collection.anyOf in the specification.

Instances

Instances details
Eq PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyPauseCollection'OneOf1 Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId

Show PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyPauseCollection'OneOf1 Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId

ToJSON PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyPauseCollection'OneOf1 Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId

FromJSON PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyPauseCollection'OneOf1 Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId

data PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyPauseCollection'OneOf1Behavior' Source #

Defines the enum schema located at paths./v1/customers/{customer}/subscriptions/{subscription_exposed_id}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.pause_collection.anyOf.properties.behavior in the specification.

Instances

Instances details
Eq PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyPauseCollection'OneOf1Behavior' Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId

Show PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyPauseCollection'OneOf1Behavior' Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId

ToJSON PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyPauseCollection'OneOf1Behavior' Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId

FromJSON PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyPauseCollection'OneOf1Behavior' Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId

data PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyPauseCollection'Variants Source #

Defines the oneOf schema located at paths./v1/customers/{customer}/subscriptions/{subscription_exposed_id}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.pause_collection.anyOf in the specification.

If specified, payment collection for this subscription will be paused.

Instances

Instances details
Eq PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyPauseCollection'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId

Show PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyPauseCollection'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId

ToJSON PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyPauseCollection'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId

FromJSON PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyPauseCollection'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId

data PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyPaymentBehavior' Source #

Defines the enum schema located at paths./v1/customers/{customer}/subscriptions/{subscription_exposed_id}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_behavior in the specification.

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 `default_incomplete` to transition the subscription to `status=past_due` when payment is required and await explicit confirmation of the invoice's payment intent. This allows simpler management of scenarios where additional user actions are needed to pay a subscription’s invoice. Such as failed payments, SCA regulation, or collecting a mandate for a bank debit payment method.

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 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 update the 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.

Constructors

PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyPaymentBehavior'Other Value

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

PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyPaymentBehavior'Typed Text

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

PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyPaymentBehavior'EnumAllowIncomplete

Represents the JSON value "allow_incomplete"

PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyPaymentBehavior'EnumDefaultIncomplete

Represents the JSON value "default_incomplete"

PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyPaymentBehavior'EnumErrorIfIncomplete

Represents the JSON value "error_if_incomplete"

PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyPaymentBehavior'EnumPendingIfIncomplete

Represents the JSON value "pending_if_incomplete"

Instances

Instances details
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 object schema located at paths./v1/customers/{customer}/subscriptions/{subscription_exposed_id}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.pending_invoice_item_interval.anyOf in the specification.

Instances

Instances details
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'OneOf1Interval' Source #

Defines the enum schema located at paths./v1/customers/{customer}/subscriptions/{subscription_exposed_id}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.pending_invoice_item_interval.anyOf.properties.interval in the specification.

Instances

Instances details
Eq PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyPendingInvoiceItemInterval'OneOf1Interval' Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId

Show PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyPendingInvoiceItemInterval'OneOf1Interval' Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId

ToJSON PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyPendingInvoiceItemInterval'OneOf1Interval' Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId

FromJSON PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyPendingInvoiceItemInterval'OneOf1Interval' Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId

data PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyPendingInvoiceItemInterval'Variants Source #

Defines the oneOf schema located at paths./v1/customers/{customer}/subscriptions/{subscription_exposed_id}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.pending_invoice_item_interval.anyOf in the specification.

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

Instances details
Eq PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyPendingInvoiceItemInterval'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId

Show 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

data PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyProrationBehavior' Source #

Defines the enum schema located at paths./v1/customers/{customer}/subscriptions/{subscription_exposed_id}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.proration_behavior in the specification.

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

Constructors

PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyProrationBehavior'Other Value

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

PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyProrationBehavior'Typed Text

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

PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyProrationBehavior'EnumAlwaysInvoice

Represents the JSON value "always_invoice"

PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyProrationBehavior'EnumCreateProrations

Represents the JSON value "create_prorations"

PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyProrationBehavior'EnumNone

Represents the JSON value "none"

Instances

Instances details
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 PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyTransferData'OneOf1 Source #

Defines the object schema located at paths./v1/customers/{customer}/subscriptions/{subscription_exposed_id}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.transfer_data.anyOf in the specification.

Instances

Instances details
Eq PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyTransferData'OneOf1 Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId

Show PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyTransferData'OneOf1 Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId

ToJSON PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyTransferData'OneOf1 Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId

FromJSON PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyTransferData'OneOf1 Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId

data PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyTransferData'Variants Source #

Defines the oneOf schema located at paths./v1/customers/{customer}/subscriptions/{subscription_exposed_id}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.transfer_data.anyOf in the specification.

If specified, the funds from the subscription's invoices will be transferred to the destination and the ID of the resulting transfers will be found on the resulting charges. This will be unset if you POST an empty value.

Instances

Instances details
Eq PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyTransferData'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId

Show PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyTransferData'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId

ToJSON PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyTransferData'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId

FromJSON PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyTransferData'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId

data PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyTrialEnd'Variants Source #

Defines the oneOf schema located at paths./v1/customers/{customer}/subscriptions/{subscription_exposed_id}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.trial_end.anyOf in the specification.

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

Instances details
Eq PostCustomersCustomerSubscriptionsSubscriptionExposedIdRequestBodyTrialEnd'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostCustomersCustomerSubscriptionsSubscriptionExposedId

Show 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

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.