Safe Haskell | None |
---|---|
Language | Haskell2010 |
Contains the different functions to run the operation getIssuingCards
Synopsis
- getIssuingCards :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Integer -> Maybe Integer -> Maybe Text -> Maybe Text -> Maybe Integer -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe GetIssuingCardsRequestBody -> m (Either HttpException (Response GetIssuingCardsResponse))
- getIssuingCardsRaw :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Integer -> Maybe Integer -> Maybe Text -> Maybe Text -> Maybe Integer -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe GetIssuingCardsRequestBody -> m (Either HttpException (Response ByteString))
- getIssuingCardsM :: forall m s. (MonadHTTP m, SecurityScheme s) => Maybe Text -> Maybe Text -> Maybe Text -> Maybe Integer -> Maybe Integer -> Maybe Text -> Maybe Text -> Maybe Integer -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe GetIssuingCardsRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response GetIssuingCardsResponse))
- getIssuingCardsRawM :: forall m s. (MonadHTTP m, SecurityScheme s) => Maybe Text -> Maybe Text -> Maybe Text -> Maybe Integer -> Maybe Integer -> Maybe Text -> Maybe Text -> Maybe Integer -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe GetIssuingCardsRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response ByteString))
- data GetIssuingCardsRequestBody = GetIssuingCardsRequestBody {
- data GetIssuingCardsResponse
- data GetIssuingCardsResponseBody200 = GetIssuingCardsResponseBody200 {}
- data GetIssuingCardsResponseBody200Object'
Documentation
:: (MonadHTTP m, SecurityScheme s) | |
=> Configuration s | The configuration to use in the request |
-> Maybe Text | cardholder: Only return cards belonging to the Cardholder with the provided ID. | Constraints: Maximum length of 5000 |
-> Maybe Text | created: Only return cards that were issued during the given date interval. |
-> Maybe Text | ending_before: A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list. | Constraints: Maximum length of 5000 |
-> Maybe Integer | exp_month: Only return cards that have the given expiration month. |
-> Maybe Integer | exp_year: Only return cards that have the given expiration year. |
-> Maybe Text | expand: Specifies which fields in the response should be expanded. |
-> Maybe Text | last4: Only return cards that have the given last four digits. | Constraints: Maximum length of 5000 |
-> Maybe Integer | limit: A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10. |
-> Maybe Text | name: Only return cards that have the given name. | Constraints: Maximum length of 5000 |
-> Maybe Text | source: Only return cards whose full card number matches that of this card source ID. | Constraints: Maximum length of 5000 |
-> Maybe Text | starting_after: A cursor for use in pagination. `starting_after` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with `obj_foo`, your subsequent call can include `starting_after=obj_foo` in order to fetch the next page of the list. | Constraints: Maximum length of 5000 |
-> Maybe Text | status: Only return cards that have the given status. One of `active`, `inactive`, `canceled`, `lost`, or `stolen`. | Constraints: Maximum length of 5000 |
-> Maybe Text | type: Only return cards that have the given type. One of `virtual` or `physical`. | Constraints: Maximum length of 5000 |
-> Maybe GetIssuingCardsRequestBody | The request body to send |
-> m (Either HttpException (Response GetIssuingCardsResponse)) | Monad containing 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>
getIssuingCardsRaw :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Integer -> Maybe Integer -> Maybe Text -> Maybe Text -> Maybe Integer -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe GetIssuingCardsRequestBody -> m (Either HttpException (Response ByteString)) Source #
GET /v1/issuing/cards
The same as getIssuingCards
but returns the raw ByteString
getIssuingCardsM :: forall m s. (MonadHTTP m, SecurityScheme s) => Maybe Text -> Maybe Text -> Maybe Text -> Maybe Integer -> Maybe Integer -> Maybe Text -> Maybe Text -> Maybe Integer -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe GetIssuingCardsRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response GetIssuingCardsResponse)) Source #
GET /v1/issuing/cards
Monadic version of getIssuingCards
(use with runWithConfiguration
)
getIssuingCardsRawM :: forall m s. (MonadHTTP m, SecurityScheme s) => Maybe Text -> Maybe Text -> Maybe Text -> Maybe Integer -> Maybe Integer -> Maybe Text -> Maybe Text -> Maybe Integer -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe GetIssuingCardsRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response ByteString)) Source #
GET /v1/issuing/cards
Monadic version of getIssuingCardsRaw
(use with runWithConfiguration
)
data GetIssuingCardsRequestBody Source #
Defines the data type for the schema getIssuingCardsRequestBody
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.
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 data type for the schema GetIssuingCardsResponseBody200
GetIssuingCardsResponseBody200 | |
|
data GetIssuingCardsResponseBody200Object' Source #
Defines the enum schema GetIssuingCardsResponseBody200Object'
String representing the object's type. Objects of the same type share the same value. Always has the value `list`.
GetIssuingCardsResponseBody200Object'EnumOther Value | |
GetIssuingCardsResponseBody200Object'EnumTyped Text | |
GetIssuingCardsResponseBody200Object'EnumStringList |