stripe-core-2.6.2: Stripe API for Haskell - Pure Core

Copyright(c) David Johnson 2014
Maintainerdjohnson.m@gmail.com
Stabilityexperimental
PortabilityPOSIX
Safe HaskellNone
LanguageHaskell2010

Web.Stripe.Card

Contents

Description

https://stripe.com/docs/api#cards

{-# LANGUAGE OverloadedStrings #-}
import Web.Stripe
import Web.Stripe.Customer
import Web.Stripe.Card

main :: IO ()
main = do
  let config   = StripeConfig (StripeKey "secret_key")
      credit   = CardNumber "4242424242424242"
      em       = ExpMonth 12
      ey       = ExpYear 2015
      cvc      = CVC "123"
      cardinfo = (mkNewCard credit em ey) { newCardCVC = Just cvc }
  result <- stripe config $ createCustomer
  case result of
    (Left stripeError) -> print stripeError
    (Right (Customer { customerId = cid })) -> do
      result <- stripe config $ createCustomerCard cid cardinfo
      case result of
        Right card -> print card
        Left  stripeError -> print stripeError
Synopsis

API

Customers

Create Card

createCustomerCardByToken Source #

Arguments

:: CustomerId

CustomerId of card holder

-> TokenId

TokenId of card to add

-> StripeRequest CreateCustomerCardByToken 

Customer Card creation from a TokenId

createRecipientCardByToken Source #

Arguments

:: RecipientId

RecipientId of card holder

-> TokenId

TokenId of card to add

-> StripeRequest CreateRecipientCardByToken 

Recipient Card creation from a TokenId

createCustomerCard Source #

Arguments

:: CustomerId

RecipientId of card holder

-> NewCard

NewCard data for the card

-> StripeRequest CreateCustomerCard 

Customer Card creation from card info

createRecipientCard Source #

Arguments

:: RecipientId

RecipientId of card holder

-> NewCard

NewCard data for the card

-> StripeRequest CreateRecipientCard 

Recipient Card creation from card info

Get Card(s)

getCustomerCard Source #

Arguments

:: CustomerId

CustomerId of the Card to retrieve

-> CardId

CardId of the card to retrieve

-> StripeRequest GetCustomerCard 

Get card by CustomerId and CardId

getRecipientCard Source #

Arguments

:: RecipientId

RecipientId of the Card to retrieve

-> RecipientCardId

CardId of the card to retrieve

-> StripeRequest GetRecipientCard 

getCustomerCards Source #

Arguments

:: CustomerId

The CustomerId associated with the cards

-> StripeRequest GetCustomerCards 

Retrieve all cards associated with a Customer

getRecipientCards Source #

Arguments

:: RecipientId

The RecipientId associated with the cards

-> StripeRequest GetRecipientCards 

Retrieve all cards associated with a Recipient

Update Card

updateCustomerCard Source #

Arguments

:: CustomerId

CustomerId of the card holder

-> CardId

CardId of card to update

-> StripeRequest UpdateCustomerCard 

Update a Customer Card

updateRecipientCard Source #

Arguments

:: RecipientId

RecipientId of the card holder

-> RecipientCardId

RecipientCardId of the card to update

-> StripeRequest UpdateRecipientCard 

Update a Recipient Card

Delete Card

deleteCustomerCard Source #

Arguments

:: CustomerId

CustomerId of the Card to be deleted

-> CardId

CardId associated with Card to be deleted

-> StripeRequest DeleteCustomerCard 

Removes a Card with from a Customer

deleteRecipientCard Source #

Arguments

:: RecipientId

RecipientId of the Card to retrieve

-> RecipientCardId

CardId associated with Card to be deleted

-> StripeRequest DeleteRecipientCard 

Removes a RecipientCard with from a Recipient

Types

newtype AddressLine1 Source #

Address Line One for a Card

Constructors

AddressLine1 Text 
Instances
Eq AddressLine1 Source # 
Instance details

Defined in Web.Stripe.Types

Data AddressLine1 Source # 
Instance details

Defined in Web.Stripe.Types

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> AddressLine1 -> c AddressLine1 #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c AddressLine1 #

toConstr :: AddressLine1 -> Constr #

dataTypeOf :: AddressLine1 -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c AddressLine1) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c AddressLine1) #

gmapT :: (forall b. Data b => b -> b) -> AddressLine1 -> AddressLine1 #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> AddressLine1 -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> AddressLine1 -> r #

gmapQ :: (forall d. Data d => d -> u) -> AddressLine1 -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> AddressLine1 -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> AddressLine1 -> m AddressLine1 #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> AddressLine1 -> m AddressLine1 #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> AddressLine1 -> m AddressLine1 #

Ord AddressLine1 Source # 
Instance details

Defined in Web.Stripe.Types

Read AddressLine1 Source # 
Instance details

Defined in Web.Stripe.Types

Show AddressLine1 Source # 
Instance details

Defined in Web.Stripe.Types

ToStripeParam AddressLine1 Source # 
Instance details

Defined in Web.Stripe.StripeRequest

StripeHasParam UpdateRecipientCard AddressLine1 Source # 
Instance details

Defined in Web.Stripe.Card

StripeHasParam UpdateCustomerCard AddressLine1 Source # 
Instance details

Defined in Web.Stripe.Card

newtype AddressLine2 Source #

Address Line Two for a Card

Constructors

AddressLine2 Text 
Instances
Eq AddressLine2 Source # 
Instance details

Defined in Web.Stripe.Types

Data AddressLine2 Source # 
Instance details

Defined in Web.Stripe.Types

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> AddressLine2 -> c AddressLine2 #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c AddressLine2 #

toConstr :: AddressLine2 -> Constr #

