stripeapi-0.1.0.2: Stripe-Library

Safe HaskellNone
LanguageHaskell2010

StripeAPI.Operations.GetCustomersCustomerSubscriptionsSubscriptionExposedIdDiscount

Description

Contains the different functions to run the operation getCustomersCustomerSubscriptionsSubscriptionExposedIdDiscount

Synopsis

Documentation

getCustomersCustomerSubscriptionsSubscriptionExposedIdDiscount Source #

Arguments

:: (MonadHTTP m, SecurityScheme s) 
=> Configuration s

The configuration to use in the request

-> Text

customer | Constraints: Maximum length of 5000

-> Maybe Text

expand: Specifies which fields in the response should be expanded.

-> Text

subscription_exposed_id | Constraints: Maximum length of 5000

-> Maybe GetCustomersCustomerSubscriptionsSubscriptionExposedIdDiscountRequestBody

The request body to send

-> m (Either HttpException (Response GetCustomersCustomerSubscriptionsSubscriptionExposedIdDiscountResponse))

Monad containing the result of the operation

GET /v1/customers/{customer}/subscriptions/{subscription_exposed_id}/discount

data GetCustomersCustomerSubscriptionsSubscriptionExposedIdDiscountRequestBody Source #

Defines the data type for the schema getCustomersCustomerSubscriptionsSubscriptionExposedIdDiscountRequestBody

Instances
Eq GetCustomersCustomerSubscriptionsSubscriptionExposedIdDiscountRequestBody Source # 
Instance details

Defined in StripeAPI.Operations.GetCustomersCustomerSubscriptionsSubscriptionExposedIdDiscount

Show GetCustomersCustomerSubscriptionsSubscriptionExposedIdDiscountRequestBody Source # 
Instance details

Defined in StripeAPI.Operations.GetCustomersCustomerSubscriptionsSubscriptionExposedIdDiscount

ToJSON GetCustomersCustomerSubscriptionsSubscriptionExposedIdDiscountRequestBody Source # 
Instance details

Defined in StripeAPI.Operations.GetCustomersCustomerSubscriptionsSubscriptionExposedIdDiscount

FromJSON GetCustomersCustomerSubscriptionsSubscriptionExposedIdDiscountRequestBody Source # 
Instance details

Defined in StripeAPI.Operations.GetCustomersCustomerSubscriptionsSubscriptionExposedIdDiscount

data GetCustomersCustomerSubscriptionsSubscriptionExposedIdDiscountResponse Source #

Represents a response of the operation getCustomersCustomerSubscriptionsSubscriptionExposedIdDiscount.

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), GetCustomersCustomerSubscriptionsSubscriptionExposedIdDiscountResponseError is used.