Safe Haskell | None |
---|---|
Language | Haskell2010 |
Contains the different functions to run the operation getCustomersCustomerCardsId
Synopsis
- getCustomersCustomerCardsId :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> String -> Maybe String -> String -> GetCustomersCustomerCardsIdRequestBody -> m (Either HttpException (Response GetCustomersCustomerCardsIdResponse))
- getCustomersCustomerCardsIdRaw :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> String -> Maybe String -> String -> GetCustomersCustomerCardsIdRequestBody -> m (Either HttpException (Response ByteString))
- getCustomersCustomerCardsIdM :: forall m s. (MonadHTTP m, SecurityScheme s) => String -> Maybe String -> String -> GetCustomersCustomerCardsIdRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response GetCustomersCustomerCardsIdResponse))
- getCustomersCustomerCardsIdRawM :: forall m s. (MonadHTTP m, SecurityScheme s) => String -> Maybe String -> String -> GetCustomersCustomerCardsIdRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response ByteString))
- data GetCustomersCustomerCardsIdRequestBody = GetCustomersCustomerCardsIdRequestBody {
- data GetCustomersCustomerCardsIdResponse
Documentation
getCustomersCustomerCardsId Source #
:: (MonadHTTP m, SecurityScheme s) | |
=> Configuration s | The configuration to use in the request |
-> String | customer | Constraints: Maximum length of 5000 |
-> Maybe String | expand: Specifies which fields in the response should be expanded. |
-> String | id | Constraints: Maximum length of 5000 |
-> GetCustomersCustomerCardsIdRequestBody | The request body to send |
-> m (Either HttpException (Response GetCustomersCustomerCardsIdResponse)) | Monad containing the result of the operation |
GET /v1/customers/{customer}/cards/{id}
<p>You can always see the 10 most recent cards directly on a customer; this method lets you retrieve details about a specific card stored on the customer.</p>
getCustomersCustomerCardsIdRaw :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> String -> Maybe String -> String -> GetCustomersCustomerCardsIdRequestBody -> m (Either HttpException (Response ByteString)) Source #
GET /v1/customers/{customer}/cards/{id}
The same as getCustomersCustomerCardsId
but returns the raw ByteString
getCustomersCustomerCardsIdM :: forall m s. (MonadHTTP m, SecurityScheme s) => String -> Maybe String -> String -> GetCustomersCustomerCardsIdRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response GetCustomersCustomerCardsIdResponse)) Source #
GET /v1/customers/{customer}/cards/{id}
Monadic version of getCustomersCustomerCardsId
(use with runWithConfiguration
)
getCustomersCustomerCardsIdRawM :: forall m s. (MonadHTTP m, SecurityScheme s) => String -> Maybe String -> String -> GetCustomersCustomerCardsIdRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response ByteString)) Source #
GET /v1/customers/{customer}/cards/{id}
Monadic version of getCustomersCustomerCardsIdRaw
(use with runWithConfiguration
)
data GetCustomersCustomerCardsIdRequestBody Source #
Defines the data type for the schema getCustomersCustomerCardsIdRequestBody
data GetCustomersCustomerCardsIdResponse Source #
Represents a response of the operation getCustomersCustomerCardsId
.
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), GetCustomersCustomerCardsIdResponseError
is used.
GetCustomersCustomerCardsIdResponseError String | Means either no matching case available or a parse error |
GetCustomersCustomerCardsIdResponse200 Card | Successful response. |
GetCustomersCustomerCardsIdResponseDefault Error | Error response. |