dataTypeOf :: AddressLine2 -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c AddressLine2) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c AddressLine2) #

gmapT :: (forall b. Data b => b -> b) -> AddressLine2 -> AddressLine2 #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> AddressLine2 -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> AddressLine2 -> r #

gmapQ :: (forall d. Data d => d -> u) -> AddressLine2 -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> AddressLine2 -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> AddressLine2 -> m AddressLine2 #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> AddressLine2 -> m AddressLine2 #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> AddressLine2 -> m AddressLine2 #

Ord AddressLine2 Source # 
Instance details

Defined in Web.Stripe.Types

Read AddressLine2 Source # 
Instance details

Defined in Web.Stripe.Types

Show AddressLine2 Source # 
Instance details

Defined in Web.Stripe.Types

ToStripeParam AddressLine2 Source # 
Instance details

Defined in Web.Stripe.StripeRequest

StripeHasParam UpdateRecipientCard AddressLine2 Source # 
Instance details

Defined in Web.Stripe.Card

StripeHasParam UpdateCustomerCard AddressLine2 Source # 
Instance details

Defined in Web.Stripe.Card

newtype AddressCity Source #

City address for a Card

Constructors

AddressCity Text 
Instances
Eq AddressCity Source # 
Instance details

Defined in Web.Stripe.Types

Data AddressCity Source # 
Instance details

Defined in Web.Stripe.Types

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> AddressCity -> c AddressCity #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c AddressCity #

toConstr :: AddressCity -> Constr #

dataTypeOf :: AddressCity -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c AddressCity) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c AddressCity) #

gmapT :: (forall b. Data b => b -> b) -> AddressCity -> AddressCity #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> AddressCity -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> AddressCity -> r #

gmapQ :: (forall d. Data d => d -> u) -> AddressCity -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> AddressCity -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> AddressCity -> m AddressCity #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> AddressCity -> m AddressCity #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> AddressCity -> m AddressCity #

Ord AddressCity Source # 
Instance details

Defined in Web.Stripe.Types

Read AddressCity Source # 
Instance details

Defined in Web.Stripe.Types

Show AddressCity Source # 
Instance details

Defined in Web.Stripe.Types

ToStripeParam AddressCity Source # 
Instance details

Defined in Web.Stripe.StripeRequest

StripeHasParam UpdateRecipientCard AddressCity Source # 
Instance details

Defined in Web.Stripe.Card

StripeHasParam UpdateCustomerCard AddressCity Source # 
Instance details

Defined in Web.Stripe.Card

newtype AddressCountry Source #

Country address for a Card

Constructors

AddressCountry Text 
Instances
Eq AddressCountry Source # 
Instance details

Defined in Web.Stripe.Types

Data AddressCountry Source # 
Instance details

Defined in Web.Stripe.Types

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> AddressCountry -> c AddressCountry #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c AddressCountry #

toConstr :: AddressCountry -> Constr #

dataTypeOf :: AddressCountry -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c AddressCountry) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c AddressCountry) #

gmapT :: (forall b. Data b => b -> b) -> AddressCountry -> AddressCountry #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> AddressCountry -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> AddressCountry -> r #

gmapQ :: (forall d. Data d => d -> u) -> AddressCountry -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> AddressCountry -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> AddressCountry -> m AddressCountry #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> AddressCountry -> m AddressCountry #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> AddressCountry -> m AddressCountry #

Ord AddressCountry Source # 
Instance details

Defined in Web.Stripe.Types

Read AddressCountry Source # 
Instance details

Defined in Web.Stripe.Types

Show AddressCountry Source # 
Instance details

Defined in Web.Stripe.Types

ToStripeParam AddressCountry Source # 
Instance details

Defined in Web.Stripe.StripeRequest

StripeHasParam UpdateRecipientCard AddressCountry Source # 
Instance details

Defined in Web.Stripe.Card

StripeHasParam UpdateCustomerCard AddressCountry Source # 
Instance details

Defined in Web.Stripe.Card

newtype AddressState Source #

Address State for a Card

Constructors

AddressState Text 
Instances
Eq AddressState Source # 
Instance details

Defined in Web.Stripe.Types

Data AddressState Source # 
Instance details

Defined in Web.Stripe.Types

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> AddressState -> c AddressState #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c AddressState #

toConstr :: AddressState -> Constr #

dataTypeOf :: AddressState -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c AddressState) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c AddressState) #

gmapT :: (forall b. Data b => b -> b) -> AddressState -> AddressState #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> AddressState -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> AddressState -> r #

gmapQ :: (forall d. Data d => d -> u) -> AddressState -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> AddressState -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> AddressState -> m AddressState #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> AddressState -> m AddressState #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> AddressState -> m AddressState #

Ord AddressState Source # 
Instance details

Defined in Web.Stripe.Types

Read AddressState Source # 
Instance details

Defined in Web.Stripe.Types

Show AddressState Source # 
Instance details

Defined in Web.Stripe.Types

ToStripeParam AddressState Source # 
Instance details

Defined in Web.Stripe.StripeRequest

StripeHasParam UpdateRecipientCard AddressState Source # 
Instance details

Defined in Web.Stripe.Card

StripeHasParam UpdateCustomerCard AddressState Source # 
Instance details

Defined in Web.Stripe.Card

newtype AddressZip Source #

Address Zip Code for a Card

Constructors

AddressZip Text 
Instances
Eq AddressZip Source # 
Instance details

Defined in Web.Stripe.Types

Data AddressZip Source # 
Instance details

Defined in Web.Stripe.Types

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> AddressZip -> c AddressZip #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c AddressZip #

toConstr :: AddressZip -> Constr #

dataTypeOf :: AddressZip -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c AddressZip) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c AddressZip) #

