stripeapi-1.0.0.0: Stripe-Library
Safe HaskellNone
LanguageHaskell2010

StripeAPI.Operations.GetIssuingCardholders

Description

Contains the different functions to run the operation getIssuingCardholders

Synopsis

Documentation

getIssuingCardholders Source #

Arguments

:: forall m. MonadHTTP m 
=> GetIssuingCardholdersParameters

Contains all available parameters of this operation (query and path parameters)

-> StripeT m (Response GetIssuingCardholdersResponse)

Monadic computation which returns the result of the operation

GET /v1/issuing/cardholders

<p>Returns a list of Issuing <code>Cardholder</code> objects. The objects are sorted in descending order by creation date, with the most recently created object appearing first.</p>

data GetIssuingCardholdersParameters Source #

Defines the object schema located at paths./v1/issuing/cardholders.GET.parameters in the specification.

Constructors

GetIssuingCardholdersParameters 

Fields

data GetIssuingCardholdersParametersQueryCreated'OneOf1 Source #

Defines the object schema located at paths./v1/issuing/cardholders.GET.parameters.properties.queryCreated.anyOf in the specification.

Instances

Instances details
Eq GetIssuingCardholdersParametersQueryCreated'OneOf1 Source # 
Instance details

Defined in StripeAPI.Operations.GetIssuingCardholders

Show GetIssuingCardholdersParametersQueryCreated'OneOf1 Source # 
Instance details

Defined in StripeAPI.Operations.GetIssuingCardholders

ToJSON GetIssuingCardholdersParametersQueryCreated'OneOf1 Source # 
Instance details

Defined in StripeAPI.Operations.GetIssuingCardholders

FromJSON GetIssuingCardholdersParametersQueryCreated'OneOf1 Source # 
Instance details

Defined in StripeAPI.Operations.GetIssuingCardholders

data GetIssuingCardholdersParametersQueryCreated'Variants Source #

Defines the oneOf schema located at paths./v1/issuing/cardholders.GET.parameters.properties.queryCreated.anyOf in the specification.

Represents the parameter named 'created'

Only return cardholders that were created during the given date interval.

Instances

Instances details
Eq GetIssuingCardholdersParametersQueryCreated'Variants Source # 
Instance details

Defined in StripeAPI.Operations.GetIssuingCardholders

Show GetIssuingCardholdersParametersQueryCreated'Variants Source # 
Instance details

Defined in StripeAPI.Operations.GetIssuingCardholders

ToJSON GetIssuingCardholdersParametersQueryCreated'Variants Source # 
Instance details

Defined in StripeAPI.Operations.GetIssuingCardholders

FromJSON GetIssuingCardholdersParametersQueryCreated'Variants Source # 
Instance details

Defined in StripeAPI.Operations.GetIssuingCardholders

data GetIssuingCardholdersParametersQueryStatus' Source #

Defines the enum schema located at paths./v1/issuing/cardholders.GET.parameters.properties.queryStatus in the specification.

Represents the parameter named 'status'

Only return cardholders that have the given status. One of `active`, `inactive`, or `blocked`.

Constructors

GetIssuingCardholdersParametersQueryStatus'Other Value

This case is used if the value encountered during decoding does not match any of the provided cases in the specification.

GetIssuingCardholdersParametersQueryStatus'Typed Text

This constructor can be used to send values to the server which are not present in the specification yet.

GetIssuingCardholdersParametersQueryStatus'EnumActive

Represents the JSON value "active"

GetIssuingCardholdersParametersQueryStatus'EnumBlocked

Represents the JSON value "blocked"

GetIssuingCardholdersParametersQueryStatus'EnumInactive

Represents the JSON value "inactive"

data GetIssuingCardholdersParametersQueryType' Source #

Defines the enum schema located at paths./v1/issuing/cardholders.GET.parameters.properties.queryType in the specification.

Represents the parameter named 'type'

Only return cardholders that have the given type. One of `individual` or `company`.

Constructors

GetIssuingCardholdersParametersQueryType'Other Value

This case is used if the value encountered during decoding does not match any of the provided cases in the specification.

GetIssuingCardholdersParametersQueryType'Typed Text

This constructor can be used to send values to the server which are not present in the specification yet.

GetIssuingCardholdersParametersQueryType'EnumCompany

Represents the JSON value "company"

GetIssuingCardholdersParametersQueryType'EnumIndividual

Represents the JSON value "individual"

data GetIssuingCardholdersResponse Source #

Represents a response of the operation getIssuingCardholders.

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

Constructors

GetIssuingCardholdersResponseError String

Means either no matching case available or a parse error

GetIssuingCardholdersResponse200 GetIssuingCardholdersResponseBody200

Successful response.

GetIssuingCardholdersResponseDefault Error

Error response.

data GetIssuingCardholdersResponseBody200 Source #

Defines the object schema located at paths./v1/issuing/cardholders.GET.responses.200.content.application/json.schema in the specification.

Constructors

GetIssuingCardholdersResponseBody200 

Fields