Safe Haskell | None |
---|---|
Language | Haskell2010 |
Contains the different functions to run the operation getIssuingCards
Synopsis
- getIssuingCards :: forall m. MonadHTTP m => GetIssuingCardsParameters -> StripeT m (Response GetIssuingCardsResponse)
- data GetIssuingCardsParameters = GetIssuingCardsParameters {
- getIssuingCardsParametersQueryCardholder :: Maybe Text
- getIssuingCardsParametersQueryCreated :: Maybe GetIssuingCardsParametersQueryCreated'Variants
- getIssuingCardsParametersQueryEndingBefore :: Maybe Text
- getIssuingCardsParametersQueryExpMonth :: Maybe Int
- getIssuingCardsParametersQueryExpYear :: Maybe Int
- getIssuingCardsParametersQueryExpand :: Maybe [Text]
- getIssuingCardsParametersQueryLast4 :: Maybe Text
- getIssuingCardsParametersQueryLimit :: Maybe Int
- getIssuingCardsParametersQueryStartingAfter :: Maybe Text
- getIssuingCardsParametersQueryStatus :: Maybe GetIssuingCardsParametersQueryStatus'
- getIssuingCardsParametersQueryType :: Maybe GetIssuingCardsParametersQueryType'
- mkGetIssuingCardsParameters :: GetIssuingCardsParameters
- data GetIssuingCardsParametersQueryCreated'OneOf1 = GetIssuingCardsParametersQueryCreated'OneOf1 {}
- mkGetIssuingCardsParametersQueryCreated'OneOf1 :: GetIssuingCardsParametersQueryCreated'OneOf1
- data GetIssuingCardsParametersQueryCreated'Variants
- data GetIssuingCardsParametersQueryStatus'
- data GetIssuingCardsParametersQueryType'
- data GetIssuingCardsResponse
- data GetIssuingCardsResponseBody200 = GetIssuingCardsResponseBody200 {}
- mkGetIssuingCardsResponseBody200 :: [Issuing'card] -> Bool -> Text -> GetIssuingCardsResponseBody200
Documentation
:: forall m. MonadHTTP m | |
=> GetIssuingCardsParameters | Contains all available parameters of this operation (query and path parameters) |
-> StripeT m (Response GetIssuingCardsResponse) | Monadic computation which returns the result of the operation |
GET /v1/issuing/cards
<p>Returns a list of Issuing <code>Card</code> objects. The objects are sorted in descending order by creation date, with the most recently created object appearing first.</p>
data GetIssuingCardsParameters Source #
Defines the object schema located at paths./v1/issuing/cards.GET.parameters
in the specification.
GetIssuingCardsParameters | |
|
Instances
mkGetIssuingCardsParameters :: GetIssuingCardsParameters Source #
Create a new GetIssuingCardsParameters
with all required fields.
data GetIssuingCardsParametersQueryCreated'OneOf1 Source #
Defines the object schema located at paths./v1/issuing/cards.GET.parameters.properties.queryCreated.anyOf
in the specification.
mkGetIssuingCardsParametersQueryCreated'OneOf1 :: GetIssuingCardsParametersQueryCreated'OneOf1 Source #
Create a new GetIssuingCardsParametersQueryCreated'OneOf1
with all required fields.
data GetIssuingCardsParametersQueryCreated'Variants Source #
Defines the oneOf schema located at paths./v1/issuing/cards.GET.parameters.properties.queryCreated.anyOf
in the specification.
Represents the parameter named 'created'
Only return cards that were issued during the given date interval.
GetIssuingCardsParametersQueryCreated'GetIssuingCardsParametersQueryCreated'OneOf1 GetIssuingCardsParametersQueryCreated'OneOf1 | |
GetIssuingCardsParametersQueryCreated'Int Int |
Instances
data GetIssuingCardsParametersQueryStatus' Source #
Defines the enum schema located at paths./v1/issuing/cards.GET.parameters.properties.queryStatus
in the specification.
Represents the parameter named 'status'
Only return cards that have the given status. One of `active`, `inactive`, or `canceled`.
GetIssuingCardsParametersQueryStatus'Other Value | This case is used if the value encountered during decoding does not match any of the provided cases in the specification. |
GetIssuingCardsParametersQueryStatus'Typed Text | This constructor can be used to send values to the server which are not present in the specification yet. |
GetIssuingCardsParametersQueryStatus'EnumActive | Represents the JSON value |
GetIssuingCardsParametersQueryStatus'EnumCanceled | Represents the JSON value |
GetIssuingCardsParametersQueryStatus'EnumInactive | Represents the JSON value |
data GetIssuingCardsParametersQueryType' Source #
Defines the enum schema located at paths./v1/issuing/cards.GET.parameters.properties.queryType
in the specification.
Represents the parameter named 'type'
Only return cards that have the given type. One of `virtual` or `physical`.
GetIssuingCardsParametersQueryType'Other Value | This case is used if the value encountered during decoding does not match any of the provided cases in the specification. |
GetIssuingCardsParametersQueryType'Typed Text | This constructor can be used to send values to the server which are not present in the specification yet. |
GetIssuingCardsParametersQueryType'EnumPhysical | Represents the JSON value |
GetIssuingCardsParametersQueryType'EnumVirtual | Represents the JSON value |
data GetIssuingCardsResponse Source #
Represents a response of the operation getIssuingCards
.
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), GetIssuingCardsResponseError
is used.
GetIssuingCardsResponseError String | Means either no matching case available or a parse error |
GetIssuingCardsResponse200 GetIssuingCardsResponseBody200 | Successful response. |
GetIssuingCardsResponseDefault Error | Error response. |
Instances
Eq GetIssuingCardsResponse Source # | |
Defined in StripeAPI.Operations.GetIssuingCards | |
Show GetIssuingCardsResponse Source # | |
Defined in StripeAPI.Operations.GetIssuingCards showsPrec :: Int -> GetIssuingCardsResponse -> ShowS # show :: GetIssuingCardsResponse -> String # showList :: [GetIssuingCardsResponse] -> ShowS # |
data GetIssuingCardsResponseBody200 Source #
Defines the object schema located at paths./v1/issuing/cards.GET.responses.200.content.application/json.schema
in the specification.
GetIssuingCardsResponseBody200 | |
|
mkGetIssuingCardsResponseBody200 Source #
:: [Issuing'card] | |
-> Bool | |
-> Text | |
-> GetIssuingCardsResponseBody200 |
Create a new GetIssuingCardsResponseBody200
with all required fields.