| 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 | |
| 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
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 | |
| 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
Constructors
| InvestResponse | |
Fields | |
Instances
| Show InvestResponse | |
| Generic InvestResponse | |
| FromJSON InvestResponse | Parser for invest request response on api/Invest |
| Serialize InvestResponse | |
| type Rep InvestResponse |