Safe Haskell | None |
---|---|
Language | Haskell2010 |
Contains the types generated from the schema Product
Synopsis
- data Product = Product {
- productActive :: Bool
- productCreated :: Int
- productDescription :: Maybe Text
- productId :: Text
- productImages :: [Text]
- productLivemode :: Bool
- productMetadata :: Object
- productName :: Text
- productPackageDimensions :: Maybe ProductPackageDimensions'
- productShippable :: Maybe Bool
- productStatementDescriptor :: Maybe Text
- productTaxCode :: Maybe ProductTaxCode'Variants
- productUnitLabel :: Maybe Text
- productUpdated :: Int
- productUrl :: Maybe Text
- mkProduct :: Bool -> Int -> Text -> [Text] -> Bool -> Object -> Text -> Int -> Product
- data ProductPackageDimensions' = ProductPackageDimensions' {}
- mkProductPackageDimensions' :: ProductPackageDimensions'
- data ProductTaxCode'Variants
Documentation
Defines the object schema located at components.schemas.product
in the specification.
Products describe the specific goods or services you offer to your customers. For example, you might offer a Standard and Premium version of your goods or service; each version would be a separate Product. They can be used in conjunction with Prices to configure pricing in Checkout and Subscriptions.
Related guides: Set up a subscription or accept one-time payments with Checkout and more about Products and Prices
Product | |
|
Create a new Product
with all required fields.
data ProductPackageDimensions' Source #
Defines the object schema located at components.schemas.product.properties.package_dimensions.anyOf
in the specification.
The dimensions of this product for shipping purposes.
ProductPackageDimensions' | |
|
Instances
Eq ProductPackageDimensions' Source # | |
Defined in StripeAPI.Types.Product | |
Show ProductPackageDimensions' Source # | |
Defined in StripeAPI.Types.Product showsPrec :: Int -> ProductPackageDimensions' -> ShowS # show :: ProductPackageDimensions' -> String # showList :: [ProductPackageDimensions'] -> ShowS # | |
ToJSON ProductPackageDimensions' Source # | |
Defined in StripeAPI.Types.Product | |
FromJSON ProductPackageDimensions' Source # | |
Defined in StripeAPI.Types.Product |
mkProductPackageDimensions' :: ProductPackageDimensions' Source #
Create a new ProductPackageDimensions'
with all required fields.
data ProductTaxCode'Variants Source #
Defines the oneOf schema located at components.schemas.product.properties.tax_code.anyOf
in the specification.
A tax code ID.
Instances
Eq ProductTaxCode'Variants Source # | |
Defined in StripeAPI.Types.Product | |
Show ProductTaxCode'Variants Source # | |
Defined in StripeAPI.Types.Product showsPrec :: Int -> ProductTaxCode'Variants -> ShowS # show :: ProductTaxCode'Variants -> String # showList :: [ProductTaxCode'Variants] -> ShowS # | |
ToJSON ProductTaxCode'Variants Source # | |
Defined in StripeAPI.Types.Product | |
FromJSON ProductTaxCode'Variants Source # | |
Defined in StripeAPI.Types.Product |