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

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

Web.Stripe.Charge

Contents

Description

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

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

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

API

createCharge Source #

Arguments

:: Amount

Amount to charge

-> Currency

Currency for charge

-> StripeRequest CreateCharge 

Create a Charge

data GetCharge Source #

Instances
StripeHasParam GetCharge ExpandParams Source # 
Instance details

Defined in Web.Stripe.Charge

type StripeReturn GetCharge Source # 
Instance details

Defined in Web.Stripe.Charge

getCharge Source #

Arguments

:: ChargeId

The Charge to retrive

-> StripeRequest GetCharge 

Retrieve a Charge by ChargeId

updateCharge Source #

Arguments

:: ChargeId

The Charge to update

-> StripeRequest UpdateCharge 

A Charge to be updated

captureCharge Source #

Arguments

:: ChargeId

The ChargeId of the Charge to capture

-> StripeRequest CaptureCharge 

a Charge to be captured

Types

newtype Amount Source #

Amount representing a monetary value. Stripe represents pennies as whole numbers i.e. 100 = $1

Constructors

Amount 

Fields

Instances
Eq Amount Source # 
Instance details

Defined in Web.Stripe.Types

Methods

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

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

Data Amount 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) -> Amount -> c Amount #

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

toConstr :: Amount -> Constr #

dataTypeOf :: Amount -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord Amount Source # 
Instance details

Defined in Web.Stripe.Types

Read Amount Source # 
Instance details

Defined in Web.Stripe.Types

Show Amount Source # 
Instance details

Defined in Web.Stripe.Types

ToStripeParam Amount Source # 
Instance details

Defined in Web.Stripe.StripeRequest

StripeHasParam CreateRefund Amount Source # 
Instance details

Defined in Web.Stripe.Refund

StripeHasParam UpdateInvoiceItem Amount Source # 
Instance details

Defined in Web.Stripe.InvoiceItem

StripeHasParam CaptureCharge Amount Source # 
Instance details

Defined in Web.Stripe.Charge

StripeHasParam CreateApplicationFeeRefund Amount Source # 
Instance details

Defined in Web.Stripe.ApplicationFeeRefund

newtype ApplicationFeeAmount Source #

ApplicationFeeAmount

Instances
Eq ApplicationFeeAmount Source # 
Instance details

Defined in Web.Stripe.Types

Data ApplicationFeeAmount 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) -> ApplicationFeeAmount -> c ApplicationFeeAmount #

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

toConstr :: ApplicationFeeAmount -> Constr #

dataTypeOf :: ApplicationFeeAmount -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord ApplicationFeeAmount Source # 
Instance details

Defined in Web.Stripe.Types

Read ApplicationFeeAmount Source # 
Instance details

Defined in Web.Stripe.Types

Show ApplicationFeeAmount Source # 
Instance details

Defined in Web.Stripe.Types

ToStripeParam ApplicationFeeAmount Source # 
Instance details

Defined in Web.Stripe.StripeRequest

StripeHasParam CreateCharge ApplicationFeeAmount Source # 
Instance details

Defined in Web.Stripe.Charge

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 Capture Source #

Capture for Charge

Constructors

Capture 

Fields

Instances
Eq Capture Source # 
Instance details

Defined in Web.Stripe.Types

Methods

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

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

Data Capture 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) -> Capture -> c Capture #

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

toConstr :: Capture -> Constr #

dataTypeOf :: Capture -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord Capture Source # 
Instance details

Defined in Web.Stripe.Types

Read Capture Source # 
Instance details

Defined in Web.Stripe.Types

Show Capture Source # 
Instance details

Defined in Web.Stripe.Types

ToStripeParam Capture Source # 
Instance details

Defined in Web.Stripe.StripeRequest

StripeHasParam CreateCharge Capture Source # 
Instance details

Defined in Web.Stripe.Charge

data Charge Source #

Charge object in Stripe API

Instances
Eq Charge Source # 
Instance details

Defined in Web.Stripe.Types

Methods

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

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

Data Charge 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) -> Charge -> c Charge #

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

toConstr :: Charge -> Constr #

dataTypeOf :: Charge -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord Charge Source # 
Instance details

Defined in Web.Stripe.Types

Read Charge Source # 
Instance details

Defined in Web.Stripe.Types

Show Charge Source # 
Instance details

Defined in Web.Stripe.Types

FromJSON Charge Source #

JSON Instance for Charge

Instance details

Defined in Web.Stripe.Types

