Safe Haskell | None |
---|---|
Language | Haskell2010 |
StripeAPI.Operations.GetCreditNotesId
Description
Contains the different functions to run the operation getCreditNotesId
Synopsis
Documentation
Arguments
:: forall m. MonadHTTP m | |
=> GetCreditNotesIdParameters | Contains all available parameters of this operation (query and path parameters) |
-> ClientT m (Response GetCreditNotesIdResponse) | Monadic computation which returns the result of the operation |
GET /v1/credit_notes/{id}
<p>Retrieves the credit note object with the given identifier.</p>
data GetCreditNotesIdParameters Source #
Defines the object schema located at paths./v1/credit_notes/{id}.GET.parameters
in the specification.
Constructors
GetCreditNotesIdParameters | |
Fields
|
Instances
mkGetCreditNotesIdParameters Source #
Create a new GetCreditNotesIdParameters
with all required fields.
data GetCreditNotesIdResponse Source #
Represents a response of the operation getCreditNotesId
.
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), GetCreditNotesIdResponseError
is used.
Constructors
GetCreditNotesIdResponseError String | Means either no matching case available or a parse error |
GetCreditNotesIdResponse200 CreditNote | Successful response. |
GetCreditNotesIdResponseDefault Error | Error response. |
Instances
Eq GetCreditNotesIdResponse Source # | |
Defined in StripeAPI.Operations.GetCreditNotesId Methods (==) :: GetCreditNotesIdResponse -> GetCreditNotesIdResponse -> Bool # (/=) :: GetCreditNotesIdResponse -> GetCreditNotesIdResponse -> Bool # | |
Show GetCreditNotesIdResponse Source # | |
Defined in StripeAPI.Operations.GetCreditNotesId Methods showsPrec :: Int -> GetCreditNotesIdResponse -> ShowS # show :: GetCreditNotesIdResponse -> String # showList :: [GetCreditNotesIdResponse] -> ShowS # |