Safe Haskell | None |
---|---|
Language | Haskell2010 |
Contains the types generated from the schema BillingPortal_Session
Synopsis
- data BillingPortal'session = BillingPortal'session {
- billingPortal'sessionConfiguration :: BillingPortal'sessionConfiguration'Variants
- billingPortal'sessionCreated :: Int
- billingPortal'sessionCustomer :: Text
- billingPortal'sessionId :: Text
- billingPortal'sessionLivemode :: Bool
- billingPortal'sessionOnBehalfOf :: Maybe Text
- billingPortal'sessionReturnUrl :: Text
- billingPortal'sessionUrl :: Text
- mkBillingPortal'session :: BillingPortal'sessionConfiguration'Variants -> Int -> Text -> Text -> Bool -> Text -> Text -> BillingPortal'session
- data BillingPortal'sessionConfiguration'Variants
Documentation
data BillingPortal'session Source #
Defines the object schema located at components.schemas.billing_portal.session
in the specification.
The Billing customer portal is a Stripe-hosted UI for subscription and billing management.
A portal configuration describes the functionality and features that you want to provide to your customers through the portal.
A portal session describes the instantiation of the customer portal for a particular customer. By visiting the session's URL, the customer can manage their subscriptions and billing details. For security reasons, sessions are short-lived and will expire if the customer does not visit the URL. Create sessions on-demand when customers intend to manage their subscriptions and billing details.
Learn more in the product overview and integration guide.
BillingPortal'session | |
|
Instances
Eq BillingPortal'session Source # | |
Defined in StripeAPI.Types.BillingPortal_Session (==) :: BillingPortal'session -> BillingPortal'session -> Bool # (/=) :: BillingPortal'session -> BillingPortal'session -> Bool # | |
Show BillingPortal'session Source # | |
Defined in StripeAPI.Types.BillingPortal_Session showsPrec :: Int -> BillingPortal'session -> ShowS # show :: BillingPortal'session -> String # showList :: [BillingPortal'session] -> ShowS # | |
ToJSON BillingPortal'session Source # | |
Defined in StripeAPI.Types.BillingPortal_Session toJSON :: BillingPortal'session -> Value # toEncoding :: BillingPortal'session -> Encoding # toJSONList :: [BillingPortal'session] -> Value # toEncodingList :: [BillingPortal'session] -> Encoding # | |
FromJSON BillingPortal'session Source # | |
Defined in StripeAPI.Types.BillingPortal_Session parseJSON :: Value -> Parser BillingPortal'session # parseJSONList :: Value -> Parser [BillingPortal'session] # |
mkBillingPortal'session Source #
:: BillingPortal'sessionConfiguration'Variants | |
-> Int | |
-> Text | |
-> Text | |
-> Bool | |
-> Text | |
-> Text | |
-> BillingPortal'session |
Create a new BillingPortal'session
with all required fields.
data BillingPortal'sessionConfiguration'Variants Source #
Defines the oneOf schema located at components.schemas.billing_portal.session.properties.configuration.anyOf
in the specification.
The configuration used by this session, describing the features available.
BillingPortal'sessionConfiguration'Text Text | |
BillingPortal'sessionConfiguration'BillingPortal'configuration BillingPortal'configuration |