newtype ChargeId Source #

ChargeId associated with a Charge

Constructors

ChargeId Text 
Instances
Eq ChargeId Source # 
Instance details

Defined in Web.Stripe.Types

Data ChargeId 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) -> ChargeId -> c ChargeId #

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

toConstr :: ChargeId -> Constr #

dataTypeOf :: ChargeId -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord ChargeId Source # 
Instance details

Defined in Web.Stripe.Types

Read ChargeId Source # 
Instance details

Defined in Web.Stripe.Types

Show ChargeId Source # 
Instance details

Defined in Web.Stripe.Types

FromJSON ChargeId Source #

JSON Instance for ChargeId

Instance details

Defined in Web.Stripe.Types

ToStripeParam ChargeId Source # 
Instance details

Defined in Web.Stripe.StripeRequest

StripeHasParam GetApplicationFees ChargeId Source # 
Instance details

Defined in Web.Stripe.ApplicationFee

StripeHasParam GetCharges (EndingBefore ChargeId) Source # 
Instance details

Defined in Web.Stripe.Charge

StripeHasParam GetCharges (StartingAfter ChargeId) Source # 
Instance details

Defined in Web.Stripe.Charge

type ExpandsTo ChargeId Source # 
Instance details

Defined in Web.Stripe.Types

newtype Created Source #

Constructors

Created UTCTime 
Instances
Eq Created Source # 
Instance details

Defined in Web.Stripe.Types

Methods

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

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

Data Created 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) -> 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 Source # 
Instance details

Defined in Web.Stripe.Types

Read Created Source # 
Instance details

Defined in Web.Stripe.Types

Show Created Source # 
Instance details

Defined in Web.Stripe.Types

ToStripeParam Created Source # 
Instance details

Defined in Web.Stripe.StripeRequest

StripeHasParam GetTransfers Created Source # 
Instance details

Defined in Web.Stripe.Transfer

StripeHasParam GetInvoiceItems Created Source # 
Instance details

Defined in Web.Stripe.InvoiceItem

StripeHasParam GetEvents Created Source # 
Instance details

Defined in Web.Stripe.Event

StripeHasParam GetCustomers Created Source # 
Instance details

Defined in Web.Stripe.Customer

StripeHasParam GetCharges Created Source # 
Instance details

Defined in Web.Stripe.Charge

StripeHasParam GetBalanceTransactionHistory Created Source # 
Instance details

Defined in Web.Stripe.Balance

StripeHasParam GetApplicationFees Created Source # 
Instance details

Defined in Web.Stripe.ApplicationFee

StripeHasParam GetBalanceTransactionHistory (TimeRange Created) Source # 
Instance details

Defined in Web.Stripe.Balance

data Currency Source #

Stripe supports 138 currencies

Constructors

AED

United Arab Emirates Dirham

AFN

Afghan Afghani

ALL

Albanian Lek

AMD

Armenian Dram

ANG

Netherlands Antillean Gulden

AOA

Angolan Kwanza

ARS

Argentine Peso

AUD

Australian Dollar

AWG

Aruban Florin

AZN

Azerbaijani Manat

BAM

Bosnia & Herzegovina Convertible Mark

BBD

Barbadian Dollar

BDT

Bangladeshi Taka

BGN

Bulgarian Lev

BIF

Burundian Franc

BMD

Bermudian Dollar

BND

Brunei Dollar

BOB

Bolivian Boliviano

BRL

Brazilian Real

BSD

Bahamian Dollar

BWP

Botswana Pula

BZD

Belize Dollar

CAD

Canadian Dollar

CDF

Congolese Franc

CHF

Swiss Franc

CLP

Chilean Peso

CNY

Chinese Renminbi Yuan

COP

Colombian Peso

CRC

Costa Rican Colón

CVE

Cape Verdean Escudo

CZK

Czech Koruna

DJF

Djiboutian Franc

DKK

Danish Krone

DOP

Dominican Peso

DZD

Algerian Dinar

EEK

Estonian Kroon

EGP

Egyptian Pound

ETB

Ethiopian Birr

EUR

Euro

FJD

Fijian Dollar

FKP

Falkland Islands Pound

GBP

British Pound

GEL

Georgian Lari

GIP

Gibraltar Pound

GMD

Gambian Dalasi

GNF

Guinean Franc

GTQ

Guatemalan Quetzal

GYD

Guyanese Dollar

HKD

Hong Kong Dollar

HNL

