stripeapi-1.0.0.0: Stripe-Library
Safe HaskellNone
LanguageHaskell2010

StripeAPI.Types.Period

Description

Contains the types generated from the schema Period

Synopsis

Documentation

data Period Source #

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

Constructors

Period 

Fields

  • periodEnd :: Maybe Int

    end: The end date of this usage period. All usage up to and including this point in time is included.

  • periodStart :: Maybe Int

    start: The start date of this usage period. All usage after this point in time is included.

Instances

Instances details
Eq Period Source # 
Instance details

Defined in StripeAPI.Types.Period

Methods

(==) :: Period -> Period -> Bool #

(/=) :: Period -> Period -> Bool #

Show Period Source # 
Instance details

Defined in StripeAPI.Types.Period

ToJSON Period Source # 
Instance details

Defined in StripeAPI.Types.Period

FromJSON Period Source # 
Instance details

Defined in StripeAPI.Types.Period

mkPeriod :: Period Source #

Create a new Period with all required fields.