prosper-0.1.1: Bindings to the Prosper marketplace API

Safe HaskellNone
LanguageHaskell2010

Prosper.Listing

Synopsis

Documentation

data Listing Source

Constructors

Listing 

Fields

listingId :: !Int
 
status :: !Status
 
rating :: !Rating

Letter score assigned by Prosper

score :: !(Maybe Int)

Prosper score

category :: !Category

The reason for the loan (e.g. Auto, Student, etc)

amountRemaining :: !Money
 
offer :: !Offer

Contract data

credit :: !Credit

Credit data

Instances

Eq Listing

Two Listings are equivalent if their listingIds are equal

Show Listing 
FromJSON Listing

Parse a Listing from JSON

data Offer Source

Data related to the listing's offer and contract terms

Constructors

Offer 

Fields

requestAmount :: !Money
 
rate :: !Double

Interest rate for the borrower

termInMonths :: !Int

Integer number of months

yield :: !Double
 
effectiveYield :: !Double
 
apr :: !Double

APR for the borrower

Instances

data Credit Source

Data related to the credibility of the listing

Instances

data Rating Source

Prosper ratings, AA is the most credible. HR is the least credible.

Constructors

HR 
E 
D 
C 
B 
A 
AA