gmapT :: (forall b. Data b => b -> b) -> AddressZip -> AddressZip #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> AddressZip -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> AddressZip -> r #

gmapQ :: (forall d. Data d => d -> u) -> AddressZip -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> AddressZip -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> AddressZip -> m AddressZip #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> AddressZip -> m AddressZip #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> AddressZip -> m AddressZip #

Ord AddressZip Source # 
Instance details

Defined in Web.Stripe.Types

Read AddressZip Source # 
Instance details

Defined in Web.Stripe.Types

Show AddressZip Source # 
Instance details

Defined in Web.Stripe.Types

ToStripeParam AddressZip Source # 
Instance details

Defined in Web.Stripe.StripeRequest

StripeHasParam UpdateRecipientCard AddressZip Source # 
Instance details

Defined in Web.Stripe.Card

StripeHasParam UpdateCustomerCard AddressZip Source # 
Instance details

Defined in Web.Stripe.Card

data Brand Source #

Credit / Debit Card Brand

Instances
Eq Brand Source # 
Instance details

Defined in Web.Stripe.Types

Methods

(==) :: Brand -> Brand -> Bool #

(/=) :: Brand -> Brand -> Bool #

Data Brand Source # 
Instance details

Defined in Web.Stripe.Types

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Brand -> c Brand #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Brand #

toConstr :: Brand -> Constr #

dataTypeOf :: Brand -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Brand) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Brand) #

gmapT :: (forall b. Data b => b -> b) -> Brand -> Brand #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Brand -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Brand -> r #

gmapQ :: (forall d. Data d => d -> u) -> Brand -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Brand -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Brand -> m Brand #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Brand -> m Brand #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Brand -> m Brand #

Ord Brand Source # 
Instance details

Defined in Web.Stripe.Types

Methods

compare :: Brand -> Brand -> Ordering #

(<) :: Brand -> Brand -> Bool #

(<=) :: Brand -> Brand -> Bool #

(>) :: Brand -> Brand -> Bool #

(>=) :: Brand -> Brand -> Bool #

max :: Brand -> Brand -> Brand #

min :: Brand -> Brand -> Brand #

Read Brand Source # 
Instance details

Defined in Web.Stripe.Types

Show Brand Source # 
Instance details

Defined in Web.Stripe.Types

Methods

showsPrec :: Int -> Brand -> ShowS #

show :: Brand -> String #

showList :: [Brand] -> ShowS #

FromJSON Brand Source #

JSON Instance for Brand

Instance details

Defined in Web.Stripe.Types

data Card Source #

Card Object

Instances
Eq Card Source # 
Instance details

Defined in Web.Stripe.Types

Methods

(==) :: Card -> Card -> Bool #

(/=) :: Card -> Card -> Bool #

Data Card Source # 
Instance details

Defined in Web.Stripe.Types

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Card -> c Card #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Card #

toConstr :: Card -> Constr #

dataTypeOf :: Card -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Card) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Card) #

gmapT :: (forall b. Data b => b -> b) -> Card -> Card #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Card -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Card -> r #

gmapQ :: (forall d. Data d => d -> u) -> Card -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Card -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Card -> m Card #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Card -> m Card #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Card -> m Card #

Ord Card Source # 
Instance details

Defined in Web.Stripe.Types

Methods

compare :: Card -> Card -> Ordering #

(<) :: Card -> Card -> Bool #

(<=) :: Card -> Card -> Bool #

(>) :: Card -> Card -> Bool #

(>=) :: Card -> Card -> Bool #

max :: Card -> Card -> Card #

min :: Card -> Card -> Card #

Read Card Source # 
Instance details

Defined in Web.Stripe.Types

Show Card Source # 
Instance details

Defined in Web.Stripe.Types

Methods

showsPrec :: Int -> Card -> ShowS #

show :: Card -> String #

showList :: [Card] -> ShowS #

FromJSON Card Source #

JSON Instance for Card

Instance details

Defined in Web.Stripe.Types

newtype CardId Source #

CardId for a Customer

Constructors

CardId Text 
Instances
Eq CardId Source # 
Instance details

Defined in Web.Stripe.Types

Methods

(==) :: CardId -> CardId -> Bool #

(/=) :: CardId -> CardId -> Bool #

Data CardId Source # 
Instance details

Defined in Web.Stripe.Types

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> CardId -> c CardId #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c CardId #

toConstr :: CardId -> Constr #

dataTypeOf :: CardId -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c CardId) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c CardId) #

gmapT :: (forall b. Data b => b -> b) -> CardId -> CardId #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> CardId -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> CardId -> r #

gmapQ :: (forall d. Data d => d -> u) -> CardId -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> CardId -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> CardId -> m CardId #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> CardId -> m CardId #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> CardId -> m CardId #

Ord CardId Source # 
Instance details

Defined in Web.Stripe.Types

Read CardId Source # 
Instance details

Defined in Web.Stripe.Types

Show CardId Source # 
Instance details

Defined in Web.Stripe.Types

FromJSON CardId Source #

JSON Instance for CardId

Instance details

Defined in Web.Stripe.Types

ToStripeParam CardId Source # 
Instance details

Defined in Web.Stripe.StripeRequest

StripeHasParam CreateTransfer CardId Source # 
Instance details

Defined in Web.Stripe.Transfer

StripeHasParam UpdateSubscription CardId Source # 
Instance details

Defined in Web.Stripe.Subscription

StripeHasParam CreateSubscription CardId Source # 
Instance details

Defined in Web.Stripe.Subscription

StripeHasParam UpdateRecipient CardId Source # 
Instance details

Defined in Web.Stripe.Recipient

StripeHasParam CreateRecipient CardId Source # 
Instance details

