stripeapi-0.1.0.0: Stripe-Library

Safe HaskellNone
LanguageHaskell2010

StripeAPI.Operations.PostInvoiceitemsInvoiceitem

Description

Contains the different functions to run the operation postInvoiceitemsInvoiceitem

Synopsis

Documentation

postInvoiceitemsInvoiceitem Source #

Arguments

:: (MonadHTTP m, SecurityScheme s) 
=> Configuration s

The configuration to use in the request

-> String

invoiceitem | Constraints: Maximum length of 5000

-> PostInvoiceitemsInvoiceitemRequestBody

The request body to send

-> m (Either HttpException (Response PostInvoiceitemsInvoiceitemResponse))

Monad containing the result of the operation

POST /v1/invoiceitems/{invoiceitem}

<p>Updates the amount or description of an invoice item on an upcoming invoice. Updating an invoice item is only possible before the invoice it’s attached to is closed.</p>

data PostInvoiceitemsInvoiceitemRequestBody Source #

Defines the data type for the schema postInvoiceitemsInvoiceitemRequestBody

Constructors

PostInvoiceitemsInvoiceitemRequestBody 

Fields

data PostInvoiceitemsInvoiceitemRequestBodyMetadata' Source #

Defines the data type for the schema postInvoiceitemsInvoiceitemRequestBodyMetadata'

Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.

Instances
Eq PostInvoiceitemsInvoiceitemRequestBodyMetadata' Source # 
Instance details

Defined in StripeAPI.Operations.PostInvoiceitemsInvoiceitem

Show PostInvoiceitemsInvoiceitemRequestBodyMetadata' Source # 
Instance details

Defined in StripeAPI.Operations.PostInvoiceitemsInvoiceitem

ToJSON PostInvoiceitemsInvoiceitemRequestBodyMetadata' Source # 
Instance details

Defined in StripeAPI.Operations.PostInvoiceitemsInvoiceitem

FromJSON PostInvoiceitemsInvoiceitemRequestBodyMetadata' Source # 
Instance details

Defined in StripeAPI.Operations.PostInvoiceitemsInvoiceitem

data PostInvoiceitemsInvoiceitemRequestBodyPeriod' Source #

Defines the data type for the schema postInvoiceitemsInvoiceitemRequestBodyPeriod'

The period associated with this invoice item.

data PostInvoiceitemsInvoiceitemRequestBodyTaxRates'OneOf1 Source #

Defines the enum schema postInvoiceitemsInvoiceitemRequestBodyTax_rates'OneOf1

Instances
Eq PostInvoiceitemsInvoiceitemRequestBodyTaxRates'OneOf1 Source # 
Instance details

Defined in StripeAPI.Operations.PostInvoiceitemsInvoiceitem

Show PostInvoiceitemsInvoiceitemRequestBodyTaxRates'OneOf1 Source # 
Instance details

Defined in StripeAPI.Operations.PostInvoiceitemsInvoiceitem

ToJSON PostInvoiceitemsInvoiceitemRequestBodyTaxRates'OneOf1 Source # 
Instance details

Defined in StripeAPI.Operations.PostInvoiceitemsInvoiceitem

FromJSON PostInvoiceitemsInvoiceitemRequestBodyTaxRates'OneOf1 Source # 
Instance details

Defined in StripeAPI.Operations.PostInvoiceitemsInvoiceitem

data PostInvoiceitemsInvoiceitemRequestBodyTaxRates'Variants Source #

Define the one-of schema postInvoiceitemsInvoiceitemRequestBodyTax_rates'

The tax rates which apply to the invoice item. When set, the `default_tax_rates` on the invoice do not apply to this invoice item. Pass an empty string to remove previously-defined tax rates.

Instances
Eq PostInvoiceitemsInvoiceitemRequestBodyTaxRates'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostInvoiceitemsInvoiceitem

Show PostInvoiceitemsInvoiceitemRequestBodyTaxRates'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostInvoiceitemsInvoiceitem

Generic PostInvoiceitemsInvoiceitemRequestBodyTaxRates'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostInvoiceitemsInvoiceitem

ToJSON PostInvoiceitemsInvoiceitemRequestBodyTaxRates'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostInvoiceitemsInvoiceitem

FromJSON PostInvoiceitemsInvoiceitemRequestBodyTaxRates'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostInvoiceitemsInvoiceitem

type Rep PostInvoiceitemsInvoiceitemRequestBodyTaxRates'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostInvoiceitemsInvoiceitem

type Rep PostInvoiceitemsInvoiceitemRequestBodyTaxRates'Variants = D1 (MetaData "PostInvoiceitemsInvoiceitemRequestBodyTaxRates'Variants" "StripeAPI.Operations.PostInvoiceitemsInvoiceitem" "stripeapi-0.1.0.0-A3hJyYFbMZN6w4qjBpK6b6" False) (C1 (MetaCons "PostInvoiceitemsInvoiceitemRequestBodyTaxRates'PostInvoiceitemsInvoiceitemRequestBodyTaxRates'OneOf1" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 PostInvoiceitemsInvoiceitemRequestBodyTaxRates'OneOf1)) :+: C1 (MetaCons "PostInvoiceitemsInvoiceitemRequestBodyTaxRates'ListString" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 [String])))