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