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

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

Web.Stripe.Customer

Contents

Description

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

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

main :: IO ()
main = do
  let config = StripeConfig (StripeKey "secret_key")
  result <- stripe config createCustomer
  case result of
    Right customer    -> print customer
    Left  stripeError -> print stripeError

Synopsis

API

getCustomer #

Retrieve a customer

getCustomers :: StripeRequest GetCustomers #

Retrieve up to 100 customers at a time

Types

newtype AccountBalance #

AccountBalance for a Customer

Constructors

AccountBalance Int 

Instances

Eq AccountBalance # 
Data AccountBalance # 

Methods

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

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

toConstr :: AccountBalance -> Constr #

dataTypeOf :: AccountBalance -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord AccountBalance # 
Read AccountBalance # 
Show AccountBalance # 
ToStripeParam AccountBalance # 
StripeHasParam UpdateCustomer AccountBalance # 
StripeHasParam CreateCustomer AccountBalance # 

newtype CardId #

CardId for a Customer

Constructors

CardId Text 

Instances

Eq CardId # 

Methods

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

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

Data CardId # 

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 # 
Read CardId # 
Show CardId # 
FromJSON CardId #

JSON Instance for CardId

ToStripeParam CardId # 
StripeHasParam CreateTransfer CardId # 
StripeHasParam UpdateSubscription CardId # 
StripeHasParam CreateSubscription CardId # 
StripeHasParam UpdateRecipient CardId # 
StripeHasParam CreateRecipient CardId # 
StripeHasParam GetRecipientCards (EndingBefore CardId) # 
StripeHasParam GetRecipientCards (StartingAfter CardId) # 
StripeHasParam GetCustomerCards (EndingBefore CardId) # 
StripeHasParam GetCustomerCards (StartingAfter CardId) # 
type ExpandsTo CardId # 

newtype CardNumber #

Number associated with a Card

Constructors

CardNumber Text 

Instances

Eq CardNumber # 
Data CardNumber # 

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 # 
Read CardNumber # 
Show CardNumber # 
ToStripeParam CardNumber # 

newtype CouponId #

Constructors

CouponId Text 

Instances

Eq CouponId # 
Data CouponId # 

Methods

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

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

toConstr :: CouponId -> Constr #

dataTypeOf :: CouponId -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord CouponId # 
Read CouponId # 
Show CouponId # 
ToStripeParam CouponId # 
StripeHasParam UpdateSubscription CouponId # 
StripeHasParam CreateSubscription CouponId # 
StripeHasParam UpdateCustomer CouponId # 
StripeHasParam CreateCustomer CouponId # 
StripeHasParam GetCoupons (EndingBefore CouponId) # 
StripeHasParam GetCoupons (StartingAfter CouponId) # 

newtype Created #

Constructors

Created UTCTime 

Instances

Eq Created # 

Methods

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

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

Data Created # 

Methods

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

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

toConstr :: Created -> Constr #

dataTypeOf :: Created -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord Created # 
Read Created # 
Show Created # 
ToStripeParam Created # 
StripeHasParam GetTransfers Created # 
StripeHasParam GetInvoiceItems Created # 
StripeHasParam GetEvents Created # 
StripeHasParam GetCustomers Created # 
StripeHasParam GetCharges Created # 
StripeHasParam GetBalanceTransactionHistory Created # 
StripeHasParam GetApplicationFees Created # 
StripeHasParam GetBalanceTransactionHistory (TimeRange Created) # 

data Customer #

Customer object

Instances

Eq Customer # 
Data Customer # 

Methods

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

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

toConstr :: Customer -> Constr #

dataTypeOf :: Customer -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord Customer # 
Read Customer # 
Show Customer # 
FromJSON Customer #

JSON Instance for Customer

newtype CustomerId #

Constructors

CustomerId Text 

Instances

Eq CustomerId # 
Data CustomerId # 

Methods

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

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

toConstr :: CustomerId -> Constr #

dataTypeOf :: CustomerId -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord CustomerId # 
Read CustomerId # 
Show CustomerId # 
FromJSON CustomerId #

