stripeapi-0.1.0.0: Stripe-Library

Safe HaskellNone
LanguageHaskell2010

StripeAPI.Operations.PostSubscriptionSchedulesScheduleRelease

Description

Contains the different functions to run the operation postSubscriptionSchedulesScheduleRelease

Synopsis

Documentation

postSubscriptionSchedulesScheduleRelease Source #

Arguments

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

The configuration to use in the request

-> String

schedule | Constraints: Maximum length of 5000

-> PostSubscriptionSchedulesScheduleReleaseRequestBody

The request body to send

-> m (Either HttpException (Response PostSubscriptionSchedulesScheduleReleaseResponse))

Monad containing the result of the operation

POST /v1/subscription_schedules/{schedule}/release

<p>Releases the subscription schedule immediately, which will stop scheduling of its phases, but leave any existing subscription in place. A schedule can only be released if its status is <code>not_started</code> or <code>active</code>. If the subscription schedule is currently associated with a subscription, releasing it will remove its <code>subscription</code> property and set the subscription’s ID to the <code>released_subscription</code> property.</p>

data PostSubscriptionSchedulesScheduleReleaseRequestBody Source #

Defines the data type for the schema postSubscriptionSchedulesScheduleReleaseRequestBody

Constructors

PostSubscriptionSchedulesScheduleReleaseRequestBody 

Fields

Instances
Eq PostSubscriptionSchedulesScheduleReleaseRequestBody Source # 
Instance details

Defined in StripeAPI.Operations.PostSubscriptionSchedulesScheduleRelease

Show PostSubscriptionSchedulesScheduleReleaseRequestBody Source # 
Instance details

Defined in StripeAPI.Operations.PostSubscriptionSchedulesScheduleRelease

ToJSON PostSubscriptionSchedulesScheduleReleaseRequestBody Source # 
Instance details

Defined in StripeAPI.Operations.PostSubscriptionSchedulesScheduleRelease

FromJSON PostSubscriptionSchedulesScheduleReleaseRequestBody Source # 
Instance details

Defined in StripeAPI.Operations.PostSubscriptionSchedulesScheduleRelease