Defined in Web.Stripe.Recipient

StripeHasParam GetRecipientCards (EndingBefore CardId) Source # 
Instance details

Defined in Web.Stripe.Card

StripeHasParam GetRecipientCards (StartingAfter CardId) Source # 
Instance details

Defined in Web.Stripe.Card

StripeHasParam GetCustomerCards (EndingBefore CardId) Source # 
Instance details

Defined in Web.Stripe.Card

StripeHasParam GetCustomerCards (StartingAfter CardId) Source # 
Instance details

Defined in Web.Stripe.Card

type ExpandsTo CardId Source # 
Instance details

Defined in Web.Stripe.Types

newtype CardNumber Source #

Number associated with a Card

Constructors

CardNumber Text 
Instances
Eq CardNumber Source # 
Instance details

Defined in Web.Stripe.Types

Data CardNumber Source # 
Instance details

Defined in Web.Stripe.Types

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> CardNumber -> c CardNumber #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c CardNumber #

toConstr :: CardNumber -> Constr #

dataTypeOf :: CardNumber -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c CardNumber) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c CardNumber) #

gmapT :: (forall b. Data b => b -> b) -> CardNumber -> CardNumber #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> CardNumber -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> CardNumber -> r #

gmapQ :: (forall d. Data d => d -> u) -> CardNumber -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> CardNumber -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> CardNumber -> m CardNumber #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> CardNumber -> m CardNumber #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> CardNumber -> m CardNumber #

Ord CardNumber Source # 
Instance details

Defined in Web.Stripe.Types

Read CardNumber Source # 
Instance details

Defined in Web.Stripe.Types

Show CardNumber Source # 
Instance details

Defined in Web.Stripe.Types

ToStripeParam CardNumber Source # 
Instance details

Defined in Web.Stripe.StripeRequest

newtype CVC Source #

CVC for a Card

Constructors

CVC Text 
Instances
Eq CVC Source # 
Instance details

Defined in Web.Stripe.Types

Methods

(==) :: CVC -> CVC -> Bool #

(/=) :: CVC -> CVC -> Bool #

Data CVC Source # 
Instance details

Defined in Web.Stripe.Types

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> CVC -> c CVC #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c CVC #

toConstr :: CVC -> Constr #

dataTypeOf :: CVC -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c CVC) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c CVC) #

gmapT :: (forall b. Data b => b -> b) -> CVC -> CVC #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> CVC -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> CVC -> r #

gmapQ :: (forall d. Data d => d -> u) -> CVC -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> CVC -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> CVC -> m CVC #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> CVC -> m CVC #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> CVC -> m CVC #

Ord CVC Source # 
Instance details

Defined in Web.Stripe.Types

Methods

compare :: CVC -> CVC -> Ordering #

(<) :: CVC -> CVC -> Bool #

(<=) :: CVC -> CVC -> Bool #

(>) :: CVC -> CVC -> Bool #

(>=) :: CVC -> CVC -> Bool #

max :: CVC -> CVC -> CVC #

min :: CVC -> CVC -> CVC #

Read CVC Source # 
Instance details

Defined in Web.Stripe.Types

Show CVC Source # 
Instance details

Defined in Web.Stripe.Types

Methods

showsPrec :: Int -> CVC -> ShowS #

show :: CVC -> String #

showList :: [CVC] -> ShowS #

ToStripeParam CVC Source # 
Instance details

Defined in Web.Stripe.StripeRequest

newtype EndingBefore a Source #

Pagination Option for StripeList

Constructors

EndingBefore a 
Instances
StripeHasParam GetTransfers (EndingBefore TransferId) Source # 
Instance details

Defined in Web.Stripe.Transfer

StripeHasParam GetSubscriptionsByCustomerId (EndingBefore SubscriptionId) Source # 
Instance details

Defined in Web.Stripe.Subscription

StripeHasParam GetSubscriptions (EndingBefore SubscriptionId) Source # 
Instance details

Defined in Web.Stripe.Subscription

StripeHasParam GetRefunds (EndingBefore RefundId) Source # 
Instance details

Defined in Web.Stripe.Refund

StripeHasParam GetRecipients (EndingBefore RecipientId) Source # 
Instance details

Defined in Web.Stripe.Recipient

StripeHasParam GetPlans (EndingBefore PlanId) Source # 
Instance details

Defined in Web.Stripe.Plan

StripeHasParam GetInvoiceItems (EndingBefore InvoiceItemId) Source # 
Instance details

Defined in Web.Stripe.InvoiceItem

StripeHasParam GetInvoiceLineItems (EndingBefore InvoiceLineItemId) Source # 
Instance details

Defined in Web.Stripe.Invoice

StripeHasParam GetInvoices (EndingBefore InvoiceId) Source # 
Instance details

Defined in Web.Stripe.Invoice

StripeHasParam GetEvents (EndingBefore EventId) Source # 
Instance details

Defined in Web.Stripe.Event

StripeHasParam GetCustomers (EndingBefore CustomerId) Source # 
Instance details

Defined in Web.Stripe.Customer

StripeHasParam GetCoupons (EndingBefore CouponId) Source # 
Instance details

Defined in Web.Stripe.Coupon

StripeHasParam GetCharges (EndingBefore ChargeId) Source # 
Instance details

Defined in Web.Stripe.Charge

StripeHasParam GetRecipientCards (EndingBefore CardId) Source # 
Instance details

Defined in Web.Stripe.Card

StripeHasParam GetCustomerCards (EndingBefore CardId) Source # 
Instance details

Defined in Web.Stripe.Card

StripeHasParam GetBalanceTransactionHistory (EndingBefore TransactionId) Source # 
Instance details

Defined in Web.Stripe.Balance

