Safe Haskell | None |
---|---|
Language | Haskell2010 |
Contains the different functions to run the operation getCouponsCoupon
Synopsis
Documentation
:: forall m. MonadHTTP m | |
=> GetCouponsCouponParameters | Contains all available parameters of this operation (query and path parameters) |
-> StripeT m (Response GetCouponsCouponResponse) | Monadic computation which returns the result of the operation |
GET /v1/coupons/{coupon}
<p>Retrieves the coupon with the given ID.</p>
data GetCouponsCouponParameters Source #
Defines the object schema located at paths./v1/coupons/{coupon}.GET.parameters
in the specification.
GetCouponsCouponParameters | |
|
Instances
mkGetCouponsCouponParameters Source #
Create a new GetCouponsCouponParameters
with all required fields.
data GetCouponsCouponResponse Source #
Represents a response of the operation getCouponsCoupon
.
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), GetCouponsCouponResponseError
is used.
GetCouponsCouponResponseError String | Means either no matching case available or a parse error |
GetCouponsCouponResponse200 Coupon | Successful response. |
GetCouponsCouponResponseDefault Error | Error response. |
Instances
Eq GetCouponsCouponResponse Source # | |
Defined in StripeAPI.Operations.GetCouponsCoupon | |
Show GetCouponsCouponResponse Source # | |
Defined in StripeAPI.Operations.GetCouponsCoupon showsPrec :: Int -> GetCouponsCouponResponse -> ShowS # show :: GetCouponsCouponResponse -> String # showList :: [GetCouponsCouponResponse] -> ShowS # |