stripeapi-2.0.0.1: Stripe-Library
Safe HaskellNone
LanguageHaskell2010

StripeAPI.Operations.GetInvoicesUpcoming

Description

Contains the different functions to run the operation getInvoicesUpcoming

Synopsis

Documentation

getInvoicesUpcoming Source #

Arguments

:: forall m. MonadHTTP m 
=> GetInvoicesUpcomingParameters

Contains all available parameters of this operation (query and path parameters)

-> ClientT m (Response GetInvoicesUpcomingResponse)

Monadic computation which returns the result of the operation

GET /v1/invoices/upcoming

<p>At any time, you can preview the upcoming invoice for a customer. This will show you all the charges that are pending, including subscription renewal charges, invoice item charges, etc. It will also show you any discounts that are applicable to the invoice.</p>

<p>Note that when you are viewing an upcoming invoice, you are simply viewing a preview – the invoice has not yet been created. As such, the upcoming invoice will not show up in invoice listing calls, and you cannot use the API to pay or edit the invoice. If you want to change the amount that your customer will be billed, you can add, remove, or update pending invoice items, or update the customer’s discount.</p>

<p>You can preview the effects of updating a subscription, including a preview of what proration will take place. To ensure that the actual proration is calculated exactly the same as the previewed proration, you should pass a <code>proration_date</code> parameter when doing the actual subscription update. The value passed in should be the same as the <code>subscription_proration_date</code> returned on the upcoming invoice resource. The recommended way to get only the prorations being previewed is to consider only proration line items where <code>period[start]</code> is equal to the <code>subscription_proration_date</code> on the upcoming invoice resource.</p>

data GetInvoicesUpcomingParameters Source #

Defines the object schema located at paths./v1/invoices/upcoming.GET.parameters in the specification.

Constructors

GetInvoicesUpcomingParameters 

Fields

data GetInvoicesUpcomingParametersQueryAutomaticTax' Source #

Defines the object schema located at paths./v1/invoices/upcoming.GET.parameters.properties.queryAutomatic_tax in the specification.

Represents the parameter named 'automatic_tax'

Settings for automatic tax lookup for this invoice preview.

data GetInvoicesUpcomingParametersQueryCustomerDetails' Source #

Defines the object schema located at paths./v1/invoices/upcoming.GET.parameters.properties.queryCustomer_details in the specification.

Represents the parameter named 'customer_details'

Details about the customer you want to invoice

Instances

Instances details
Eq GetInvoicesUpcomingParametersQueryCustomerDetails' Source # 
Instance details

Defined in StripeAPI.Operations.GetInvoicesUpcoming

Show GetInvoicesUpcomingParametersQueryCustomerDetails' Source # 
Instance details

Defined in StripeAPI.Operations.GetInvoicesUpcoming

ToJSON GetInvoicesUpcomingParametersQueryCustomerDetails' Source # 
Instance details

Defined in StripeAPI.Operations.GetInvoicesUpcoming

FromJSON GetInvoicesUpcomingParametersQueryCustomerDetails' Source # 
Instance details

Defined in StripeAPI.Operations.GetInvoicesUpcoming

data GetInvoicesUpcomingParametersQueryCustomerDetails'Address'OneOf1 Source #

Defines the object schema located at paths./v1/invoices/upcoming.GET.parameters.properties.queryCustomer_details.properties.address.anyOf in the specification.

Instances

Instances details
Eq GetInvoicesUpcomingParametersQueryCustomerDetails'Address'OneOf1 Source # 
Instance details

Defined in StripeAPI.Operations.GetInvoicesUpcoming

Show GetInvoicesUpcomingParametersQueryCustomerDetails'Address'OneOf1 Source # 
Instance details

Defined in StripeAPI.Operations.GetInvoicesUpcoming

ToJSON GetInvoicesUpcomingParametersQueryCustomerDetails'Address'OneOf1 Source # 
Instance details

Defined in StripeAPI.Operations.GetInvoicesUpcoming

FromJSON GetInvoicesUpcomingParametersQueryCustomerDetails'Address'OneOf1 Source # 
Instance details

Defined in StripeAPI.Operations.GetInvoicesUpcoming

data GetInvoicesUpcomingParametersQueryCustomerDetails'Address'Variants Source #

Defines the oneOf schema located at paths./v1/invoices/upcoming.GET.parameters.properties.queryCustomer_details.properties.address.anyOf in the specification.

Instances

Instances details
Eq GetInvoicesUpcomingParametersQueryCustomerDetails'Address'Variants Source # 
Instance details

Defined in StripeAPI.Operations.GetInvoicesUpcoming

Show GetInvoicesUpcomingParametersQueryCustomerDetails'Address'Variants Source # 
Instance details

Defined in StripeAPI.Operations.GetInvoicesUpcoming

ToJSON GetInvoicesUpcomingParametersQueryCustomerDetails'Address'Variants Source # 
Instance details

Defined in StripeAPI.Operations.GetInvoicesUpcoming

FromJSON GetInvoicesUpcomingParametersQueryCustomerDetails'Address'Variants Source # 
Instance details

Defined in StripeAPI.Operations.GetInvoicesUpcoming

data GetInvoicesUpcomingParametersQueryCustomerDetails'Shipping'OneOf1 Source #

Defines the object schema located at paths./v1/invoices/upcoming.GET.parameters.properties.queryCustomer_details.properties.shipping.anyOf in the specification.

Instances

Instances details
Eq GetInvoicesUpcomingParametersQueryCustomerDetails'Shipping'OneOf1 Source # 
Instance details

Defined in StripeAPI.Operations.GetInvoicesUpcoming

Show GetInvoicesUpcomingParametersQueryCustomerDetails'Shipping'OneOf1 Source # 
Instance details

Defined in StripeAPI.Operations.GetInvoicesUpcoming

ToJSON GetInvoicesUpcomingParametersQueryCustomerDetails'Shipping'OneOf1 Source # 
Instance details

Defined in StripeAPI.Operations.GetInvoicesUpcoming

FromJSON GetInvoicesUpcomingParametersQueryCustomerDetails'Shipping'OneOf1 Source # 
Instance details

Defined in StripeAPI.Operations.GetInvoicesUpcoming

data GetInvoicesUpcomingParametersQueryCustomerDetails'Shipping'OneOf1Address' Source #

Defines the object schema located at paths./v1/invoices/upcoming.GET.parameters.properties.queryCustomer_details.properties.shipping.anyOf.properties.address in the specification.

Instances