StripeHasParam GetApplicationFeeRefunds (EndingBefore RefundId) Source # 
Instance details

Defined in Web.Stripe.ApplicationFeeRefund

StripeHasParam GetApplicationFees (EndingBefore ApplicationFeeId) Source # 
Instance details

Defined in Web.Stripe.ApplicationFee

Eq a => Eq (EndingBefore a) Source # 
Instance details

Defined in Web.Stripe.Types

Data a => Data (EndingBefore a) Source # 
Instance details

Defined in Web.Stripe.Types

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> EndingBefore a -> c (EndingBefore a) #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c (EndingBefore a) #

toConstr :: EndingBefore a -> Constr #

dataTypeOf :: EndingBefore a -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c (EndingBefore a)) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c (EndingBefore a)) #

gmapT :: (forall b. Data b => b -> b) -> EndingBefore a -> EndingBefore a #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> EndingBefore a -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> EndingBefore a -> r #

gmapQ :: (forall d. Data d => d -> u) -> EndingBefore a -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> EndingBefore a -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> EndingBefore a -> m (EndingBefore a) #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> EndingBefore a -> m (EndingBefore a) #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> EndingBefore a -> m (EndingBefore a) #

Ord a => Ord (EndingBefore a) Source # 
Instance details

Defined in Web.Stripe.Types

Read a => Read (EndingBefore a) Source # 
Instance details

Defined in Web.Stripe.Types

Show a => Show (EndingBefore a) Source # 
Instance details

Defined in Web.Stripe.Types

ToStripeParam param => ToStripeParam (EndingBefore param) Source # 
Instance details

Defined in Web.Stripe.StripeRequest

newtype ExpandParams Source #

Type of Expansion Parameters for use on Stripe objects

Constructors

ExpandParams 

Fields

Instances
Eq ExpandParams Source # 
Instance details

Defined in Web.Stripe.Types

Data ExpandParams Source # 
Instance details

Defined in Web.Stripe.Types

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ExpandParams -> c ExpandParams #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ExpandParams #

toConstr :: ExpandParams -> Constr #

dataTypeOf :: ExpandParams -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ExpandParams) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ExpandParams) #

gmapT :: (forall b. Data b => b -> b) -> ExpandParams -> ExpandParams #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ExpandParams -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ExpandParams -> r #

gmapQ :: (forall d. Data d => d -> u) -> ExpandParams -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ExpandParams -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ExpandParams -> m ExpandParams #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ExpandParams -> m ExpandParams #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ExpandParams -> m ExpandParams #

Ord ExpandParams Source # 
Instance details

Defined in Web.Stripe.Types

Read ExpandParams Source # 
Instance details

Defined in Web.Stripe.Types

Show ExpandParams Source # 
Instance details

Defined in Web.Stripe.Types

ToStripeParam ExpandParams Source # 
Instance details

Defined in Web.Stripe.StripeRequest

StripeHasParam GetTransfers ExpandParams Source # 
Instance details

Defined in Web.Stripe.Transfer

StripeHasParam GetTransfer ExpandParams Source # 
Instance details

Defined in Web.Stripe.Transfer

StripeHasParam GetSubscriptionsByCustomerId ExpandParams Source # 
Instance details

Defined in Web.Stripe.Subscription

StripeHasParam GetSubscriptions ExpandParams Source # 
Instance details

Defined in Web.Stripe.Subscription

StripeHasParam GetSubscription ExpandParams Source # 
Instance details

Defined in Web.Stripe.Subscription

StripeHasParam GetRefunds ExpandParams Source # 
Instance details

Defined in Web.Stripe.Refund

StripeHasParam GetRefund ExpandParams Source # 
Instance details

Defined in Web.Stripe.Refund

StripeHasParam GetRecipients ExpandParams Source # 
Instance details

Defined in Web.Stripe.Recipient

StripeHasParam GetRecipient ExpandParams Source # 
Instance details

Defined in Web.Stripe.Recipient

StripeHasParam GetInvoiceItems ExpandParams Source # 
Instance details

Defined in Web.Stripe.InvoiceItem

StripeHasParam GetInvoiceItem ExpandParams Source # 
Instance details

Defined in Web.Stripe.InvoiceItem

StripeHasParam GetInvoices ExpandParams Source # 
Instance details

Defined in Web.Stripe.Invoice

StripeHasParam GetInvoice ExpandParams Source # 
Instance details

Defined in Web.Stripe.Invoice

StripeHasParam GetCustomers ExpandParams Source # 
Instance details

Defined in Web.Stripe.Customer

StripeHasParam GetCustomer ExpandParams Source # 
Instance details

Defined in Web.Stripe.Customer

StripeHasParam GetCharges ExpandParams Source # 
Instance details

Defined in Web.Stripe.Charge

StripeHasParam GetCharge ExpandParams Source # 
Instance details

Defined in Web.Stripe.Charge

StripeHasParam CreateCharge ExpandParams Source # 
Instance details

Defined in Web.Stripe.Charge

StripeHasParam GetRecipientCards ExpandParams Source # 
Instance details

Defined in Web.Stripe.Card

StripeHasParam GetCustomerCards ExpandParams Source # 
Instance details

Defined in Web.Stripe.Card

StripeHasParam GetRecipientCard ExpandParams Source # 
Instance details

Defined in Web.Stripe.Card

StripeHasParam GetCustomerCard ExpandParams Source # 
Instance details

Defined in Web.Stripe.Card

StripeHasParam GetBalanceTransaction ExpandParams Source # 
Instance details

Defined in Web.Stripe.Balance

StripeHasParam GetApplicationFeeRefunds ExpandParams Source # 
Instance details

Defined in Web.Stripe.ApplicationFeeRefund

