Safe Haskell | None |
---|---|
Language | Haskell2010 |
Contains the different functions to run the operation getCustomersCustomerDiscount
Synopsis
- getCustomersCustomerDiscount :: forall m. MonadHTTP m => GetCustomersCustomerDiscountParameters -> StripeT m (Response GetCustomersCustomerDiscountResponse)
- data GetCustomersCustomerDiscountParameters = GetCustomersCustomerDiscountParameters {}
- mkGetCustomersCustomerDiscountParameters :: Text -> GetCustomersCustomerDiscountParameters
- data GetCustomersCustomerDiscountResponse
Documentation
getCustomersCustomerDiscount Source #
:: forall m. MonadHTTP m | |
=> GetCustomersCustomerDiscountParameters | Contains all available parameters of this operation (query and path parameters) |
-> StripeT m (Response GetCustomersCustomerDiscountResponse) | Monadic computation which returns the result of the operation |
GET /v1/customers/{customer}/discount
data GetCustomersCustomerDiscountParameters Source #
Defines the object schema located at paths./v1/customers/{customer}/discount.GET.parameters
in the specification.
GetCustomersCustomerDiscountParameters | |
|
mkGetCustomersCustomerDiscountParameters Source #
Create a new GetCustomersCustomerDiscountParameters
with all required fields.
data GetCustomersCustomerDiscountResponse Source #
Represents a response of the operation getCustomersCustomerDiscount
.
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), GetCustomersCustomerDiscountResponseError
is used.
GetCustomersCustomerDiscountResponseError String | Means either no matching case available or a parse error |
GetCustomersCustomerDiscountResponse200 Discount | Successful response. |
GetCustomersCustomerDiscountResponseDefault Error | Error response. |