recurly-client-0.0.0.1: Client for Recurly subscription management
Safe HaskellSafe-Inferred
LanguageHaskell2010

RecurlyClient.Types.SubscriptionAddOnTier

Description

Contains the types generated from the schema SubscriptionAddOnTier

Synopsis

Documentation

data SubscriptionAddOnTier Source #

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

Constructors

SubscriptionAddOnTier 

Fields

  • subscriptionAddOnTierEnding_quantity :: Maybe Int

    ending_quantity: Ending quantity for the tier. This represents a unit amount for unit-priced add ons. Must be left empty if it is the final tier.

    Constraints:

    • Maxium of 1.0e9
    • Minimum of 1.0
  • subscriptionAddOnTierUnit_amount :: Maybe Float

    unit_amount: Allows up to 2 decimal places. Optionally, override the tiers' default unit amount. If add-on's `add_on_type` is `usage` and `usage_type` is `percentage`, cannot be provided.

    Constraints:

    • Maxium of 1000000.0
    • Minimum of 0.0
  • subscriptionAddOnTierUnit_amount_decimal :: Maybe Text

    unit_amount_decimal: Allows up to 9 decimal places. Optionally, override tiers' default unit amount. If `unit_amount_decimal` is provided, `unit_amount` cannot be provided. If add-on's `add_on_type` is `usage` and `usage_type` is `percentage`, cannot be provided.

  • subscriptionAddOnTierUsage_percentage :: Maybe Text

    usage_percentage: (deprecated) -- Use the percentage_tiers object instead.