Safe Haskell | None |
---|---|
Language | Haskell2010 |
Contains the different functions to run the operation getCustomersCustomerSourcesId
Synopsis
- getCustomersCustomerSourcesId :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> Text -> Maybe Text -> Text -> Maybe GetCustomersCustomerSourcesIdRequestBody -> m (Either HttpException (Response GetCustomersCustomerSourcesIdResponse))
- getCustomersCustomerSourcesIdRaw :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> Text -> Maybe Text -> Text -> Maybe GetCustomersCustomerSourcesIdRequestBody -> m (Either HttpException (Response ByteString))
- getCustomersCustomerSourcesIdM :: forall m s. (MonadHTTP m, SecurityScheme s) => Text -> Maybe Text -> Text -> Maybe GetCustomersCustomerSourcesIdRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response GetCustomersCustomerSourcesIdResponse))
- getCustomersCustomerSourcesIdRawM :: forall m s. (MonadHTTP m, SecurityScheme s) => Text -> Maybe Text -> Text -> Maybe GetCustomersCustomerSourcesIdRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response ByteString))
- data GetCustomersCustomerSourcesIdRequestBody = GetCustomersCustomerSourcesIdRequestBody {
- data GetCustomersCustomerSourcesIdResponse
Documentation
getCustomersCustomerSourcesId Source #
:: (MonadHTTP m, SecurityScheme s) | |
=> Configuration s | The configuration to use in the request |
-> Text | customer | Constraints: Maximum length of 5000 |
-> Maybe Text | expand: Specifies which fields in the response should be expanded. |
-> Text | id | Constraints: Maximum length of 500 |
-> Maybe GetCustomersCustomerSourcesIdRequestBody | The request body to send |
-> m (Either HttpException (Response GetCustomersCustomerSourcesIdResponse)) | Monad containing the result of the operation |
GET /v1/customers/{customer}/sources/{id}
<p>Retrieve a specified source for a given customer.</p>
getCustomersCustomerSourcesIdRaw :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> Text -> Maybe Text -> Text -> Maybe GetCustomersCustomerSourcesIdRequestBody -> m (Either HttpException (Response ByteString)) Source #
GET /v1/customers/{customer}/sources/{id}
The same as getCustomersCustomerSourcesId
but returns the raw ByteString
getCustomersCustomerSourcesIdM :: forall m s. (MonadHTTP m, SecurityScheme s) => Text -> Maybe Text -> Text -> Maybe GetCustomersCustomerSourcesIdRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response GetCustomersCustomerSourcesIdResponse)) Source #
GET /v1/customers/{customer}/sources/{id}
Monadic version of getCustomersCustomerSourcesId
(use with runWithConfiguration
)
getCustomersCustomerSourcesIdRawM :: forall m s. (MonadHTTP m, SecurityScheme s) => Text -> Maybe Text -> Text -> Maybe GetCustomersCustomerSourcesIdRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response ByteString)) Source #
GET /v1/customers/{customer}/sources/{id}
Monadic version of getCustomersCustomerSourcesIdRaw
(use with runWithConfiguration
)
data GetCustomersCustomerSourcesIdRequestBody Source #
Defines the data type for the schema getCustomersCustomerSourcesIdRequestBody
data GetCustomersCustomerSourcesIdResponse Source #
Represents a response of the operation getCustomersCustomerSourcesId
.
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), GetCustomersCustomerSourcesIdResponseError
is used.
GetCustomersCustomerSourcesIdResponseError String | Means either no matching case available or a parse error |
GetCustomersCustomerSourcesIdResponse200 PaymentSource | Successful response. |
GetCustomersCustomerSourcesIdResponseDefault Error | Error response. |