Instances details
Eq GetInvoicesUpcomingParametersQueryCustomerDetails'Shipping'OneOf1Address' Source # 
Instance details

Defined in StripeAPI.Operations.GetInvoicesUpcoming

Show GetInvoicesUpcomingParametersQueryCustomerDetails'Shipping'OneOf1Address' Source # 
Instance details

Defined in StripeAPI.Operations.GetInvoicesUpcoming

ToJSON GetInvoicesUpcomingParametersQueryCustomerDetails'Shipping'OneOf1Address' Source # 
Instance details

Defined in StripeAPI.Operations.GetInvoicesUpcoming

FromJSON GetInvoicesUpcomingParametersQueryCustomerDetails'Shipping'OneOf1Address' Source # 
Instance details

Defined in StripeAPI.Operations.GetInvoicesUpcoming

data GetInvoicesUpcomingParametersQueryCustomerDetails'Shipping'Variants Source #

Defines the oneOf schema located at paths./v1/invoices/upcoming.GET.parameters.properties.queryCustomer_details.properties.shipping.anyOf in the specification.

Instances

Instances details
Eq GetInvoicesUpcomingParametersQueryCustomerDetails'Shipping'Variants Source # 
Instance details

Defined in StripeAPI.Operations.GetInvoicesUpcoming

Show GetInvoicesUpcomingParametersQueryCustomerDetails'Shipping'Variants Source # 
Instance details

Defined in StripeAPI.Operations.GetInvoicesUpcoming

ToJSON GetInvoicesUpcomingParametersQueryCustomerDetails'Shipping'Variants Source # 
Instance details

Defined in StripeAPI.Operations.GetInvoicesUpcoming

FromJSON GetInvoicesUpcomingParametersQueryCustomerDetails'Shipping'Variants Source # 
Instance details

Defined in StripeAPI.Operations.GetInvoicesUpcoming

data GetInvoicesUpcomingParametersQueryCustomerDetails'Tax' Source #

Defines the object schema located at paths./v1/invoices/upcoming.GET.parameters.properties.queryCustomer_details.properties.tax in the specification.

Instances

Instances details
Eq GetInvoicesUpcomingParametersQueryCustomerDetails'Tax' Source # 
Instance details

Defined in StripeAPI.Operations.GetInvoicesUpcoming

Show GetInvoicesUpcomingParametersQueryCustomerDetails'Tax' Source # 
Instance details

Defined in StripeAPI.Operations.GetInvoicesUpcoming

ToJSON GetInvoicesUpcomingParametersQueryCustomerDetails'Tax' Source # 
Instance details

Defined in StripeAPI.Operations.GetInvoicesUpcoming

FromJSON GetInvoicesUpcomingParametersQueryCustomerDetails'Tax' Source # 
Instance details

Defined in StripeAPI.Operations.GetInvoicesUpcoming

data GetInvoicesUpcomingParametersQueryCustomerDetails'Tax'IpAddress'Variants Source #

Defines the oneOf schema located at paths./v1/invoices/upcoming.GET.parameters.properties.queryCustomer_details.properties.tax.properties.ip_address.anyOf in the specification.

Instances

Instances details
Eq GetInvoicesUpcomingParametersQueryCustomerDetails'Tax'IpAddress'Variants Source # 
Instance details

Defined in StripeAPI.Operations.GetInvoicesUpcoming

Show GetInvoicesUpcomingParametersQueryCustomerDetails'Tax'IpAddress'Variants Source # 
Instance details

Defined in StripeAPI.Operations.GetInvoicesUpcoming

ToJSON GetInvoicesUpcomingParametersQueryCustomerDetails'Tax'IpAddress'Variants Source # 
Instance details

Defined in StripeAPI.Operations.GetInvoicesUpcoming

FromJSON GetInvoicesUpcomingParametersQueryCustomerDetails'Tax'IpAddress'Variants Source # 
Instance details

Defined in StripeAPI.Operations.GetInvoicesUpcoming

data GetInvoicesUpcomingParametersQueryCustomerDetails'TaxExempt' Source #

Defines the enum schema located at paths./v1/invoices/upcoming.GET.parameters.properties.queryCustomer_details.properties.tax_exempt in the specification.

Constructors

GetInvoicesUpcomingParametersQueryCustomerDetails'TaxExempt'Other Value

This case is used if the value encountered during decoding does not match any of the provided cases in the specification.

GetInvoicesUpcomingParametersQueryCustomerDetails'TaxExempt'Typed Text

This constructor can be used to send values to the server which are not present in the specification yet.

GetInvoicesUpcomingParametersQueryCustomerDetails'TaxExempt'EnumEmptyString

Represents the JSON value ""

GetInvoicesUpcomingParametersQueryCustomerDetails'TaxExempt'EnumExempt

Represents the JSON value "exempt"

GetInvoicesUpcomingParametersQueryCustomerDetails'TaxExempt'EnumNone

Represents the JSON value "none"

GetInvoicesUpcomingParametersQueryCustomerDetails'TaxExempt'EnumReverse

Represents the JSON value "reverse"

Instances

Instances details
Eq GetInvoicesUpcomingParametersQueryCustomerDetails'TaxExempt' Source # 
Instance details

Defined in StripeAPI.Operations.GetInvoicesUpcoming

Show GetInvoicesUpcomingParametersQueryCustomerDetails'TaxExempt' Source # 
Instance details

Defined in StripeAPI.Operations.GetInvoicesUpcoming

ToJSON GetInvoicesUpcomingParametersQueryCustomerDetails'TaxExempt' Source # 
Instance details

Defined in StripeAPI.Operations.GetInvoicesUpcoming

FromJSON GetInvoicesUpcomingParametersQueryCustomerDetails'TaxExempt' Source # 
Instance details

Defined in StripeAPI.Operations.GetInvoicesUpcoming

data GetInvoicesUpcomingParametersQueryCustomerDetails'TaxIds' Source #

Defines the object schema located at paths./v1/invoices/upcoming.GET.parameters.properties.queryCustomer_details.properties.tax_ids.items in the specification.

Instances

Instances details
Eq GetInvoicesUpcomingParametersQueryCustomerDetails'TaxIds' Source # 
Instance details

Defined in StripeAPI.Operations.GetInvoicesUpcoming

Show GetInvoicesUpcomingParametersQueryCustomerDetails'TaxIds' Source # 
Instance details

Defined in StripeAPI.Operations.GetInvoicesUpcoming

ToJSON GetInvoicesUpcomingParametersQueryCustomerDetails'TaxIds' Source # 
Instance details

