starling-bank-0.1.0.0
Safe HaskellNone
LanguageHaskell2010

Bank.Starling.API.Schemas

Documentation

data Account #

Instances

Instances details
Show Account # 
Instance details

Defined in Bank.Starling.API.Schemas

Generic Account # 
Instance details

Defined in Bank.Starling.API.Schemas

Associated Types

type Rep Account :: Type -> Type #

Methods

from :: Account -> Rep Account x #

to :: Rep Account x -> Account #

FromJSON Account # 
Instance details

Defined in Bank.Starling.API.Schemas

Methods

parseJSON :: Value -> Parser Account

parseJSONList :: Value -> Parser [Account]

ToJSON Account # 
Instance details

Defined in Bank.Starling.API.Schemas

Methods

toJSON :: Account -> Value

toEncoding :: Account -> Encoding

toJSONList :: [Account] -> Value

toEncodingList :: [Account] -> Encoding

type Rep Account # 
Instance details

Defined in Bank.Starling.API.Schemas

data AccountHolder #

Instances

Instances details
Show AccountHolder # 
Instance details

Defined in Bank.Starling.API.Schemas

Generic AccountHolder # 
Instance details

Defined in Bank.Starling.API.Schemas

Associated Types

type Rep AccountHolder :: Type -> Type #

FromJSON AccountHolder # 
Instance details

Defined in Bank.Starling.API.Schemas

Methods

parseJSON :: Value -> Parser AccountHolder

parseJSONList :: Value -> Parser [AccountHolder]

ToJSON AccountHolder # 
Instance details

Defined in Bank.Starling.API.Schemas

Methods

toJSON :: AccountHolder -> Value

toEncoding :: AccountHolder -> Encoding

toJSONList :: [AccountHolder] -> Value

toEncodingList :: [AccountHolder] -> Encoding

type Rep AccountHolder # 
Instance details

Defined in Bank.Starling.API.Schemas

