Safe Haskell | None |
---|---|
Language | Haskell2010 |
StripeAPI.Operations.GetIssuingCards
Description
Contains the different functions to run the operation getIssuingCards
Synopsis
- getIssuingCards :: forall m. MonadHTTP m => GetIssuingCardsParameters -> ClientT 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
Arguments
:: forall m. MonadHTTP m | |
=> GetIssuingCardsParameters | Contains all available parameters of this operation (query and path parameters) |
-> ClientT 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.
Constructors
GetIssuingCardsParameters | |
Fields
|
Instances
Eq GetIssuingCardsParameters Source # | |
Defined in StripeAPI.Operations.GetIssuingCards Methods (==) :: GetIssuingCardsParameters -> GetIssuingCardsParameters -> Bool # (/=) :: GetIssuingCardsParameters -> GetIssuingCardsParameters -> Bool # | |
Show GetIssuingCardsParameters Source # | |
Defined in StripeAPI.Operations.GetIssuingCards Methods showsPrec :: Int -> GetIssuingCardsParameters -> ShowS # show :: GetIssuingCardsParameters -> String # showList :: [GetIssuingCardsParameters] -> ShowS # | |
ToJSON GetIssuingCardsParameters Source # | |
Defined in StripeAPI.Operations.GetIssuingCards Methods toJSON :: GetIssuingCardsParameters -> Value # toEncoding :: GetIssuingCardsParameters -> Encoding # toJSONList :: [GetIssuingCardsParameters] -> Value # | |
FromJSON GetIssuingCardsParameters Source # | |
Defined in StripeAPI.Operations.GetIssuingCards Methods parseJSON :: Value -> Parser GetIssuingCardsParameters # parseJSONList :: Value -> Parser [GetIssuingCardsParameters] # |
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.
Constructors
GetIssuingCardsParametersQueryCreated'OneOf1 | |
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.
Constructors
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`.
Constructors
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 |
Instances
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`.
Constructors
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 |
Instances
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.
Constructors
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 Methods (==) :: GetIssuingCardsResponse -> GetIssuingCardsResponse -> Bool # (/=) :: GetIssuingCardsResponse -> GetIssuingCardsResponse -> Bool # | |
Show GetIssuingCardsResponse Source # | |
Defined in StripeAPI.Operations.GetIssuingCards Methods 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.
Constructors
GetIssuingCardsResponseBody200 | |
Fields
|
Instances
mkGetIssuingCardsResponseBody200 Source #
Arguments
:: [Issuing'card] | |
-> Bool | |
-> Text | |
-> GetIssuingCardsResponseBody200 |
Create a new GetIssuingCardsResponseBody200
with all required fields.