Defined in StripeAPI.Operations.GetInvoicesUpcoming

FromJSON GetInvoicesUpcomingParametersQueryCustomerDetails'TaxIds' Source # 
Instance details

Defined in StripeAPI.Operations.GetInvoicesUpcoming

data GetInvoicesUpcomingParametersQueryCustomerDetails'TaxIds'Type' Source #

Defines the enum schema located at paths./v1/invoices/upcoming.GET.parameters.properties.queryCustomer_details.properties.tax_ids.items.properties.type in the specification.

Constructors

GetInvoicesUpcomingParametersQueryCustomerDetails'TaxIds'Type'Other Value

This case is used if the value encountered during decoding does not match any of the provided cases in the specification.

GetInvoicesUpcomingParametersQueryCustomerDetails'TaxIds'Type'Typed Text

This constructor can be used to send values to the server which are not present in the specification yet.

GetInvoicesUpcomingParametersQueryCustomerDetails'TaxIds'Type'EnumAeTrn

Represents the JSON value "ae_trn"

GetInvoicesUpcomingParametersQueryCustomerDetails'TaxIds'Type'EnumAuAbn

Represents the JSON value "au_abn"

GetInvoicesUpcomingParametersQueryCustomerDetails'TaxIds'Type'EnumBrCnpj

Represents the JSON value "br_cnpj"

GetInvoicesUpcomingParametersQueryCustomerDetails'TaxIds'Type'EnumBrCpf

Represents the JSON value "br_cpf"

GetInvoicesUpcomingParametersQueryCustomerDetails'TaxIds'Type'EnumCaBn

Represents the JSON value "ca_bn"

GetInvoicesUpcomingParametersQueryCustomerDetails'TaxIds'Type'EnumCaGstHst

Represents the JSON value "ca_gst_hst"

GetInvoicesUpcomingParametersQueryCustomerDetails'TaxIds'Type'EnumCaPstBc

Represents the JSON value "ca_pst_bc"

GetInvoicesUpcomingParametersQueryCustomerDetails'TaxIds'Type'EnumCaPstMb

Represents the JSON value "ca_pst_mb"

GetInvoicesUpcomingParametersQueryCustomerDetails'TaxIds'Type'EnumCaPstSk

Represents the JSON value "ca_pst_sk"

GetInvoicesUpcomingParametersQueryCustomerDetails'TaxIds'Type'EnumCaQst

Represents the JSON value "ca_qst"

GetInvoicesUpcomingParametersQueryCustomerDetails'TaxIds'Type'EnumChVat

Represents the JSON value "ch_vat"

GetInvoicesUpcomingParametersQueryCustomerDetails'TaxIds'Type'EnumClTin

Represents the JSON value "cl_tin"

GetInvoicesUpcomingParametersQueryCustomerDetails'TaxIds'Type'EnumEsCif

Represents the JSON value "es_cif"

GetInvoicesUpcomingParametersQueryCustomerDetails'TaxIds'Type'EnumEuVat

Represents the JSON value "eu_vat"

GetInvoicesUpcomingParametersQueryCustomerDetails'TaxIds'Type'EnumGbVat

Represents the JSON value "gb_vat"

GetInvoicesUpcomingParametersQueryCustomerDetails'TaxIds'Type'EnumHkBr

Represents the JSON value "hk_br"

GetInvoicesUpcomingParametersQueryCustomerDetails'TaxIds'Type'EnumIdNpwp

Represents the JSON value "id_npwp"

GetInvoicesUpcomingParametersQueryCustomerDetails'TaxIds'Type'EnumIlVat

Represents the JSON value "il_vat"

GetInvoicesUpcomingParametersQueryCustomerDetails'TaxIds'Type'EnumInGst

Represents the JSON value "in_gst"

GetInvoicesUpcomingParametersQueryCustomerDetails'TaxIds'Type'EnumJpCn

Represents the JSON value "jp_cn"

GetInvoicesUpcomingParametersQueryCustomerDetails'TaxIds'Type'EnumJpRn

Represents the JSON value "jp_rn"

GetInvoicesUpcomingParametersQueryCustomerDetails'TaxIds'Type'EnumKrBrn

Represents the JSON value "kr_brn"

GetInvoicesUpcomingParametersQueryCustomerDetails'TaxIds'Type'EnumLiUid

Represents the JSON value "li_uid"

GetInvoicesUpcomingParametersQueryCustomerDetails'TaxIds'Type'EnumMxRfc

Represents the JSON value "mx_rfc"

GetInvoicesUpcomingParametersQueryCustomerDetails'TaxIds'Type'EnumMyFrp

Represents the JSON value "my_frp"

GetInvoicesUpcomingParametersQueryCustomerDetails'TaxIds'Type'EnumMyItn

Represents the JSON value "my_itn"

GetInvoicesUpcomingParametersQueryCustomerDetails'TaxIds'Type'EnumMySst

Represents the JSON value "my_sst"

GetInvoicesUpcomingParametersQueryCustomerDetails'TaxIds'Type'EnumNoVat

Represents the JSON value "no_vat"

GetInvoicesUpcomingParametersQueryCustomerDetails'TaxIds'Type'EnumNzGst

Represents the JSON value "nz_gst"

GetInvoicesUpcomingParametersQueryCustomerDetails'TaxIds'Type'EnumRuInn

Represents the JSON value "ru_inn"

GetInvoicesUpcomingParametersQueryCustomerDetails'TaxIds'Type'EnumRuKpp

Represents the JSON value "ru_kpp"

GetInvoicesUpcomingParametersQueryCustomerDetails'TaxIds'Type'EnumSaVat

Represents the JSON value "sa_vat"

GetInvoicesUpcomingParametersQueryCustomerDetails'TaxIds'Type'EnumSgGst

Represents the JSON value "sg_gst"

GetInvoicesUpcomingParametersQueryCustomerDetails'TaxIds'Type'EnumSgUen

Represents the JSON value "sg_uen"

GetInvoicesUpcomingParametersQueryCustomerDetails'TaxIds'Type'EnumThVat

Represents the JSON value "th_vat"

GetInvoicesUpcomingParametersQueryCustomerDetails'TaxIds'Type'EnumTwVat

Represents the JSON value "tw_vat"

GetInvoicesUpcomingParametersQueryCustomerDetails'TaxIds'Type'EnumUsEin

Represents the JSON value "us_ein"

GetInvoicesUpcomingParametersQueryCustomerDetails'TaxIds'Type'EnumZaVat

