stripeapi-1.0.0.0: Stripe-Library
Safe HaskellNone
LanguageHaskell2010

StripeAPI.Types.SubscriptionBillingThresholds

Description

Contains the types generated from the schema SubscriptionBillingThresholds

Synopsis

Documentation

data SubscriptionBillingThresholds Source #

Defines the object schema located at components.schemas.subscription_billing_thresholds in the specification.

Constructors

SubscriptionBillingThresholds 

Fields

  • subscriptionBillingThresholdsAmountGte :: Maybe Int

    amount_gte: Monetary threshold that triggers the subscription to create an invoice

  • subscriptionBillingThresholdsResetBillingCycleAnchor :: Maybe Bool

    reset_billing_cycle_anchor: Indicates if the `billing_cycle_anchor` should be reset when a threshold is reached. If true, `billing_cycle_anchor` will be updated to the date/time the threshold was last reached; otherwise, the value will remain unchanged. This value may not be `true` if the subscription contains items with plans that have `aggregate_usage=last_ever`.