stripeapi-2.0.0.1: Stripe-Library
Safe HaskellNone
LanguageHaskell2010

StripeAPI.Operations.GetInvoicesInvoice

Description

Contains the different functions to run the operation getInvoicesInvoice

Synopsis

Documentation

getInvoicesInvoice Source #

Arguments

:: forall m. MonadHTTP m 
=> GetInvoicesInvoiceParameters

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

-> ClientT m (Response GetInvoicesInvoiceResponse)

Monadic computation which returns the result of the operation

GET /v1/invoices/{invoice}

<p>Retrieves the invoice with the given ID.</p>

data GetInvoicesInvoiceParameters Source #

Defines the object schema located at paths./v1/invoices/{invoice}.GET.parameters in the specification.

Constructors

GetInvoicesInvoiceParameters 

Fields

data GetInvoicesInvoiceResponse Source #

Represents a response of the operation getInvoicesInvoice.

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), GetInvoicesInvoiceResponseError is used.

Constructors

GetInvoicesInvoiceResponseError String

Means either no matching case available or a parse error

GetInvoicesInvoiceResponse200 Invoice

Successful response.

GetInvoicesInvoiceResponseDefault Error

Error response.