Represents the JSON value "za_vat"

Instances

Instances details
Eq GetInvoicesUpcomingParametersQueryCustomerDetails'TaxIds'Type' Source # 
Instance details

Defined in StripeAPI.Operations.GetInvoicesUpcoming

Show GetInvoicesUpcomingParametersQueryCustomerDetails'TaxIds'Type' Source # 
Instance details

Defined in StripeAPI.Operations.GetInvoicesUpcoming

ToJSON GetInvoicesUpcomingParametersQueryCustomerDetails'TaxIds'Type' Source # 
Instance details

Defined in StripeAPI.Operations.GetInvoicesUpcoming

FromJSON GetInvoicesUpcomingParametersQueryCustomerDetails'TaxIds'Type' Source # 
Instance details

Defined in StripeAPI.Operations.GetInvoicesUpcoming

data GetInvoicesUpcomingParametersQueryDiscounts'OneOf1 Source #

Defines the object schema located at paths./v1/invoices/upcoming.GET.parameters.properties.queryDiscounts.anyOf.items in the specification.

Instances

Instances details
Eq GetInvoicesUpcomingParametersQueryDiscounts'OneOf1 Source # 
Instance details

Defined in StripeAPI.Operations.GetInvoicesUpcoming

Show GetInvoicesUpcomingParametersQueryDiscounts'OneOf1 Source # 
Instance details

Defined in StripeAPI.Operations.GetInvoicesUpcoming

ToJSON GetInvoicesUpcomingParametersQueryDiscounts'OneOf1 Source # 
Instance details

Defined in StripeAPI.Operations.GetInvoicesUpcoming

FromJSON GetInvoicesUpcomingParametersQueryDiscounts'OneOf1 Source # 
Instance details

Defined in StripeAPI.Operations.GetInvoicesUpcoming

data GetInvoicesUpcomingParametersQueryDiscounts'Variants Source #

Defines the oneOf schema located at paths./v1/invoices/upcoming.GET.parameters.properties.queryDiscounts.anyOf in the specification.

Represents the parameter named 'discounts'

The coupons to redeem into discounts for the invoice preview. If not specified, inherits the discount from the customer or subscription. Pass an empty string to avoid inheriting any discounts. To preview the upcoming invoice for a subscription that hasn't been created, use `coupon` instead.

Instances

Instances details
Eq GetInvoicesUpcomingParametersQueryDiscounts'Variants Source # 
Instance details

Defined in StripeAPI.Operations.GetInvoicesUpcoming

Show GetInvoicesUpcomingParametersQueryDiscounts'Variants Source # 
Instance details

Defined in StripeAPI.Operations.GetInvoicesUpcoming

ToJSON GetInvoicesUpcomingParametersQueryDiscounts'Variants Source # 
Instance details

Defined in StripeAPI.Operations.GetInvoicesUpcoming

FromJSON GetInvoicesUpcomingParametersQueryDiscounts'Variants Source # 
Instance details

Defined in StripeAPI.Operations.GetInvoicesUpcoming

data GetInvoicesUpcomingParametersQueryInvoiceItems' Source #

Defines the object schema located at paths./v1/invoices/upcoming.GET.parameters.properties.queryInvoice_items.items in the specification.

Constructors

GetInvoicesUpcomingParametersQueryInvoiceItems' 

Fields

data GetInvoicesUpcomingParametersQueryInvoiceItems'Discounts'OneOf1 Source #

Defines the object schema located at paths./v1/invoices/upcoming.GET.parameters.properties.queryInvoice_items.items.properties.discounts.anyOf.items in the specification.

Instances

Instances details
Eq GetInvoicesUpcomingParametersQueryInvoiceItems'Discounts'OneOf1 Source # 
Instance details

Defined in StripeAPI.Operations.GetInvoicesUpcoming

Show GetInvoicesUpcomingParametersQueryInvoiceItems'Discounts'OneOf1 Source # 
Instance details

Defined in StripeAPI.Operations.GetInvoicesUpcoming

ToJSON GetInvoicesUpcomingParametersQueryInvoiceItems'Discounts'OneOf1 Source # 
Instance details

Defined in StripeAPI.Operations.GetInvoicesUpcoming

FromJSON GetInvoicesUpcomingParametersQueryInvoiceItems'Discounts'OneOf1 Source # 
Instance details

Defined in StripeAPI.Operations.GetInvoicesUpcoming

data GetInvoicesUpcomingParametersQueryInvoiceItems'Discounts'Variants Source #

Defines the oneOf schema located at paths./v1/invoices/upcoming.GET.parameters.properties.queryInvoice_items.items.properties.discounts.anyOf in the specification.

Instances

Instances details
Eq GetInvoicesUpcomingParametersQueryInvoiceItems'Discounts'Variants Source # 
Instance details

Defined in StripeAPI.Operations.GetInvoicesUpcoming

Show GetInvoicesUpcomingParametersQueryInvoiceItems'Discounts'Variants Source # 
Instance details

Defined in StripeAPI.Operations.GetInvoicesUpcoming

ToJSON GetInvoicesUpcomingParametersQueryInvoiceItems'Discounts'Variants Source # 
Instance details

Defined in StripeAPI.Operations.GetInvoicesUpcoming

FromJSON GetInvoicesUpcomingParametersQueryInvoiceItems'Discounts'Variants Source # 
Instance details

Defined in StripeAPI.Operations.GetInvoicesUpcoming

data GetInvoicesUpcomingParametersQueryInvoiceItems'Metadata'Variants Source #

Defines the oneOf schema located at paths./v1/invoices/upcoming.GET.parameters.properties.queryInvoice_items.items.properties.metadata.anyOf in the specification.

Instances

Instances details
Eq GetInvoicesUpcomingParametersQueryInvoiceItems'Metadata'Variants Source # 
Instance details

Defined in StripeAPI.Operations.GetInvoicesUpcoming

Show GetInvoicesUpcomingParametersQueryInvoiceItems'Metadata'Variants Source # 
Instance details

Defined in StripeAPI.Operations.GetInvoicesUpcoming

ToJSON GetInvoicesUpcomingParametersQueryInvoiceItems'Metadata'Variants Source # 
Instance details

Defined in StripeAPI.Operations.GetInvoicesUpcoming

FromJSON GetInvoicesUpcomingParametersQueryInvoiceItems'Metadata'Variants Source # 
Instance details

Defined in StripeAPI.Operations.GetInvoicesUpcoming