JSON Instance for CustomerId

ToStripeParam CustomerId # 
StripeHasParam CreateCardToken CustomerId # 
StripeHasParam GetInvoiceItems CustomerId # 
StripeHasParam GetInvoiceLineItems CustomerId # 
StripeHasParam GetCharges CustomerId # 
StripeHasParam CreateCharge CustomerId # 
StripeHasParam GetCustomers (EndingBefore CustomerId) # 
StripeHasParam GetCustomers (StartingAfter CustomerId) # 
type ExpandsTo CustomerId # 

newtype CVC #

CVC for a Card

Constructors

CVC Text 

Instances

Eq CVC # 

Methods

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

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

Data CVC # 

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 # 

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 # 
Show CVC # 

Methods

showsPrec :: Int -> CVC -> ShowS #

show :: CVC -> String #

showList :: [CVC] -> ShowS #

ToStripeParam CVC # 

newtype Description #

Generic Description for use in constructing API Calls

Constructors

Description Text 

Instances

Eq Description # 
Data Description # 

Methods

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

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

toConstr :: Description -> Constr #

dataTypeOf :: Description -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord Description # 
Read Description # 
Show Description # 
FromJSON Description # 
ToStripeParam Description # 
StripeHasParam UpdateTransfer Description # 
StripeHasParam CreateTransfer Description # 
StripeHasParam UpdateRecipient Description # 
StripeHasParam CreateRecipient Description # 
StripeHasParam UpdateInvoiceItem Description # 
StripeHasParam CreateInvoiceItem Description # 
StripeHasParam UpdateInvoice Description # 
StripeHasParam CreateInvoice Description # 
StripeHasParam UpdateCustomer Description # 
StripeHasParam CreateCustomer Description # 
StripeHasParam UpdateCharge Description # 
StripeHasParam CreateCharge Description # 

newtype Email #

Email associated with a Customer, Recipient or Charge

Constructors

Email Text 

Instances

Eq Email # 

Methods

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

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

Data Email # 

Methods

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

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

toConstr :: Email -> Constr #

dataTypeOf :: Email -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord Email # 

Methods

compare :: Email -> Email -> Ordering #

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

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

(>) :: Email -> Email -> Bool #

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

max :: Email -> Email -> Email #

min :: Email -> Email -> Email #

Read Email # 
Show Email # 

Methods

showsPrec :: Int -> Email -> ShowS #

show :: Email -> String #

showList :: [Email] -> ShowS #

ToStripeParam Email # 
StripeHasParam UpdateRecipient Email # 
StripeHasParam CreateRecipient Email # 
StripeHasParam UpdateCustomer Email # 
StripeHasParam CreateCustomer Email # 

newtype EndingBefore a #

Pagination Option for StripeList

Constructors

EndingBefore a 

Instances

StripeHasParam GetTransfers (EndingBefore TransferId) # 
StripeHasParam GetSubscriptionsByCustomerId (EndingBefore SubscriptionId) # 
StripeHasParam GetSubscriptions (EndingBefore SubscriptionId) # 
StripeHasParam GetRefunds (EndingBefore RefundId) # 
StripeHasParam GetRecipients (EndingBefore RecipientId) # 
StripeHasParam GetPlans (EndingBefore PlanId) # 
StripeHasParam GetInvoiceItems (EndingBefore InvoiceItemId) # 
StripeHasParam GetInvoiceLineItems (EndingBefore InvoiceLineItemId) # 
StripeHasParam GetInvoices (EndingBefore InvoiceId) # 
StripeHasParam GetEvents (EndingBefore EventId) # 
StripeHasParam GetCustomers (EndingBefore CustomerId) # 
StripeHasParam GetCoupons (EndingBefore CouponId) # 
StripeHasParam GetCharges (EndingBefore ChargeId) # 
StripeHasParam GetRecipientCards (EndingBefore CardId) # 
StripeHasParam GetCustomerCards (EndingBefore CardId) # 
StripeHasParam GetBalanceTransactionHistory (EndingBefore TransactionId) # 
StripeHasParam GetApplicationFeeRefunds (EndingBefore RefundId) # 
StripeHasParam GetApplicationFees (EndingBefore ApplicationFeeId) # 
Eq a => Eq (EndingBefore a) # 
Data a => Data (EndingBefore a) # 

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) # 
Read a => Read (EndingBefore a) # 
Show a => Show (EndingBefore a) # 
ToStripeParam param => ToStripeParam (EndingBefore param) # 