Honduran Lempira

HRK

Croatian Kuna

HTG

Haitian Gourde

HUF

Hungarian Forint

IDR

Indonesian Rupiah

ILS

Israeli New Sheqel

INR

Indian Rupee

ISK

Icelandic Króna

JMD

Jamaican Dollar

JPY

Japanese Yen

KES

Kenyan Shilling

KGS

Kyrgyzstani Som

KHR

Cambodian Riel

KMF

Comorian Franc

KRW

South Korean Won

KYD

Cayman Islands Dollar

KZT

Kazakhstani Tenge

LAK

Lao Kip

LBP

Lebanese Pound

LKR

Sri Lankan Rupee

LRD

Liberian Dollar

LSL

Lesotho Loti

LTL

Lithuanian Litas

LVL

Latvian Lats

MAD

Moroccan Dirham

MDL

Moldovan Leu

MGA

Malagasy Ariary

MKD

Macedonian Denar

MNT

Mongolian Tögrög

MOP

Macanese Pataca

MRO

Mauritanian Ouguiya

MUR

Mauritian Rupee

MVR

Maldivian Rufiyaa

MWK

Malawian Kwacha

MXN

Mexican Peso

MYR

Malaysian Ringgit

MZN

Mozambican Metical

NAD

Namibian Dollar

NGN

Nigerian Naira

NIO

Nicaraguan Córdoba

NOK

Norwegian Krone

NPR

Nepalese Rupee

NZD

New Zealand Dollar

PAB

Panamanian Balboa

PEN

Peruvian Nuevo Sol

PGK

Papua New Guinean Kina

PHP

Philippine Peso

PKR

Pakistani Rupee

PLN

Polish Złoty

PYG

Paraguayan Guaraní

QAR

Qatari Riyal

RON

Romanian Leu

RSD

Serbian Dinar

RUB

Russian Ruble

RWF

Rwandan Franc

SAR

Saudi Riyal

SBD

Solomon Islands Dollar

SCR

Seychellois Rupee

SEK

Swedish Krona

SGD

Singapore Dollar

SHP

Saint Helenian Pound

SLL

Sierra Leonean Leone

SOS

Somali Shilling

SRD

Surinamese Dollar

STD

São Tomé and Príncipe Dobra

SVC

Salvadoran Colón

SZL

Swazi Lilangeni

THB

Thai Baht

TJS

Tajikistani Somoni

TOP

Tongan Paʻanga

TRY

Turkish Lira

TTD

Trinidad and Tobago Dollar

TWD

New Taiwan Dollar

TZS

Tanzanian Shilling

UAH

Ukrainian Hryvnia

UGX

Ugandan Shilling

USD

United States Dollar

UYU

Uruguayan Peso

UZS

Uzbekistani Som

VND

Vietnamese Đồng

VUV

Vanuatu Vatu

WST

Samoan Tala

XAF

Central African Cfa Franc

XCD

East Caribbean Dollar

XOF

West African Cfa Franc

XPF

Cfp Franc

YER

Yemeni Rial

ZAR

South African Rand

ZMW

Zambian Kwacha

UnknownCurrency

Unknown Currency

Instances
Eq Currency Source # 
Instance details

Defined in Web.Stripe.Types

Data Currency 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) -> Currency -> c Currency #

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

toConstr :: Currency -> Constr #

dataTypeOf :: Currency -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord Currency Source # 
Instance details

Defined in Web.Stripe.Types

Read Currency Source # 
Instance details

Defined in Web.Stripe.Types

Show Currency Source # 
Instance details

Defined in Web.Stripe.Types

FromJSON Currency Source #

Currency JSON instances

Instance details

Defined in Web.Stripe.Types

ToStripeParam Currency Source # 
Instance details

Defined in Web.Stripe.StripeRequest

StripeHasParam CreateCoupon Currency Source # 
Instance details

Defined in Web.Stripe.Coupon

StripeHasParam GetBalanceTransactionHistory Currency Source # 
Instance details

Defined in Web.Stripe.Balance

newtype CustomerId Source #

Constructors

CustomerId Text 
Instances
Eq CustomerId Source # 
Instance details

Defined in Web.Stripe.Types

Data CustomerId 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) -> 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 Source # 
Instance details

Defined in Web.Stripe.Types

Read CustomerId Source # 
Instance details

Defined in Web.Stripe.Types

Show CustomerId Source # 
Instance details

Defined in Web.Stripe.Types

