Order Response

LendingClub2 Response Order Module

class lendingclub2.response.order.Order(investor_id, *order_notes)

Submit an order

id

Get the id of the order

Returns:int
successful

Determine if the order submission was successful

Returns:boolean
url

Get the relevant URL

Returns:string
class lendingclub2.response.order.OrderNote(loan_id, amount, portfolio_id=None)

Class to wrap around note to be ordered

amount

Get the amount user wants to buy the note for

Returns:float
loan_id

Get the loan ID of the note user would purchase

Returns:int
portfolio_id

Get the portfolio ID to assign the note to if the order was successful

Returns:int or None