Safe Haskell | None |
---|---|
Language | Haskell2010 |
Contains the different functions to run the operation getCustomersCustomerCards
Synopsis
- getCustomersCustomerCards :: forall m. MonadHTTP m => GetCustomersCustomerCardsParameters -> ClientT m (Response GetCustomersCustomerCardsResponse)
- data GetCustomersCustomerCardsParameters = GetCustomersCustomerCardsParameters {
- getCustomersCustomerCardsParametersPathCustomer :: Text
- getCustomersCustomerCardsParametersQueryEndingBefore :: Maybe Text
- getCustomersCustomerCardsParametersQueryExpand :: Maybe [Text]
- getCustomersCustomerCardsParametersQueryLimit :: Maybe Int
- getCustomersCustomerCardsParametersQueryStartingAfter :: Maybe Text
- mkGetCustomersCustomerCardsParameters :: Text -> GetCustomersCustomerCardsParameters
- data GetCustomersCustomerCardsResponse
- data GetCustomersCustomerCardsResponseBody200 = GetCustomersCustomerCardsResponseBody200 {}
- mkGetCustomersCustomerCardsResponseBody200 :: [Card] -> Bool -> Text -> GetCustomersCustomerCardsResponseBody200
Documentation
getCustomersCustomerCards Source #
:: forall m. MonadHTTP m | |
=> GetCustomersCustomerCardsParameters | Contains all available parameters of this operation (query and path parameters) |
-> ClientT m (Response GetCustomersCustomerCardsResponse) | Monadic computation which returns the result of the operation |
GET /v1/customers/{customer}/cards
<p>You can see a list of the cards belonging to a customer. Note that the 10 most recent sources are always available on the <code>Customer</code> object. If you need more than those 10, you can use this API method and the <code>limit</code> and <code>starting_after</code> parameters to page through additional cards.</p>
data GetCustomersCustomerCardsParameters Source #
Defines the object schema located at paths./v1/customers/{customer}/cards.GET.parameters
in the specification.
GetCustomersCustomerCardsParameters | |
|
mkGetCustomersCustomerCardsParameters Source #
Create a new GetCustomersCustomerCardsParameters
with all required fields.
data GetCustomersCustomerCardsResponse Source #
Represents a response of the operation getCustomersCustomerCards
.
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), GetCustomersCustomerCardsResponseError
is used.
GetCustomersCustomerCardsResponseError String | Means either no matching case available or a parse error |
GetCustomersCustomerCardsResponse200 GetCustomersCustomerCardsResponseBody200 | Successful response. |
GetCustomersCustomerCardsResponseDefault Error | Error response. |
data GetCustomersCustomerCardsResponseBody200 Source #
Defines the object schema located at paths./v1/customers/{customer}/cards.GET.responses.200.content.application/json.schema
in the specification.
GetCustomersCustomerCardsResponseBody200 | |
|
mkGetCustomersCustomerCardsResponseBody200 Source #
:: [Card] | |
-> Bool | |
-> Text | |
-> GetCustomersCustomerCardsResponseBody200 |
Create a new GetCustomersCustomerCardsResponseBody200
with all required fields.