HORIZON HASKELLDocslts/ghc-9.10.xc74966e2026-09-27Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · c74966e · 2026-09-27

Modulestripeapi-3.0.0.0Haskell2010

StripeAPI.Types.Quote

Contains the types generated from the schema Quote

  • 18 types
  • 5 values
datadata Quote
#

Defines the object schema located at components.schemas.quote in the specification.

A Quote is a way to model prices that you'd like to provide to a customer. Once accepted, it will automatically create an invoice, subscription or subscription schedule.

Constructors

Instances4Eq, Show, FromJSON, ToJSON
  • Eq QuoteDefined in stripeapi-3.0.0.0 · StripeAPI.Types.Quote
  • Show QuoteDefined in stripeapi-3.0.0.0 · StripeAPI.Types.Quote
  • FromJSON QuoteDefined in stripeapi-3.0.0.0 · StripeAPI.Types.Quote
  • ToJSON QuoteDefined in stripeapi-3.0.0.0 · StripeAPI.Types.Quote

Create a new Quote with all required fields.

Defines the oneOf schema located at components.schemas.quote.properties.application.anyOf in the specification.

ID of the Connect Application that created the quote.

Instances4Eq, Show, FromJSON, ToJSON

Defines the enum schema located at components.schemas.quote.properties.collection_method in the specification.

Either `charge_automatically`, or `send_invoice`. When charging automatically, Stripe will attempt to pay invoices at the end of the subscription cycle or on finalization using the default payment method attached to the subscription or customer. When sending an invoice, Stripe will email your customer an invoice with payment instructions. Defaults to `charge_automatically`.

Constructors

Instances4Eq, Show, FromJSON, ToJSON

Defines the oneOf schema located at components.schemas.quote.properties.customer.anyOf in the specification.

The customer which this quote belongs to. A customer is required before finalizing the quote. Once specified, it cannot be changed.

Instances4Eq, Show, FromJSON, ToJSON

Defines the oneOf schema located at components.schemas.quote.properties.default_tax_rates.items.anyOf in the specification.

Instances4Eq, Show, FromJSON, ToJSON

Defines the oneOf schema located at components.schemas.quote.properties.discounts.items.anyOf in the specification.

Instances4Eq, Show, FromJSON, ToJSON

Defines the object schema located at components.schemas.quote.properties.from_quote.anyOf in the specification.

Details of the quote that was cloned. See the cloning documentation for more details.

Constructors

Instances4Eq, Show, FromJSON, ToJSON

Defines the oneOf schema located at components.schemas.quote.properties.from_quote.anyOf.properties.quote.anyOf in the specification.

The quote that was cloned.

Instances4Eq, Show, FromJSON, ToJSON

Defines the oneOf schema located at components.schemas.quote.properties.invoice.anyOf in the specification.

The invoice that was created from this quote.

Instances4Eq, Show, FromJSON, ToJSON

Defines the object schema located at components.schemas.quote.properties.invoice_settings.anyOf in the specification.

All invoices will be billed using the specified settings.

Constructors

Instances4Eq, Show, FromJSON, ToJSON
datadata QuoteLineItems'
#

Defines the object schema located at components.schemas.quote.properties.line_items in the specification.

A list of items the customer is being quoted for.

Constructors

Instances4Eq, Show, FromJSON, ToJSON

Defines the oneOf schema located at components.schemas.quote.properties.on_behalf_of.anyOf in the specification.

The account on behalf of which to charge. See the Connect documentation for details.

Instances4Eq, Show, FromJSON, ToJSON
datadata QuoteStatus'
#

Defines the enum schema located at components.schemas.quote.properties.status in the specification.

The status of the quote.

Constructors

Instances4Eq, Show, FromJSON, ToJSON

Defines the oneOf schema located at components.schemas.quote.properties.subscription.anyOf in the specification.

The subscription that was created or updated from this quote.

Instances4Eq, Show, FromJSON, ToJSON

Defines the oneOf schema located at components.schemas.quote.properties.subscription_schedule.anyOf in the specification.

The subscription schedule that was created or updated from this quote.

Instances4Eq, Show, FromJSON, ToJSON

Defines the oneOf schema located at components.schemas.quote.properties.test_clock.anyOf in the specification.

ID of the test clock this quote belongs to.

Instances4Eq, Show, FromJSON, ToJSON

Defines the object schema located at components.schemas.quote.properties.transfer_data.anyOf in the specification.

The account (if any) the payments will be attributed to for tax reporting, and where funds from each payment will be transferred to for each of the invoices.

Constructors

Instances4Eq, Show, FromJSON, ToJSON

Defines the oneOf schema located at components.schemas.quote.properties.transfer_data.anyOf.properties.destination.anyOf in the specification.

The account where funds from the payment will be transferred to upon payment success.

Instances4Eq, Show, FromJSON, ToJSON