StripeHasParam GetApplicationFeeRefund ExpandParams Source # 
Instance details

Defined in Web.Stripe.ApplicationFeeRefund

StripeHasParam GetApplicationFees ExpandParams Source # 
Instance details

Defined in Web.Stripe.ApplicationFee

StripeHasParam GetApplicationFee ExpandParams Source # 
Instance details

Defined in Web.Stripe.ApplicationFee

newtype ExpMonth Source #

Expiration Month for a Card

Constructors

ExpMonth Int 
Instances
Eq ExpMonth Source # 
Instance details

Defined in Web.Stripe.Types

Data ExpMonth Source # 
Instance details

Defined in Web.Stripe.Types

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ExpMonth -> c ExpMonth #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ExpMonth #

toConstr :: ExpMonth -> Constr #

dataTypeOf :: ExpMonth -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ExpMonth) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ExpMonth) #

gmapT :: (forall b. Data b => b -> b) -> ExpMonth -> ExpMonth #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ExpMonth -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ExpMonth -> r #

gmapQ :: (forall d. Data d => d -> u) -> ExpMonth -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ExpMonth -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ExpMonth -> m ExpMonth #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ExpMonth -> m ExpMonth #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ExpMonth -> m ExpMonth #

Ord ExpMonth Source # 
Instance details

Defined in Web.Stripe.Types

Read ExpMonth Source # 
Instance details

Defined in Web.Stripe.Types

Show ExpMonth Source # 
Instance details

Defined in Web.Stripe.Types

ToStripeParam ExpMonth Source # 
Instance details

Defined in Web.Stripe.StripeRequest

StripeHasParam UpdateRecipientCard ExpMonth Source # 
Instance details

Defined in Web.Stripe.Card

StripeHasParam UpdateCustomerCard ExpMonth Source # 
Instance details

Defined in Web.Stripe.Card

newtype ExpYear Source #

Expiration Year for a Card

Constructors

ExpYear Int 
Instances
Eq ExpYear Source # 
Instance details

Defined in Web.Stripe.Types

Methods

(==) :: ExpYear -> ExpYear -> Bool #

(/=) :: ExpYear -> ExpYear -> Bool #

Data ExpYear Source # 
Instance details

Defined in Web.Stripe.Types

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ExpYear -> c ExpYear #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ExpYear #

toConstr :: ExpYear -> Constr #

dataTypeOf :: ExpYear -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ExpYear) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ExpYear) #

gmapT :: (forall b. Data b => b -> b) -> ExpYear -> ExpYear #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ExpYear -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ExpYear -> r #

gmapQ :: (forall d. Data d => d -> u) -> ExpYear -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ExpYear -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ExpYear -> m ExpYear #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ExpYear -> m ExpYear #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ExpYear -> m ExpYear #

Ord ExpYear Source # 
Instance details

Defined in Web.Stripe.Types

Read ExpYear Source # 
Instance details

Defined in Web.Stripe.Types

Show ExpYear Source # 
Instance details

Defined in Web.Stripe.Types

ToStripeParam ExpYear Source # 
Instance details

Defined in Web.Stripe.StripeRequest

StripeHasParam UpdateRecipientCard ExpYear Source # 
Instance details

Defined in Web.Stripe.Card

StripeHasParam UpdateCustomerCard ExpYear Source # 
Instance details

Defined in Web.Stripe.Card

newtype Limit Source #

Pagination Option for StripeList

Constructors

Limit Int 
Instances
Eq Limit Source # 
Instance details

Defined in Web.Stripe.Types

Methods

(==) :: Limit -> Limit -> Bool #

(/=) :: Limit -> Limit -> Bool #

Data Limit Source # 
Instance details

Defined in Web.Stripe.Types

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Limit -> c Limit #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Limit #

toConstr :: Limit -> Constr #

dataTypeOf :: Limit -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Limit) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Limit) #

gmapT :: (forall b. Data b => b -> b) -> Limit -> Limit #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Limit -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Limit -> r #

gmapQ :: (forall d. Data d => d -> u) -> Limit -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Limit -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Limit -> m Limit #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Limit -> m Limit #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Limit -> m Limit #

Ord Limit Source # 
Instance details

Defined in Web.Stripe.Types

Methods

compare :: Limit -> Limit -> Ordering #

(<) :: Limit -> Limit -> Bool #

(<=) :: Limit -> Limit -> Bool #

(>) :: Limit -> Limit -> Bool #

(>=) :: Limit -> Limit -> Bool #

max :: Limit -> Limit -> Limit #

min :: Limit -> Limit -> Limit #

Read Limit Source # 
Instance details

Defined in Web.Stripe.Types

Show Limit Source # 
Instance details

Defined in Web.Stripe.Types

Methods

showsPrec :: Int -> Limit -> ShowS #

show :: Limit -> String #

showList :: [Limit] -> ShowS #

ToStripeParam Limit Source # 
Instance details

Defined in Web.Stripe.StripeRequest

StripeHasParam GetTransfers Limit Source # 
Instance details

Defined in Web.Stripe.Transfer

StripeHasParam GetSubscriptionsByCustomerId Limit Source # 
Instance details

Defined in Web.Stripe.Subscription

StripeHasParam GetSubscriptions Limit Source # 
Instance details

Defined in Web.Stripe.Subscription

StripeHasParam GetRefunds Limit Source # 
Instance details

Defined in Web.Stripe.Refund

StripeHasParam GetRecipients Limit Source # 
Instance details

Defined in Web.Stripe.Recipient

StripeHasParam GetPlans Limit Source # 
Instance details

Defined in Web.Stripe.Plan

StripeHasParam GetInvoiceItems Limit Source # 
Instance details