data GetInvoicesUpcomingParametersQueryInvoiceItems'Period' Source #

Defines the object schema located at paths./v1/invoices/upcoming.GET.parameters.properties.queryInvoice_items.items.properties.period in the specification.

Instances

Instances details
Eq GetInvoicesUpcomingParametersQueryInvoiceItems'Period' Source # 
Instance details

Defined in StripeAPI.Operations.GetInvoicesUpcoming

Show GetInvoicesUpcomingParametersQueryInvoiceItems'Period' Source # 
Instance details

Defined in StripeAPI.Operations.GetInvoicesUpcoming

ToJSON GetInvoicesUpcomingParametersQueryInvoiceItems'Period' Source # 
Instance details

Defined in StripeAPI.Operations.GetInvoicesUpcoming

FromJSON GetInvoicesUpcomingParametersQueryInvoiceItems'Period' Source # 
Instance details

Defined in StripeAPI.Operations.GetInvoicesUpcoming

data GetInvoicesUpcomingParametersQueryInvoiceItems'PriceData' Source #

Defines the object schema located at paths./v1/invoices/upcoming.GET.parameters.properties.queryInvoice_items.items.properties.price_data in the specification.

Instances

Instances details
Eq GetInvoicesUpcomingParametersQueryInvoiceItems'PriceData' Source # 
Instance details

Defined in StripeAPI.Operations.GetInvoicesUpcoming

Show GetInvoicesUpcomingParametersQueryInvoiceItems'PriceData' Source # 
Instance details

Defined in StripeAPI.Operations.GetInvoicesUpcoming

ToJSON GetInvoicesUpcomingParametersQueryInvoiceItems'PriceData' Source # 
Instance details

Defined in StripeAPI.Operations.GetInvoicesUpcoming

FromJSON GetInvoicesUpcomingParametersQueryInvoiceItems'PriceData' Source # 
Instance details

Defined in StripeAPI.Operations.GetInvoicesUpcoming

data GetInvoicesUpcomingParametersQueryInvoiceItems'PriceData'TaxBehavior' Source #

Defines the enum schema located at paths./v1/invoices/upcoming.GET.parameters.properties.queryInvoice_items.items.properties.price_data.properties.tax_behavior in the specification.

Constructors

GetInvoicesUpcomingParametersQueryInvoiceItems'PriceData'TaxBehavior'Other Value

This case is used if the value encountered during decoding does not match any of the provided cases in the specification.

GetInvoicesUpcomingParametersQueryInvoiceItems'PriceData'TaxBehavior'Typed Text

This constructor can be used to send values to the server which are not present in the specification yet.

GetInvoicesUpcomingParametersQueryInvoiceItems'PriceData'TaxBehavior'EnumExclusive

Represents the JSON value "exclusive"

GetInvoicesUpcomingParametersQueryInvoiceItems'PriceData'TaxBehavior'EnumInclusive

Represents the JSON value "inclusive"

GetInvoicesUpcomingParametersQueryInvoiceItems'PriceData'TaxBehavior'EnumUnspecified

Represents the JSON value "unspecified"

Instances

Instances details
Eq GetInvoicesUpcomingParametersQueryInvoiceItems'PriceData'TaxBehavior' Source # 
Instance details

Defined in StripeAPI.Operations.GetInvoicesUpcoming

Show GetInvoicesUpcomingParametersQueryInvoiceItems'PriceData'TaxBehavior' Source # 
Instance details

Defined in StripeAPI.Operations.GetInvoicesUpcoming

ToJSON GetInvoicesUpcomingParametersQueryInvoiceItems'PriceData'TaxBehavior' Source # 
Instance details

Defined in StripeAPI.Operations.GetInvoicesUpcoming

FromJSON GetInvoicesUpcomingParametersQueryInvoiceItems'PriceData'TaxBehavior' Source # 
Instance details

Defined in StripeAPI.Operations.GetInvoicesUpcoming

data GetInvoicesUpcomingParametersQueryInvoiceItems'TaxRates'Variants Source #

Defines the oneOf schema located at paths./v1/invoices/upcoming.GET.parameters.properties.queryInvoice_items.items.properties.tax_rates.anyOf in the specification.

Instances

Instances details
Eq GetInvoicesUpcomingParametersQueryInvoiceItems'TaxRates'Variants Source # 
Instance details

Defined in StripeAPI.Operations.GetInvoicesUpcoming

Show GetInvoicesUpcomingParametersQueryInvoiceItems'TaxRates'Variants Source # 
Instance details

Defined in StripeAPI.Operations.GetInvoicesUpcoming

ToJSON GetInvoicesUpcomingParametersQueryInvoiceItems'TaxRates'Variants Source # 
Instance details

Defined in StripeAPI.Operations.GetInvoicesUpcoming

FromJSON GetInvoicesUpcomingParametersQueryInvoiceItems'TaxRates'Variants Source # 
Instance details

Defined in StripeAPI.Operations.GetInvoicesUpcoming

data GetInvoicesUpcomingParametersQuerySubscriptionBillingCycleAnchor'OneOf1 Source #

Defines the enum schema located at paths./v1/invoices/upcoming.GET.parameters.properties.querySubscription_billing_cycle_anchor.anyOf in the specification.

Constructors

GetInvoicesUpcomingParametersQuerySubscriptionBillingCycleAnchor'OneOf1Other Value

This case is used if the value encountered during decoding does not match any of the provided cases in the specification.

GetInvoicesUpcomingParametersQuerySubscriptionBillingCycleAnchor'OneOf1Typed Text

This constructor can be used to send values to the server which are not present in the specification yet.

GetInvoicesUpcomingParametersQuerySubscriptionBillingCycleAnchor'OneOf1EnumNow

Represents the JSON value "now"

GetInvoicesUpcomingParametersQuerySubscriptionBillingCycleAnchor'OneOf1EnumUnchanged

Represents the JSON value "unchanged"

Instances

Instances details
Eq GetInvoicesUpcomingParametersQuerySubscriptionBillingCycleAnchor'OneOf1 Source # 
Instance details

Defined in StripeAPI.Operations.GetInvoicesUpcoming

Show GetInvoicesUpcomingParametersQuerySubscriptionBillingCycleAnchor'OneOf1 Source # 
Instance details

Defined in StripeAPI.Operations.GetInvoicesUpcoming

ToJSON GetInvoicesUpcomingParametersQuerySubscriptionBillingCycleAnchor'OneOf1 Source # 
Instance details

