stripeapi-1.0.0.0: Stripe-Library
Safe HaskellNone
LanguageHaskell2010

StripeAPI.Operations.GetSubscriptionItemsSubscriptionItemUsageRecordSummaries

Description

Contains the different functions to run the operation getSubscriptionItemsSubscriptionItemUsageRecordSummaries

Synopsis

Documentation

getSubscriptionItemsSubscriptionItemUsageRecordSummaries Source #

Arguments

:: forall m. MonadHTTP m 
=> GetSubscriptionItemsSubscriptionItemUsageRecordSummariesParameters

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

-> StripeT m (Response GetSubscriptionItemsSubscriptionItemUsageRecordSummariesResponse)

Monadic computation which returns the result of the operation

GET /v1/subscription_items/{subscription_item}/usage_record_summaries

<p>For the specified subscription item, returns a list of summary objects. Each object in the list provides usage information that’s been summarized from multiple usage records and over a subscription billing period (e.g., 15 usage records in the month of September).</p>

<p>The list is sorted in reverse-chronological order (newest first). The first list item represents the most current usage period that hasn’t ended yet. Since new usage records can still be added, the returned summary information for the subscription item’s ID should be seen as unstable until the subscription billing period ends.</p>

data GetSubscriptionItemsSubscriptionItemUsageRecordSummariesParameters Source #

Defines the object schema located at paths./v1/subscription_items/{subscription_item}/usage_record_summaries.GET.parameters in the specification.

Constructors

GetSubscriptionItemsSubscriptionItemUsageRecordSummariesParameters 

Fields

Instances

Instances details
Eq GetSubscriptionItemsSubscriptionItemUsageRecordSummariesParameters Source # 
Instance details

Defined in StripeAPI.Operations.GetSubscriptionItemsSubscriptionItemUsageRecordSummaries

Show GetSubscriptionItemsSubscriptionItemUsageRecordSummariesParameters Source # 
Instance details

Defined in StripeAPI.Operations.GetSubscriptionItemsSubscriptionItemUsageRecordSummaries

ToJSON GetSubscriptionItemsSubscriptionItemUsageRecordSummariesParameters Source # 
Instance details

Defined in StripeAPI.Operations.GetSubscriptionItemsSubscriptionItemUsageRecordSummaries

FromJSON GetSubscriptionItemsSubscriptionItemUsageRecordSummariesParameters Source # 
Instance details

Defined in StripeAPI.Operations.GetSubscriptionItemsSubscriptionItemUsageRecordSummaries

data GetSubscriptionItemsSubscriptionItemUsageRecordSummariesResponse Source #

Represents a response of the operation getSubscriptionItemsSubscriptionItemUsageRecordSummaries.

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

data GetSubscriptionItemsSubscriptionItemUsageRecordSummariesResponseBody200 Source #

Defines the object schema located at paths./v1/subscription_items/{subscription_item}/usage_record_summaries.GET.responses.200.content.application/json.schema in the specification.

Instances

Instances details
Eq GetSubscriptionItemsSubscriptionItemUsageRecordSummariesResponseBody200 Source # 
Instance details

Defined in StripeAPI.Operations.GetSubscriptionItemsSubscriptionItemUsageRecordSummaries

Show GetSubscriptionItemsSubscriptionItemUsageRecordSummariesResponseBody200 Source # 
Instance details

Defined in StripeAPI.Operations.GetSubscriptionItemsSubscriptionItemUsageRecordSummaries

ToJSON GetSubscriptionItemsSubscriptionItemUsageRecordSummariesResponseBody200 Source # 
Instance details

Defined in StripeAPI.Operations.GetSubscriptionItemsSubscriptionItemUsageRecordSummaries

FromJSON GetSubscriptionItemsSubscriptionItemUsageRecordSummariesResponseBody200 Source # 
Instance details

Defined in StripeAPI.Operations.GetSubscriptionItemsSubscriptionItemUsageRecordSummaries