Defined in Web.Stripe.InvoiceItem

StripeHasParam GetInvoiceLineItems Limit Source # 
Instance details

Defined in Web.Stripe.Invoice

StripeHasParam GetInvoices Limit Source # 
Instance details

Defined in Web.Stripe.Invoice

StripeHasParam GetEvents Limit Source # 
Instance details

Defined in Web.Stripe.Event

StripeHasParam GetCustomers Limit Source # 
Instance details

Defined in Web.Stripe.Customer

StripeHasParam GetCoupons Limit Source # 
Instance details

Defined in Web.Stripe.Coupon

StripeHasParam GetCharges Limit Source # 
Instance details

Defined in Web.Stripe.Charge

StripeHasParam GetRecipientCards Limit Source # 
Instance details

Defined in Web.Stripe.Card

StripeHasParam GetCustomerCards Limit Source # 
Instance details

Defined in Web.Stripe.Card

StripeHasParam GetBalanceTransactionHistory Limit Source # 
Instance details

Defined in Web.Stripe.Balance

StripeHasParam GetApplicationFeeRefunds Limit Source # 
Instance details

Defined in Web.Stripe.ApplicationFeeRefund

StripeHasParam GetApplicationFees Limit Source # 
Instance details

Defined in Web.Stripe.ApplicationFee

newtype Name Source #

a cardholder's full name

Constructors

Name 

Fields

Instances
Eq Name Source # 
Instance details

Defined in Web.Stripe.Types

Methods

(==) :: Name -> Name -> Bool #

(/=) :: Name -> Name -> Bool #

Data Name Source # 
Instance details

Defined in Web.Stripe.Types

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Name -> c Name #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Name #

toConstr :: Name -> Constr #

dataTypeOf :: Name -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Name) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Name) #

gmapT :: (forall b. Data b => b -> b) -> Name -> Name #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Name -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Name -> r #

gmapQ :: (forall d. Data d => d -> u) -> Name -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Name -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Name -> m Name #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Name -> m Name #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Name -> m Name #

Ord Name Source # 
Instance details

Defined in Web.Stripe.Types

Methods

compare :: Name -> Name -> Ordering #

(<) :: Name -> Name -> Bool #

(<=) :: Name -> Name -> Bool #

(>) :: Name -> Name -> Bool #

(>=) :: Name -> Name -> Bool #

max :: Name -> Name -> Name #

min :: Name -> Name -> Name #

Read Name Source # 
Instance details

Defined in Web.Stripe.Types

Show Name Source # 
Instance details

Defined in Web.Stripe.Types

Methods

showsPrec :: Int -> Name -> ShowS #

show :: Name -> String #

showList :: [Name] -> ShowS #

FromJSON Name Source # 
Instance details

Defined in Web.Stripe.Types

ToStripeParam Name Source # 
Instance details

Defined in Web.Stripe.StripeRequest

StripeHasParam UpdateRecipient Name Source # 
Instance details

Defined in Web.Stripe.Recipient

StripeHasParam UpdateRecipientCard Name Source # 
Instance details

Defined in Web.Stripe.Card

StripeHasParam UpdateCustomerCard Name Source # 
Instance details

Defined in Web.Stripe.Card

data RecipientCard Source #

Instances
Eq RecipientCard Source # 
Instance details

Defined in Web.Stripe.Types

Data RecipientCard Source # 
Instance details

Defined in Web.Stripe.Types

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> RecipientCard -> c RecipientCard #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c RecipientCard #

toConstr :: RecipientCard -> Constr #

dataTypeOf :: RecipientCard -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c RecipientCard) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c RecipientCard) #

gmapT :: (forall b. Data b => b -> b) -> RecipientCard -> RecipientCard #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> RecipientCard -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> RecipientCard -> r #

gmapQ :: (forall d. Data d => d -> u) -> RecipientCard -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> RecipientCard -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> RecipientCard -> m RecipientCard #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> RecipientCard -> m RecipientCard #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> RecipientCard -> m RecipientCard #

Ord RecipientCard Source # 
Instance details

Defined in Web.Stripe.Types

Read RecipientCard Source # 
Instance details

Defined in Web.Stripe.Types

Show RecipientCard Source # 
Instance details

Defined in Web.Stripe.Types

FromJSON RecipientCard Source #

JSON Instance for RecipientCard

Instance details

Defined in Web.Stripe.Types

newtype RecipientCardId Source #

CardId for a Recipient

Constructors

RecipientCardId Text 
Instances
Eq RecipientCardId Source # 
Instance details

Defined in Web.Stripe.Types

Data RecipientCardId Source # 
Instance details

Defined in Web.Stripe.Types

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> RecipientCardId -> c RecipientCardId #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c RecipientCardId #

toConstr :: RecipientCardId -> Constr #

dataTypeOf :: RecipientCardId -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c RecipientCardId) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c RecipientCardId) #

gmapT :: (forall b. Data b => b -> b) -> RecipientCardId -> RecipientCardId #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> RecipientCardId -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> RecipientCardId -> r #

gmapQ :: (forall d. Data d => d -> u) -> RecipientCardId -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> RecipientCardId -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> RecipientCardId -> m RecipientCardId #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> RecipientCardId -> m RecipientCardId #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> RecipientCardId -> m RecipientCardId #

Ord RecipientCardId Source # 
Instance details

Defined in Web.Stripe.Types

Read RecipientCardId Source # 
Instance details

Defined in Web.Stripe.Types

Show RecipientCardId Source # 
Instance details

Defined in Web.Stripe.Types

FromJSON RecipientCardId Source #

JSON Instance for RecipientCardId

Instance details

Defined in Web.Stripe.Types

type ExpandsTo RecipientCardId Source # 
Instance details