newtype ExpandParams #

Type of Expansion Parameters for use on Stripe objects

Constructors

ExpandParams 

Fields

Instances

Eq ExpandParams # 
Data ExpandParams # 

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 # 
Read ExpandParams # 
Show ExpandParams # 
ToStripeParam ExpandParams # 
StripeHasParam GetTransfers ExpandParams # 
StripeHasParam GetTransfer ExpandParams # 
StripeHasParam GetSubscriptionsByCustomerId ExpandParams # 
StripeHasParam GetSubscriptions ExpandParams # 
StripeHasParam GetSubscription ExpandParams # 
StripeHasParam GetRefunds ExpandParams # 
StripeHasParam GetRefund ExpandParams # 
StripeHasParam GetRecipients ExpandParams # 
StripeHasParam GetRecipient ExpandParams # 
StripeHasParam GetInvoiceItems ExpandParams # 
StripeHasParam GetInvoiceItem ExpandParams # 
StripeHasParam GetInvoices ExpandParams # 
StripeHasParam GetInvoice ExpandParams # 
StripeHasParam GetCustomers ExpandParams # 
StripeHasParam GetCustomer ExpandParams # 
StripeHasParam GetCharges ExpandParams # 
StripeHasParam GetCharge ExpandParams # 
StripeHasParam CreateCharge ExpandParams # 
StripeHasParam GetRecipientCards ExpandParams # 
StripeHasParam GetCustomerCards ExpandParams # 
StripeHasParam GetRecipientCard ExpandParams # 
StripeHasParam GetCustomerCard ExpandParams # 
StripeHasParam GetBalanceTransaction ExpandParams # 
StripeHasParam GetApplicationFeeRefunds ExpandParams # 
StripeHasParam GetApplicationFeeRefund ExpandParams # 
StripeHasParam GetApplicationFees ExpandParams # 
StripeHasParam GetApplicationFee ExpandParams # 

newtype ExpMonth #

Expiration Month for a Card

Constructors

ExpMonth Int 

Instances

Eq ExpMonth # 
Data ExpMonth # 

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 # 
Read ExpMonth # 
Show ExpMonth # 
ToStripeParam ExpMonth # 
StripeHasParam UpdateRecipientCard ExpMonth # 
StripeHasParam UpdateCustomerCard ExpMonth # 

newtype ExpYear #

Expiration Year for a Card

Constructors

ExpYear Int 

Instances

Eq ExpYear # 

Methods

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

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

Data ExpYear # 

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 # 
Read ExpYear # 
Show ExpYear # 
ToStripeParam ExpYear # 
StripeHasParam UpdateRecipientCard ExpYear # 
StripeHasParam UpdateCustomerCard ExpYear # 

newtype Limit #

Pagination Option for StripeList

Constructors

Limit Int 

Instances

Eq Limit # 

Methods

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

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

Data Limit # 

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 # 

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 # 
Show Limit # 

Methods

showsPrec :: Int -> Limit -> ShowS #

show :: Limit -> String #

showList :: [Limit] -> ShowS #

ToStripeParam Limit # 
StripeHasParam GetTransfers Limit # 
StripeHasParam GetSubscriptionsByCustomerId Limit # 
StripeHasParam GetSubscriptions Limit # 
StripeHasParam GetRefunds Limit # 
StripeHasParam GetRecipients Limit # 
StripeHasParam GetPlans Limit # 
StripeHasParam GetInvoiceItems Limit # 
StripeHasParam GetInvoiceLineItems Limit # 
StripeHasParam GetInvoices Limit # 
StripeHasParam GetEvents Limit # 
StripeHasParam GetCustomers Limit # 
StripeHasParam GetCoupons Limit # 
StripeHasParam GetCharges Limit # 
StripeHasParam GetRecipientCards Limit # 
StripeHasParam GetCustomerCards Limit # 
StripeHasParam GetBalanceTransactionHistory Limit # 
StripeHasParam GetApplicationFeeRefunds Limit # 
StripeHasParam GetApplicationFees Limit # 

