xrpld
Loading...
Searching...
No Matches
xrpl::test::LoanTestBase::LoanParameters Struct Reference

#include <LoanTestBase.h>

Collaboration diagram for xrpl::test::LoanTestBase::LoanParameters:

Public Member Functions

template<class... FN>
jtx::JTx operator() (jtx::Env &env, BrokerInfo const &broker, FN const &... fN) const

Public Attributes

jtx::Account account
jtx::Account counter
bool counterpartyExplicit = true
Number principalRequest
std::optional< STAmount > setFee = std::nullopt
std::optional< Number > originationFee = std::nullopt
std::optional< Number > serviceFee = std::nullopt
std::optional< Number > lateFee = std::nullopt
std::optional< Number > closeFee = std::nullopt
std::optional< TenthBips32 > overFee = std::nullopt
std::optional< TenthBips32 > interest = std::nullopt
std::optional< TenthBips32 > lateInterest = std::nullopt
std::optional< TenthBips32 > closeInterest = std::nullopt
std::optional< TenthBips32 > overpaymentInterest = std::nullopt
std::optional< std::uint32_t > payTotal = std::nullopt
std::optional< std::uint32_t > payInterval = std::nullopt
std::optional< std::uint32_t > gracePd = std::nullopt
std::optional< std::uint32_t > flags = std::nullopt

Detailed Description

Definition at line 197 of file LoanTestBase.h.

Member Function Documentation

◆ operator()()

template<class... FN>
jtx::JTx xrpl::test::LoanTestBase::LoanParameters::operator() ( jtx::Env & env,
BrokerInfo const & broker,
FN const &... fN ) const

Definition at line 226 of file LoanTestBase.h.

Member Data Documentation

◆ account

jtx::Account xrpl::test::LoanTestBase::LoanParameters::account

Definition at line 200 of file LoanTestBase.h.

◆ counter

jtx::Account xrpl::test::LoanTestBase::LoanParameters::counter

Definition at line 202 of file LoanTestBase.h.

◆ counterpartyExplicit

bool xrpl::test::LoanTestBase::LoanParameters::counterpartyExplicit = true

Definition at line 205 of file LoanTestBase.h.

◆ principalRequest

Number xrpl::test::LoanTestBase::LoanParameters::principalRequest

Definition at line 206 of file LoanTestBase.h.

◆ setFee

std::optional<STAmount> xrpl::test::LoanTestBase::LoanParameters::setFee = std::nullopt

Definition at line 208 of file LoanTestBase.h.

◆ originationFee

std::optional<Number> xrpl::test::LoanTestBase::LoanParameters::originationFee = std::nullopt

Definition at line 209 of file LoanTestBase.h.

◆ serviceFee

std::optional<Number> xrpl::test::LoanTestBase::LoanParameters::serviceFee = std::nullopt

Definition at line 210 of file LoanTestBase.h.

◆ lateFee

std::optional<Number> xrpl::test::LoanTestBase::LoanParameters::lateFee = std::nullopt

Definition at line 211 of file LoanTestBase.h.

◆ closeFee

std::optional<Number> xrpl::test::LoanTestBase::LoanParameters::closeFee = std::nullopt

Definition at line 212 of file LoanTestBase.h.

◆ overFee

std::optional<TenthBips32> xrpl::test::LoanTestBase::LoanParameters::overFee = std::nullopt

Definition at line 213 of file LoanTestBase.h.

◆ interest

std::optional<TenthBips32> xrpl::test::LoanTestBase::LoanParameters::interest = std::nullopt

Definition at line 214 of file LoanTestBase.h.

◆ lateInterest

std::optional<TenthBips32> xrpl::test::LoanTestBase::LoanParameters::lateInterest = std::nullopt

Definition at line 215 of file LoanTestBase.h.

◆ closeInterest

std::optional<TenthBips32> xrpl::test::LoanTestBase::LoanParameters::closeInterest = std::nullopt

Definition at line 216 of file LoanTestBase.h.

◆ overpaymentInterest

std::optional<TenthBips32> xrpl::test::LoanTestBase::LoanParameters::overpaymentInterest = std::nullopt

Definition at line 217 of file LoanTestBase.h.

◆ payTotal

std::optional<std::uint32_t> xrpl::test::LoanTestBase::LoanParameters::payTotal = std::nullopt

Definition at line 218 of file LoanTestBase.h.

◆ payInterval

std::optional<std::uint32_t> xrpl::test::LoanTestBase::LoanParameters::payInterval = std::nullopt

Definition at line 219 of file LoanTestBase.h.

◆ gracePd

std::optional<std::uint32_t> xrpl::test::LoanTestBase::LoanParameters::gracePd = std::nullopt

Definition at line 220 of file LoanTestBase.h.

◆ flags

std::optional<std::uint32_t> xrpl::test::LoanTestBase::LoanParameters::flags = std::nullopt

Definition at line 221 of file LoanTestBase.h.