rippled
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
ripple::LoanState Struct Reference

This structure captures the parts of a loan state. More...

#include <LendingHelpers.h>

Collaboration diagram for ripple::LoanState:
Collaboration graph
[legend]

Public Member Functions

Number interestOutstanding () const
 

Public Attributes

Number valueOutstanding
 
Number principalOutstanding
 
Number interestDue
 
Number managementFeeDue
 

Detailed Description

This structure captures the parts of a loan state.

Whether the values are raw (unrounded) or rounded will depend on how it was computed.

Many of the fields can be derived from each other, but they're all provided here to reduce code duplication and possible mistakes. e.g.

Definition at line 138 of file LendingHelpers.h.

Member Function Documentation

◆ interestOutstanding()

Number ripple::LoanState::interestOutstanding ( ) const

Definition at line 153 of file LendingHelpers.h.

Member Data Documentation

◆ valueOutstanding

Number ripple::LoanState::valueOutstanding

Definition at line 141 of file LendingHelpers.h.

◆ principalOutstanding

Number ripple::LoanState::principalOutstanding

Definition at line 143 of file LendingHelpers.h.

◆ interestDue

Number ripple::LoanState::interestDue

Definition at line 146 of file LendingHelpers.h.

◆ managementFeeDue

Number ripple::LoanState::managementFeeDue

Definition at line 149 of file LendingHelpers.h.