StripeAPI.Types.Period
Description
Contains the types generated from the schema Period
data Period Source #
Defines the object schema located at components.schemas.period in the specification.
components.schemas.period
Constructors
Fields
end: The end date of this usage period. All usage up to and including this point in time is included.
start: The start date of this usage period. All usage after this point in time is included.
Defined in StripeAPI.Types.Period
Methods
(==) :: Period -> Period -> Bool #
(/=) :: Period -> Period -> Bool #
showsPrec :: Int -> Period -> ShowS #
show :: Period -> String #
showList :: [Period] -> ShowS #
toJSON :: Period -> Value #
toEncoding :: Period -> Encoding #
toJSONList :: [Period] -> Value #
toEncodingList :: [Period] -> Encoding #
parseJSON :: Value -> Parser Period #
parseJSONList :: Value -> Parser [Period] #
mkPeriod :: Period Source #
Create a new Period with all required fields.
Period