type Rep AccountHolder = D1 ('MetaData "AccountHolder" "Bank.Starling.API.Schemas" "starling-bank-0.1.0.0-inplace" 'False) (C1 ('MetaCons "AccountHolder" 'PrefixI 'True) (S1 ('MetaSel ('Just "accoundHolderUid") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 AccountHolderUid) :*: S1 ('MetaSel ('Just "accountHolderType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 AccountHolderType)))

newtype AccountHolderName #

Instances

Instances details
Show AccountHolderName # 
Instance details

Defined in Bank.Starling.API.Schemas

Generic AccountHolderName # 
Instance details

Defined in Bank.Starling.API.Schemas

Associated Types

type Rep AccountHolderName :: Type -> Type #

FromJSON AccountHolderName # 
Instance details

Defined in Bank.Starling.API.Schemas

Methods

parseJSON :: Value -> Parser AccountHolderName

parseJSONList :: Value -> Parser [AccountHolderName]

ToJSON AccountHolderName # 
Instance details

Defined in Bank.Starling.API.Schemas

type Rep AccountHolderName # 
Instance details

Defined in Bank.Starling.API.Schemas

type Rep AccountHolderName = D1 ('MetaData "AccountHolderName" "Bank.Starling.API.Schemas" "starling-bank-0.1.0.0-inplace" 'True) (C1 ('MetaCons "AccountHolderName" 'PrefixI 'True) (S1 ('MetaSel ('Just "accountHolderName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 String)))

data AccountHolderType #

Instances

Instances details
Show AccountHolderType # 
Instance details

Defined in Bank.Starling.API.Schemas

Generic AccountHolderType # 
Instance details

Defined in Bank.Starling.API.Schemas

Associated Types

type Rep AccountHolderType :: Type -> Type #

FromJSON AccountHolderType # 
Instance details

Defined in Bank.Starling.API.Schemas

Methods

parseJSON :: Value -> Parser AccountHolderType

parseJSONList :: Value -> Parser [AccountHolderType]

ToJSON AccountHolderType # 
Instance details

Defined in Bank.Starling.API.Schemas

type Rep AccountHolderType # 
Instance details

Defined in Bank.Starling.API.Schemas

type Rep AccountHolderType = D1 ('MetaData "AccountHolderType" "Bank.Starling.API.Schemas" "starling-bank-0.1.0.0-inplace" 'False) ((C1 ('MetaCons "IndividualAccount" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "BusinessAccount" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "SoleTraderAccount" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "JointAccount" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "BankingAsAService" 'PrefixI 'False) (U1 :: Type -> Type))))

data AccountIdentifier #

Instances

Instances details
Show AccountIdentifier # 
Instance details

Defined in Bank.Starling.API.Schemas

Generic AccountIdentifier # 
Instance details

Defined in Bank.Starling.API.Schemas

Associated Types

type Rep AccountIdentifier :: Type -> Type #

FromJSON AccountIdentifier # 
Instance details

Defined in Bank.Starling.API.Schemas

Methods

parseJSON :: Value -> Parser AccountIdentifier

parseJSONList :: Value -> Parser [AccountIdentifier]

ToJSON AccountIdentifier # 
Instance details

Defined in Bank.Starling.API.Schemas

type Rep AccountIdentifier # 
Instance details

Defined in Bank.Starling.API.Schemas

type Rep AccountIdentifier = D1 ('MetaData "AccountIdentifier" "Bank.Starling.API.Schemas" "starling-bank-0.1.0.0-inplace" 'False) (C1 ('MetaCons "AccountIdentifier" 'PrefixI 'True) (S1 ('MetaSel ('Just "identifierType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 IdentifierType) :*: (S1 ('MetaSel ('Just "bankIdentifier") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 String) :*: S1 ('MetaSel ('Just "accountIdentifier") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 String))))

data AccountIdentifiers #

Instances

Instances details
Show AccountIdentifiers # 
Instance details

Defined in Bank.Starling.API.Schemas

Generic AccountIdentifiers # 
Instance details

Defined in Bank.Starling.API.Schemas

Associated Types

type Rep AccountIdentifiers :: Type -> Type #

FromJSON AccountIdentifiers # 
Instance details

Defined in Bank.Starling.API.Schemas

Methods

parseJSON :: Value -> Parser AccountIdentifiers

parseJSONList :: Value -> Parser [AccountIdentifiers]

ToJSON AccountIdentifiers # 
Instance details

Defined in Bank.Starling.API.Schemas

type Rep AccountIdentifiers # 
Instance details

Defined in Bank.Starling.API.Schemas

type Rep AccountIdentifiers = D1 ('MetaData "AccountIdentifiers" "Bank.Starling.API.Schemas" "starling-bank-0.1.0.0-inplace" 'False) (C1 ('MetaCons "AccountIdentifiers" 'PrefixI 'True) ((S1 ('MetaSel ('Just "accountIdentifier") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 String) :*: S1 ('MetaSel ('Just "bankIdentifier") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 String)) :*: (S1 ('MetaSel ('Just "iban") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 String) :*: (S1 ('MetaSel ('Just "bic") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 String) :*: S1 ('MetaSel ('Just "accountIdentifiers") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [AccountIdentifier])))))

newtype Accounts #

Constructors

Accounts 

Fields

Instances

Instances details
Show Accounts # 
Instance details

Defined in Bank.Starling.API.Schemas

Generic Accounts # 
Instance details

Defined in Bank.Starling.API.Schemas

Associated Types

type Rep Accounts :: Type -> Type #

Methods

from :: Accounts -> Rep Accounts x #

to :: Rep Accounts x -> Accounts #

FromJSON Accounts # 
Instance details

Defined in Bank.Starling.API.Schemas

Methods

parseJSON :: Value -> Parser Accounts

parseJSONList :: Value -> Parser [Accounts]

ToJSON Accounts # 
Instance details

Defined in Bank.Starling.API.Schemas

Methods

toJSON :: Accounts -> Value

toEncoding :: Accounts -> Encoding

toJSONList :: [Accounts] -> Value

toEncodingList :: [Accounts] -> Encoding

type Rep Accounts # 
Instance details

Defined in Bank.Starling.API.Schemas

type Rep Accounts = D1 ('MetaData "Accounts" "Bank.Starling.API.Schemas" "starling-bank-0.1.0.0-inplace" 'True) (C1 ('MetaCons "Accounts" 'PrefixI 'True) (S1 ('MetaSel ('Just "accounts") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Account])))

data AccountStatementPeriod #

Instances

Instances details
Show AccountStatementPeriod # 
Instance details

Defined in Bank.Starling.API.Schemas

Generic AccountStatementPeriod # 
Instance details

Defined in Bank.Starling.API.Schemas

Associated Types

type Rep AccountStatementPeriod :: Type -> Type #

FromJSON AccountStatementPeriod # 
Instance details

Defined in Bank.Starling.API.Schemas

Methods

parseJSON :: Value -> Parser AccountStatementPeriod

parseJSONList :: Value -> Parser [AccountStatementPeriod]

ToJSON AccountStatementPeriod # 
Instance details

Defined in Bank.Starling.API.Schemas

type Rep AccountStatementPeriod # 
Instance details

Defined in Bank.Starling.API.Schemas

type Rep AccountStatementPeriod = D1 ('MetaData "AccountStatementPeriod" "Bank.Starling.API.Schemas" "starling-bank-0.1.0.0-inplace" 'False) (C1 ('MetaCons "AccountStatementPeriod" 'PrefixI 'True) (S1 ('MetaSel ('Just "period") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 String) :*: (S1 ('MetaSel ('Just "partial") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool) :*: S1 ('MetaSel ('Just "endsAt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe ZonedTime)))))

newtype AccountStatementPeriods #

Instances

Instances details
Show AccountStatementPeriods # 
Instance details

Defined in Bank.Starling.API.Schemas

Generic AccountStatementPeriods # 
Instance details

Defined in Bank.Starling.API.Schemas

Associated Types

type Rep AccountStatementPeriods :: Type -> Type #

FromJSON AccountStatementPeriods # 
Instance details

Defined in Bank.Starling.API.Schemas

Methods

parseJSON :: Value -> Parser AccountStatementPeriods

parseJSONList :: Value -> Parser [AccountStatementPeriods]

ToJSON AccountStatementPeriods # 
Instance details

Defined in Bank.Starling.API.Schemas

type Rep AccountStatementPeriods # 
Instance details

Defined in Bank.Starling.API.Schemas

type Rep AccountStatementPeriods = D1 ('MetaData "AccountStatementPeriods" "Bank.Starling.API.Schemas" "starling-bank-0.1.0.0-inplace" 'True) (C1 ('MetaCons "AccountStatementPeriods" 'PrefixI 'True) (S1 ('MetaSel ('Just "periods") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [AccountStatementPeriod])))

data AccountType #

Instances

Instances details
Show AccountType # 
Instance details

Defined in Bank.Starling.API.Schemas

Generic AccountType # 
Instance details

Defined in Bank.Starling.API.Schemas

Associated Types

type Rep AccountType :: Type -> Type #

FromJSON AccountType # 
Instance details

Defined in Bank.Starling.API.Schemas

Methods

parseJSON :: Value -> Parser AccountType

parseJSONList :: Value -> Parser [AccountType]

ToJSON AccountType # 
Instance details

Defined in Bank.Starling.API.Schemas

Methods

toJSON :: AccountType -> Value

toEncoding :: AccountType -> Encoding

toJSONList :: [AccountType] -> Value

toEncodingList :: [AccountType] -> Encoding

type Rep AccountType # 
Instance details

Defined in Bank.Starling.API.Schemas

type Rep AccountType = D1 ('MetaData "AccountType" "Bank.Starling.API.Schemas" "starling-bank-0.1.0.0-inplace" 'False) ((C1 ('MetaCons "Primary" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Additional" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "FixedTermDeposit" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Loan" 'PrefixI 'False) (U1 :: Type -> Type)))

newtype AccountUid #

Constructors

AccountUid UUID 

Instances

Instances details
Show AccountUid # 
Instance details

Defined in Bank.Starling.API.Schemas

Generic AccountUid # 
Instance details

Defined in Bank.Starling.API.Schemas

Associated Types

type Rep AccountUid :: Type -> Type #

FromJSON AccountUid # 
Instance details

Defined in Bank.Starling.API.Schemas

Methods

parseJSON :: Value -> Parser AccountUid

parseJSONList :: Value -> Parser [AccountUid]

ToJSON AccountUid # 
Instance details

Defined in Bank.Starling.API.Schemas

Methods

toJSON :: AccountUid -> Value

toEncoding :: AccountUid -> Encoding

toJSONList :: [AccountUid] -> Value

toEncodingList :: [AccountUid] -> Encoding

type Rep AccountUid # 
Instance details

Defined in Bank.Starling.API.Schemas

type Rep AccountUid = D1 ('MetaData "AccountUid" "Bank.Starling.API.Schemas" "starling-bank-0.1.0.0-inplace" 'True) (C1 ('MetaCons "AccountUid" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 UUID)))

newtype AccountHolderUid #

Constructors

AccountHolderUid UUID 

Instances

Instances details
Show AccountHolderUid # 
Instance details

Defined in Bank.Starling.API.Schemas

Generic AccountHolderUid # 
Instance details

Defined in Bank.Starling.API.Schemas

Associated Types

type Rep AccountHolderUid :: Type -> Type #

FromJSON AccountHolderUid # 
Instance details

Defined in Bank.Starling.API.Schemas

Methods

parseJSON :: Value -> Parser AccountHolderUid

parseJSONList :: Value -> Parser [AccountHolderUid]

ToJSON AccountHolderUid # 
Instance details

Defined in Bank.Starling.API.Schemas

type Rep AccountHolderUid # 
Instance details

Defined in Bank.Starling.API.Schemas

type Rep AccountHolderUid = D1 ('MetaData "AccountHolderUid" "Bank.Starling.API.Schemas" "starling-bank-0.1.0.0-inplace" 'True) (C1 ('MetaCons "AccountHolderUid" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 UUID)))

data Address #

Instances

Instances details
Show Address # 
Instance details

Defined in Bank.Starling.API.Schemas

Generic Address # 
Instance details

Defined in Bank.Starling.API.Schemas

Associated Types

type Rep Address :: Type -> Type #

Methods

from :: Address -> Rep Address x #

to :: Rep Address x -> Address #

FromJSON Address # 
Instance details

Defined in Bank.Starling.API.Schemas

Methods

parseJSON :: Value -> Parser Address

parseJSONList :: Value -> Parser [Address]

ToJSON Address # 
Instance details

Defined in Bank.Starling.API.Schemas

Methods

toJSON :: Address -> Value

toEncoding :: Address -> Encoding

toJSONList :: [Address] -> Value

toEncodingList :: [Address] -> Encoding

type Rep Address # 
Instance details

Defined in Bank.Starling.API.Schemas

data Addresses #

Constructors

Addresses 

Fields

Instances

Instances details
Show Addresses # 
Instance details

Defined in Bank.Starling.API.Schemas

Generic Addresses # 
Instance details

Defined in Bank.Starling.API.Schemas

Associated Types

type Rep Addresses :: Type -> Type #

FromJSON Addresses # 
Instance details

Defined in Bank.Starling.API.Schemas

Methods

parseJSON :: Value -> Parser Addresses

parseJSONList :: Value -> Parser [Addresses]

ToJSON Addresses # 
Instance details

Defined in Bank.Starling.API.Schemas

Methods

toJSON :: Addresses -> Value

toEncoding :: Addresses -> Encoding

toJSONList :: [Addresses] -> Value

toEncodingList :: [Addresses] -> Encoding

type Rep Addresses # 
Instance details

Defined in Bank.Starling.API.Schemas

type Rep Addresses = D1 ('MetaData "Addresses" "Bank.Starling.API.Schemas" "starling-bank-0.1.0.0-inplace" 'False) (C1 ('MetaCons "Addresses" 'PrefixI 'True) (S1 ('MetaSel ('Just "current") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Address) :*: S1 ('MetaSel ('Just "previous") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Address])))

data Balance #

Instances

Instances details
Show Balance # 
Instance details

Defined in Bank.Starling.API.Schemas

Generic Balance # 
Instance details

Defined in Bank.Starling.API.Schemas

Associated Types

type Rep Balance :: Type -> Type #

Methods

from :: Balance -> Rep Balance x #

to :: Rep Balance x -> Balance #

FromJSON Balance # 
Instance details

Defined in Bank.Starling.API.Schemas

Methods

parseJSON :: Value -> Parser Balance

parseJSONList :: Value -> Parser [Balance]

ToJSON Balance # 
Instance details

Defined in Bank.Starling.API.Schemas

Methods

toJSON :: Balance -> Value

toEncoding :: Balance -> Encoding

toJSONList :: [Balance] -> Value

toEncodingList :: [Balance] -> Encoding

type Rep Balance # 
Instance details

Defined in Bank.Starling.API.Schemas

data BankIdentifierType #

Constructors

SORT_CODE 
SWIFT 
IBAN 
ABA 
ABA_WIRE 
ABA_ACH 

Instances

Instances details
Show BankIdentifierType # 
Instance details

Defined in Bank.Starling.API.Schemas

Generic BankIdentifierType # 
Instance details

Defined in Bank.Starling.API.Schemas

Associated Types

type Rep BankIdentifierType :: Type -> Type #

FromJSON BankIdentifierType # 
Instance details

Defined in Bank.Starling.API.Schemas

Methods

parseJSON :: Value -> Parser BankIdentifierType

parseJSONList :: Value -> Parser [BankIdentifierType]

ToJSON BankIdentifierType # 
Instance details

Defined in Bank.Starling.API.Schemas

type Rep BankIdentifierType # 
Instance details

Defined in Bank.Starling.API.Schemas

type Rep BankIdentifierType = D1 ('MetaData "BankIdentifierType" "Bank.Starling.API.Schemas" "starling-bank-0.1.0.0-inplace" 'False) ((C1 ('MetaCons "SORT_CODE" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "SWIFT" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "IBAN" 'PrefixI 'False) (U1 :: Type -> Type))) :+: (C1 ('MetaCons "ABA" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "ABA_WIRE" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "ABA_ACH" 'PrefixI 'False) (U1 :: Type -> Type))))

data Business #

Instances

Instances details
Show Business # 
Instance details

Defined in Bank.Starling.API.Schemas

Generic Business # 
Instance details

Defined in Bank.Starling.API.Schemas

Associated Types

type Rep Business :: Type -> Type #

Methods

from :: Business -> Rep Business x #

to :: Rep Business x -> Business #

FromJSON Business # 
Instance details

Defined in Bank.Starling.API.Schemas

Methods

parseJSON :: Value -> Parser Business

parseJSONList :: Value -> Parser [Business]

ToJSON Business # 
Instance details

Defined in Bank.Starling.API.Schemas

Methods

toJSON :: Business -> Value

toEncoding :: Business -> Encoding

toJSONList :: [Business] -> Value

toEncodingList :: [Business] -> Encoding

type Rep Business # 
Instance details

Defined in Bank.Starling.API.Schemas

newtype CategoryUid #

Constructors

CategoryUid UUID 

Instances

Instances details
Show CategoryUid # 
Instance details

Defined in Bank.Starling.API.Schemas

Generic CategoryUid # 
Instance details

Defined in Bank.Starling.API.Schemas

Associated Types

type Rep CategoryUid :: Type -> Type #

FromJSON CategoryUid # 
Instance details

Defined in Bank.Starling.API.Schemas

Methods

parseJSON :: Value -> Parser CategoryUid

parseJSONList :: Value -> Parser [CategoryUid]

ToJSON CategoryUid # 
Instance details

Defined in Bank.Starling.API.Schemas

Methods

toJSON :: CategoryUid -> Value

toEncoding :: CategoryUid -> Encoding

toJSONList :: [CategoryUid] -> Value

toEncodingList :: [CategoryUid] -> Encoding

type Rep CategoryUid # 
Instance details

Defined in Bank.Starling.API.Schemas

type Rep CategoryUid = D1 ('MetaData "CategoryUid" "Bank.Starling.API.Schemas" "starling-bank-0.1.0.0-inplace" 'True) (C1 ('MetaCons "CategoryUid" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 UUID)))

data ConfirmationOfFundsResponse #

Instances

Instances details
Show ConfirmationOfFundsResponse # 
Instance details

Defined in Bank.Starling.API.Schemas

Generic ConfirmationOfFundsResponse # 
Instance details

Defined in Bank.Starling.API.Schemas

Associated Types

type Rep ConfirmationOfFundsResponse :: Type -> Type #

FromJSON ConfirmationOfFundsResponse # 
Instance details

Defined in Bank.Starling.API.Schemas

ToJSON ConfirmationOfFundsResponse # 
Instance details

Defined in Bank.Starling.API.Schemas

type Rep ConfirmationOfFundsResponse # 
Instance details

Defined in Bank.Starling.API.Schemas

type Rep ConfirmationOfFundsResponse = D1 ('MetaData "ConfirmationOfFundsResponse" "Bank.Starling.API.Schemas" "starling-bank-0.1.0.0-inplace" 'False) (C1 ('MetaCons "ConfirmationOfFundsResponse" 'PrefixI 'True) (S1 ('MetaSel ('Just "requestedAmountAvailableToSpend") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool) :*: S1 ('MetaSel ('Just "accountWouldBeInOverdraftIfRequestedAmountSpent") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool)))

data CounterPartyType #

Instances

Instances details
Show CounterPartyType # 
Instance details

Defined in Bank.Starling.API.Schemas

Generic CounterPartyType # 
Instance details

Defined in Bank.Starling.API.Schemas

Associated Types

type Rep CounterPartyType :: Type -> Type #

FromJSON CounterPartyType # 
Instance details

Defined in Bank.Starling.API.Schemas

Methods

parseJSON :: Value -> Parser CounterPartyType

parseJSONList :: Value -> Parser [CounterPartyType]

ToJSON CounterPartyType # 
Instance details

Defined in Bank.Starling.API.Schemas

type Rep CounterPartyType # 
Instance details

Defined in Bank.Starling.API.Schemas

type Rep CounterPartyType = D1 ('MetaData "CounterPartyType" "Bank.Starling.API.Schemas" "starling-bank-0.1.0.0-inplace" 'False) (((C1 ('MetaCons "Category" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Cheque" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "Customer" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "PayeeCounterParty" 'PrefixI 'False) (U1 :: Type -> Type))) :+: ((C1 ('MetaCons "Merchant" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Sender" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "Starling" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "LoanCounterParty" 'PrefixI 'False) (U1 :: Type -> Type))))

data CountryCode #

Constructors

AC 
AD 
AE 
AF 
AG 
AI 
AL 
AM 
AN 
AO 
AQ 
AR 
AS 
AT 
AU 
AW 
AX 
AZ 
BA 
BB 
BD 
BE 
BF 
BG 
BH 
BI 
BJ 
BL 
BM 
BN 
BO 
BQ 
BR 
BS 
BT 
BU 
BV 
BW 
BY 
BZ 
CA 
CC 
CD 
CF 
CG 
CH 
CI 
CK 
CL 
CM 
CN 
CO 
CP 
CR 
CS 
CU 
CV 
CW 
CX 
CY 
CZ 
DE 
DG 
DJ 
DK 
DM 
DO 
DZ 
EA 
EC 
EE 
EG 
EH 
ER 
ES 
ET 
EU 
EZ 
FI 
FJ 
FK 
FM 
FO 
FR 
FX 
GA 
GB 
GD 
GE 
GF 
GG 
GH 
GI 
GL 
GM 
GN 
GP 
GQ 
GR 
GS 
GT 
GU 
GW 
GY 
HK 
HM 
HN 
HR 
HT 
HU 
IC 
ID 
IE 
IL 
IM 
IN 
IO 
IQ 
IR 
IS 
IT 
JE 
JM 
JO 
JP 
KE 
KG 
KH 
KI 
KM 
KN 
KP 
KR 
KW 
KY 
KZ 
LA 
LB 
LC 
LI 
LK 
LR 
LS 
LT 
LU 
LV 
LY 
MA 
MC 
MD 
ME 
MF 
MG 
MH 
MK 
ML 
MM 
MN 
MO 
MP 
MQ 
MR 
MS 
MT 
MU 
MV 
MW 
MX 
MY 
MZ 
NA 
NC 
NE 
NF 
NG 
NI 
NL 
NO 
NP 
NR 
NT 
NU 
NZ 
OM 
PA 
PE 
PF 
PG 
PH 
PK 
PL 
PM 
PN 
PR 
PS 
PT 
PW 
PY 
QA 
RE 
RO 
RS 
RU 
RW 
SA 
SB 
SC 
SD 
SE 
SF 
SG 
SH 
SI 
SJ 
SK 
SL 
SM 
SN 
SO 
SR 
SS 
ST 
SU 
SV 
SX 
SY 
SZ 
TA 
TC 
TD 
TF 
TG 
TH 
TJ 
TK 
TL 
TM 
TN 
TO 
TP 
TR 
TT 
TV 
TW 
TZ 
UA 
UG 
UK 
UM 
US 
UY 
UZ 
VA 
VC 
VE 
VG 
VI 
VN 
VU 
WF 
WS 
XI 
XU 
XK 
YE 
YT 
YU 
ZA 
ZM 
ZR 
ZW 

Instances

Instances details
Show CountryCode # 
Instance details

Defined in Bank.Starling.API.Schemas

Generic CountryCode # 
Instance details

Defined in Bank.Starling.API.Schemas

Associated Types

type Rep CountryCode :: Type -> Type #

FromJSON CountryCode # 
Instance details

Defined in Bank.Starling.API.Schemas

Methods

parseJSON :: Value -> Parser CountryCode

parseJSONList :: Value -> Parser [CountryCode]

ToJSON CountryCode # 
Instance details

Defined in Bank.Starling.API.Schemas

Methods

toJSON :: CountryCode -> Value

toEncoding :: CountryCode -> Encoding

toJSONList :: [CountryCode] -> Value

toEncodingList :: [CountryCode] -> Encoding

type Rep CountryCode # 
Instance details

Defined in Bank.Starling.API.Schemas

type Rep CountryCode = D1 ('MetaData "CountryCode" "Bank.Starling.API.Schemas" "starling-bank-0.1.0.0-inplace" 'False) ((((((((C1 ('MetaCons "AC" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "AD" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "AE" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "AF" 'PrefixI 'False) (U1 :: Type -> Type))) :+: ((C1 ('MetaCons "AG" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "AI" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "AL" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "AM" 'PrefixI 'False) (U1 :: Type -> Type)))) :+: (((C1 ('MetaCons "AN" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "AO" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "AQ" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "AR" 'PrefixI 'False) (U1 :: Type -> Type))) :+: ((C1 ('MetaCons "AS" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "AT" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "AU" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "AW" 'PrefixI 'False) (U1 :: Type -> Type))))) :+: ((((C1 ('MetaCons "AX" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "AZ" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "BA" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "BB" 'PrefixI 'False) (U1 :: Type -> Type))) :+: ((C1 ('MetaCons "BD" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "BE" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "BF" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "BG" 'PrefixI 'False) (U1 :: Type -> Type)))) :+: (((C1 ('MetaCons "BH" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "BI" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "BJ" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "BL" 'PrefixI 'False) (U1 :: Type -> Type))) :+: ((C1 ('MetaCons "BM" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "BN" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "BO" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "BQ" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "BR" 'PrefixI 'False) (U1 :: Type -> Type))))))) :+: (((((C1 ('MetaCons "BS" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "BT" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "BU" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "BV" 'PrefixI 'False) (U1 :: Type -> Type))) :+: ((C1 ('MetaCons "BW" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "BY" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "BZ" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "CA" 'PrefixI 'False) (U1 :: Type -> Type)))) :+: (((C1 ('MetaCons "CC" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "CD" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "CF" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "CG" 'PrefixI 'False) (U1 :: Type -> Type))) :+: ((C1 ('MetaCons "CH" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "CI" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "CK" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "CL" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "CM" 'PrefixI 'False) (U1 :: Type -> Type)))))) :+: ((((C1 ('MetaCons "CN" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "CO" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "CP" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "CR" 'PrefixI 'False) (U1 :: Type -> Type))) :+: ((C1 ('MetaCons "CS" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "CU" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "CV" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "CW" 'PrefixI 'False) (U1 :: Type -> Type)))) :+: (((C1 ('MetaCons "CX" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "CY" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "CZ" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "DE" 'PrefixI 'False) (U1 :: Type -> Type))) :+: ((C1 ('MetaCons "DG" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "DJ" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "DK" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "DM" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "DO" 'PrefixI 'False) (U1 :: Type -> Type)))))))) :+: ((((((C1 ('MetaCons "DZ" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "EA" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "EC" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "EE" 'PrefixI 'False) (U1 :: Type -> Type))) :+: ((C1 ('MetaCons "EG" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "EH" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "ER" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "ES" 'PrefixI 'False) (U1 :: Type -> Type)))) :+: (((C1 ('MetaCons "ET" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "EU" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "EZ" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "FI" 'PrefixI 'False) (U1 :: Type -> Type))) :+: ((C1 ('MetaCons "FJ" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "FK" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "FM" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "FO" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "FR" 'PrefixI 'False) (U1 :: Type -> Type)))))) :+: ((((C1 ('MetaCons "FX" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "GA" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "GB" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "GD" 'PrefixI 'False) (U1 :: Type -> Type))) :+: ((C1 ('MetaCons "GE" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "GF" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "GG" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "GH" 'PrefixI 'False) (U1 :: Type -> Type)))) :+: (((C1 ('MetaCons "GI" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "GL" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "GM" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "GN" 'PrefixI 'False) (U1 :: Type -> Type))) :+: ((C1 ('MetaCons "GP" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "GQ" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "GR" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "GS" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "GT" 'PrefixI 'False) (U1 :: Type -> Type))))))) :+: (((((C1 ('MetaCons "GU" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "GW" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "GY" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "HK" 'PrefixI 'False) (U1 :: Type -> Type))) :+: ((C1 ('MetaCons "HM" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "HN" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "HR" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "HT" 'PrefixI 'False) (U1 :: Type -> Type)))) :+: (((C1 ('MetaCons "HU" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "IC" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "ID" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "IE" 'PrefixI 'False) (U1 :: Type -> Type))) :+: ((C1 ('MetaCons "IL" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "IM" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "IN" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "IO" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "IQ" 'PrefixI 'False) (U1 :: Type -> Type)))))) :+: ((((C1 ('MetaCons "IR" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "IS" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "IT" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "JE" 'PrefixI 'False) (U1 :: Type -> Type))) :+: ((C1 ('MetaCons "JM" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "JO" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "JP" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "KE" 'PrefixI 'False) (U1 :: Type -> Type)))) :+: (((C1 ('MetaCons "KG" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "KH" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "KI" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "KM" 'PrefixI 'False) (U1 :: Type -> Type))) :+: ((C1 ('MetaCons "KN" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "KP" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "KR" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "KW" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "KY" 'PrefixI 'False) (U1 :: Type -> Type))))))))) :+: (((((((C1 ('MetaCons "KZ" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "LA" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "LB" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "LC" 'PrefixI 'False) (U1 :: Type -> Type))) :+: ((C1 ('MetaCons "LI" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "LK" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "LR" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "LS" 'PrefixI 'False) (U1 :: Type -> Type)))) :+: (((C1 ('MetaCons "LT" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "LU" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "LV" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "LY" 'PrefixI 'False) (U1 :: Type -> Type))) :+: ((C1 ('MetaCons "MA" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "MC" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "MD" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "ME" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "MF" 'PrefixI 'False) (U1 :: Type -> Type)))))) :+: ((((C1 ('MetaCons "MG" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "MH" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "MK" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "ML" 'PrefixI 'False) (U1 :: Type -> Type))) :+: ((C1 ('MetaCons "MM" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "MN" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "MO" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "MP" 'PrefixI 'False) (U1 :: Type -> Type)))) :+: (((C1 ('MetaCons "MQ" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "MR" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "MS" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "MT" 'PrefixI 'False) (U1 :: Type -> Type))) :+: ((C1 ('MetaCons "MU" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "MV" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "MW" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "MX" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "MY" 'PrefixI 'False) (U1 :: Type -> Type))))))) :+: (((((C1 ('MetaCons "MZ" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "NA" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "NC" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "NE" 'PrefixI 'False) (U1 :: Type -> Type))) :+: ((C1 ('MetaCons "NF" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "NG" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "NI" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "NL" 'PrefixI 'False) (U1 :: Type -> Type)))) :+: (((C1 ('MetaCons "NO" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "NP" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "NR" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "NT" 'PrefixI 'False) (U1 :: Type -> Type))) :+: ((C1 ('MetaCons "NU" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "NZ" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "OM" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "PA" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "PE" 'PrefixI 'False) (U1 :: Type -> Type)))))) :+: ((((C1 ('MetaCons "PF" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "PG" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "PH" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "PK" 'PrefixI 'False) (U1 :: Type -> Type))) :+: ((C1 ('MetaCons "PL" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "PM" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "PN" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "PR" 'PrefixI 'False) (U1 :: Type -> Type)))) :+: (((C1 ('MetaCons "PS" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "PT" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "PW" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "PY" 'PrefixI 'False) (U1 :: Type -> Type))) :+: ((C1 ('MetaCons "QA" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "RE" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "RO" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "RS" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "RU" 'PrefixI 'False) (U1 :: Type -> Type)))))))) :+: ((((((C1 ('MetaCons "RW" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "SA" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "SB" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "SC" 'PrefixI 'False) (U1 :: Type -> Type))) :+: ((C1 ('MetaCons "SD" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "SE" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "SF" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "SG" 'PrefixI 'False) (U1 :: Type -> Type)))) :+: (((C1 ('MetaCons "SH" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "SI" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "SJ" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "SK" 'PrefixI 'False) (U1 :: Type -> Type))) :+: ((C1 ('MetaCons "SL" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "SM" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "SN" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "SO" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "SR" 'PrefixI 'False) (U1 :: Type -> Type)))))) :+: ((((C1 ('MetaCons "SS" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "ST" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "SU" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "SV" 'PrefixI 'False) (U1 :: Type -> Type))) :+: ((C1 ('MetaCons "SX" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "SY" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "SZ" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "TA" 'PrefixI 'False) (U1 :: Type -> Type)))) :+: (((C1 ('MetaCons "TC" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "TD" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "TF" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "TG" 'PrefixI 'False) (U1 :: Type -> Type))) :+: ((C1 ('MetaCons "TH" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "TJ" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "TK" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "TL" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "TM" 'PrefixI 'False) (U1 :: Type -> Type))))))) :+: (((((C1 ('MetaCons "TN" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "TO" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "TP" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "TR" 'PrefixI 'False) (U1 :: Type -> Type))) :+: ((C1 ('MetaCons "TT" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "TV" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "TW" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "TZ" 'PrefixI 'False) (U1 :: Type -> Type)))) :+: (((C1 ('MetaCons "UA" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "UG" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "UK" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "UM" 'PrefixI 'False) (U1 :: Type -> Type))) :+: ((C1 ('MetaCons "US" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "UY" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "UZ" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "VA" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "VC" 'PrefixI 'False) (U1 :: Type -> Type)))))) :+: ((((C1 ('MetaCons "VE" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "VG" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "VI" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "VN" 'PrefixI 'False) (U1 :: Type -> Type))) :+: ((C1 ('MetaCons "VU" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "WF" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "WS" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "XI" 'PrefixI 'False) (U1 :: Type -> Type)))) :+: (((C1 ('MetaCons "XU" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "XK" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "YE" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "YT" 'PrefixI 'False) (U1 :: Type -> Type))) :+: ((C1 ('MetaCons "YU" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "ZA" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "ZM" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "ZR" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "ZW" 'PrefixI 'False) (U1 :: Type -> Type))))))))))

data Currency #

Constructors

AED 
AFN 
ALL 
AMD 
ANG 
AOA 
ARS 
AUD 
AWG 
AZN 
BAM 
BBD 
BDT 
BGN 
BHD 
BIF 
BMD 
BND 
BOB 
BOV 
BRL 
BSD 
BTN 
BWP 
BYN 
BYR 
BZD 
CAD 
CDF 
CHE 
CHF 
CHW 
CLF 
CLP 
CNY 
COP 
COU 
CRC 
CUC 
CUP 
CVE 
CZK 
DJF 
DKK 
DOP 
DZD 
EGP 
ERN 
ETB 
EUR 
FJD 
FKP 
GBP 
GEL 
GHS 
GIP 
GMD 
GNF 
GTQ 
GYD 
HKD 
HNL 
HRK 
HTG 
HUF 
IDR 
ILS 
INR 
IQD 
IRR 
ISK 
JMD 
JOD 
JPY 
KES 
KGS 
KHR 
KMF 
KPW 
KRW 
KWD 
KYD 
KZT 
LAK 
LBP 
LKR 
LRD 
LSL 
LTL 
LYD 
MAD 
MDL 
MGA 
MKD 
MMK 
MNT 
MOP 
MRO 
MRU 
MUR 
MVR 
MWK 
MXN 
MXV 
MYR 
MZN 
NAD 
NGN 
NIO 
NOK 
NPR 
NZD 
OMR 
PAB 
PEN 
PGK 
PHP 
PKR 
PLN 
PYG 
QAR 
RON 
RSD 
RUB 
RUR 
RWF 
SAR 
SBD 
SCR 
SDG 
SEK 
SGD 
SHP 
SLL 
SOS 
SRD 
SSP 
STD 
STN 
SVC 
SYP 
SZL 
THB 
TJS 
TMT 
TND 
TOP 
TRY 
TTD 
TWD 
TZS 
UAH 
UGX 
USD 
USN 
USS 
UYI 
UYU 
UZS 
VEF 
VES 
VND 
VUV 
WST 
XAF 
XAG 
XAU 
XBA 
XBB 
XBC 
XBD 
XCD 
XDR 
XOF 
XPD 
XPF 
XPT 
XSU 
XTS 
XUA 
XXX 
YER 
ZAR 
ZMW 
ZWL 

Instances

Instances details
Show Currency # 
Instance details

Defined in Bank.Starling.API.Schemas

Generic Currency # 
Instance details

Defined in Bank.Starling.API.Schemas

Associated Types

type Rep Currency :: Type -> Type #

Methods

from :: Currency -> Rep Currency x #

to :: Rep Currency x -> Currency #

FromJSON Currency # 
Instance details

Defined in Bank.Starling.API.Schemas

Methods

parseJSON :: Value -> Parser Currency

parseJSONList :: Value -> Parser [Currency]

ToJSON Currency # 
Instance details

Defined in Bank.Starling.API.Schemas

Methods

toJSON :: Currency -> Value

toEncoding :: Currency -> Encoding

toJSONList :: [Currency] -> Value

toEncodingList :: [Currency] -> Encoding

type Rep Currency # 
Instance details

Defined in Bank.Starling.API.Schemas

type Rep Currency = D1 ('MetaData "Currency" "Bank.Starling.API.Schemas" "starling-bank-0.1.0.0-inplace" 'False) (((((((C1 ('MetaCons "AED" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "AFN" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "ALL" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "AMD" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "ANG" 'PrefixI 'False) (U1 :: Type -> Type)))) :+: ((C1 ('MetaCons "AOA" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "ARS" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "AUD" 'PrefixI 'False) (U1 :: Type -> Type))) :+: (C1 ('MetaCons "AWG" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "AZN" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "BAM" 'PrefixI 'False) (U1 :: Type -> Type))))) :+: (((C1 ('MetaCons "BBD" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "BDT" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "BGN" 'PrefixI 'False) (U1 :: Type -> Type))) :+: (C1 ('MetaCons "BHD" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "BIF" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "BMD" 'PrefixI 'False) (U1 :: Type -> Type)))) :+: ((C1 ('MetaCons "BND" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "BOB" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "BOV" 'PrefixI 'False) (U1 :: Type -> Type))) :+: (C1 ('MetaCons "BRL" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "BSD" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "BTN" 'PrefixI 'False) (U1 :: Type -> Type)))))) :+: ((((C1 ('MetaCons "BWP" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "BYN" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "BYR" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "BZD" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "CAD" 'PrefixI 'False) (U1 :: Type -> Type)))) :+: ((C1 ('MetaCons "CDF" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "CHE" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "CHF" 'PrefixI 'False) (U1 :: Type -> Type))) :+: (C1 ('MetaCons "CHW" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "CLF" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "CLP" 'PrefixI 'False) (U1 :: Type -> Type))))) :+: (((C1 ('MetaCons "CNY" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "COP" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "COU" 'PrefixI 'False) (U1 :: Type -> Type))) :+: (C1 ('MetaCons "CRC" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "CUC" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "CUP" 'PrefixI 'False) (U1 :: Type -> Type)))) :+: ((C1 ('MetaCons "CVE" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "CZK" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "DJF" 'PrefixI 'False) (U1 :: Type -> Type))) :+: (C1 ('MetaCons "DKK" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "DOP" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "DZD" 'PrefixI 'False) (U1 :: Type -> Type))))))) :+: (((((C1 ('MetaCons "EGP" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "ERN" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "ETB" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "EUR" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "FJD" 'PrefixI 'False) (U1 :: Type -> Type)))) :+: ((C1 ('MetaCons "FKP" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "GBP" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "GEL" 'PrefixI 'False) (U1 :: Type -> Type))) :+: (C1 ('MetaCons "GHS" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "GIP" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "GMD" 'PrefixI 'False) (U1 :: Type -> Type))))) :+: (((C1 ('MetaCons "GNF" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "GTQ" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "GYD" 'PrefixI 'False) (U1 :: Type -> Type))) :+: (C1 ('MetaCons "HKD" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "HNL" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "HRK" 'PrefixI 'False) (U1 :: Type -> Type)))) :+: ((C1 ('MetaCons "HTG" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "HUF" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "IDR" 'PrefixI 'False) (U1 :: Type -> Type))) :+: (C1 ('MetaCons "ILS" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "INR" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "IQD" 'PrefixI 'False) (U1 :: Type -> Type)))))) :+: ((((C1 ('MetaCons "IRR" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "ISK" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "JMD" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "JOD" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "JPY" 'PrefixI 'False) (U1 :: Type -> Type)))) :+: ((C1 ('MetaCons "KES" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "KGS" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "KHR" 'PrefixI 'False) (U1 :: Type -> Type))) :+: (C1 ('MetaCons "KMF" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "KPW" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "KRW" 'PrefixI 'False) (U1 :: Type -> Type))))) :+: (((C1 ('MetaCons "KWD" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "KYD" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "KZT" 'PrefixI 'False) (U1 :: Type -> Type))) :+: (C1 ('MetaCons "LAK" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "LBP" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "LKR" 'PrefixI 'False) (U1 :: Type -> Type)))) :+: ((C1 ('MetaCons "LRD" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "LSL" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "LTL" 'PrefixI 'False) (U1 :: Type -> Type))) :+: (C1 ('MetaCons "LYD" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "MAD" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "MDL" 'PrefixI 'False) (U1 :: Type -> Type)))))))) :+: ((((((C1 ('MetaCons "MGA" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "MKD" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "MMK" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "MNT" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "MOP" 'PrefixI 'False) (U1 :: Type -> Type)))) :+: ((C1 ('MetaCons "MRO" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "MRU" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "MUR" 'PrefixI 'False) (U1 :: Type -> Type))) :+: (C1 ('MetaCons "MVR" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "MWK" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "MXN" 'PrefixI 'False) (U1 :: Type -> Type))))) :+: (((C1 ('MetaCons "MXV" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "MYR" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "MZN" 'PrefixI 'False) (U1 :: Type -> Type))) :+: (C1 ('MetaCons "NAD" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "NGN" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "NIO" 'PrefixI 'False) (U1 :: Type -> Type)))) :+: ((C1 ('MetaCons "NOK" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "NPR" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "NZD" 'PrefixI 'False) (U1 :: Type -> Type))) :+: (C1 ('MetaCons "OMR" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "PAB" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "PEN" 'PrefixI 'False) (U1 :: Type -> Type)))))) :+: ((((C1 ('MetaCons "PGK" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "PHP" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "PKR" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "PLN" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "PYG" 'PrefixI 'False) (U1 :: Type -> Type)))) :+: ((C1 ('MetaCons "QAR" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "RON" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "RSD" 'PrefixI 'False) (U1 :: Type -> Type))) :+: (C1 ('MetaCons "RUB" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "RUR" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "RWF" 'PrefixI 'False) (U1 :: Type -> Type))))) :+: (((C1 ('MetaCons "SAR" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "SBD" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "SCR" 'PrefixI 'False) (U1 :: Type -> Type))) :+: (C1 ('MetaCons "SDG" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "SEK" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "SGD" 'PrefixI 'False) (U1 :: Type -> Type)))) :+: ((C1 ('MetaCons "SHP" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "SLL" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "SOS" 'PrefixI 'False) (U1 :: Type -> Type))) :+: (C1 ('MetaCons "SRD" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "SSP" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "STD" 'PrefixI 'False) (U1 :: Type -> Type))))))) :+: (((((C1 ('MetaCons "STN" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "SVC" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "SYP" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "SZL" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "THB" 'PrefixI 'False) (U1 :: Type -> Type)))) :+: ((C1 ('MetaCons "TJS" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "TMT" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "TND" 'PrefixI 'False) (U1 :: Type -> Type))) :+: (C1 ('MetaCons "TOP" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "TRY" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "TTD" 'PrefixI 'False) (U1 :: Type -> Type))))) :+: (((C1 ('MetaCons "TWD" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "TZS" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "UAH" 'PrefixI 'False) (U1 :: Type -> Type))) :+: (C1 ('MetaCons "UGX" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "USD" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "USN" 'PrefixI 'False) (U1 :: Type -> Type)))) :+: ((C1 ('MetaCons "USS" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "UYI" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "UYU" 'PrefixI 'False) (U1 :: Type -> Type))) :+: (C1 ('MetaCons "UZS" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "VEF" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "VES" 'PrefixI 'False) (U1 :: Type -> Type)))))) :+: ((((C1 ('MetaCons "VND" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "VUV" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "WST" 'PrefixI 'False) (U1 :: Type -> Type))) :+: (C1 ('MetaCons "XAF" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "XAG" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "XAU" 'PrefixI 'False) (U1 :: Type -> Type)))) :+: ((C1 ('MetaCons "XBA" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "XBB" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "XBC" 'PrefixI 'False) (U1 :: Type -> Type))) :+: (C1 ('MetaCons "XBD" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "XCD" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "XDR" 'PrefixI 'False) (U1 :: Type -> Type))))) :+: (((C1 ('MetaCons "XOF" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "XPD" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "XPF" 'PrefixI 'False) (U1 :: Type -> Type))) :+: (C1 ('MetaCons "XPT" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "XSU" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "XTS" 'PrefixI 'False) (U1 :: Type -> Type)))) :+: ((C1 ('MetaCons "XUA" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "XXX" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "YER" 'PrefixI 'False) (U1 :: Type -> Type))) :+: (C1 ('MetaCons "ZAR" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "ZMW" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "ZWL" 'PrefixI 'False) (U1 :: Type -> Type)))))))))

data CurrencyAndAmount #

Constructors

CurrencyAndAmount 

Instances

Instances details
Show CurrencyAndAmount # 
Instance details

Defined in Bank.Starling.API.Schemas

Generic CurrencyAndAmount # 
Instance details

Defined in Bank.Starling.API.Schemas

Associated Types

type Rep CurrencyAndAmount :: Type -> Type #

FromJSON CurrencyAndAmount # 
Instance details

Defined in Bank.Starling.API.Schemas

Methods

parseJSON :: Value -> Parser CurrencyAndAmount

parseJSONList :: Value -> Parser [CurrencyAndAmount]

ToJSON CurrencyAndAmount # 
Instance details

Defined in Bank.Starling.API.Schemas

type Rep CurrencyAndAmount # 
Instance details

Defined in Bank.Starling.API.Schemas

type Rep CurrencyAndAmount = D1 ('MetaData "CurrencyAndAmount" "Bank.Starling.API.Schemas" "starling-bank-0.1.0.0-inplace" 'False) (C1 ('MetaCons "CurrencyAndAmount" 'PrefixI 'True) (S1 ('MetaSel ('Just "currency") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Currency) :*: S1 ('MetaSel ('Just "minorUnits") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int)))

data DirectDebitMandate #

Instances

Instances details
Show DirectDebitMandate # 
Instance details

Defined in Bank.Starling.API.Schemas

Generic DirectDebitMandate # 
Instance details

Defined in Bank.Starling.API.Schemas

Associated Types

type Rep DirectDebitMandate :: Type -> Type #

FromJSON DirectDebitMandate # 
Instance details

Defined in Bank.Starling.API.Schemas

Methods

parseJSON :: Value -> Parser DirectDebitMandate

parseJSONList :: Value -> Parser [DirectDebitMandate]

ToJSON DirectDebitMandate # 
Instance details

Defined in Bank.Starling.API.Schemas

type Rep DirectDebitMandate # 
Instance details

Defined in Bank.Starling.API.Schemas

type Rep DirectDebitMandate = D1 ('MetaData "DirectDebitMandate" "Bank.Starling.API.Schemas" "starling-bank-0.1.0.0-inplace" 'False) (C1 ('MetaCons "DirectDebitMandate" 'PrefixI 'True) (((S1 ('MetaSel ('Just "uid") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 DirectDebitMandateUid) :*: (S1 ('MetaSel ('Just "reference") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 String) :*: S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 String))) :*: ((S1 ('MetaSel ('Just "source") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 String) :*: S1 ('MetaSel ('Just "created") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ZonedTime)) :*: (S1 ('MetaSel ('Just "cancelled") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe ZonedTime)) :*: S1 ('MetaSel ('Just "nextDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Day))))) :*: ((S1 ('MetaSel ('Just "lastDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Day)) :*: (S1 ('MetaSel ('Just "originatorName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 String) :*: S1 ('MetaSel ('Just "originatorUid") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 UUID))) :*: ((S1 ('MetaSel ('Just "merchantUid") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 UUID) :*: S1 ('MetaSel ('Just "lastPayment") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe LastPayment))) :*: (S1 ('MetaSel ('Just "accountUid") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 AccountUid) :*: S1 ('MetaSel ('Just "categoryUid") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 CategoryUid))))))

data DirectDebitMandates #

Instances

Instances details
Show DirectDebitMandates # 
Instance details

Defined in Bank.Starling.API.Schemas

Generic DirectDebitMandates # 
Instance details

Defined in Bank.Starling.API.Schemas

Associated Types

type Rep DirectDebitMandates :: Type -> Type #

FromJSON DirectDebitMandates # 
Instance details

Defined in Bank.Starling.API.Schemas

Methods

parseJSON :: Value -> Parser DirectDebitMandates

parseJSONList :: Value -> Parser [DirectDebitMandates]

ToJSON DirectDebitMandates # 
Instance details

Defined in Bank.Starling.API.Schemas

type Rep DirectDebitMandates # 
Instance details

Defined in Bank.Starling.API.Schemas

type Rep DirectDebitMandates = D1 ('MetaData "DirectDebitMandates" "Bank.Starling.API.Schemas" "starling-bank-0.1.0.0-inplace" 'False) (C1 ('MetaCons "DirectDebitMandates" 'PrefixI 'True) (S1 ('MetaSel ('Just "mandates") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [DirectDebitMandate])))

newtype DirectDebitMandateUid #

Constructors

DirectDebitMandateUid UUID 

Instances

Instances details
Show DirectDebitMandateUid # 
Instance details

Defined in Bank.Starling.API.Schemas

Generic DirectDebitMandateUid # 
Instance details

Defined in Bank.Starling.API.Schemas

Associated Types

type Rep DirectDebitMandateUid :: Type -> Type #

FromJSON DirectDebitMandateUid # 
Instance details

Defined in Bank.Starling.API.Schemas

Methods

parseJSON :: Value -> Parser DirectDebitMandateUid

parseJSONList :: Value -> Parser [DirectDebitMandateUid]

ToJSON DirectDebitMandateUid # 
Instance details

Defined in Bank.Starling.API.Schemas

type Rep DirectDebitMandateUid # 
Instance details

Defined in Bank.Starling.API.Schemas

type Rep DirectDebitMandateUid = D1 ('MetaData "DirectDebitMandateUid" "Bank.Starling.API.Schemas" "starling-bank-0.1.0.0-inplace" 'True) (C1 ('MetaCons "DirectDebitMandateUid" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 UUID)))

data IdentifierType #

Constructors

SortCode 
IbanBic 
AbaAch 

Instances

Instances details
Show IdentifierType # 
Instance details

Defined in Bank.Starling.API.Schemas

Generic IdentifierType # 
Instance details

Defined in Bank.Starling.API.Schemas

Associated Types

type Rep IdentifierType :: Type -> Type #

FromJSON IdentifierType # 
Instance details

Defined in Bank.Starling.API.Schemas

Methods

parseJSON :: Value -> Parser IdentifierType

parseJSONList :: Value -> Parser [IdentifierType]

ToJSON IdentifierType # 
Instance details

Defined in Bank.Starling.API.Schemas

Methods

toJSON :: IdentifierType -> Value

toEncoding :: IdentifierType -> Encoding

toJSONList :: [IdentifierType] -> Value

toEncodingList :: [IdentifierType] -> Encoding

type Rep IdentifierType # 
Instance details

Defined in Bank.Starling.API.Schemas

type Rep IdentifierType = D1 ('MetaData "IdentifierType" "Bank.Starling.API.Schemas" "starling-bank-0.1.0.0-inplace" 'False) (C1 ('MetaCons "SortCode" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "IbanBic" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "AbaAch" 'PrefixI 'False) (U1 :: Type -> Type)))

data Individual #

Instances

Instances details
Show Individual # 
Instance details

Defined in Bank.Starling.API.Schemas

Generic Individual # 
Instance details

Defined in Bank.Starling.API.Schemas

Associated Types

type Rep Individual :: Type -> Type #

FromJSON Individual # 
Instance details

Defined in Bank.Starling.API.Schemas

Methods

parseJSON :: Value -> Parser Individual

parseJSONList :: Value -> Parser [Individual]

ToJSON Individual # 
Instance details

Defined in Bank.Starling.API.Schemas

Methods

toJSON :: Individual -> Value

toEncoding :: Individual -> Encoding

toJSONList :: [Individual] -> Value

toEncodingList :: [Individual] -> Encoding

type Rep Individual # 
Instance details

Defined in Bank.Starling.API.Schemas

data Joint #

Instances

Instances details
Show Joint # 
Instance details

Defined in Bank.Starling.API.Schemas

Methods

showsPrec :: Int -> Joint -> ShowS #

show :: Joint -> String #

showList :: [Joint] -> ShowS #

Generic Joint # 
Instance details

Defined in Bank.Starling.API.Schemas

Associated Types

type Rep Joint :: Type -> Type #

Methods

from :: Joint -> Rep Joint x #

to :: Rep Joint x -> Joint #

FromJSON Joint # 
Instance details

Defined in Bank.Starling.API.Schemas

Methods

parseJSON :: Value -> Parser Joint

parseJSONList :: Value -> Parser [Joint]

ToJSON Joint # 
Instance details

Defined in Bank.Starling.API.Schemas

Methods

toJSON :: Joint -> Value

toEncoding :: Joint -> Encoding

toJSONList :: [Joint] -> Value

toEncodingList :: [Joint] -> Encoding

type Rep Joint # 
Instance details

Defined in Bank.Starling.API.Schemas

type Rep Joint = D1 ('MetaData "Joint" "Bank.Starling.API.Schemas" "starling-bank-0.1.0.0-inplace" 'False) (C1 ('MetaCons "Joint" 'PrefixI 'True) (S1 ('MetaSel ('Just "accountHolderUid") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 AccountHolderUid) :*: (S1 ('MetaSel ('Just "personOne") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Individual) :*: S1 ('MetaSel ('Just "personTwo") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Individual))))

data LastPayment #

Instances

Instances details
Show LastPayment # 
Instance details

Defined in Bank.Starling.API.Schemas

Generic LastPayment # 
Instance details

Defined in Bank.Starling.API.Schemas

Associated Types

type Rep LastPayment :: Type -> Type #

FromJSON LastPayment # 
Instance details

Defined in Bank.Starling.API.Schemas

Methods

parseJSON :: Value -> Parser LastPayment

parseJSONList :: Value -> Parser [LastPayment]

ToJSON LastPayment # 
Instance details

Defined in Bank.Starling.API.Schemas

Methods

toJSON :: LastPayment -> Value

toEncoding :: LastPayment -> Encoding

toJSONList :: [LastPayment] -> Value

toEncodingList :: [LastPayment] -> Encoding

type Rep LastPayment # 
Instance details

Defined in Bank.Starling.API.Schemas

type Rep LastPayment = D1 ('MetaData "LastPayment" "Bank.Starling.API.Schemas" "starling-bank-0.1.0.0-inplace" 'False) (C1 ('MetaCons "LastPayment" 'PrefixI 'True) (S1 ('MetaSel ('Just "lastDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Day) :*: S1 ('MetaSel ('Just "lastAmount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 CurrencyAndAmount)))

data NextPaymentDatesResponse #

Instances

Instances details
Show NextPaymentDatesResponse # 
Instance details

Defined in Bank.Starling.API.Schemas

Generic NextPaymentDatesResponse # 
Instance details

Defined in Bank.Starling.API.Schemas

Associated Types

type Rep NextPaymentDatesResponse :: Type -> Type #

FromJSON NextPaymentDatesResponse # 
Instance details

Defined in Bank.Starling.API.Schemas

Methods

parseJSON :: Value -> Parser NextPaymentDatesResponse

parseJSONList :: Value -> Parser [NextPaymentDatesResponse]

ToJSON NextPaymentDatesResponse # 
Instance details

Defined in Bank.Starling.API.Schemas

type Rep NextPaymentDatesResponse # 
Instance details

Defined in Bank.Starling.API.Schemas

type Rep NextPaymentDatesResponse = D1 ('MetaData "NextPaymentDatesResponse" "Bank.Starling.API.Schemas" "starling-bank-0.1.0.0-inplace" 'False) (C1 ('MetaCons "NextPaymentDatesResponse" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextPaymentDates") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Day])))

data Payee #

Instances

Instances details
Show Payee # 
Instance details

Defined in Bank.Starling.API.Schemas

Methods

showsPrec :: Int -> Payee -> ShowS #

show :: Payee -> String #

showList :: [Payee] -> ShowS #

Generic Payee # 
Instance details

Defined in Bank.Starling.API.Schemas

Associated Types

type Rep Payee :: Type -> Type #

Methods

from :: Payee -> Rep Payee x #

to :: Rep Payee x -> Payee #

FromJSON Payee # 
Instance details

Defined in Bank.Starling.API.Schemas

Methods

parseJSON :: Value -> Parser Payee

parseJSONList :: Value -> Parser [Payee]

ToJSON Payee # 
Instance details

Defined in Bank.Starling.API.Schemas

Methods

toJSON :: Payee -> Value

toEncoding :: Payee -> Encoding

toJSONList :: [Payee] -> Value

toEncodingList :: [Payee] -> Encoding

type Rep Payee # 
Instance details

Defined in Bank.Starling.API.Schemas

data PayeeAccount #

Instances

Instances details
Show PayeeAccount # 
Instance details

Defined in Bank.Starling.API.Schemas

Generic PayeeAccount # 
Instance details

Defined in Bank.Starling.API.Schemas

Associated Types

type Rep PayeeAccount :: Type -> Type #

FromJSON PayeeAccount # 
Instance details

Defined in Bank.Starling.API.Schemas

Methods

parseJSON :: Value -> Parser PayeeAccount

parseJSONList :: Value -> Parser [PayeeAccount]

ToJSON PayeeAccount # 
Instance details

Defined in Bank.Starling.API.Schemas

Methods

toJSON :: PayeeAccount -> Value

toEncoding :: PayeeAccount -> Encoding

toJSONList :: [PayeeAccount] -> Value

toEncodingList :: [PayeeAccount] -> Encoding

type Rep PayeeAccount # 
Instance details

Defined in Bank.Starling.API.Schemas

newtype PayeeAccountUid #

Constructors

PayeeAccountUid UUID 

Instances

Instances details
Show PayeeAccountUid # 
Instance details

Defined in Bank.Starling.API.Schemas

Generic PayeeAccountUid # 
Instance details

Defined in Bank.Starling.API.Schemas

Associated Types

type Rep PayeeAccountUid :: Type -> Type #

FromJSON PayeeAccountUid # 
Instance details

Defined in Bank.Starling.API.Schemas

Methods

parseJSON :: Value -> Parser PayeeAccountUid

parseJSONList :: Value -> Parser [PayeeAccountUid]

ToJSON PayeeAccountUid # 
Instance details

Defined in Bank.Starling.API.Schemas

Methods

toJSON :: PayeeAccountUid -> Value

toEncoding :: PayeeAccountUid -> Encoding

toJSONList :: [PayeeAccountUid] -> Value

toEncodingList :: [PayeeAccountUid] -> Encoding

type Rep PayeeAccountUid # 
Instance details

Defined in Bank.Starling.API.Schemas

type Rep PayeeAccountUid = D1 ('MetaData "PayeeAccountUid" "Bank.Starling.API.Schemas" "starling-bank-0.1.0.0-inplace" 'True) (C1 ('MetaCons "PayeeAccountUid" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 UUID)))

data PayeeChannelType #

Constructors

BANK_ACCOUNT 
SETTLE_UP 
NEARBY 

Instances

Instances details
Show PayeeChannelType # 
Instance details

Defined in Bank.Starling.API.Schemas

Generic PayeeChannelType # 
Instance details

Defined in Bank.Starling.API.Schemas

Associated Types

type Rep PayeeChannelType :: Type -> Type #

FromJSON PayeeChannelType # 
Instance details

Defined in Bank.Starling.API.Schemas

Methods

parseJSON :: Value -> Parser PayeeChannelType

parseJSONList :: Value -> Parser [PayeeChannelType]

ToJSON PayeeChannelType # 
Instance details

Defined in Bank.Starling.API.Schemas

type Rep PayeeChannelType # 
Instance details

Defined in Bank.Starling.API.Schemas

type Rep PayeeChannelType = D1 ('MetaData "PayeeChannelType" "Bank.Starling.API.Schemas" "starling-bank-0.1.0.0-inplace" 'False) (C1 ('MetaCons "BANK_ACCOUNT" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "SETTLE_UP" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "NEARBY" 'PrefixI 'False) (U1 :: Type -> Type)))

data PayeePayment #

Instances

Instances details
Show PayeePayment # 
Instance details

Defined in Bank.Starling.API.Schemas

Generic PayeePayment # 
Instance details

Defined in Bank.Starling.API.Schemas

Associated Types

type Rep PayeePayment :: Type -> Type #

FromJSON PayeePayment # 
Instance details

Defined in Bank.Starling.API.Schemas

Methods

parseJSON :: Value -> Parser PayeePayment

parseJSONList :: Value -> Parser [PayeePayment]

ToJSON PayeePayment # 
Instance details

Defined in Bank.Starling.API.Schemas

Methods

toJSON :: PayeePayment -> Value

toEncoding :: PayeePayment -> Encoding

toJSONList :: [PayeePayment] -> Value

toEncodingList :: [PayeePayment] -> Encoding

type Rep PayeePayment # 
Instance details

Defined in Bank.Starling.API.Schemas

data Payees #

Constructors

Payees 

Fields

Instances

Instances details
Show Payees # 
Instance details

Defined in Bank.Starling.API.Schemas

Generic Payees # 
Instance details

Defined in Bank.Starling.API.Schemas

Associated Types

type Rep Payees :: Type -> Type #

Methods

from :: Payees -> Rep Payees x #

to :: Rep Payees x -> Payees #

FromJSON Payees # 
Instance details

Defined in Bank.Starling.API.Schemas

Methods

parseJSON :: Value -> Parser Payees

parseJSONList :: Value -> Parser [Payees]

ToJSON Payees # 
Instance details

Defined in Bank.Starling.API.Schemas

Methods

toJSON :: Payees -> Value

toEncoding :: Payees -> Encoding

toJSONList :: [Payees] -> Value

toEncodingList :: [Payees] -> Encoding

type Rep Payees # 
Instance details

Defined in Bank.Starling.API.Schemas

type Rep Payees = D1 ('MetaData "Payees" "Bank.Starling.API.Schemas" "starling-bank-0.1.0.0-inplace" 'False) (C1 ('MetaCons "Payees" 'PrefixI 'True) (S1 ('MetaSel ('Just "payees") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Payee])))

data PayeeType #

Constructors

BUSINESS 
INDIVIDUAL 

Instances

Instances details
Show PayeeType # 
Instance details

Defined in Bank.Starling.API.Schemas

Generic PayeeType # 
Instance details

Defined in Bank.Starling.API.Schemas

Associated Types

type Rep PayeeType :: Type -> Type #

FromJSON PayeeType # 
Instance details

Defined in Bank.Starling.API.Schemas

Methods

parseJSON :: Value -> Parser PayeeType

parseJSONList :: Value -> Parser [PayeeType]

ToJSON PayeeType # 
Instance details

Defined in Bank.Starling.API.Schemas

Methods

toJSON :: PayeeType -> Value

toEncoding :: PayeeType -> Encoding

toJSONList :: [PayeeType] -> Value

toEncodingList :: [PayeeType] -> Encoding

type Rep PayeeType # 
Instance details

Defined in Bank.Starling.API.Schemas

type Rep PayeeType = D1 ('MetaData "PayeeType" "Bank.Starling.API.Schemas" "starling-bank-0.1.0.0-inplace" 'False) (C1 ('MetaCons "BUSINESS" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "INDIVIDUAL" 'PrefixI 'False) (U1 :: Type -> Type))

newtype PayeeUid #

Constructors

PayeeUid UUID 

Instances

Instances details
Show PayeeUid # 
Instance details

Defined in Bank.Starling.API.Schemas

Generic PayeeUid # 
Instance details

Defined in Bank.Starling.API.Schemas

Associated Types

type Rep PayeeUid :: Type -> Type #

Methods

from :: PayeeUid -> Rep PayeeUid x #

to :: Rep PayeeUid x -> PayeeUid #

FromJSON PayeeUid # 
Instance details

Defined in Bank.Starling.API.Schemas

Methods

parseJSON :: Value -> Parser PayeeUid

parseJSONList :: Value -> Parser [PayeeUid]

ToJSON PayeeUid # 
Instance details

Defined in Bank.Starling.API.Schemas

Methods

toJSON :: PayeeUid -> Value

toEncoding :: PayeeUid -> Encoding

toJSONList :: [PayeeUid] -> Value

toEncodingList :: [PayeeUid] -> Encoding

type Rep PayeeUid # 
Instance details

Defined in Bank.Starling.API.Schemas

type Rep PayeeUid = D1 ('MetaData "PayeeUid" "Bank.Starling.API.Schemas" "starling-bank-0.1.0.0-inplace" 'True) (C1 ('MetaCons "PayeeUid" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 UUID)))

data Payments #

Constructors

Payments 

Fields

Instances

Instances details
Show Payments # 
Instance details

Defined in Bank.Starling.API.Schemas

Generic Payments # 
Instance details

Defined in Bank.Starling.API.Schemas

Associated Types

type Rep Payments :: Type -> Type #

Methods

from :: Payments -> Rep Payments x #

to :: Rep Payments x -> Payments #

FromJSON Payments # 
Instance details

Defined in Bank.Starling.API.Schemas

Methods

parseJSON :: Value -> Parser Payments

parseJSONList :: Value -> Parser [Payments]

ToJSON Payments # 
Instance details

Defined in Bank.Starling.API.Schemas

Methods

toJSON :: Payments -> Value

toEncoding :: Payments -> Encoding

toJSONList :: [Payments] -> Value

toEncodingList :: [Payments] -> Encoding

type Rep Payments # 
Instance details

Defined in Bank.Starling.API.Schemas

type Rep Payments = D1 ('MetaData "Payments" "Bank.Starling.API.Schemas" "starling-bank-0.1.0.0-inplace" 'False) (C1 ('MetaCons "Payments" 'PrefixI 'True) (S1 ('MetaSel ('Just "payments") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [PayeePayment])))

data PaymentOrder #

Instances

Instances details
Show PaymentOrder # 
Instance details

Defined in Bank.Starling.API.Schemas

Generic PaymentOrder # 
Instance details

Defined in Bank.Starling.API.Schemas

Associated Types

type Rep PaymentOrder :: Type -> Type #

FromJSON PaymentOrder # 
Instance details

Defined in Bank.Starling.API.Schemas

Methods

parseJSON :: Value -> Parser PaymentOrder

parseJSONList :: Value -> Parser [PaymentOrder]

ToJSON PaymentOrder # 
Instance details

Defined in Bank.Starling.API.Schemas

Methods

toJSON :: PaymentOrder -> Value

toEncoding :: PaymentOrder -> Encoding

toJSONList :: [PaymentOrder] -> Value

toEncodingList :: [PaymentOrder] -> Encoding

type Rep PaymentOrder # 
Instance details

Defined in Bank.Starling.API.Schemas

data PaymentOrderPayment #

Instances

Instances details
Show PaymentOrderPayment # 
Instance details

Defined in Bank.Starling.API.Schemas

Generic PaymentOrderPayment # 
Instance details

Defined in Bank.Starling.API.Schemas

Associated Types

type Rep PaymentOrderPayment :: Type -> Type #

FromJSON PaymentOrderPayment # 
Instance details

Defined in Bank.Starling.API.Schemas

Methods

parseJSON :: Value -> Parser PaymentOrderPayment

parseJSONList :: Value -> Parser [PaymentOrderPayment]

ToJSON PaymentOrderPayment # 
Instance details

Defined in Bank.Starling.API.Schemas

type Rep PaymentOrderPayment # 
Instance details

Defined in Bank.Starling.API.Schemas

data PaymentOrderPaymentsResponse #

Instances

Instances details
Show PaymentOrderPaymentsResponse # 
Instance details

Defined in Bank.Starling.API.Schemas

Generic PaymentOrderPaymentsResponse # 
Instance details

Defined in Bank.Starling.API.Schemas

Associated Types

type Rep PaymentOrderPaymentsResponse :: Type -> Type #

FromJSON PaymentOrderPaymentsResponse # 
Instance details

Defined in Bank.Starling.API.Schemas

ToJSON PaymentOrderPaymentsResponse # 
Instance details

Defined in Bank.Starling.API.Schemas

type Rep PaymentOrderPaymentsResponse # 
Instance details

Defined in Bank.Starling.API.Schemas

type Rep PaymentOrderPaymentsResponse = D1 ('MetaData "PaymentOrderPaymentsResponse" "Bank.Starling.API.Schemas" "starling-bank-0.1.0.0-inplace" 'False) (C1 ('MetaCons "PaymentOrderPaymentsResponse" 'PrefixI 'True) (S1 ('MetaSel ('Just "payments") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [PaymentOrderPayment])))

newtype PaymentOrderUid #

Constructors

PaymentOrderUid UUID 

Instances

Instances details
Show PaymentOrderUid # 
Instance details

Defined in Bank.Starling.API.Schemas

Generic PaymentOrderUid # 
Instance details

Defined in Bank.Starling.API.Schemas

Associated Types

type Rep PaymentOrderUid :: Type -> Type #

FromJSON PaymentOrderUid # 
Instance details

Defined in Bank.Starling.API.Schemas

Methods

parseJSON :: Value -> Parser PaymentOrderUid

parseJSONList :: Value -> Parser [PaymentOrderUid]

ToJSON PaymentOrderUid # 
Instance details

Defined in Bank.Starling.API.Schemas

Methods

toJSON :: PaymentOrderUid -> Value

toEncoding :: PaymentOrderUid -> Encoding

toJSONList :: [PaymentOrderUid] -> Value

toEncodingList :: [PaymentOrderUid] -> Encoding

type Rep PaymentOrderUid # 
Instance details

Defined in Bank.Starling.API.Schemas

type Rep PaymentOrderUid = D1 ('MetaData "PaymentOrderUid" "Bank.Starling.API.Schemas" "starling-bank-0.1.0.0-inplace" 'True) (C1 ('MetaCons "PaymentOrderUid" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 UUID)))

data PaymentStatus #

Constructors

Accepted 
Rejected 
Pending 

Instances

Instances details
Show PaymentStatus # 
Instance details

Defined in Bank.Starling.API.Schemas

Generic PaymentStatus # 
Instance details

Defined in Bank.Starling.API.Schemas

Associated Types

type Rep PaymentStatus :: Type -> Type #

FromJSON PaymentStatus # 
Instance details

Defined in Bank.Starling.API.Schemas

Methods

parseJSON :: Value -> Parser PaymentStatus

parseJSONList :: Value -> Parser [PaymentStatus]

ToJSON PaymentStatus # 
Instance details

Defined in Bank.Starling.API.Schemas

Methods

toJSON :: PaymentStatus -> Value

toEncoding :: PaymentStatus -> Encoding

toJSONList :: [PaymentStatus] -> Value

toEncodingList :: [PaymentStatus] -> Encoding

type Rep PaymentStatus # 
Instance details

Defined in Bank.Starling.API.Schemas

type Rep PaymentStatus = D1 ('MetaData "PaymentStatus" "Bank.Starling.API.Schemas" "starling-bank-0.1.0.0-inplace" 'False) (C1 ('MetaCons "Accepted" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "Rejected" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Pending" 'PrefixI 'False) (U1 :: Type -> Type)))

data PaymentStatusDescription #

Instances

Instances details
Show PaymentStatusDescription # 
Instance details

Defined in Bank.Starling.API.Schemas

Generic PaymentStatusDescription # 
Instance details

Defined in Bank.Starling.API.Schemas

Associated Types

type Rep PaymentStatusDescription :: Type -> Type #

FromJSON PaymentStatusDescription # 
Instance details

Defined in Bank.Starling.API.Schemas

Methods

parseJSON :: Value -> Parser PaymentStatusDescription

parseJSONList :: Value -> Parser [PaymentStatusDescription]

ToJSON PaymentStatusDescription # 
Instance details

Defined in Bank.Starling.API.Schemas

type Rep PaymentStatusDescription # 
Instance details

Defined in Bank.Starling.API.Schemas

type Rep PaymentStatusDescription = D1 ('MetaData "PaymentStatusDescription" "Bank.Starling.API.Schemas" "starling-bank-0.1.0.0-inplace" 'False) (((C1 ('MetaCons "ACCEPTED" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "QUALIFIED_ACCEPT_WITHIN_TWO_HOURS" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "QUALIFIED_ACCEPT_UNSPECIFIED_DAY" 'PrefixI 'False) (U1 :: Type -> Type))) :+: (C1 ('MetaCons "QUALIFIED_ACCEPT_SAME_DAY" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "QUALIFIED_ACCEPT_NEXT_CALENDAR_DAY" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "QUALIFIED_ACCEPT_NEXT_WORKING_DAY" 'PrefixI 'False) (U1 :: Type -> Type)))) :+: ((C1 ('MetaCons "QUALIFIED_ACCEPT_AFTER_NEXT_WORKING_DAY" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "DESTINATION_ACCOUNT_INVALID" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "DESTINATION_ACCOUNT_NAME_MISMATCH" 'PrefixI 'False) (U1 :: Type -> Type))) :+: (C1 ('MetaCons "REFERENCE_INFORMATION_INCORRECT" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "DESTINATION_ACCOUNT_UNAVAILABLE" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "PENDING" 'PrefixI 'False) (U1 :: Type -> Type)))))

data PaymentStatusDetails #

Instances

Instances details
Show PaymentStatusDetails # 
Instance details

Defined in Bank.Starling.API.Schemas

Generic PaymentStatusDetails # 
Instance details

Defined in Bank.Starling.API.Schemas

Associated Types

type Rep PaymentStatusDetails :: Type -> Type #

FromJSON PaymentStatusDetails # 
Instance details

Defined in Bank.Starling.API.Schemas

Methods

parseJSON :: Value -> Parser PaymentStatusDetails

parseJSONList :: Value -> Parser [PaymentStatusDetails]

ToJSON PaymentStatusDetails # 
Instance details

Defined in Bank.Starling.API.Schemas

type Rep PaymentStatusDetails # 
Instance details

Defined in Bank.Starling.API.Schemas

type Rep PaymentStatusDetails = D1 ('MetaData "PaymentStatusDetails" "Bank.Starling.API.Schemas" "starling-bank-0.1.0.0-inplace" 'False) (C1 ('MetaCons "PaymentStatusDetails" 'PrefixI 'True) (S1 ('MetaSel ('Just "paymentStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 PaymentStatus) :*: S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 PaymentStatusDescription)))

newtype PaymentUid #

Constructors

PaymentUid UUID 

Instances

Instances details
Show PaymentUid # 
Instance details

Defined in Bank.Starling.API.Schemas

Generic PaymentUid # 
Instance details

Defined in Bank.Starling.API.Schemas

Associated Types

type Rep PaymentUid :: Type -> Type #

FromJSON PaymentUid # 
Instance details

Defined in Bank.Starling.API.Schemas

Methods

parseJSON :: Value -> Parser PaymentUid

parseJSONList :: Value -> Parser [PaymentUid]

ToJSON PaymentUid # 
Instance details

Defined in Bank.Starling.API.Schemas

Methods

toJSON :: PaymentUid -> Value

toEncoding :: PaymentUid -> Encoding

toJSONList :: [PaymentUid] -> Value

toEncodingList :: [PaymentUid] -> Encoding

type Rep PaymentUid # 
Instance details

Defined in Bank.Starling.API.Schemas

type Rep PaymentUid = D1 ('MetaData "PaymentUid" "Bank.Starling.API.Schemas" "starling-bank-0.1.0.0-inplace" 'True) (C1 ('MetaCons "PaymentUid" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 UUID)))

data RecurrenceRule #

Instances

Instances details
Show RecurrenceRule # 
Instance details

Defined in Bank.Starling.API.Schemas

Generic RecurrenceRule # 
Instance details

Defined in Bank.Starling.API.Schemas

Associated Types

type Rep RecurrenceRule :: Type -> Type #

FromJSON RecurrenceRule # 
Instance details

Defined in Bank.Starling.API.Schemas

Methods

parseJSON :: Value -> Parser RecurrenceRule

parseJSONList :: Value -> Parser [RecurrenceRule]

ToJSON RecurrenceRule # 
Instance details

Defined in Bank.Starling.API.Schemas

Methods

toJSON :: RecurrenceRule -> Value

toEncoding :: RecurrenceRule -> Encoding

toJSONList :: [RecurrenceRule] -> Value

toEncodingList :: [RecurrenceRule] -> Encoding

type Rep RecurrenceRule # 
Instance details

Defined in Bank.Starling.API.Schemas

data ScheduledPayment #

Instances

Instances details
Show ScheduledPayment # 
Instance details

Defined in Bank.Starling.API.Schemas

Generic ScheduledPayment # 
Instance details

Defined in Bank.Starling.API.Schemas

Associated Types

type Rep ScheduledPayment :: Type -> Type #

FromJSON ScheduledPayment # 
Instance details

Defined in Bank.Starling.API.Schemas

Methods

parseJSON :: Value -> Parser ScheduledPayment

parseJSONList :: Value -> Parser [ScheduledPayment]

ToJSON ScheduledPayment # 
Instance details

Defined in Bank.Starling.API.Schemas

type Rep ScheduledPayment # 
Instance details

Defined in Bank.Starling.API.Schemas

type Rep ScheduledPayment = D1 ('MetaData "ScheduledPayment" "Bank.Starling.API.Schemas" "starling-bank-0.1.0.0-inplace" 'False) (C1 ('MetaCons "ScheduledPayment" 'PrefixI 'True) (((S1 ('MetaSel ('Just "accountHolderUid") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 AccountHolderUid) :*: (S1 ('MetaSel ('Just "paymentOrderUid") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 PaymentOrderUid) :*: S1 ('MetaSel ('Just "categoryUid") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 CategoryUid))) :*: ((S1 ('MetaSel ('Just "nextPaymentAmount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 CurrencyAndAmount) :*: S1 ('MetaSel ('Just "reference") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 String)) :*: (S1 ('MetaSel ('Just "payeeUid") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 PayeeUid) :*: S1 ('MetaSel ('Just "payeeAccountUid") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 PayeeAccountUid)))) :*: ((S1 ('MetaSel ('Just "recepientName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe String)) :*: (S1 ('MetaSel ('Just "recurrenceRule") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 RecurrenceRule) :*: S1 ('MetaSel ('Just "startDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Day)))) :*: ((S1 ('MetaSel ('Just "nextDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Day)) :*: S1 ('MetaSel ('Just "endDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Day))) :*: (S1 ('MetaSel ('Just "paymentType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 String) :*: S1 ('MetaSel ('Just "spendingCategory") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SpendingCategory))))))

data ScheduledPayments #

Instances

Instances details
Show ScheduledPayments # 
Instance details

Defined in Bank.Starling.API.Schemas

Generic ScheduledPayments # 
Instance details

Defined in Bank.Starling.API.Schemas

Associated Types

type Rep ScheduledPayments :: Type -> Type #

FromJSON ScheduledPayments # 
Instance details

Defined in Bank.Starling.API.Schemas

Methods

parseJSON :: Value -> Parser ScheduledPayments

parseJSONList :: Value -> Parser [ScheduledPayments]

ToJSON ScheduledPayments # 
Instance details

Defined in Bank.Starling.API.Schemas

type Rep ScheduledPayments # 
Instance details

Defined in Bank.Starling.API.Schemas

type Rep ScheduledPayments = D1 ('MetaData "ScheduledPayments" "Bank.Starling.API.Schemas" "starling-bank-0.1.0.0-inplace" 'False) (C1 ('MetaCons "ScheduledPayments" 'PrefixI 'True) (S1 ('MetaSel ('Just "scheduledPayments") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [ScheduledPayment])))

data SignedCurrencyAndAmount #

Instances

Instances details
Show SignedCurrencyAndAmount # 
Instance details

Defined in Bank.Starling.API.Schemas

Generic SignedCurrencyAndAmount # 
Instance details

Defined in Bank.Starling.API.Schemas

Associated Types

type Rep SignedCurrencyAndAmount :: Type -> Type #

FromJSON SignedCurrencyAndAmount # 
Instance details

Defined in Bank.Starling.API.Schemas

Methods

parseJSON :: Value -> Parser SignedCurrencyAndAmount

parseJSONList :: Value -> Parser [SignedCurrencyAndAmount]

ToJSON SignedCurrencyAndAmount # 
Instance details

Defined in Bank.Starling.API.Schemas

type Rep SignedCurrencyAndAmount # 
Instance details

Defined in Bank.Starling.API.Schemas

type Rep SignedCurrencyAndAmount = D1 ('MetaData "SignedCurrencyAndAmount" "Bank.Starling.API.Schemas" "starling-bank-0.1.0.0-inplace" 'False) (C1 ('MetaCons "SignedCurrencyAndAmount" 'PrefixI 'True) (S1 ('MetaSel ('Just "currency") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Currency) :*: S1 ('MetaSel ('Just "minorUnits") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int)))

data SoleTrader #

Instances

Instances details
Show SoleTrader # 
Instance details

Defined in Bank.Starling.API.Schemas

Generic SoleTrader # 
Instance details

Defined in Bank.Starling.API.Schemas

Associated Types

type Rep SoleTrader :: Type -> Type #

FromJSON SoleTrader # 
Instance details

Defined in Bank.Starling.API.Schemas

Methods

parseJSON :: Value -> Parser SoleTrader

parseJSONList :: Value -> Parser [SoleTrader]

ToJSON SoleTrader # 
Instance details

Defined in Bank.Starling.API.Schemas

Methods

toJSON :: SoleTrader -> Value

toEncoding :: SoleTrader -> Encoding

toJSONList :: [SoleTrader] -> Value

toEncodingList :: [SoleTrader] -> Encoding

type Rep SoleTrader # 
Instance details

Defined in Bank.Starling.API.Schemas

type Rep SoleTrader = D1 ('MetaData "SoleTrader" "Bank.Starling.API.Schemas" "starling-bank-0.1.0.0-inplace" 'False) (C1 ('MetaCons "SoleTrader" 'PrefixI 'True) (S1 ('MetaSel ('Just "tradingAsName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 String) :*: (S1 ('MetaSel ('Just "businessCategory") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 String) :*: S1 ('MetaSel ('Just "businessSubCategory") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 String))))

newtype SpendingCategory #

Constructors

SpendingCategory String 

Instances

Instances details
Show SpendingCategory # 
Instance details

Defined in Bank.Starling.API.Schemas

Generic SpendingCategory # 
Instance details

Defined in Bank.Starling.API.Schemas

Associated Types

type Rep SpendingCategory :: Type -> Type #

FromJSON SpendingCategory # 
Instance details

Defined in Bank.Starling.API.Schemas

Methods

parseJSON :: Value -> Parser SpendingCategory

parseJSONList :: Value -> Parser [SpendingCategory]

ToJSON SpendingCategory # 
Instance details

Defined in Bank.Starling.API.Schemas

type Rep SpendingCategory # 
Instance details

Defined in Bank.Starling.API.Schemas

type Rep SpendingCategory = D1 ('MetaData "SpendingCategory" "Bank.Starling.API.Schemas" "starling-bank-0.1.0.0-inplace" 'True) (C1 ('MetaCons "SpendingCategory" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 String)))

data SpendingCategoryBreakdown #

Instances

Instances details
Show SpendingCategoryBreakdown # 
Instance details

Defined in Bank.Starling.API.Schemas

Generic SpendingCategoryBreakdown # 
Instance details

Defined in Bank.Starling.API.Schemas

Associated Types

type Rep SpendingCategoryBreakdown :: Type -> Type #

FromJSON SpendingCategoryBreakdown # 
Instance details

Defined in Bank.Starling.API.Schemas

Methods

parseJSON :: Value -> Parser SpendingCategoryBreakdown

parseJSONList :: Value -> Parser [SpendingCategoryBreakdown]

ToJSON SpendingCategoryBreakdown # 
Instance details

Defined in Bank.Starling.API.Schemas

type Rep SpendingCategoryBreakdown # 
Instance details

Defined in Bank.Starling.API.Schemas

data SpendingCategorySummary #

Instances

Instances details
Show SpendingCategorySummary # 
Instance details

Defined in Bank.Starling.API.Schemas

Generic SpendingCategorySummary # 
Instance details

Defined in Bank.Starling.API.Schemas

Associated Types

type Rep SpendingCategorySummary :: Type -> Type #

FromJSON SpendingCategorySummary # 
Instance details

Defined in Bank.Starling.API.Schemas

Methods

parseJSON :: Value -> Parser SpendingCategorySummary

parseJSONList :: Value -> Parser [SpendingCategorySummary]

ToJSON SpendingCategorySummary # 
Instance details

Defined in Bank.Starling.API.Schemas

type Rep SpendingCategorySummary # 
Instance details

Defined in Bank.Starling.API.Schemas

data SpendingCounterPartyBreakdown #

Instances

Instances details
Show SpendingCounterPartyBreakdown # 
Instance details

Defined in Bank.Starling.API.Schemas

Generic SpendingCounterPartyBreakdown # 
Instance details

Defined in Bank.Starling.API.Schemas

Associated Types

type Rep SpendingCounterPartyBreakdown :: Type -> Type #

FromJSON SpendingCounterPartyBreakdown # 
Instance details

Defined in Bank.Starling.API.Schemas

ToJSON SpendingCounterPartyBreakdown # 
Instance details

Defined in Bank.Starling.API.Schemas

type Rep SpendingCounterPartyBreakdown # 
Instance details

Defined in Bank.Starling.API.Schemas

data SpendingCounterPartySummary #

Instances

Instances details
Show SpendingCounterPartySummary # 
Instance details

Defined in Bank.Starling.API.Schemas

Generic SpendingCounterPartySummary # 
Instance details

Defined in Bank.Starling.API.Schemas

Associated Types

type Rep SpendingCounterPartySummary :: Type -> Type #

FromJSON SpendingCounterPartySummary # 
Instance details

Defined in Bank.Starling.API.Schemas

ToJSON SpendingCounterPartySummary # 
Instance details

Defined in Bank.Starling.API.Schemas

type Rep SpendingCounterPartySummary # 
Instance details

Defined in Bank.Starling.API.Schemas

data SpendingCountryBreakdown #

Instances

Instances details
Show SpendingCountryBreakdown # 
Instance details

Defined in Bank.Starling.API.Schemas

Generic SpendingCountryBreakdown # 
Instance details

Defined in Bank.Starling.API.Schemas

Associated Types

type Rep SpendingCountryBreakdown :: Type -> Type #

FromJSON SpendingCountryBreakdown # 
Instance details

Defined in Bank.Starling.API.Schemas

Methods

parseJSON :: Value -> Parser SpendingCountryBreakdown

parseJSONList :: Value -> Parser [SpendingCountryBreakdown]

ToJSON SpendingCountryBreakdown # 
Instance details

Defined in Bank.Starling.API.Schemas

type Rep SpendingCountryBreakdown # 
Instance details

Defined in Bank.Starling.API.Schemas

data SpendingCountrySummary #

Instances

Instances details
Show SpendingCountrySummary # 
Instance details

Defined in Bank.Starling.API.Schemas

Generic SpendingCountrySummary # 
Instance details

Defined in Bank.Starling.API.Schemas

Associated Types

type Rep SpendingCountrySummary :: Type -> Type #

FromJSON SpendingCountrySummary # 
Instance details

Defined in Bank.Starling.API.Schemas

Methods

parseJSON :: Value -> Parser SpendingCountrySummary

parseJSONList :: Value -> Parser [SpendingCountrySummary]

ToJSON SpendingCountrySummary # 
Instance details

Defined in Bank.Starling.API.Schemas

type Rep SpendingCountrySummary # 
Instance details

Defined in Bank.Starling.API.Schemas

data StandingOrder #

Instances

Instances details
Show StandingOrder # 
Instance details

Defined in Bank.Starling.API.Schemas

Generic StandingOrder # 
Instance details

Defined in Bank.Starling.API.Schemas

Associated Types

type Rep StandingOrder :: Type -> Type #

FromJSON StandingOrder # 
Instance details

Defined in Bank.Starling.API.Schemas

Methods

parseJSON :: Value -> Parser StandingOrder

parseJSONList :: Value -> Parser [StandingOrder]

ToJSON StandingOrder # 
Instance details

Defined in Bank.Starling.API.Schemas

Methods

toJSON :: StandingOrder -> Value

toEncoding :: StandingOrder -> Encoding

toJSONList :: [StandingOrder] -> Value

toEncodingList :: [StandingOrder] -> Encoding

type Rep StandingOrder # 
Instance details

Defined in Bank.Starling.API.Schemas

data StandingOrderFrequency #

Constructors

DAILY 
WEEKLY 
MONTHLY 
YEARLY 

Instances

Instances details
Show StandingOrderFrequency # 
Instance details

Defined in Bank.Starling.API.Schemas

Generic StandingOrderFrequency # 
Instance details

Defined in Bank.Starling.API.Schemas

Associated Types

type Rep StandingOrderFrequency :: Type -> Type #

FromJSON StandingOrderFrequency # 
Instance details

Defined in Bank.Starling.API.Schemas

Methods

parseJSON :: Value -> Parser StandingOrderFrequency

parseJSONList :: Value -> Parser [StandingOrderFrequency]

ToJSON StandingOrderFrequency # 
Instance details

Defined in Bank.Starling.API.Schemas

type Rep StandingOrderFrequency # 
Instance details

Defined in Bank.Starling.API.Schemas

type Rep StandingOrderFrequency = D1 ('MetaData "StandingOrderFrequency" "Bank.Starling.API.Schemas" "starling-bank-0.1.0.0-inplace" 'False) ((C1 ('MetaCons "DAILY" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "WEEKLY" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "MONTHLY" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "YEARLY" 'PrefixI 'False) (U1 :: Type -> Type)))

data StandingOrderRecurrence #

Instances

Instances details
Show StandingOrderRecurrence # 
Instance details

Defined in Bank.Starling.API.Schemas

Generic StandingOrderRecurrence # 
Instance details

Defined in Bank.Starling.API.Schemas

Associated Types

type Rep StandingOrderRecurrence :: Type -> Type #

FromJSON StandingOrderRecurrence # 
Instance details

Defined in Bank.Starling.API.Schemas

Methods

parseJSON :: Value -> Parser StandingOrderRecurrence

parseJSONList :: Value -> Parser [StandingOrderRecurrence]

ToJSON StandingOrderRecurrence # 
Instance details

Defined in Bank.Starling.API.Schemas

type Rep StandingOrderRecurrence # 
Instance details

Defined in Bank.Starling.API.Schemas

type Rep StandingOrderRecurrence = D1 ('MetaData "StandingOrderRecurrence" "Bank.Starling.API.Schemas" "starling-bank-0.1.0.0-inplace" 'False) (C1 ('MetaCons "StandingOrderRecurrence" 'PrefixI 'True) ((S1 ('MetaSel ('Just "startDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Day) :*: S1 ('MetaSel ('Just "frequency") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 StandingOrderFrequency)) :*: (S1 ('MetaSel ('Just "interval") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Int)) :*: (S1 ('MetaSel ('Just "count") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "untilDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Day))))))

data StandingOrdersResponse #

Instances

Instances details
Show StandingOrdersResponse # 
Instance details

Defined in Bank.Starling.API.Schemas

Generic StandingOrdersResponse # 
Instance details

Defined in Bank.Starling.API.Schemas

Associated Types

type Rep StandingOrdersResponse :: Type -> Type #

FromJSON StandingOrdersResponse # 
Instance details

Defined in Bank.Starling.API.Schemas

Methods

parseJSON :: Value -> Parser StandingOrdersResponse

parseJSONList :: Value -> Parser [StandingOrdersResponse]

ToJSON StandingOrdersResponse # 
Instance details

Defined in Bank.Starling.API.Schemas

type Rep StandingOrdersResponse # 
Instance details

Defined in Bank.Starling.API.Schemas

type Rep StandingOrdersResponse = D1 ('MetaData "StandingOrdersResponse" "Bank.Starling.API.Schemas" "starling-bank-0.1.0.0-inplace" 'False) (C1 ('MetaCons "StandingOrdersResponse" 'PrefixI 'True) (S1 ('MetaSel ('Just "standingOrders") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [StandingOrder])))

data TokenIdentity #

Instances

Instances details
Show TokenIdentity # 
Instance details

Defined in Bank.Starling.API.Schemas

Generic TokenIdentity # 
Instance details

Defined in Bank.Starling.API.Schemas

Associated Types

type Rep TokenIdentity :: Type -> Type #

FromJSON TokenIdentity # 
Instance details

Defined in Bank.Starling.API.Schemas

Methods

parseJSON :: Value -> Parser TokenIdentity

parseJSONList :: Value -> Parser [TokenIdentity]

ToJSON TokenIdentity # 
Instance details

Defined in Bank.Starling.API.Schemas

Methods

toJSON :: TokenIdentity -> Value

toEncoding :: TokenIdentity -> Encoding

toJSONList :: [TokenIdentity] -> Value

toEncodingList :: [TokenIdentity] -> Encoding

type Rep TokenIdentity # 
Instance details

Defined in Bank.Starling.API.Schemas

type Rep TokenIdentity = D1 ('MetaData "TokenIdentity" "Bank.Starling.API.Schemas" "starling-bank-0.1.0.0-inplace" 'False) (C1 ('MetaCons "TokenIdentity" 'PrefixI 'True) ((S1 ('MetaSel ('Just "accountHolderUid") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 AccountHolderUid) :*: (S1 ('MetaSel ('Just "expiresAt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 String) :*: S1 ('MetaSel ('Just "expiresInSeconds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int))) :*: (S1 ('MetaSel ('Just "scopes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [String]) :*: (S1 ('MetaSel ('Just "authenticated") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool) :*: S1 ('MetaSel ('Just "applicationUserUid") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 UUID)))))

data TransactionDirection #

Constructors

In 
Out 

Instances

Instances details
Show TransactionDirection # 
Instance details

Defined in Bank.Starling.API.Schemas

Generic TransactionDirection # 
Instance details

Defined in Bank.Starling.API.Schemas

Associated Types

type Rep TransactionDirection :: Type -> Type #

FromJSON TransactionDirection # 
Instance details

Defined in Bank.Starling.API.Schemas

Methods

parseJSON :: Value -> Parser TransactionDirection

parseJSONList :: Value -> Parser [TransactionDirection]

ToJSON TransactionDirection # 
Instance details

Defined in Bank.Starling.API.Schemas

type Rep TransactionDirection # 
Instance details

Defined in Bank.Starling.API.Schemas

type Rep TransactionDirection = D1 ('MetaData "TransactionDirection" "Bank.Starling.API.Schemas" "starling-bank-0.1.0.0-inplace" 'False) (C1 ('MetaCons "In" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Out" 'PrefixI 'False) (U1 :: Type -> Type))

data ErrorResponse #

Constructors

ErrorResponse 

Instances

Instances details
Show ErrorResponse # 
Instance details

Defined in Bank.Starling.API.Schemas

Generic ErrorResponse # 
Instance details

Defined in Bank.Starling.API.Schemas

Associated Types

type Rep ErrorResponse :: Type -> Type #

FromJSON ErrorResponse # 
Instance details

Defined in Bank.Starling.API.Schemas

Methods

parseJSON :: Value -> Parser ErrorResponse

parseJSONList :: Value -> Parser [ErrorResponse]

ToJSON ErrorResponse # 
Instance details

Defined in Bank.Starling.API.Schemas

Methods

toJSON :: ErrorResponse -> Value

toEncoding :: ErrorResponse -> Encoding

toJSONList :: [ErrorResponse] -> Value

toEncodingList :: [ErrorResponse] -> Encoding

type Rep ErrorResponse # 
Instance details

Defined in Bank.Starling.API.Schemas

type Rep ErrorResponse = D1 ('MetaData "ErrorResponse" "Bank.Starling.API.Schemas" "starling-bank-0.1.0.0-inplace" 'False) (C1 ('MetaCons "ErrorResponse" 'PrefixI 'True) (S1 ('MetaSel ('Just "errors") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ErrorDetail) :*: S1 ('MetaSel ('Just "success") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool)))

newtype ErrorDetail #

Constructors

ErrorDetail 

Fields

Instances

Instances details
Show ErrorDetail # 
Instance details

Defined in Bank.Starling.API.Schemas

Generic ErrorDetail # 
Instance details

Defined in Bank.Starling.API.Schemas

Associated Types

type Rep ErrorDetail :: Type -> Type #

FromJSON ErrorDetail # 
Instance details

Defined in Bank.Starling.API.Schemas

Methods

parseJSON :: Value -> Parser ErrorDetail

parseJSONList :: Value -> Parser [ErrorDetail]

ToJSON ErrorDetail # 
Instance details

Defined in Bank.Starling.API.Schemas

Methods

toJSON :: ErrorDetail -> Value

toEncoding :: ErrorDetail -> Encoding

toJSONList :: [ErrorDetail] -> Value

toEncodingList :: [ErrorDetail] -> Encoding

type Rep ErrorDetail # 
Instance details

Defined in Bank.Starling.API.Schemas

type Rep ErrorDetail = D1 ('MetaData "ErrorDetail" "Bank.Starling.API.Schemas" "starling-bank-0.1.0.0-inplace" 'True) (C1 ('MetaCons "ErrorDetail" 'PrefixI 'True) (S1 ('MetaSel ('Just "message") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 String)))