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 308 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 337 of file LoanTestBase.h.

Member Data Documentation

◆ account

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

Definition at line 311 of file LoanTestBase.h.

◆ counter

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

Definition at line 313 of file LoanTestBase.h.

◆ counterpartyExplicit

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

Definition at line 316 of file LoanTestBase.h.

◆ principalRequest

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

Definition at line 317 of file LoanTestBase.h.

◆ setFee

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

Definition at line 319 of file LoanTestBase.h.

◆ originationFee

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

Definition at line 320 of file LoanTestBase.h.

◆ serviceFee

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

Definition at line 321 of file LoanTestBase.h.

◆ lateFee

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

Definition at line 322 of file LoanTestBase.h.

◆ closeFee

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

Definition at line 323 of file LoanTestBase.h.

◆ overFee

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

Definition at line 324 of file LoanTestBase.h.

◆ interest

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

Definition at line 325 of file LoanTestBase.h.

◆ lateInterest

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

Definition at line 326 of file LoanTestBase.h.

◆ closeInterest

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

Definition at line 327 of file LoanTestBase.h.

◆ overpaymentInterest

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

Definition at line 328 of file LoanTestBase.h.

◆ payTotal

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

Definition at line 329 of file LoanTestBase.h.

◆ payInterval

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

Definition at line 330 of file LoanTestBase.h.

◆ gracePd

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

Definition at line 331 of file LoanTestBase.h.

◆ flags

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

Definition at line 332 of file LoanTestBase.h.