Defined in Web.Stripe.Types

newtype RecipientId Source #

Constructors

RecipientId Text 
Instances
Eq RecipientId Source # 
Instance details

Defined in Web.Stripe.Types

Data RecipientId Source # 
Instance details

Defined in Web.Stripe.Types

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> RecipientId -> c RecipientId #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c RecipientId #

toConstr :: RecipientId -> Constr #

dataTypeOf :: RecipientId -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c RecipientId) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c RecipientId) #

gmapT :: (forall b. Data b => b -> b) -> RecipientId -> RecipientId #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> RecipientId -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> RecipientId -> r #

gmapQ :: (forall d. Data d => d -> u) -> RecipientId -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> RecipientId -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> RecipientId -> m RecipientId #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> RecipientId -> m RecipientId #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> RecipientId -> m RecipientId #

Ord RecipientId Source # 
Instance details

Defined in Web.Stripe.Types

Read RecipientId Source # 
Instance details

Defined in Web.Stripe.Types

Show RecipientId Source # 
Instance details

Defined in Web.Stripe.Types

FromJSON RecipientId Source #

JSON Instance for RecipientId

Instance details

Defined in Web.Stripe.Types

ToStripeParam RecipientId Source # 
Instance details

Defined in Web.Stripe.StripeRequest

StripeHasParam GetTransfers RecipientId Source # 
Instance details

Defined in Web.Stripe.Transfer

StripeHasParam GetRecipients (EndingBefore RecipientId) Source # 
Instance details

Defined in Web.Stripe.Recipient

StripeHasParam GetRecipients (StartingAfter RecipientId) Source # 
Instance details

Defined in Web.Stripe.Recipient

type ExpandsTo RecipientId Source # 
Instance details

Defined in Web.Stripe.Types

newtype StartingAfter a Source #

Pagination Option for StripeList

Constructors

StartingAfter a 
Instances
StripeHasParam GetTransfers (StartingAfter TransferId) Source # 
Instance details

Defined in Web.Stripe.Transfer

StripeHasParam GetSubscriptionsByCustomerId (StartingAfter SubscriptionId) Source # 
Instance details

Defined in Web.Stripe.Subscription

StripeHasParam GetSubscriptions (StartingAfter SubscriptionId) Source # 
Instance details

Defined in Web.Stripe.Subscription

StripeHasParam GetRefunds (StartingAfter RefundId) Source # 
Instance details

Defined in Web.Stripe.Refund

StripeHasParam GetRecipients (StartingAfter RecipientId) Source # 
Instance details

Defined in Web.Stripe.Recipient

StripeHasParam GetPlans (StartingAfter PlanId) Source # 
Instance details

Defined in Web.Stripe.Plan

StripeHasParam GetInvoiceItems (StartingAfter InvoiceItemId) Source # 
Instance details

Defined in Web.Stripe.InvoiceItem

StripeHasParam GetInvoiceLineItems (StartingAfter InvoiceLineItemId) Source # 
Instance details

Defined in Web.Stripe.Invoice

StripeHasParam GetInvoices (StartingAfter InvoiceId) Source # 
Instance details

Defined in Web.Stripe.Invoice

StripeHasParam GetEvents (StartingAfter EventId) Source # 
Instance details

Defined in Web.Stripe.Event

StripeHasParam GetCustomers (StartingAfter CustomerId) Source # 
Instance details

Defined in Web.Stripe.Customer

StripeHasParam GetCoupons (StartingAfter CouponId) Source # 
Instance details

Defined in Web.Stripe.Coupon

StripeHasParam GetCharges (StartingAfter ChargeId) Source # 
Instance details

Defined in Web.Stripe.Charge

StripeHasParam GetRecipientCards (StartingAfter CardId) Source # 
Instance details

Defined in Web.Stripe.Card

StripeHasParam GetCustomerCards (StartingAfter CardId) Source # 
Instance details

Defined in Web.Stripe.Card

StripeHasParam GetBalanceTransactionHistory (StartingAfter TransactionId) Source # 
Instance details

Defined in Web.Stripe.Balance

StripeHasParam GetApplicationFeeRefunds (StartingAfter RefundId) Source # 
Instance details

Defined in Web.Stripe.ApplicationFeeRefund

StripeHasParam GetApplicationFees (StartingAfter ApplicationFeeId) Source # 
Instance details

Defined in Web.Stripe.ApplicationFee

Eq a => Eq (StartingAfter a) Source # 
Instance details

Defined in Web.Stripe.Types

Data a => Data (StartingAfter a) Source # 
Instance details

Defined in Web.Stripe.Types

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> StartingAfter a -> c (StartingAfter a) #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c (StartingAfter a) #

toConstr :: StartingAfter a -> Constr #

dataTypeOf :: StartingAfter a -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c (StartingAfter a)) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c (StartingAfter a)) #

gmapT :: (forall b. Data b => b -> b) -> StartingAfter a -> StartingAfter a #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> StartingAfter a -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> StartingAfter a -> r #

gmapQ :: (forall d. Data d => d -> u) -> StartingAfter a -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> StartingAfter a -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> StartingAfter a -> m (StartingAfter a) #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> StartingAfter a -> m (StartingAfter a) #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> StartingAfter a -> m (StartingAfter a) #

Ord a => Ord (StartingAfter a) Source # 
Instance details

Defined in Web.Stripe.Types

Read a => Read (StartingAfter a) Source # 
Instance details

Defined in Web.Stripe.Types

Show a => Show (StartingAfter a) Source # 
Instance details

Defined in Web.Stripe.Types

ToStripeParam param => ToStripeParam (StartingAfter param) Source # 
Instance details

Defined in Web.Stripe.StripeRequest