Safe Haskell | None |
---|---|
Language | Haskell2010 |
StripeAPI.Operations.GetCustomersCustomerDiscount
Description
Contains the different functions to run the operation getCustomersCustomerDiscount
Synopsis
- getCustomersCustomerDiscount :: forall m. MonadHTTP m => GetCustomersCustomerDiscountParameters -> ClientT m (Response GetCustomersCustomerDiscountResponse)
- data GetCustomersCustomerDiscountParameters = GetCustomersCustomerDiscountParameters {}
- mkGetCustomersCustomerDiscountParameters :: Text -> GetCustomersCustomerDiscountParameters
- data GetCustomersCustomerDiscountResponse
Documentation
getCustomersCustomerDiscount Source #
Arguments
:: forall m. MonadHTTP m | |
=> GetCustomersCustomerDiscountParameters | Contains all available parameters of this operation (query and path parameters) |
-> ClientT 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.
Constructors
GetCustomersCustomerDiscountParameters | |
Fields
|
Instances
mkGetCustomersCustomerDiscountParameters Source #
Arguments
:: Text | |
-> GetCustomersCustomerDiscountParameters |
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.
Constructors
GetCustomersCustomerDiscountResponseError String | Means either no matching case available or a parse error |
GetCustomersCustomerDiscountResponse200 Discount | Successful response. |
GetCustomersCustomerDiscountResponseDefault Error | Error response. |