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< STAmountsetFee = std::nullopt
std::optional< NumberoriginationFee = std::nullopt
std::optional< NumberserviceFee = std::nullopt
std::optional< NumberlateFee = std::nullopt
std::optional< NumbercloseFee = std::nullopt
std::optional< TenthBips32overFee = std::nullopt
std::optional< TenthBips32interest = std::nullopt
std::optional< TenthBips32lateInterest = std::nullopt
std::optional< TenthBips32closeInterest = std::nullopt
std::optional< TenthBips32overpaymentInterest = std::nullopt
std::optional< std::uint32_tpayTotal = std::nullopt
std::optional< std::uint32_tpayInterval = std::nullopt
std::optional< std::uint32_tgracePd = std::nullopt
std::optional< std::uint32_tflags = std::nullopt

Detailed Description

Definition at line 183 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 212 of file LoanTestBase.h.

Member Data Documentation

◆ account

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

Definition at line 186 of file LoanTestBase.h.

◆ counter

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

Definition at line 188 of file LoanTestBase.h.

◆ counterpartyExplicit

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

Definition at line 191 of file LoanTestBase.h.

◆ principalRequest

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

Definition at line 192 of file LoanTestBase.h.

◆ setFee

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

Definition at line 194 of file LoanTestBase.h.

◆ originationFee

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

Definition at line 195 of file LoanTestBase.h.

◆ serviceFee

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

Definition at line 196 of file LoanTestBase.h.

◆ lateFee

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

Definition at line 197 of file LoanTestBase.h.

◆ closeFee

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

Definition at line 198 of file LoanTestBase.h.

◆ overFee

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

Definition at line 199 of file LoanTestBase.h.

◆ interest

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

Definition at line 200 of file LoanTestBase.h.

◆ lateInterest

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

Definition at line 201 of file LoanTestBase.h.

◆ closeInterest

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

Definition at line 202 of file LoanTestBase.h.

◆ overpaymentInterest

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

Definition at line 203 of file LoanTestBase.h.

◆ payTotal

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

Definition at line 204 of file LoanTestBase.h.

◆ payInterval

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

Definition at line 205 of file LoanTestBase.h.

◆ gracePd

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

Definition at line 206 of file LoanTestBase.h.

◆ flags

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

Definition at line 207 of file LoanTestBase.h.