newtype MetaData #

Type of MetaData for use on Stripe objects

Constructors

MetaData [(Text, Text)] 

Instances

Eq MetaData # 
Data MetaData # 

Methods

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

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

toConstr :: MetaData -> Constr #

dataTypeOf :: MetaData -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord MetaData # 
Read MetaData # 
Show MetaData # 
FromJSON MetaData # 
ToStripeParam MetaData # 
StripeHasParam UpdateTransfer MetaData # 
StripeHasParam CreateTransfer MetaData # 
StripeHasParam UpdateSubscription MetaData # 
StripeHasParam CreateSubscription MetaData # 
StripeHasParam UpdateRefund MetaData # 
StripeHasParam CreateRefund MetaData # 
StripeHasParam UpdateRecipient MetaData # 
StripeHasParam CreateRecipient MetaData # 
StripeHasParam UpdatePlan MetaData # 
StripeHasParam CreatePlan MetaData # 
StripeHasParam UpdateInvoiceItem MetaData # 
StripeHasParam CreateInvoiceItem MetaData # 
StripeHasParam UpdateInvoice MetaData # 
StripeHasParam CreateInvoice MetaData # 
StripeHasParam UpdateDispute MetaData # 
StripeHasParam UpdateCustomer MetaData # 
StripeHasParam CreateCustomer MetaData # 
StripeHasParam UpdateCoupon MetaData # 
StripeHasParam CreateCoupon MetaData # 
StripeHasParam UpdateCharge MetaData # 
StripeHasParam CreateCharge MetaData # 
StripeHasParam UpdateApplicationFeeRefund MetaData # 
StripeHasParam CreateApplicationFeeRefund MetaData # 

mkNewCard :: CardNumber -> ExpMonth -> ExpYear -> NewCard #

create a NewCard with only the required fields

data NewCard #

NewCard contains the data needed to create a new Card

Instances

Eq NewCard # 

Methods

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

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

Data NewCard # 

Methods

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

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

toConstr :: NewCard -> Constr #

dataTypeOf :: NewCard -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord NewCard # 
Read NewCard # 
Show NewCard # 
ToStripeParam NewCard # 
StripeHasParam UpdateRecipient NewCard # 
StripeHasParam CreateRecipient NewCard # 
StripeHasParam UpdateCustomer NewCard # 
StripeHasParam CreateCustomer NewCard # 
StripeHasParam CreateCharge NewCard # 

newtype PlanId #

PlanId for a Plan

Constructors

PlanId Text 

Instances

Eq PlanId # 

Methods

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

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

Data PlanId # 

Methods

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

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

toConstr :: PlanId -> Constr #

dataTypeOf :: PlanId -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord PlanId # 
Read PlanId # 
Show PlanId # 
ToStripeParam PlanId # 
StripeHasParam UpdateSubscription PlanId # 
StripeHasParam CreateCustomer PlanId # 
StripeHasParam GetPlans (EndingBefore PlanId) # 
StripeHasParam GetPlans (StartingAfter PlanId) # 

newtype Quantity #

Generic Quantity type to be used with Customer, Subscription and InvoiceLineItem API requests

Constructors

Quantity Int 

Instances

Eq Quantity # 
Data Quantity # 

Methods

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

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

toConstr :: Quantity -> Constr #

dataTypeOf :: Quantity -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord Quantity # 
Read Quantity # 
Show Quantity # 
ToStripeParam Quantity # 
StripeHasParam UpdateSubscription Quantity # 
StripeHasParam CreateSubscription Quantity # 
StripeHasParam CreateCustomer Quantity # 

newtype StartingAfter a #

Pagination Option for StripeList

Constructors

