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 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
Constructors
TimeStamp | |
Fields |
Instances
Eq TimeStamp Source # | |
Show TimeStamp Source # | |
ToJSON TimeStamp Source # | |
Defined in Stripe.Resources | |
FromJSON TimeStamp Source # | |
ToHttpApiData TimeStamp Source # | |
Defined in Stripe.Resources Methods 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.
Constructors
StripeList | |
Instances
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 # |
newtype SubscriptionItemId Source #
Constructors
SubscriptionItemId | |
Fields |
Instances
data Subscription Source #
Constructors
Subscription | |
Fields |
Instances
Eq Subscription Source # | |
Defined in Stripe.Resources | |
Show Subscription Source # | |
Defined in Stripe.Resources Methods showsPrec :: Int -> Subscription -> ShowS # show :: Subscription -> String # showList :: [Subscription] -> ShowS # | |
ToJSON Subscription Source # | |
Defined in Stripe.Resources Methods toJSON :: Subscription -> Value # toEncoding :: Subscription -> Encoding # toJSONList :: [Subscription] -> Value # toEncodingList :: [Subscription] -> Encoding # | |
FromJSON Subscription Source # | |
Defined in Stripe.Resources |
data SubscriptionItem Source #
Constructors
SubscriptionItem | |
Fields
|
Instances
Eq SubscriptionItem Source # | |
Defined in Stripe.Resources Methods (==) :: SubscriptionItem -> SubscriptionItem -> Bool # (/=) :: SubscriptionItem -> SubscriptionItem -> Bool # | |
Show SubscriptionItem Source # | |
Defined in Stripe.Resources Methods showsPrec :: Int -> SubscriptionItem -> ShowS # show :: SubscriptionItem -> String # showList :: [SubscriptionItem] -> ShowS # | |
ToJSON SubscriptionItem Source # | |
Defined in Stripe.Resources Methods toJSON :: SubscriptionItem -> Value # toEncoding :: SubscriptionItem -> Encoding # toJSONList :: [SubscriptionItem] -> Value # toEncodingList :: [SubscriptionItem] -> Encoding # | |
FromJSON SubscriptionItem Source # | |
Defined in Stripe.Resources Methods parseJSON :: Value -> Parser SubscriptionItem # parseJSONList :: Value -> Parser [SubscriptionItem] # |
data SubscriptionCreate Source #
Constructors
SubscriptionCreate | |
Fields |
Instances
data SubscriptionCreateItem Source #
Constructors
SubscriptionCreateItem | |
Fields
|
Instances
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.3.1.0-E0adSn0xRwp6M3xjhfRPcM" '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 | |