| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Stripe.Resources
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 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
Constructors
| TimeStamp | |
Fields | |
data StripeList a Source #
A Vector wrapper with an indication is there are more items available through pagination.
Constructors
| StripeList | |
Instances
| Eq a => Eq (StripeList a) Source # | |
Defined in Stripe.Resources | |
| Show a => Show (StripeList a) Source # | |
Defined in Stripe.Resources Methods showsPrec :: Int -> StripeList a -> ShowS # show :: StripeList a -> String # showList :: [StripeList a] -> ShowS # | |
| ToJSON a => ToJSON (StripeList a) Source # | |
Defined in Stripe.Resources Methods toJSON :: StripeList a -> Value # toEncoding :: StripeList a -> Encoding # toJSONList :: [StripeList a] -> Value # toEncodingList :: [StripeList a] -> Encoding # | |
| FromJSON a => FromJSON (StripeList a) Source # | |
Defined in Stripe.Resources Methods parseJSON :: Value -> Parser (StripeList a) # parseJSONList :: Value -> Parser [StripeList a] # | |
Customers
newtype CustomerId Source #
Constructors
| CustomerId | |
Fields
| |
Instances
| Eq CustomerId Source # | |
Defined in Stripe.Resources | |
| Show CustomerId Source # | |
Defined in Stripe.Resources Methods showsPrec :: Int -> CustomerId -> ShowS # show :: CustomerId -> String # showList :: [CustomerId] -> ShowS # | |
| ToJSON CustomerId Source # | |
Defined in Stripe.Resources Methods toJSON :: CustomerId -> Value # toEncoding :: CustomerId -> Encoding # toJSONList :: [CustomerId] -> Value # toEncodingList :: [CustomerId] -> Encoding # | |
| FromJSON CustomerId Source # | |
Defined in Stripe.Resources | |
| ToHttpApiData CustomerId Source # | |
Defined in Stripe.Resources Methods toUrlPiece :: CustomerId -> Text # toEncodedUrlPiece :: CustomerId -> Builder # toHeader :: CustomerId -> ByteString # toQueryParam :: CustomerId -> Text # | |
Constructors
| Customer | |
data CustomerCreate Source #
Instances
data CustomerUpdate Source #
Instances
Product catalog
Constructors
| ProductId | |
Fields
| |
Instances
| Eq ProductId Source # | |
| Show ProductId Source # | |
| ToJSON ProductId Source # | |
Defined in Stripe.Resources | |
| FromJSON ProductId Source # | |
| ToHttpApiData ProductId Source # | |
Defined in Stripe.Resources Methods 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 Methods toUrlPiece :: PriceId -> Text # toEncodedUrlPiece :: PriceId -> Builder # toHeader :: PriceId -> ByteString # toQueryParam :: PriceId -> Text # | |
Constructors
| Product | |
data ProductCreate Source #
Constructors
| ProductCreate | |
Fields
| |
Instances
Constructors
| Price | |
data PriceRecurring Source #
Constructors
| PriceRecurring | |
Fields
| |
Instances
| Eq PriceRecurring Source # | |
Defined in Stripe.Resources Methods (==) :: PriceRecurring -> PriceRecurring -> Bool # (/=) :: PriceRecurring -> PriceRecurring -> Bool # | |
| Show PriceRecurring Source # | |
Defined in Stripe.Resources Methods showsPrec :: Int -> PriceRecurring -> ShowS # show :: PriceRecurring -> String # showList :: [PriceRecurring] -> ShowS # | |
| ToJSON PriceRecurring Source # | |
Defined in Stripe.Resources Methods toJSON :: PriceRecurring -> Value # toEncoding :: PriceRecurring -> Encoding # toJSONList :: [PriceRecurring] -> Value # toEncodingList :: [PriceRecurring] -> Encoding # | |
| FromJSON PriceRecurring Source # | |
Defined in Stripe.Resources Methods parseJSON :: Value -> Parser PriceRecurring # parseJSONList :: Value -> Parser [PriceRecurring] # | |
data PriceCreate Source #
Constructors
| PriceCreate | |
Fields | |
Instances
data PriceCreateRecurring Source #
Constructors
| PriceCreateRecurring | |
Fields
| |
Instances
| Eq PriceCreateRecurring Source # | |
Defined in Stripe.Resources Methods (==) :: PriceCreateRecurring -> PriceCreateRecurring -> Bool # (/=) :: PriceCreateRecurring -> PriceCreateRecurring -> Bool # | |
| Show PriceCreateRecurring Source # | |
Defined in Stripe.Resources Methods showsPrec :: Int -> PriceCreateRecurring -> ShowS # show :: PriceCreateRecurring -> String # showList :: [PriceCreateRecurring] -> ShowS # | |
Subscriptions
newtype SubscriptionId Source #
Constructors
| SubscriptionId | |
Fields | |
Instances
| Eq SubscriptionId Source # | |
Defined in Stripe.Resources Methods (==) :: SubscriptionId -> SubscriptionId -> Bool # (/=) :: SubscriptionId -> SubscriptionId -> Bool # | |
| Show SubscriptionId Source # | |
Defined in Stripe.Resources Methods showsPrec :: Int -> SubscriptionId -> ShowS # show :: SubscriptionId -> String # showList :: [SubscriptionId] -> ShowS # | |
| ToJSON SubscriptionId Source # | |
Defined in Stripe.Resources Methods toJSON :: SubscriptionId -> Value # toEncoding :: SubscriptionId -> Encoding # toJSONList :: [SubscriptionId] -> Value # toEncodingList :: [SubscriptionId] -> Encoding # | |
| FromJSON SubscriptionId Source # | |
Defined in Stripe.Resources Methods parseJSON :: Value -> Parser SubscriptionId # parseJSONList :: Value -> Parser [SubscriptionId] # | |
| ToHttpApiData SubscriptionId Source # | |
Defined in Stripe.Resources Methods toUrlPiece :: SubscriptionId -> Text # toEncodedUrlPiece :: SubscriptionId -> Builder # toHeader :: SubscriptionId -> ByteString # toQueryParam :: SubscriptionId -> Text # | |
Customer Portal
newtype CustomerPortalId Source #
Constructors
| CustomerPortalId | |
Fields | |
Instances
data CustomerPortal Source #
Constructors
| CustomerPortal | |
Fields
| |
Instances
| Eq CustomerPortal Source # | |
Defined in Stripe.Resources Methods (==) :: CustomerPortal -> CustomerPortal -> Bool # (/=) :: CustomerPortal -> CustomerPortal -> Bool # | |
| Show CustomerPortal Source # | |
Defined in Stripe.Resources Methods showsPrec :: Int -> CustomerPortal -> ShowS # show :: CustomerPortal -> String # showList :: [CustomerPortal] -> ShowS # | |
| ToJSON CustomerPortal Source # | |
Defined in Stripe.Resources Methods toJSON :: CustomerPortal -> Value # toEncoding :: CustomerPortal -> Encoding # toJSONList :: [CustomerPortal] -> Value # toEncodingList :: [CustomerPortal] -> Encoding # | |
| FromJSON CustomerPortal Source # | |
Defined in Stripe.Resources Methods parseJSON :: Value -> Parser CustomerPortal # parseJSONList :: Value -> Parser [CustomerPortal] # | |
data CustomerPortalCreate Source #
Constructors
| CustomerPortalCreate | |
Fields | |
Instances
Checkout
newtype CheckoutSessionId Source #
Constructors
| CheckoutSessionId | |
Fields | |
Instances
data CheckoutSession Source #
Constructors
| CheckoutSession | |
Fields | |
Instances
| Eq CheckoutSession Source # | |
Defined in Stripe.Resources Methods (==) :: CheckoutSession -> CheckoutSession -> Bool # (/=) :: CheckoutSession -> CheckoutSession -> Bool # | |
| Show CheckoutSession Source # | |
Defined in Stripe.Resources Methods showsPrec :: Int -> CheckoutSession -> ShowS # show :: CheckoutSession -> String # showList :: [CheckoutSession] -> ShowS # | |
| ToJSON CheckoutSession Source # | |
Defined in Stripe.Resources Methods toJSON :: CheckoutSession -> Value # toEncoding :: CheckoutSession -> Encoding # toJSONList :: [CheckoutSession] -> Value # toEncodingList :: [CheckoutSession] -> Encoding # | |
| FromJSON CheckoutSession Source # | |
Defined in Stripe.Resources Methods parseJSON :: Value -> Parser CheckoutSession # parseJSONList :: Value -> Parser [CheckoutSession] # | |
data CheckoutSessionCreate Source #
Constructors
| CheckoutSessionCreate | |
Fields | |
Instances
data CheckoutSessionCreateLineItem Source #
Constructors
| CheckoutSessionCreateLineItem | |
Fields | |
Instances
| Eq CheckoutSessionCreateLineItem Source # | |
Defined in Stripe.Resources | |
| Show CheckoutSessionCreateLineItem Source # | |
Defined in Stripe.Resources Methods showsPrec :: Int -> CheckoutSessionCreateLineItem -> ShowS # show :: CheckoutSessionCreateLineItem -> String # showList :: [CheckoutSessionCreateLineItem] -> ShowS # | |
| Generic CheckoutSessionCreateLineItem Source # | |
Defined in Stripe.Resources Associated Types 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.0.0-92InT02jKzYFpHQerGtMmR" '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 Methods toUrlPiece :: EventId -> Text # toEncodedUrlPiece :: EventId -> Builder # toHeader :: EventId -> ByteString # toQueryParam :: EventId -> Text # | |
Constructors
| Event | |