Safe Haskell | None |
---|---|
Language | Haskell2010 |
Prosper.Invest
- data InvestStatus
- = Success
- | Failed
- | Error
- | PartialSuccess
- data InvestMessage
- data InvestResponse = InvestResponse {}
Documentation
data InvestStatus Source
Status of an invest request
Constructors
Success | |
Failed | |
Error | |
PartialSuccess |
Instances
Eq InvestStatus Source | |
Read InvestStatus Source | |
Show InvestStatus Source | |
Generic InvestStatus Source | |
FromJSON InvestStatus Source | Status of Invest request response JSON parser |
Serialize InvestStatus Source | |
type Rep InvestStatus Source |
data InvestMessage Source
Message associated with an error
Constructors
NoError | |
InternalError | |
InvestedAmountLessThanRequested | |
ListingNotAvailable | |
ListingNotFound | |
InsufficientFunds | |
ListingClosedBeforeBidPlaced | |
ServerBusy | |
SuitabilityRequirementsNotMet | |
InvestedAmountLessThanMinimumRequired | |
OtherError | Not in the prosper docs, this is a catch all |
Instances
Eq InvestMessage Source | |
Read InvestMessage Source | |
Show InvestMessage Source | |
Generic InvestMessage Source | |
FromJSON InvestMessage Source | Parser for message in an error |
Serialize InvestMessage Source | |
type Rep InvestMessage Source |
data InvestResponse Source
JSON response to an invest request
Constructors
InvestResponse | |
Fields |
Instances
Show InvestResponse Source | |
Generic InvestResponse Source | |
FromJSON InvestResponse Source | Parser for invest request response on api/Invest |
Serialize InvestResponse Source | |
type Rep InvestResponse Source |