FromJSON CustomerId Source #

JSON Instance for CustomerId

Instance details

Defined in Web.Stripe.Types

ToStripeParam CustomerId Source # 
Instance details

Defined in Web.Stripe.StripeRequest

StripeHasParam CreateCardToken CustomerId Source # 
Instance details

Defined in Web.Stripe.Token

StripeHasParam GetInvoiceItems CustomerId Source # 
Instance details

Defined in Web.Stripe.InvoiceItem

StripeHasParam GetInvoiceLineItems CustomerId Source # 
Instance details

Defined in Web.Stripe.Invoice

StripeHasParam GetInvoices CustomerId Source # 
Instance details

Defined in Web.Stripe.Invoice

StripeHasParam GetCharges CustomerId Source # 
Instance details

Defined in Web.Stripe.Charge

StripeHasParam CreateCharge CustomerId Source # 
Instance details

Defined in Web.Stripe.Charge

StripeHasParam GetCustomers (EndingBefore CustomerId) Source # 
Instance details

Defined in Web.Stripe.Customer

StripeHasParam GetCustomers (StartingAfter CustomerId) Source # 
Instance details

Defined in Web.Stripe.Customer

type ExpandsTo CustomerId Source # 
Instance details

Defined in Web.Stripe.Types

data Customer Source #

Customer object

Instances
Eq Customer Source # 
Instance details

Defined in Web.Stripe.Types

Data Customer 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) -> 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 Source # 
Instance details

Defined in Web.Stripe.Types

Read Customer Source # 
Instance details

Defined in Web.Stripe.Types

Show Customer Source # 
Instance details

Defined in Web.Stripe.Types

FromJSON Customer Source #

JSON Instance for Customer

Instance details

Defined in Web.Stripe.Types

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 Description Source #

Generic Description for use in constructing API Calls

Constructors

Description Text 
Instances
Eq Description Source # 
Instance details

Defined in Web.Stripe.Types

Data Description 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) -> 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 Source # 
Instance details

Defined in Web.Stripe.Types

Read Description Source # 
Instance details

Defined in Web.Stripe.Types

Show Description Source # 
Instance details

Defined in Web.Stripe.Types

FromJSON Description Source # 
Instance details

Defined in Web.Stripe.Types

ToStripeParam Description Source # 
Instance details

Defined in Web.Stripe.StripeRequest

StripeHasParam UpdateTransfer Description Source # 
Instance details

Defined in Web.Stripe.Transfer

StripeHasParam CreateTransfer Description Source # 
Instance details

Defined in Web.Stripe.Transfer

StripeHasParam UpdateRecipient Description Source # 
Instance details

Defined in Web.Stripe.Recipient

StripeHasParam CreateRecipient Description Source # 
Instance details

Defined in Web.Stripe.Recipient

StripeHasParam UpdateInvoiceItem Description Source # 
Instance details

Defined in Web.Stripe.InvoiceItem

StripeHasParam CreateInvoiceItem Description Source # 
Instance details

Defined in Web.Stripe.InvoiceItem

StripeHasParam UpdateInvoice Description Source # 
Instance details

Defined in Web.Stripe.Invoice

StripeHasParam CreateInvoice Description Source # 
Instance details

Defined in Web.Stripe.Invoice

StripeHasParam UpdateCustomer Description Source # 
Instance details

Defined in Web.Stripe.Customer

StripeHasParam CreateCustomer Description Source # 
Instance details

Defined in Web.Stripe.Customer

StripeHasParam UpdateCharge Description Source # 
Instance details

Defined in Web.Stripe.Charge

StripeHasParam CreateCharge Description Source # 
Instance details

Defined in Web.Stripe.Charge

newtype Email Source #

Email associated with a Customer, Recipient or Charge

Constructors

Email Text 
Instances
Eq Email Source # 
Instance details

Defined in Web.Stripe.Types

Methods

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

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

Data Email 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) -> 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 Source # 
Instance details

Defined in Web.Stripe.Types

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 Source # 
Instance details

Defined in Web.Stripe.Types

Show Email Source # 
Instance details

Defined in Web.Stripe.Types

Methods

showsPrec :: Int -> Email -> ShowS #

show :: Email -> String #

showList :: [Email] -> ShowS #

ToStripeParam Email Source # 
Instance details

Defined in Web.Stripe.StripeRequest

StripeHasParam UpdateRecipient Email Source # 
Instance details

Defined in Web.Stripe.Recipient