Defined in StripeAPI.Operations.GetInvoicesUpcoming

FromJSON GetInvoicesUpcomingParametersQuerySubscriptionBillingCycleAnchor'OneOf1 Source # 
Instance details

Defined in StripeAPI.Operations.GetInvoicesUpcoming

data GetInvoicesUpcomingParametersQuerySubscriptionBillingCycleAnchor'Variants Source #

Defines the oneOf schema located at paths./v1/invoices/upcoming.GET.parameters.properties.querySubscription_billing_cycle_anchor.anyOf in the specification.

Represents the parameter named 'subscription_billing_cycle_anchor'

For new subscriptions, a future timestamp to anchor the subscription's billing cycle. This is used to determine the date of the first full invoice, and, for plans with `month` or `year` intervals, the day of the month for subsequent invoices. For existing subscriptions, the value can only be set to `now` or `unchanged`.

Instances

Instances details
Eq GetInvoicesUpcomingParametersQuerySubscriptionBillingCycleAnchor'Variants Source # 
Instance details

Defined in StripeAPI.Operations.GetInvoicesUpcoming

Show GetInvoicesUpcomingParametersQuerySubscriptionBillingCycleAnchor'Variants Source # 
Instance details

Defined in StripeAPI.Operations.GetInvoicesUpcoming

ToJSON GetInvoicesUpcomingParametersQuerySubscriptionBillingCycleAnchor'Variants Source # 
Instance details

Defined in StripeAPI.Operations.GetInvoicesUpcoming

FromJSON GetInvoicesUpcomingParametersQuerySubscriptionBillingCycleAnchor'Variants Source # 
Instance details

Defined in StripeAPI.Operations.GetInvoicesUpcoming

data GetInvoicesUpcomingParametersQuerySubscriptionCancelAt'Variants Source #

Defines the oneOf schema located at paths./v1/invoices/upcoming.GET.parameters.properties.querySubscription_cancel_at.anyOf in the specification.

Represents the parameter named 'subscription_cancel_at'

Timestamp indicating when the subscription should be scheduled to cancel. Will prorate if within the current period and prorations have been enabled using `proration_behavior`.

Instances

Instances details
Eq GetInvoicesUpcomingParametersQuerySubscriptionCancelAt'Variants Source # 
Instance details

Defined in StripeAPI.Operations.GetInvoicesUpcoming

Show GetInvoicesUpcomingParametersQuerySubscriptionCancelAt'Variants Source # 
Instance details

Defined in StripeAPI.Operations.GetInvoicesUpcoming

ToJSON GetInvoicesUpcomingParametersQuerySubscriptionCancelAt'Variants Source # 
Instance details

Defined in StripeAPI.Operations.GetInvoicesUpcoming

FromJSON GetInvoicesUpcomingParametersQuerySubscriptionCancelAt'Variants Source # 
Instance details

Defined in StripeAPI.Operations.GetInvoicesUpcoming

data GetInvoicesUpcomingParametersQuerySubscriptionDefaultTaxRates'Variants Source #

Defines the oneOf schema located at paths./v1/invoices/upcoming.GET.parameters.properties.querySubscription_default_tax_rates.anyOf in the specification.

Represents the parameter named 'subscription_default_tax_rates'

If provided, the invoice returned will preview updating or creating a subscription with these default tax rates. The default tax rates will apply to any line item that does not have `tax_rates` set.

Instances

Instances details
Eq GetInvoicesUpcomingParametersQuerySubscriptionDefaultTaxRates'Variants Source # 
Instance details

Defined in StripeAPI.Operations.GetInvoicesUpcoming

Show GetInvoicesUpcomingParametersQuerySubscriptionDefaultTaxRates'Variants Source # 
Instance details

Defined in StripeAPI.Operations.GetInvoicesUpcoming

ToJSON GetInvoicesUpcomingParametersQuerySubscriptionDefaultTaxRates'Variants Source # 
Instance details

Defined in StripeAPI.Operations.GetInvoicesUpcoming

FromJSON GetInvoicesUpcomingParametersQuerySubscriptionDefaultTaxRates'Variants Source # 
Instance details

Defined in StripeAPI.Operations.GetInvoicesUpcoming

data GetInvoicesUpcomingParametersQuerySubscriptionItems' Source #

Defines the object schema located at paths./v1/invoices/upcoming.GET.parameters.properties.querySubscription_items.items in the specification.

Instances

Instances details
Eq GetInvoicesUpcomingParametersQuerySubscriptionItems' Source # 
Instance details

Defined in StripeAPI.Operations.GetInvoicesUpcoming

Show GetInvoicesUpcomingParametersQuerySubscriptionItems' Source # 
Instance details

Defined in StripeAPI.Operations.GetInvoicesUpcoming

ToJSON GetInvoicesUpcomingParametersQuerySubscriptionItems' Source # 
Instance details

Defined in StripeAPI.Operations.GetInvoicesUpcoming

FromJSON GetInvoicesUpcomingParametersQuerySubscriptionItems' Source # 
Instance details

Defined in StripeAPI.Operations.GetInvoicesUpcoming

data GetInvoicesUpcomingParametersQuerySubscriptionItems'BillingThresholds'OneOf1 Source #

Defines the object schema located at paths./v1/invoices/upcoming.GET.parameters.properties.querySubscription_items.items.properties.billing_thresholds.anyOf in the specification.

Instances

Instances details
Eq GetInvoicesUpcomingParametersQuerySubscriptionItems'BillingThresholds'OneOf1 Source # 
Instance details

Defined in StripeAPI.Operations.GetInvoicesUpcoming

Show GetInvoicesUpcomingParametersQuerySubscriptionItems'BillingThresholds'OneOf1 Source # 
Instance details

Defined in StripeAPI.Operations.GetInvoicesUpcoming

ToJSON GetInvoicesUpcomingParametersQuerySubscriptionItems'BillingThresholds'OneOf1 Source # 
Instance details

Defined in StripeAPI.Operations.GetInvoicesUpcoming

FromJSON GetInvoicesUpcomingParametersQuerySubscriptionItems'BillingThresholds'OneOf1 Source # 
Instance details

Defined in StripeAPI.Operations.GetInvoicesUpcoming

data GetInvoicesUpcomingParametersQuerySubscriptionItems'BillingThresholds'Variants Source #

Defines the oneOf schema located at paths./v1/invoices/upcoming.GET.parameters.properties.querySubscription_items.items.properties.billing_thresholds.anyOf in the specification.

Instances

