Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- newtype TimeStamp = TimeStamp {}
- data StripeList a = StripeList {}
- newtype CustomerId = CustomerId {
- unCustomerId :: Text
- data Customer = Customer {}
- data CustomerCreate = CustomerCreate {}
- data CustomerUpdate = CustomerUpdate {}
- newtype ProductId = ProductId {
- unProductId :: Text
- newtype PriceId = PriceId {}
- data Product = Product {}
- data ProductCreate = ProductCreate {
- prcName :: Text
- prcDescription :: Maybe Text
- data Price = Price {}
- data PriceRecurring = PriceRecurring {
- prInterval :: Text
- prIntervalCount :: Int
- data PriceCreate = PriceCreate {}
- data PriceCreateRecurring = PriceCreateRecurring {}
- newtype SubscriptionId = SubscriptionId {}
- newtype SubscriptionItemId = SubscriptionItemId {}
- data Subscription = Subscription {}
- data SubscriptionItem = SubscriptionItem {}
- data SubscriptionCreate = SubscriptionCreate {}
- data SubscriptionCreateItem = SubscriptionCreateItem {
- sciPrice :: PriceId
- sciQuantity :: Maybe Int
- newtype CustomerPortalId = CustomerPortalId {}
- data CustomerPortal = CustomerPortal {}
- data CustomerPortalCreate = CustomerPortalCreate {}
- newtype CheckoutSessionId = CheckoutSessionId {}
- data CheckoutSession = CheckoutSession {}
- data CheckoutSessionCreate = CheckoutSessionCreate {}
- data CheckoutSessionCreateLineItem = CheckoutSessionCreateLineItem {}
- newtype EventId = EventId {}
- data Event = Event {}
- data EventData = EventData {}
Core Types
A UTCTime
wrapper that has unix timestamp JSON representation
Instances
Eq TimeStamp Source # | |
Show TimeStamp Source # | |
ToJSON TimeStamp Source # | |
Defined in Stripe.Resources | |
FromJSON TimeStamp Source # | |
ToHttpApiData TimeStamp Source # | |
Defined in Stripe.Resources toUrlPiece :: TimeStamp -> Text # toEncodedUrlPiece :: TimeStamp -> Builder # toHeader :: TimeStamp -> ByteString # toQueryParam :: TimeStamp -> Text # |
data StripeList a Source #
A Vector
wrapper with an indication is there are more items available through pagination.
Instances
Customers
newtype CustomerId Source #
Instances
Eq CustomerId Source # | |
Defined in Stripe.Resources (==) :: CustomerId -> CustomerId -> Bool # (/=) :: CustomerId -> CustomerId -> Bool # | |
Show CustomerId Source # | |
Defined in Stripe.Resources showsPrec :: Int -> CustomerId -> ShowS # show :: CustomerId -> String # showList :: [CustomerId] -> ShowS # | |
ToJSON CustomerId Source # | |
Defined in Stripe.Resources toJSON :: CustomerId -> Value # toEncoding :: CustomerId -> Encoding # toJSONList :: [CustomerId] -> Value # toEncodingList :: [CustomerId] -> Encoding # | |
FromJSON CustomerId Source # | |
Defined in Stripe.Resources parseJSON :: Value -> Parser CustomerId # parseJSONList :: Value -> Parser [CustomerId] # | |
ToHttpApiData CustomerId Source # | |
Defined in Stripe.Resources toUrlPiece :: CustomerId -> Text # toEncodedUrlPiece :: CustomerId -> Builder # toHeader :: CustomerId -> ByteString # toQueryParam :: CustomerId -> Text # |
data CustomerCreate Source #
Instances
data CustomerUpdate Source #
Instances
Product catalog
Instances
Eq ProductId Source # | |
Show ProductId Source # | |
ToJSON ProductId Source # | |
Defined in Stripe.Resources | |
FromJSON ProductId Source # | |
ToHttpApiData ProductId Source # | |
Defined in Stripe.Resources toUrlPiece :: ProductId -> Text # toEncodedUrlPiece :: ProductId -> Builder # toHeader :: ProductId -> ByteString # toQueryParam :: ProductId -> Text # |
Instances
Eq PriceId Source # | |
Show PriceId Source # | |
ToJSON PriceId Source # | |
Defined in Stripe.Resources | |
FromJSON PriceId Source # | |
ToHttpApiData PriceId Source # | |
Defined in Stripe.Resources toUrlPiece :: PriceId -> Text # toEncodedUrlPiece :: PriceId -> Builder # toHeader :: PriceId -> ByteString # toQueryParam :: PriceId -> Text # |
data ProductCreate Source #
Instances
data PriceRecurring Source #
Instances
Eq PriceRecurring Source # | |
Defined in Stripe.Resources (==) :: PriceRecurring -> PriceRecurring -> Bool # (/=) :: PriceRecurring -> PriceRecurring -> Bool # | |
Show PriceRecurring Source # | |
Defined in Stripe.Resources showsPrec :: Int -> PriceRecurring -> ShowS # show :: PriceRecurring -> String # showList :: [PriceRecurring] -> ShowS # | |
ToJSON PriceRecurring Source # | |
Defined in Stripe.Resources toJSON :: PriceRecurring -> Value # toEncoding :: PriceRecurring -> Encoding # toJSONList :: [PriceRecurring] -> Value # toEncodingList :: [PriceRecurring] -> Encoding # | |
FromJSON PriceRecurring Source # | |
Defined in Stripe.Resources parseJSON :: Value -> Parser PriceRecurring # parseJSONList :: Value -> Parser [PriceRecurring] # |
data PriceCreate Source #
Instances
data PriceCreateRecurring Source #
Instances
Eq PriceCreateRecurring Source # | |
Defined in Stripe.Resources (==) :: PriceCreateRecurring -> PriceCreateRecurring -> Bool # (/=) :: PriceCreateRecurring -> PriceCreateRecurring -> Bool # | |
Show PriceCreateRecurring Source # | |
Defined in Stripe.Resources showsPrec :: Int -> PriceCreateRecurring -> ShowS # show :: PriceCreateRecurring -> String # showList :: [PriceCreateRecurring] -> ShowS # |
Subscriptions
newtype SubscriptionId Source #
Instances
Eq SubscriptionId Source # | |
Defined in Stripe.Resources (==) :: SubscriptionId -> SubscriptionId -> Bool # (/=) :: SubscriptionId -> SubscriptionId -> Bool # | |
Show SubscriptionId Source # | |
Defined in Stripe.Resources showsPrec :: Int -> SubscriptionId -> ShowS # show :: SubscriptionId -> String # showList :: [SubscriptionId] -> ShowS # | |
ToJSON SubscriptionId Source # | |
Defined in Stripe.Resources toJSON :: SubscriptionId -> Value # toEncoding :: SubscriptionId -> Encoding # toJSONList :: [SubscriptionId] -> Value # toEncodingList :: [SubscriptionId] -> Encoding # | |
FromJSON SubscriptionId Source # | |
Defined in Stripe.Resources parseJSON :: Value -> Parser SubscriptionId # parseJSONList :: Value -> Parser [SubscriptionId] # | |
ToHttpApiData SubscriptionId Source # | |
Defined in Stripe.Resources toUrlPiece :: SubscriptionId -> Text # toEncodedUrlPiece :: SubscriptionId -> Builder # toHeader :: SubscriptionId -> ByteString # toQueryParam :: SubscriptionId -> Text # |
newtype SubscriptionItemId Source #
Instances
Eq SubscriptionItemId Source # | |
Defined in Stripe.Resources (==) :: SubscriptionItemId -> SubscriptionItemId -> Bool # (/=) :: SubscriptionItemId -> SubscriptionItemId -> Bool # | |
Show SubscriptionItemId Source # | |
Defined in Stripe.Resources showsPrec :: Int -> SubscriptionItemId -> ShowS # show :: SubscriptionItemId -> String # showList :: [SubscriptionItemId] -> ShowS # | |
ToJSON SubscriptionItemId Source # | |
Defined in Stripe.Resources toJSON :: SubscriptionItemId -> Value # toEncoding :: SubscriptionItemId -> Encoding # toJSONList :: [SubscriptionItemId] -> Value # toEncodingList :: [SubscriptionItemId] -> Encoding # | |
FromJSON SubscriptionItemId Source # | |
Defined in Stripe.Resources parseJSON :: Value -> Parser SubscriptionItemId # parseJSONList :: Value -> Parser [SubscriptionItemId] # | |
ToHttpApiData SubscriptionItemId Source # | |
Defined in Stripe.Resources |
data Subscription Source #
Instances
Eq Subscription Source # | |
Defined in Stripe.Resources (==) :: Subscription -> Subscription -> Bool # (/=) :: Subscription -> Subscription -> Bool # | |
Show Subscription Source # | |
Defined in Stripe.Resources showsPrec :: Int -> Subscription -> ShowS # show :: Subscription -> String # showList :: [Subscription] -> ShowS # | |
ToJSON Subscription Source # | |
Defined in Stripe.Resources toJSON :: Subscription -> Value # toEncoding :: Subscription -> Encoding # toJSONList :: [Subscription] -> Value # toEncodingList :: [Subscription] -> Encoding # | |
FromJSON Subscription Source # | |
Defined in Stripe.Resources parseJSON :: Value -> Parser Subscription # parseJSONList :: Value -> Parser [Subscription] # |
data SubscriptionItem Source #
SubscriptionItem | |
|
Instances
Eq SubscriptionItem Source # | |
Defined in Stripe.Resources (==) :: SubscriptionItem -> SubscriptionItem -> Bool # (/=) :: SubscriptionItem -> SubscriptionItem -> Bool # | |
Show SubscriptionItem Source # | |
Defined in Stripe.Resources showsPrec :: Int -> SubscriptionItem -> ShowS # show :: SubscriptionItem -> String # showList :: [SubscriptionItem] -> ShowS # | |
ToJSON SubscriptionItem Source # | |
Defined in Stripe.Resources toJSON :: SubscriptionItem -> Value # toEncoding :: SubscriptionItem -> Encoding # toJSONList :: [SubscriptionItem] -> Value # toEncodingList :: [SubscriptionItem] -> Encoding # | |
FromJSON SubscriptionItem Source # | |
Defined in Stripe.Resources parseJSON :: Value -> Parser SubscriptionItem # parseJSONList :: Value -> Parser [SubscriptionItem] # |
data SubscriptionCreate Source #
Instances
data SubscriptionCreateItem Source #
Instances
Eq SubscriptionCreateItem Source # | |
Defined in Stripe.Resources | |
Show SubscriptionCreateItem Source # | |
Defined in Stripe.Resources showsPrec :: Int -> SubscriptionCreateItem -> ShowS # show :: SubscriptionCreateItem -> String # showList :: [SubscriptionCreateItem] -> ShowS # | |
Generic SubscriptionCreateItem Source # | |
Defined in Stripe.Resources type Rep SubscriptionCreateItem :: Type -> Type # | |
type Rep SubscriptionCreateItem Source # | |
Defined in Stripe.Resources type Rep SubscriptionCreateItem = D1 ('MetaData "SubscriptionCreateItem" "Stripe.Resources" "stripe-servant-0.1.2.0-IKyQk9ttUHE7VSHhw6wTl9" 'False) (C1 ('MetaCons "SubscriptionCreateItem" 'PrefixI 'True) (S1 ('MetaSel ('Just "sciPrice") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 PriceId) :*: S1 ('MetaSel ('Just "sciQuantity") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)))) |
Customer Portal
newtype CustomerPortalId Source #
Instances
Eq CustomerPortalId Source # | |
Defined in Stripe.Resources (==) :: CustomerPortalId -> CustomerPortalId -> Bool # (/=) :: CustomerPortalId -> CustomerPortalId -> Bool # | |
Show CustomerPortalId Source # | |
Defined in Stripe.Resources showsPrec :: Int -> CustomerPortalId -> ShowS # show :: CustomerPortalId -> String # showList :: [CustomerPortalId] -> ShowS # | |
ToJSON CustomerPortalId Source # | |
Defined in Stripe.Resources toJSON :: CustomerPortalId -> Value # toEncoding :: CustomerPortalId -> Encoding # toJSONList :: [CustomerPortalId] -> Value # toEncodingList :: [CustomerPortalId] -> Encoding # | |
FromJSON CustomerPortalId Source # | |
Defined in Stripe.Resources parseJSON :: Value -> Parser CustomerPortalId # parseJSONList :: Value -> Parser [CustomerPortalId] # | |
ToHttpApiData CustomerPortalId Source # | |
Defined in Stripe.Resources toUrlPiece :: CustomerPortalId -> Text # toEncodedUrlPiece :: CustomerPortalId -> Builder # toHeader :: CustomerPortalId -> ByteString # toQueryParam :: CustomerPortalId -> Text # |
data CustomerPortal Source #
CustomerPortal | |
|
Instances
Eq CustomerPortal Source # | |
Defined in Stripe.Resources (==) :: CustomerPortal -> CustomerPortal -> Bool # (/=) :: CustomerPortal -> CustomerPortal -> Bool # | |
Show CustomerPortal Source # | |
Defined in Stripe.Resources showsPrec :: Int -> CustomerPortal -> ShowS # show :: CustomerPortal -> String # showList :: [CustomerPortal] -> ShowS # | |
ToJSON CustomerPortal Source # | |
Defined in Stripe.Resources toJSON :: CustomerPortal -> Value # toEncoding :: CustomerPortal -> Encoding # toJSONList :: [CustomerPortal] -> Value # toEncodingList :: [CustomerPortal] -> Encoding # | |
FromJSON CustomerPortal Source # | |
Defined in Stripe.Resources parseJSON :: Value -> Parser CustomerPortal # parseJSONList :: Value -> Parser [CustomerPortal] # |
data CustomerPortalCreate Source #
Instances
Checkout
newtype CheckoutSessionId Source #
Instances
data CheckoutSession Source #
Instances
Eq CheckoutSession Source # | |
Defined in Stripe.Resources (==) :: CheckoutSession -> CheckoutSession -> Bool # (/=) :: CheckoutSession -> CheckoutSession -> Bool # | |
Show CheckoutSession Source # | |
Defined in Stripe.Resources showsPrec :: Int -> CheckoutSession -> ShowS # show :: CheckoutSession -> String # showList :: [CheckoutSession] -> ShowS # | |
ToJSON CheckoutSession Source # | |
Defined in Stripe.Resources toJSON :: CheckoutSession -> Value # toEncoding :: CheckoutSession -> Encoding # toJSONList :: [CheckoutSession] -> Value # toEncodingList :: [CheckoutSession] -> Encoding # | |
FromJSON CheckoutSession Source # | |
Defined in Stripe.Resources parseJSON :: Value -> Parser CheckoutSession # parseJSONList :: Value -> Parser [CheckoutSession] # |
data CheckoutSessionCreate Source #
Instances
data CheckoutSessionCreateLineItem Source #
Instances
Eq CheckoutSessionCreateLineItem Source # | |
Defined in Stripe.Resources | |
Show CheckoutSessionCreateLineItem Source # | |
Defined in Stripe.Resources showsPrec :: Int -> CheckoutSessionCreateLineItem -> ShowS # show :: CheckoutSessionCreateLineItem -> String # showList :: [CheckoutSessionCreateLineItem] -> ShowS # | |
Generic CheckoutSessionCreateLineItem Source # | |
Defined in Stripe.Resources type Rep CheckoutSessionCreateLineItem :: Type -> Type # | |
type Rep CheckoutSessionCreateLineItem Source # | |
Defined in Stripe.Resources type Rep CheckoutSessionCreateLineItem = D1 ('MetaData "CheckoutSessionCreateLineItem" "Stripe.Resources" "stripe-servant-0.1.2.0-IKyQk9ttUHE7VSHhw6wTl9" 'False) (C1 ('MetaCons "CheckoutSessionCreateLineItem" 'PrefixI 'True) (S1 ('MetaSel ('Just "cscliPrice") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 PriceId) :*: S1 ('MetaSel ('Just "cscliQuantity") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Integer))) |
Events
Instances
Eq EventId Source # | |
Show EventId Source # | |
ToJSON EventId Source # | |
Defined in Stripe.Resources | |
FromJSON EventId Source # | |
ToHttpApiData EventId Source # | |
Defined in Stripe.Resources toUrlPiece :: EventId -> Text # toEncodedUrlPiece :: EventId -> Builder # toHeader :: EventId -> ByteString # toQueryParam :: EventId -> Text # |