rippled
Loading...
Searching...
No Matches
Functions | Variables
xrpl::test::jtx::loan Namespace Reference

Functions

Json::Value set (AccountID const &account, uint256 const &loanBrokerID, Number principalRequested, std::uint32_t flags)
 
Json::Value manage (AccountID const &account, uint256 const &loanID, std::uint32_t flags)
 
Json::Value del (AccountID const &account, uint256 const &loanID, std::uint32_t flags)
 
Json::Value pay (AccountID const &account, uint256 const &loanID, STAmount const &amount, std::uint32_t flags)
 

Variables

auto const counterparty = JTxFieldWrapper<accountIDField>(sfCounterparty)
 
auto const loanOriginationFee = simpleField<SF_NUMBER>(sfLoanOriginationFee)
 
auto const loanServiceFee = simpleField<SF_NUMBER>(sfLoanServiceFee)
 
auto const latePaymentFee = simpleField<SF_NUMBER>(sfLatePaymentFee)
 
auto const closePaymentFee = simpleField<SF_NUMBER>(sfClosePaymentFee)
 
auto const overpaymentFee
 
auto const interestRate
 
auto const lateInterestRate
 
auto const closeInterestRate
 
auto const overpaymentInterestRate
 
auto const paymentTotal = simpleField<SF_UINT32>(sfPaymentTotal)
 
auto const paymentInterval = simpleField<SF_UINT32>(sfPaymentInterval)
 
auto const gracePeriod = simpleField<SF_UINT32>(sfGracePeriod)
 

Function Documentation

◆ set()

Json::Value xrpl::test::jtx::loan::set ( AccountID const &  account,
uint256 const &  loanBrokerID,
Number  principalRequested,
std::uint32_t  flags 
)

Definition at line 435 of file TestHelpers.cpp.

◆ manage()

Json::Value xrpl::test::jtx::loan::manage ( AccountID const &  account,
uint256 const &  loanID,
std::uint32_t  flags 
)

Definition at line 450 of file TestHelpers.cpp.

◆ del()

Json::Value xrpl::test::jtx::loan::del ( AccountID const &  account,
uint256 const &  loanID,
std::uint32_t  flags 
)

Definition at line 461 of file TestHelpers.cpp.

◆ pay()

Json::Value xrpl::test::jtx::loan::pay ( AccountID const &  account,
uint256 const &  loanID,
STAmount const &  amount,
std::uint32_t  flags 
)

Definition at line 472 of file TestHelpers.cpp.

Variable Documentation

◆ counterparty

auto const xrpl::test::jtx::loan::counterparty = JTxFieldWrapper<accountIDField>(sfCounterparty)

Definition at line 782 of file TestHelpers.h.

◆ loanOriginationFee

auto const xrpl::test::jtx::loan::loanOriginationFee = simpleField<SF_NUMBER>(sfLoanOriginationFee)

Definition at line 786 of file TestHelpers.h.

◆ loanServiceFee

auto const xrpl::test::jtx::loan::loanServiceFee = simpleField<SF_NUMBER>(sfLoanServiceFee)

Definition at line 788 of file TestHelpers.h.

◆ latePaymentFee

auto const xrpl::test::jtx::loan::latePaymentFee = simpleField<SF_NUMBER>(sfLatePaymentFee)

Definition at line 790 of file TestHelpers.h.

◆ closePaymentFee

auto const xrpl::test::jtx::loan::closePaymentFee = simpleField<SF_NUMBER>(sfClosePaymentFee)

Definition at line 792 of file TestHelpers.h.

◆ overpaymentFee

auto const xrpl::test::jtx::loan::overpaymentFee
Initial value:
=
valueUnitWrapper<SF_UINT32, unit::TenthBipsTag>(sfOverpaymentFee)

Definition at line 794 of file TestHelpers.h.

◆ interestRate

auto const xrpl::test::jtx::loan::interestRate
Initial value:
=
valueUnitWrapper<SF_UINT32, unit::TenthBipsTag>(sfInterestRate)

Definition at line 797 of file TestHelpers.h.

◆ lateInterestRate

auto const xrpl::test::jtx::loan::lateInterestRate
Initial value:
=
valueUnitWrapper<SF_UINT32, unit::TenthBipsTag>(sfLateInterestRate)

Definition at line 800 of file TestHelpers.h.

◆ closeInterestRate

auto const xrpl::test::jtx::loan::closeInterestRate
Initial value:
=
valueUnitWrapper<SF_UINT32, unit::TenthBipsTag>(sfCloseInterestRate)

Definition at line 803 of file TestHelpers.h.

◆ overpaymentInterestRate

auto const xrpl::test::jtx::loan::overpaymentInterestRate
Initial value:
=
valueUnitWrapper<SF_UINT32, unit::TenthBipsTag>(sfOverpaymentInterestRate)

Definition at line 806 of file TestHelpers.h.

◆ paymentTotal

auto const xrpl::test::jtx::loan::paymentTotal = simpleField<SF_UINT32>(sfPaymentTotal)

Definition at line 809 of file TestHelpers.h.

◆ paymentInterval

auto const xrpl::test::jtx::loan::paymentInterval = simpleField<SF_UINT32>(sfPaymentInterval)

Definition at line 811 of file TestHelpers.h.

◆ gracePeriod

auto const xrpl::test::jtx::loan::gracePeriod = simpleField<SF_UINT32>(sfGracePeriod)

Definition at line 813 of file TestHelpers.h.