Instances details
Eq GetInvoicesUpcomingParametersQuerySubscriptionItems'BillingThresholds'Variants Source # 
Instance details

Defined in StripeAPI.Operations.GetInvoicesUpcoming

Show GetInvoicesUpcomingParametersQuerySubscriptionItems'BillingThresholds'Variants Source # 
Instance details

Defined in StripeAPI.Operations.GetInvoicesUpcoming

ToJSON GetInvoicesUpcomingParametersQuerySubscriptionItems'BillingThresholds'Variants Source # 
Instance details

Defined in StripeAPI.Operations.GetInvoicesUpcoming

FromJSON GetInvoicesUpcomingParametersQuerySubscriptionItems'BillingThresholds'Variants Source # 
Instance details

Defined in StripeAPI.Operations.GetInvoicesUpcoming

data GetInvoicesUpcomingParametersQuerySubscriptionItems'Metadata'Variants Source #

Defines the oneOf schema located at paths./v1/invoices/upcoming.GET.parameters.properties.querySubscription_items.items.properties.metadata.anyOf in the specification.

Instances

Instances details
Eq GetInvoicesUpcomingParametersQuerySubscriptionItems'Metadata'Variants Source # 
Instance details

Defined in StripeAPI.Operations.GetInvoicesUpcoming

Show GetInvoicesUpcomingParametersQuerySubscriptionItems'Metadata'Variants Source # 
Instance details

Defined in StripeAPI.Operations.GetInvoicesUpcoming

ToJSON GetInvoicesUpcomingParametersQuerySubscriptionItems'Metadata'Variants Source # 
Instance details

Defined in StripeAPI.Operations.GetInvoicesUpcoming

FromJSON GetInvoicesUpcomingParametersQuerySubscriptionItems'Metadata'Variants Source # 
Instance details

Defined in StripeAPI.Operations.GetInvoicesUpcoming

data GetInvoicesUpcomingParametersQuerySubscriptionItems'PriceData' Source #

Defines the object schema located at paths./v1/invoices/upcoming.GET.parameters.properties.querySubscription_items.items.properties.price_data in the specification.

Instances

Instances details
Eq GetInvoicesUpcomingParametersQuerySubscriptionItems'PriceData' Source # 
Instance details

Defined in StripeAPI.Operations.GetInvoicesUpcoming

Show GetInvoicesUpcomingParametersQuerySubscriptionItems'PriceData' Source # 
Instance details

Defined in StripeAPI.Operations.GetInvoicesUpcoming

ToJSON GetInvoicesUpcomingParametersQuerySubscriptionItems'PriceData' Source # 
Instance details

Defined in StripeAPI.Operations.GetInvoicesUpcoming

FromJSON GetInvoicesUpcomingParametersQuerySubscriptionItems'PriceData' Source # 
Instance details

Defined in StripeAPI.Operations.GetInvoicesUpcoming

data GetInvoicesUpcomingParametersQuerySubscriptionItems'PriceData'Recurring' Source #

Defines the object schema located at paths./v1/invoices/upcoming.GET.parameters.properties.querySubscription_items.items.properties.price_data.properties.recurring in the specification.

Instances

Instances details
Eq GetInvoicesUpcomingParametersQuerySubscriptionItems'PriceData'Recurring' Source # 
Instance details

Defined in StripeAPI.Operations.GetInvoicesUpcoming

Show GetInvoicesUpcomingParametersQuerySubscriptionItems'PriceData'Recurring' Source # 
Instance details

Defined in StripeAPI.Operations.GetInvoicesUpcoming

ToJSON GetInvoicesUpcomingParametersQuerySubscriptionItems'PriceData'Recurring' Source # 
Instance details

Defined in StripeAPI.Operations.GetInvoicesUpcoming

FromJSON GetInvoicesUpcomingParametersQuerySubscriptionItems'PriceData'Recurring' Source # 
Instance details

Defined in StripeAPI.Operations.GetInvoicesUpcoming

data GetInvoicesUpcomingParametersQuerySubscriptionItems'PriceData'Recurring'Interval' Source #

Defines the enum schema located at paths./v1/invoices/upcoming.GET.parameters.properties.querySubscription_items.items.properties.price_data.properties.recurring.properties.interval in the specification.

Constructors

GetInvoicesUpcomingParametersQuerySubscriptionItems'PriceData'Recurring'Interval'Other Value

This case is used if the value encountered during decoding does not match any of the provided cases in the specification.

GetInvoicesUpcomingParametersQuerySubscriptionItems'PriceData'Recurring'Interval'Typed Text

This constructor can be used to send values to the server which are not present in the specification yet.

GetInvoicesUpcomingParametersQuerySubscriptionItems'PriceData'Recurring'Interval'EnumDay

Represents the JSON value "day"

GetInvoicesUpcomingParametersQuerySubscriptionItems'PriceData'Recurring'Interval'EnumMonth

Represents the JSON value "month"

GetInvoicesUpcomingParametersQuerySubscriptionItems'PriceData'Recurring'Interval'EnumWeek

Represents the JSON value "week"

GetInvoicesUpcomingParametersQuerySubscriptionItems'PriceData'Recurring'Interval'EnumYear

Represents the JSON value "year"

Instances

Instances details
Eq GetInvoicesUpcomingParametersQuerySubscriptionItems'PriceData'Recurring'Interval' Source # 
Instance details

Defined in StripeAPI.Operations.GetInvoicesUpcoming

Show GetInvoicesUpcomingParametersQuerySubscriptionItems'PriceData'Recurring'Interval' Source # 
Instance details

Defined in StripeAPI.Operations.GetInvoicesUpcoming

ToJSON GetInvoicesUpcomingParametersQuerySubscriptionItems'PriceData'Recurring'Interval' Source # 
Instance details

Defined in StripeAPI.Operations.GetInvoicesUpcoming

FromJSON GetInvoicesUpcomingParametersQuerySubscriptionItems'PriceData'Recurring'Interval' Source # 
Instance details

Defined in StripeAPI.Operations.GetInvoicesUpcoming

data GetInvoicesUpcomingParametersQuerySubscriptionItems'PriceData'TaxBehavior' Source #

Defines the enum schema located at paths./v1/invoices/upcoming.GET.parameters.properties.querySubscription_items.items.properties.price_data.properties.tax_behavior in the specification.

Constructors

GetInvoicesUpcomingParametersQuerySubscriptionItems'PriceData'TaxBehavior'Other Value

This case is used if the value encountered during decoding does not match any of the provided cases in the specification.