StripeHasParam CreateRecipient Email Source # 
Instance details

Defined in Web.Stripe.Recipient

StripeHasParam UpdateCustomer Email Source # 
Instance details

Defined in Web.Stripe.Customer

StripeHasParam CreateCustomer Email Source # 
Instance details

Defined in Web.Stripe.Customer

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 MetaData Source #

Type of MetaData for use on Stripe objects

Constructors

MetaData [(Text, Text)] 
Instances
Eq MetaData Source # 
Instance details

Defined in Web.Stripe.Types

Data MetaData 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) -> 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 Source # 
Instance details

Defined in Web.Stripe.Types

Read MetaData Source # 
Instance details

Defined in Web.Stripe.Types

Show MetaData Source # 
Instance details

Defined in Web.Stripe.Types

FromJSON MetaData Source # 
Instance details

Defined in Web.Stripe.Types

ToStripeParam MetaData Source # 
Instance details

Defined in Web.Stripe.StripeRequest

StripeHasParam UpdateTransfer MetaData Source # 
Instance details

Defined in Web.Stripe.Transfer

StripeHasParam CreateTransfer MetaData Source # 
Instance details

Defined in Web.Stripe.Transfer

StripeHasParam UpdateSubscription MetaData Source # 
Instance details

Defined in Web.Stripe.Subscription

StripeHasParam CreateSubscription MetaData Source # 
Instance details

Defined in Web.Stripe.Subscription

StripeHasParam UpdateRefund MetaData Source # 
Instance details

Defined in Web.Stripe.Refund

StripeHasParam CreateRefund MetaData Source # 
Instance details

Defined in Web.Stripe.Refund

StripeHasParam UpdateRecipient MetaData Source # 
Instance details

Defined in Web.Stripe.Recipient

StripeHasParam CreateRecipient MetaData Source # 
Instance details

Defined in Web.Stripe.Recipient

StripeHasParam UpdatePlan MetaData Source # 
Instance details

Defined in Web.Stripe.Plan

StripeHasParam CreatePlan MetaData Source # 
Instance details

Defined in Web.Stripe.Plan

StripeHasParam UpdateInvoiceItem MetaData Source # 
Instance details

Defined in Web.Stripe.InvoiceItem

StripeHasParam CreateInvoiceItem MetaData Source # 
Instance details

Defined in Web.Stripe.InvoiceItem

StripeHasParam UpdateInvoice MetaData Source # 
Instance details

Defined in Web.Stripe.Invoice

StripeHasParam CreateInvoice MetaData Source # 
Instance details

Defined in Web.Stripe.Invoice

StripeHasParam UpdateDispute MetaData Source # 
Instance details

Defined in Web.Stripe.Dispute

StripeHasParam UpdateCustomer MetaData Source # 
Instance details

Defined in Web.Stripe.Customer

StripeHasParam CreateCustomer MetaData Source # 
Instance details

Defined in Web.Stripe.Customer

StripeHasParam UpdateCoupon MetaData Source # 
Instance details

Defined in Web.Stripe.Coupon

StripeHasParam CreateCoupon MetaData Source # 
Instance details

Defined in Web.Stripe.Coupon

StripeHasParam UpdateCharge MetaData Source # 
Instance details

Defined in Web.Stripe.Charge

StripeHasParam CreateCharge MetaData Source # 
Instance details

Defined in Web.Stripe.Charge

StripeHasParam UpdateApplicationFeeRefund MetaData Source # 
Instance details

Defined in Web.Stripe.ApplicationFeeRefund

StripeHasParam CreateApplicationFeeRefund MetaData Source # 
Instance details

Defined in Web.Stripe.ApplicationFeeRefund

data NewCard Source #

NewCard contains the data needed to create a new Card

Instances
Eq NewCard Source # 
Instance details

Defined in Web.Stripe.Types

Methods

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

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

Data NewCard 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) -> 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 Source # 
Instance details

Defined in Web.Stripe.Types

Read NewCard Source # 
Instance details

Defined in Web.Stripe.Types

Show NewCard Source # 
Instance details

Defined in Web.Stripe.Types

ToStripeParam NewCard Source # 
Instance details

Defined in Web.Stripe.StripeRequest

StripeHasParam UpdateRecipient NewCard Source # 
Instance details

Defined in Web.Stripe.Recipient

StripeHasParam CreateRecipient NewCard Source # 
Instance details

Defined in Web.Stripe.Recipient

StripeHasParam UpdateCustomer NewCard Source # 
Instance details