StartingAfter a 

Instances

StripeHasParam GetTransfers (StartingAfter TransferId) # 
StripeHasParam GetSubscriptionsByCustomerId (StartingAfter SubscriptionId) # 
StripeHasParam GetSubscriptions (StartingAfter SubscriptionId) # 
StripeHasParam GetRefunds (StartingAfter RefundId) # 
StripeHasParam GetRecipients (StartingAfter RecipientId) # 
StripeHasParam GetPlans (StartingAfter PlanId) # 
StripeHasParam GetInvoiceItems (StartingAfter InvoiceItemId) # 
StripeHasParam GetInvoiceLineItems (StartingAfter InvoiceLineItemId) # 
StripeHasParam GetInvoices (StartingAfter InvoiceId) # 
StripeHasParam GetEvents (StartingAfter EventId) # 
StripeHasParam GetCustomers (StartingAfter CustomerId) # 
StripeHasParam GetCoupons (StartingAfter CouponId) # 
StripeHasParam GetCharges (StartingAfter ChargeId) # 
StripeHasParam GetRecipientCards (StartingAfter CardId) # 
StripeHasParam GetCustomerCards (StartingAfter CardId) # 
StripeHasParam GetBalanceTransactionHistory (StartingAfter TransactionId) # 
StripeHasParam GetApplicationFeeRefunds (StartingAfter RefundId) # 
StripeHasParam GetApplicationFees (StartingAfter ApplicationFeeId) # 
Eq a => Eq (StartingAfter a) # 
Data a => Data (StartingAfter a) # 

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) # 
Read a => Read (StartingAfter a) # 
Show a => Show (StartingAfter a) # 
ToStripeParam param => ToStripeParam (StartingAfter param) # 

data StripeDeleteResult #

JSON returned from a Stripe deletion request

Constructors

StripeDeleteResult 

Instances

Eq StripeDeleteResult # 
Data StripeDeleteResult # 

Methods

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

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

toConstr :: StripeDeleteResult -> Constr #

dataTypeOf :: StripeDeleteResult -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord StripeDeleteResult # 
Read StripeDeleteResult # 
Show StripeDeleteResult # 
FromJSON StripeDeleteResult #

JSON Instance for StripeDeleteResult

data StripeList a #

Generic handling of Stripe JSON arrays

Constructors

StripeList 

Fields

Instances

Eq a => Eq (StripeList a) # 

Methods

(==) :: StripeList a -> StripeList a -> Bool #

(/=) :: StripeList a -> StripeList a -> Bool #

Data a => Data (StripeList a) # 

Methods

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

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

toConstr :: StripeList a -> Constr #

dataTypeOf :: StripeList a -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord a => Ord (StripeList a) # 
Read a => Read (StripeList a) # 
Show a => Show (StripeList a) # 
FromJSON a => FromJSON (StripeList a) #

JSON Instance for StripeList

newtype TokenId #

Constructors

TokenId Text 

Instances

Eq TokenId # 

Methods

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

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

Data TokenId # 

Methods

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

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

toConstr :: TokenId -> Constr #

dataTypeOf :: TokenId -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord TokenId # 
Read TokenId # 
Show TokenId # 
ToStripeParam TokenId # 
StripeHasParam UpdateRecipient TokenId # 
StripeHasParam CreateRecipient TokenId # 
StripeHasParam UpdateCustomer TokenId # 
StripeHasParam CreateCustomer TokenId # 
StripeHasParam CreateCharge TokenId # 

newtype TrialEnd #

TrialEnd for a Plan

Constructors

TrialEnd UTCTime 

Instances

Eq TrialEnd # 
Data TrialEnd # 

Methods

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

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

toConstr :: TrialEnd -> Constr #

dataTypeOf :: TrialEnd -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord TrialEnd # 
Read TrialEnd # 
Show TrialEnd # 
ToStripeParam TrialEnd # 
StripeHasParam UpdateSubscription TrialEnd # 
StripeHasParam CreateSubscription TrialEnd # 
StripeHasParam CreateCustomer TrialEnd #