GetInvoicesUpcomingParametersQuerySubscriptionItems'PriceData'TaxBehavior'Typed Text

This constructor can be used to send values to the server which are not present in the specification yet.

GetInvoicesUpcomingParametersQuerySubscriptionItems'PriceData'TaxBehavior'EnumExclusive

Represents the JSON value "exclusive"

GetInvoicesUpcomingParametersQuerySubscriptionItems'PriceData'TaxBehavior'EnumInclusive

Represents the JSON value "inclusive"

GetInvoicesUpcomingParametersQuerySubscriptionItems'PriceData'TaxBehavior'EnumUnspecified

Represents the JSON value "unspecified"

Instances

Instances details
Eq GetInvoicesUpcomingParametersQuerySubscriptionItems'PriceData'TaxBehavior' Source # 
Instance details

Defined in StripeAPI.Operations.GetInvoicesUpcoming

Show GetInvoicesUpcomingParametersQuerySubscriptionItems'PriceData'TaxBehavior' Source # 
Instance details

Defined in StripeAPI.Operations.GetInvoicesUpcoming

ToJSON GetInvoicesUpcomingParametersQuerySubscriptionItems'PriceData'TaxBehavior' Source # 
Instance details

Defined in StripeAPI.Operations.GetInvoicesUpcoming

FromJSON GetInvoicesUpcomingParametersQuerySubscriptionItems'PriceData'TaxBehavior' Source # 
Instance details

Defined in StripeAPI.Operations.GetInvoicesUpcoming

data GetInvoicesUpcomingParametersQuerySubscriptionItems'TaxRates'Variants Source #

Defines the oneOf schema located at paths./v1/invoices/upcoming.GET.parameters.properties.querySubscription_items.items.properties.tax_rates.anyOf in the specification.

Instances

Instances details
Eq GetInvoicesUpcomingParametersQuerySubscriptionItems'TaxRates'Variants Source # 
Instance details

Defined in StripeAPI.Operations.GetInvoicesUpcoming

Show GetInvoicesUpcomingParametersQuerySubscriptionItems'TaxRates'Variants Source # 
Instance details

Defined in StripeAPI.Operations.GetInvoicesUpcoming

ToJSON GetInvoicesUpcomingParametersQuerySubscriptionItems'TaxRates'Variants Source # 
Instance details

Defined in StripeAPI.Operations.GetInvoicesUpcoming

FromJSON GetInvoicesUpcomingParametersQuerySubscriptionItems'TaxRates'Variants Source # 
Instance details

Defined in StripeAPI.Operations.GetInvoicesUpcoming

data GetInvoicesUpcomingParametersQuerySubscriptionProrationBehavior' Source #

Defines the enum schema located at paths./v1/invoices/upcoming.GET.parameters.properties.querySubscription_proration_behavior in the specification.

Represents the parameter named 'subscription_proration_behavior'

Determines how to handle prorations when the billing cycle changes (e.g., when switching plans, resetting `billing_cycle_anchor=now`, or starting a trial), or if an item's `quantity` changes. Valid values are `create_prorations`, `none`, or `always_invoice`.

Passing `create_prorations` will cause proration invoice items to be created when applicable. These proration items will only be invoiced immediately under certain conditions. In order to always invoice immediately for prorations, pass `always_invoice`.

Prorations can be disabled by passing `none`.

Constructors

GetInvoicesUpcomingParametersQuerySubscriptionProrationBehavior'Other Value

This case is used if the value encountered during decoding does not match any of the provided cases in the specification.

GetInvoicesUpcomingParametersQuerySubscriptionProrationBehavior'Typed Text

This constructor can be used to send values to the server which are not present in the specification yet.

GetInvoicesUpcomingParametersQuerySubscriptionProrationBehavior'EnumAlwaysInvoice

Represents the JSON value "always_invoice"

GetInvoicesUpcomingParametersQuerySubscriptionProrationBehavior'EnumCreateProrations

Represents the JSON value "create_prorations"

GetInvoicesUpcomingParametersQuerySubscriptionProrationBehavior'EnumNone

Represents the JSON value "none"

Instances

Instances details
Eq GetInvoicesUpcomingParametersQuerySubscriptionProrationBehavior' Source # 
Instance details

Defined in StripeAPI.Operations.GetInvoicesUpcoming

Show GetInvoicesUpcomingParametersQuerySubscriptionProrationBehavior' Source # 
Instance details

Defined in StripeAPI.Operations.GetInvoicesUpcoming

ToJSON GetInvoicesUpcomingParametersQuerySubscriptionProrationBehavior' Source # 
Instance details

Defined in StripeAPI.Operations.GetInvoicesUpcoming

FromJSON GetInvoicesUpcomingParametersQuerySubscriptionProrationBehavior' Source # 
Instance details

Defined in StripeAPI.Operations.GetInvoicesUpcoming

data GetInvoicesUpcomingParametersQuerySubscriptionTrialEnd'Variants Source #

Defines the oneOf schema located at paths./v1/invoices/upcoming.GET.parameters.properties.querySubscription_trial_end.anyOf in the specification.

Represents the parameter named 'subscription_trial_end'

If provided, the invoice returned will preview updating or creating a subscription with that trial end. If set, one of `subscription_items` or `subscription` is required.

Instances

Instances details
Eq GetInvoicesUpcomingParametersQuerySubscriptionTrialEnd'Variants Source # 
Instance details

Defined in StripeAPI.Operations.GetInvoicesUpcoming

Show GetInvoicesUpcomingParametersQuerySubscriptionTrialEnd'Variants Source # 
Instance details

Defined in StripeAPI.Operations.GetInvoicesUpcoming

ToJSON GetInvoicesUpcomingParametersQuerySubscriptionTrialEnd'Variants Source # 
Instance details

Defined in StripeAPI.Operations.GetInvoicesUpcoming

FromJSON GetInvoicesUpcomingParametersQuerySubscriptionTrialEnd'Variants Source # 
Instance details

Defined in StripeAPI.Operations.GetInvoicesUpcoming

data GetInvoicesUpcomingResponse Source #

Represents a response of the operation getInvoicesUpcoming.

The response constructor is chosen by the status code of the response. If no case matches (no specific case for the response code, no range case, no default case), GetInvoicesUpcomingResponseError is used.

Constructors

GetInvoicesUpcomingResponseError String

Means either no matching case available or a parse error

GetInvoicesUpcomingResponse200 Invoice

Successful response.

GetInvoicesUpcomingResponseDefault Error

Error response.