Defined in Web.Stripe.Customer

StripeHasParam CreateCustomer NewCard Source # 
Instance details

Defined in Web.Stripe.Customer

StripeHasParam CreateCharge NewCard Source # 
Instance details

Defined in Web.Stripe.Charge

newtype ReceiptEmail Source #

Email to send receipt to

Constructors

ReceiptEmail Text 
Instances
Eq ReceiptEmail Source # 
Instance details

Defined in Web.Stripe.Types

Data ReceiptEmail 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) -> ReceiptEmail -> c ReceiptEmail #

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

toConstr :: ReceiptEmail -> Constr #

dataTypeOf :: ReceiptEmail -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord ReceiptEmail Source # 
Instance details

Defined in Web.Stripe.Types

Read ReceiptEmail Source # 
Instance details

Defined in Web.Stripe.Types

Show ReceiptEmail Source # 
Instance details

Defined in Web.Stripe.Types

ToStripeParam ReceiptEmail Source # 
Instance details

Defined in Web.Stripe.StripeRequest

StripeHasParam CaptureCharge ReceiptEmail Source # 
Instance details

Defined in Web.Stripe.Charge

StripeHasParam CreateCharge ReceiptEmail Source # 
Instance details

Defined in Web.Stripe.Charge

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

newtype StatementDescription Source #

StatementDescription to be added to a Charge

Instances
Eq StatementDescription Source # 
Instance details

Defined in Web.Stripe.Types

Data StatementDescription 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) -> StatementDescription -> c StatementDescription #

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

toConstr :: StatementDescription -> Constr #

dataTypeOf :: StatementDescription -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord StatementDescription Source # 
Instance details

Defined in Web.Stripe.Types

Read StatementDescription Source # 
Instance details

Defined in Web.Stripe.Types

Show StatementDescription Source # 
Instance details

Defined in Web.Stripe.Types

FromJSON StatementDescription Source # 
Instance details

Defined in Web.Stripe.Types

ToStripeParam StatementDescription Source # 
Instance details

Defined in Web.Stripe.StripeRequest

StripeHasParam CreateTransfer StatementDescription Source # 
Instance details

Defined in Web.Stripe.Transfer

StripeHasParam UpdatePlan StatementDescription Source # 
Instance details

Defined in Web.Stripe.Plan

StripeHasParam CreatePlan StatementDescription Source # 
Instance details

Defined in Web.Stripe.Plan

StripeHasParam UpdateInvoice StatementDescription Source # 
Instance details

Defined in Web.Stripe.Invoice

StripeHasParam CreateInvoice StatementDescription Source # 
Instance details

Defined in Web.Stripe.Invoice

StripeHasParam CreateCharge StatementDescription Source # 
Instance details

Defined in Web.Stripe.Charge

data StripeList a Source #

Generic handling of Stripe JSON arrays

Constructors

StripeList 

Fields

Instances
Eq a => Eq (StripeList a) Source # 
Instance details

Defined in Web.Stripe.Types

Methods

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

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

Data a => Data (StripeList 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) -> 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) Source # 
Instance details

Defined in Web.Stripe.Types

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

Defined in Web.Stripe.Types

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

Defined in Web.Stripe.Types

FromJSON a => FromJSON (StripeList a) Source #

JSON Instance for StripeList

Instance details

Defined in Web.Stripe.Types

newtype TokenId Source #

Constructors

TokenId Text 
Instances
Eq TokenId Source # 
Instance details

Defined in Web.Stripe.Types

Methods

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

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

Data TokenId 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) -> 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 Source # 
Instance details

Defined in Web.Stripe.Types

Read TokenId Source # 
Instance details

Defined in Web.Stripe.Types

Show TokenId Source # 
Instance details

Defined in Web.Stripe.Types

ToStripeParam TokenId Source # 
Instance details

Defined in Web.Stripe.StripeRequest

StripeHasParam UpdateRecipient TokenId Source # 
Instance details

Defined in Web.Stripe.Recipient

StripeHasParam CreateRecipient TokenId Source # 
Instance details

Defined in Web.Stripe.Recipient

StripeHasParam UpdateCustomer TokenId Source # 
Instance details

Defined in Web.Stripe.Customer

StripeHasParam CreateCustomer TokenId Source # 
Instance details

Defined in Web.Stripe.Customer

StripeHasParam CreateCharge TokenId Source # 
Instance details

Defined in Web.Stripe.Charge