Safe Haskell | None |
---|---|
Language | Haskell2010 |
Contains the different functions to run the operation getCustomersCustomerSubscriptions
Synopsis
- getCustomersCustomerSubscriptions :: forall m. MonadHTTP m => GetCustomersCustomerSubscriptionsParameters -> ClientT m (Response GetCustomersCustomerSubscriptionsResponse)
- data GetCustomersCustomerSubscriptionsParameters = GetCustomersCustomerSubscriptionsParameters {
- getCustomersCustomerSubscriptionsParametersPathCustomer :: Text
- getCustomersCustomerSubscriptionsParametersQueryEndingBefore :: Maybe Text
- getCustomersCustomerSubscriptionsParametersQueryExpand :: Maybe [Text]
- getCustomersCustomerSubscriptionsParametersQueryLimit :: Maybe Int
- getCustomersCustomerSubscriptionsParametersQueryStartingAfter :: Maybe Text
- mkGetCustomersCustomerSubscriptionsParameters :: Text -> GetCustomersCustomerSubscriptionsParameters
- data GetCustomersCustomerSubscriptionsResponse
- data GetCustomersCustomerSubscriptionsResponseBody200 = GetCustomersCustomerSubscriptionsResponseBody200 {}
- mkGetCustomersCustomerSubscriptionsResponseBody200 :: [Subscription] -> Bool -> Text -> GetCustomersCustomerSubscriptionsResponseBody200
Documentation
getCustomersCustomerSubscriptions Source #
:: forall m. MonadHTTP m | |
=> GetCustomersCustomerSubscriptionsParameters | Contains all available parameters of this operation (query and path parameters) |
-> ClientT m (Response GetCustomersCustomerSubscriptionsResponse) | Monadic computation which returns the result of the operation |
GET /v1/customers/{customer}/subscriptions
<p>You can see a list of the customer’s active subscriptions. Note that the 10 most recent active subscriptions are always available by default on the customer object. If you need more than those 10, you can use the limit and starting_after parameters to page through additional subscriptions.</p>
data GetCustomersCustomerSubscriptionsParameters Source #
Defines the object schema located at paths./v1/customers/{customer}/subscriptions.GET.parameters
in the specification.
GetCustomersCustomerSubscriptionsParameters | |
|
Instances
mkGetCustomersCustomerSubscriptionsParameters Source #
Create a new GetCustomersCustomerSubscriptionsParameters
with all required fields.
data GetCustomersCustomerSubscriptionsResponse Source #
Represents a response of the operation getCustomersCustomerSubscriptions
.
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), GetCustomersCustomerSubscriptionsResponseError
is used.
GetCustomersCustomerSubscriptionsResponseError String | Means either no matching case available or a parse error |
GetCustomersCustomerSubscriptionsResponse200 GetCustomersCustomerSubscriptionsResponseBody200 | Successful response. |
GetCustomersCustomerSubscriptionsResponseDefault Error | Error response. |
data GetCustomersCustomerSubscriptionsResponseBody200 Source #
Defines the object schema located at paths./v1/customers/{customer}/subscriptions.GET.responses.200.content.application/json.schema
in the specification.
GetCustomersCustomerSubscriptionsResponseBody200 | |
|
Instances
mkGetCustomersCustomerSubscriptionsResponseBody200 Source #
Create a new GetCustomersCustomerSubscriptionsResponseBody200
with all required fields.