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

RecurlyClient.Types.TierPricing

Description

Contains the types generated from the schema TierPricing

Synopsis

Documentation

data TierPricing Source #

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

Constructors

TierPricing 

Fields

  • tierPricingCurrency :: Text

    currency: 3-letter ISO 4217 currency code.

    Constraints:

    • Maximum length of 3
  • tierPricingUnit_amount :: Maybe Float

    unit_amount: Allows up to 2 decimal places. Required unless `unit_amount_decimal` is provided.

    Constraints:

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

    unit_amount_decimal: Allows up to 9 decimal places. Only supported when `add_on_type` = `usage`. If `unit_amount_decimal` is provided, `unit_amount` cannot be provided.

    Constraints:

    • Maxium of 1000000.0
    • Minimum of 0.0

mkTierPricing Source #

Create a new TierPricing with all required fields.